/* ============================================================
   FOOTER
   RAG + ABSA PEMERINTAH KABUPATEN WAJO
============================================================ */


/* ============================================================
   FOOTER UTAMA
============================================================ */

.site-footer {
    width: calc(
        100% - var(--sidebar-width)
    );

    margin-left: var(--sidebar-width);

    margin-top: 50px;

    background: #ffffff;

    border-top: 1px solid #e5e7eb;

    box-sizing: border-box;
}


/* ============================================================
   FOOTER CONTAINER
============================================================ */

.footer-container {

    width: min(
        1100px,
        calc(100% - 60px)
    );

    min-height: 88px;

    margin: 0 auto;

    padding: 20px 0;

    display: grid;

    grid-template-columns:
        1fr
        1.5fr
        auto;

    align-items: center;

    gap: 35px;

    box-sizing: border-box;
}


/* ============================================================
   BRAND
============================================================ */

.footer-brand {

    display: flex;

    align-items: center;

    gap: 11px;

    min-width: 0;
}


.footer-logo {

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #2563eb
        );

    border-radius: 10px;

    font-size: 14px;

    box-shadow:
        0 5px 14px
        rgba(
            37,
            99,
            235,
            0.16
        );
}


/* ============================================================
   BRAND TEXT
============================================================ */

.footer-brand-info {

    min-width: 0;

    display: flex;

    flex-direction: column;
}


.footer-brand-name {

    color: #1e293b;

    font-size: 11px;

    font-weight: 800;

    line-height: 1.4;
}


.footer-brand-government {

    margin-top: 2px;

    color: #94a3b8;

    font-size: 8px;

    font-weight: 600;

    line-height: 1.4;
}


/* ============================================================
   DESCRIPTION
============================================================ */

.footer-description {

    display: flex;

    flex-direction: column;

    gap: 3px;

    min-width: 0;
}


.footer-description-title {

    color: #475569;

    font-size: 9px;

    font-weight: 800;
}


.footer-description-text {

    max-width: 480px;

    color: #94a3b8;

    font-size: 8px;

    line-height: 1.6;
}


/* ============================================================
   SYSTEM STATUS
============================================================ */

.footer-system-status {

    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 100px;

    padding: 8px 11px;

    background: #f8fafc;

    border: 1px solid #eef2f7;

    border-radius: 9px;
}


/* ============================================================
   STATUS INDICATOR
============================================================ */

.footer-status-indicator {

    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 0 4px
        rgba(
            34,
            197,
            94,
            0.10
        );
}


/* ============================================================
   STATUS CONTENT
============================================================ */

.footer-status-content {

    display: flex;

    flex-direction: column;

    gap: 1px;
}


.footer-status-label {

    color: #94a3b8;

    font-size: 7px;

    font-weight: 600;
}


.footer-status-content strong {

    color: #15803d;

    font-size: 9px;

    font-weight: 800;
}


/* ============================================================
   FOOTER BOTTOM
============================================================ */

.footer-bottom {

    width: 100%;

    border-top: 1px solid #f1f5f9;

    background: #fafbfc;
}


/* ============================================================
   FOOTER BOTTOM CONTAINER
============================================================ */

.footer-bottom-container {

    width: min(
        1100px,
        calc(100% - 60px)
    );

    min-height: 42px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: #94a3b8;

    font-size: 8px;

    box-sizing: border-box;
}


/* ============================================================
   COPYRIGHT
============================================================ */

.footer-copyright {

    line-height: 1.5;
}


/* ============================================================
   META
============================================================ */

.footer-meta {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #64748b;

    font-weight: 700;

    white-space: nowrap;
}


.footer-separator {

    color: #cbd5e1;

    font-weight: 400;
}


/* ============================================================
   HOVER
============================================================ */

.footer-logo {

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.footer-brand:hover .footer-logo {

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px
        rgba(
            37,
            99,
            235,
            0.22
        );
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1000px) {

    .footer-container {

        grid-template-columns:
            1fr
            1fr;

        gap: 18px;

        padding: 24px 0;
    }


    .footer-system-status {

        justify-self: start;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 900px) {

    .site-footer {

        width: 100%;

        margin-left: 0;
    }


    .footer-container {

        width: calc(100% - 30px);

        grid-template-columns: 1fr;

        gap: 18px;

        padding: 24px 0;
    }


    .footer-description-text {

        max-width: 100%;
    }


    .footer-bottom-container {

        width: calc(100% - 30px);

        min-height: auto;

        padding: 13px 0;

        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .footer-container {

        padding: 20px 0;
    }


    .footer-brand-name {

        font-size: 10px;
    }


    .footer-description-text {

        font-size: 8px;
    }


    .footer-bottom-container {

        font-size: 7px;
    }

}