/* =========================================================
   AUTH PAGE LAYOUT
========================================================= */

html,
body {

    height: 100%;

    margin: 0;
}

body {

    background: #f4f6f9;

    font-family:
        'Segoe UI',
        sans-serif;

    display: flex;

    flex-direction: column;
}

/* =========================================================
   AUTH CONTAINER
========================================================= */

.auth-page {

    flex: 1 0 auto;
}

/* =========================================================
   AUTH CARD
========================================================= */

.auth-form {

    max-width: 420px;

    margin:
        60px auto;

    background: #ffffff;

    padding: 30px;

    border-radius: 12px;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.05);
}

/* =========================================================
   AUTH TITLE
========================================================= */

.form-title {

    margin-bottom: 20px;

    font-weight: 600;
}

/* =========================================================
   HONEYPOT
========================================================= */

.honeypot {

    display: none;
}

/* =========================================================
   LOGO
========================================================= */ 

/* =========================================================
   LOGIN BRANDING
========================================================= */

.brand-logo-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 28px auto 34px;
    padding: 0 15px;
}

.logo-top {
    display: block;
    width: auto;
    height: auto;
    max-width: 230px;
    max-height: 105px;
    margin: 0 auto;
    object-fit: contain;
}

.unit-of-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    color: #667085;
    white-space: nowrap;
}

.endex-unit-logo {
    display: block;
    width: 70px;
    height: auto;
    max-width: 70px;
    margin: 0;
    object-fit: contain;
}


/* =========================================================
   LOGIN SUPPORT CONTACT
========================================================= */

.login-support-contact {
    width: 100%;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.support-contact-label {
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 500;
    color: #667085;
}

.support-contact-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
}

.support-contact-numbers a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #344054;
    text-decoration: none;
    white-space: nowrap;
}

.support-contact-numbers a:hover {
    color: #0d6efd;
}

.support-contact-numbers i {
    color: #0d6efd;
    font-size: 12px;
}

.support-divider {
    color: #c7cdd4;
    font-weight: 400;
} 

 
/* =========================================================
   DEMO LOGIN CREDENTIALS
========================================================= */

.demo-credentials-wrap {
    overflow: visible;
}

.demo-credentials-table,
.demo-credentials-table tbody,
.demo-credentials-table tr,
.demo-credentials-table td {
    display: block;
    width: 100%;
}

.demo-credentials-table {
    border: 0;
}

.demo-credentials-table thead {
    display: none;
}

.demo-credentials-table tbody tr {
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
}

.demo-credentials-table tbody tr:last-child {
    margin-bottom: 0;
}

.demo-credentials-table td {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 4px 0;
    border: 0;
}

.demo-credentials-table td::before {
    content: attr(data-label);
    flex: 0 0 70px;
    font-size: 12px;
    font-weight: 600;
    color: #667085;
}

.demo-credential-value span,
.demo-credential-value code {
    white-space: nowrap;
    user-select: text;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .brand-logo-wrap {
        margin: 20px auto 22px;
        padding: 0 10px;
    }

    .logo-top {
        max-width: 175px;
        max-height: 80px;
    }

    .unit-of-brand {
        margin-top: 6px;
        font-size: 10px;
    }

    .endex-unit-logo {
        width: 55px;
        max-width: 55px;
    }

    .login-support-contact {
        margin-top: 18px;
        padding-top: 14px;
    }

    .support-contact-label {
        font-size: 11px;
    }

    .support-contact-numbers {
        font-size: 12px;
        gap: 6px;
    } 
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .logo-top {
        max-width: 155px;
    }

    .unit-of-brand {
        font-size: 9px;
    }

    .endex-unit-logo {
        width: 50px;
        max-width: 50px;
    }

    .support-contact-numbers {
        flex-direction: column;
        gap: 5px;
    }

    .support-divider {
        display: none;
    }
}


/* =========================================================
   AUTH FOOTER LINKS
========================================================= */

.auth-footer {

    display: flex;

    justify-content: space-between;

    margin-top: 15px;

    font-size: 0.9rem;
}

/* =========================================================
   LINK BUTTON
========================================================= */

.link-button {

    background: none;

    border: none;

    padding: 0;

    color: #0d6efd;

    cursor: pointer;

    font-size: 0.9rem;

    text-decoration: none;
}

.link-button:hover {

    text-decoration: underline;
}

/* =========================================================
   AUTH FOOTER
========================================================= */

.auth-page footer {

    flex-shrink: 0;

    background: #cfa968;

    color: #ffffff;

    padding: 20px 0;

    text-align: center;
}

.auth-page footer img {

    max-width: 150px;

    margin-bottom: 10px;

    filter: brightness(0) invert(1);

    height: auto;
}

.auth-page footer a {

    color: #cccccc;

    text-decoration: none;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .auth-form {

        margin:
            30px 15px;

        padding: 24px;
    }

    .auth-footer {

        flex-direction: column;

        gap: 10px;

        align-items: center;
    }

}