/* =========================================================
   HRCLARITY AUTHENTICATION
   AUTH UI v1.1
========================================================= */


/* =========================================================
   RESET — IMPORTANT
   auth pages don't load style.css
========================================================= */

.auth-page,
.auth-page * {
    box-sizing: border-box;
}

.auth-page {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    font-family: 'Inter', Arial, sans-serif;

    color: #334155;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(37, 99, 235, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(79, 70, 229, 0.06),
            transparent 32%
        ),
        #f8fafc;
}

.auth-page a {
    text-decoration: none;
}

.auth-page button,
.auth-page input {
    font-family: 'Inter', Arial, sans-serif;
}


/* =========================================================
   HEADER
========================================================= */

.auth-header {
    width: 100%;
    height: 76px;

    display: flex;
    align-items: center;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid #e2e8f0;
}

.auth-header-inner {
    width: min(100% - 40px, 1200px);

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   BRAND
========================================================= */

.auth-brand {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: #0f172a !important;

    font-family: 'Inter', Arial, sans-serif;

    font-size: 22px;
    font-weight: 800;

    letter-spacing: -0.7px;
}

.auth-brand:hover {
    color: #0f172a !important;
}

.auth-brand-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    font-size: 21px;
    font-weight: 800;

    line-height: 1;

    box-shadow:
        0 6px 16px rgba(37, 99, 235, 0.20);
}

.auth-brand span:last-child {
    color: #2563eb;
}


/* =========================================================
   HEADER RIGHT TEXT
========================================================= */

.auth-header-text {
    color: #64748b;

    font-family: 'Inter', Arial, sans-serif;

    font-size: 13px;
    font-weight: 500;
}

.auth-header-text a {
    color: #2563eb;

    font-weight: 700;
}

.auth-header-text a:hover {
    text-decoration: underline;
}


/* =========================================================
   MAIN
========================================================= */

.auth-main {
    width: 100%;

    min-height: calc(100vh - 76px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 55px 20px;
}

.auth-layout {
    width: min(100%, 1050px);

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: 60px;

    align-items: center;
}


/* =========================================================
   LEFT INFORMATION
========================================================= */

.auth-info {
    min-width: 0;

    padding: 15px 0;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 13px;

    margin-bottom: 20px;

    border: 1px solid #dbeafe;

    border-radius: 50px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 12px;
    font-weight: 700;
}

.auth-info h1 {
    margin: 0 0 18px;

    color: #0f172a;

    font-family: 'Inter', Arial, sans-serif;

    font-size: clamp(36px, 4vw, 50px);

    line-height: 1.08;

    letter-spacing: -1.8px;

    font-weight: 800;
}

.auth-info h1 span {
    color: #2563eb;
}

.auth-info-description {
    max-width: 480px;

    margin: 0 0 28px;

    color: #64748b;

    font-size: 15px;

    line-height: 1.75;
}

.auth-benefits {
    display: flex;
    flex-direction: column;

    gap: 14px;
}

.auth-benefit {
    display: flex;
    align-items: center;

    gap: 11px;

    color: #334155;

    font-size: 13px;
    font-weight: 600;
}

.auth-benefit i {
    flex-shrink: 0;

    color: #16a34a;

    font-size: 17px;
}


/* =========================================================
   AUTH CARD
========================================================= */

.auth-card {
    width: 100%;
    min-width: 0;

    padding: 38px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.09);
}

.auth-card-header {
    margin-bottom: 27px;
}

.auth-card-header h2 {
    margin: 0 0 7px;

    color: #0f172a;

    font-family: 'Inter', Arial, sans-serif;

    font-size: 25px;

    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -0.5px;
}

.auth-card-header p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.auth-form-group {
    width: 100%;

    min-width: 0;

    margin-bottom: 18px;
}

.auth-form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    width: 100%;

    margin-bottom: 7px;

    color: #334155;

    font-size: 12px;
    font-weight: 700;
}

.auth-form-label label {
    color: inherit;

    font-size: inherit;
    font-weight: inherit;
}

.auth-form-label a {
    flex-shrink: 0;

    color: #2563eb;

    font-size: 12px;
    font-weight: 600;
}

.auth-form-label a:hover {
    text-decoration: underline;
}


/* =========================================================
   INPUT
========================================================= */

.auth-input-wrap {
    position: relative;

    width: 100%;

    min-width: 0;
}

