/**
 * Footer Component Styles
 * Custom styles for the PreviewFooter component
 */

/* Footer container styling */
footer.bg-slate-50 {
    width: 100%;
    padding-bottom: 1rem;
}

/* Adjust container positioning for better centering */
footer .container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Desktop specific adjustments */
@media (min-width: 768px) {
    /* Improve text centering in footer content */
    footer .flex-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Left side content alignment */
    footer .mb-0 {
        flex: 1;
        min-width: 200px;
    }

    /* Right side content with improved centering */
    footer .md\:flex-row {
        flex: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* Copyright text alignment */
    footer .md\:text-left {
        flex: 1;
        text-align: center;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    /* Links container centering */
    footer .flex.gap-4 {
        flex: 1;
        display: flex;
        justify-content: center;
        gap: 1.5rem;
    }
}

/* Mobile specific adjustments */
@media (max-width: 767.98px) {
    footer .container {
        padding: 0 0.5rem;
    }

    footer .flex-col {
        align-items: center;
        text-align: center;
    }

    footer .mb-6 {
        margin-bottom: 0.75rem;
    }

    footer .flex.gap-4 {
        margin-top: 0.25rem;
    }

    /* Make text smaller on mobile */
    footer .text-xs,
    footer [class*="text-xs"] {
        font-size: 0.625rem;
    }

    /* Adjust logo size on mobile */
    footer .h-6,
    footer .h-4 {
        height: 1rem;
    }

    /* Reduce vertical spacing */
    footer.py-8,
    footer.py-4,
    footer.py-3 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    /* Adjust gap between elements */
    footer .gap-6,
    footer .gap-4,
    footer .gap-3 {
        gap: 0.75rem;
    }

    /* Adjust spacing between stacked elements */
    footer .space-y-3 > * + * {
        margin-top: 0.5rem;
    }

    /* Adjust margin between elements */
    footer .ml-2,
    footer .ml-1\.5 {
        margin-left: 0.375rem;
    }

    footer .mt-2,
    footer .mt-1\.5 {
        margin-top: 0.375rem;
    }
}

/* Additional selector to ensure text centering */
footer .container .flex-row > div,
footer .container .flex-col > div {
    text-align: center;
}

/* Ensure link spacing is consistent */
footer a {
    padding: 0 0.5rem;
}