.auth-input-icon {
    position: absolute;

    left: 13px;
    top: 50%;

    z-index: 2;

    transform: translateY(-50%);

    color: #94a3b8;

    font-size: 16px;

    pointer-events: none;
}

.auth-input {
    display: block;

    width: 100%;
    max-width: 100%;

    height: 46px;

    padding:
        0 42px 0 40px;

    border: 1px solid #dbe2ea;

    border-radius: 9px;

    outline: none;

    background: #ffffff;

    color: #0f172a;

    font-family: 'Inter', Arial, sans-serif;

    font-size: 13px;

    line-height: 46px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.auth-input:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}

.auth-input::placeholder {
    color: #a1aab8;
}


/* =========================================================
   PASSWORD TOGGLE
========================================================= */

.auth-password-toggle {
    position: absolute;

    right: 11px;
    top: 50%;

    z-index: 3;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    padding: 0;

    border: 0;

    background: transparent;

    color: #94a3b8;

    cursor: pointer;

    font-size: 16px;
}

.auth-password-toggle:hover {
    color: #2563eb;
}


/* =========================================================
   REGISTER FORM GRID
========================================================= */

.auth-form-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 0 14px;
}

.auth-form-grid .full {
    grid-column: 1 / -1;

    min-width: 0;
}


/* =========================================================
   CHECKBOX
========================================================= */

.auth-check {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin: 3px 0 20px;

    color: #64748b;

    font-size: 11px;

    line-height: 1.6;
}

.auth-check input {
    width: 14px;
    height: 14px;

    flex: 0 0 14px;

    margin: 2px 0 0;

    accent-color: #2563eb;

    cursor: pointer;
}

.auth-check span {
    min-width: 0;
}

.auth-check a {
    color: #2563eb;

    font-weight: 600;
}

.auth-check a:hover {
    text-decoration: underline;
}


/* =========================================================
   SUBMIT
========================================================= */

.auth-submit {
    width: 100%;

    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 18px;

    border: 0;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    font-family: 'Inter', Arial, sans-serif;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(37, 99, 235, .22);

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.auth-submit:hover {
    background: #1d4ed8;

    transform: translateY(-1px);

    box-shadow:
        0 9px 22px rgba(37, 99, 235, .27);
}

.auth-submit:active {
    transform: translateY(0);
}


/* =========================================================
   DIVIDER
========================================================= */

.auth-divider {
    display: flex;
    align-items: center;

    gap: 12px;

    margin: 24px 0;

    color: #94a3b8;

    font-size: 11px;

    text-align: center;
}

.auth-divider::before,
.auth-divider::after {
    content: "";

    height: 1px;

    flex: 1;

    background: #e2e8f0;
}


/* =========================================================
   BOTTOM LINK
========================================================= */

.auth-bottom {
    color: #64748b;

    font-size: 12px;

    text-align: center;
}

.auth-bottom a {
    color: #2563eb;

    font-weight: 700;
}

.auth-bottom a:hover {
    text-decoration: underline;
}


/* =========================================================
   SECURITY
========================================================= */

.auth-security {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 20px;

    color: #94a3b8;

    font-size: 11px;
}

.auth-security i {
    color: #16a34a;
}


/* =========================================================
   FOOTER
========================================================= */

.auth-footer {
    padding: 18px 20px;

    color: #94a3b8;

    font-size: 11px;

    text-align: center;
}


/* =========================================================
   FORGOT PASSWORD CARD
========================================================= */

.auth-card[style*="max-width"] {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .auth-layout {
        width: min(100%, 560px);

        grid-template-columns: 1fr;

        gap: 30px;
    }

    .auth-info {
        padding: 0;

        text-align: center;
    }

    .auth-info-description {
        margin-left: auto;
        margin-right: auto;
    }

    .auth-benefits {
        align-items: center;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .auth-header {
        height: 68px;
    }

    .auth-header-inner {
        width: calc(100% - 28px);
    }

    .auth-header-text {
        display: none;
    }

    .auth-main {
        min-height: calc(100vh - 68px);

        padding: 30px 14px;
    }

    .auth-card {
        padding: 26px 20px;

        border-radius: 16px;
    }

    .auth-info h1 {
        font-size: 35px;

        letter-spacing: -1.2px;
    }

    .auth-form-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .auth-form-grid .full {
        grid-column: auto;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .auth-card {
        padding: 22px 16px;
    }

    .auth-brand {
        font-size: 20px;
    }

    .auth-brand-icon {
        width: 35px;
        height: 35px;

        font-size: 19px;
    }

}