/* =========================================================
   AUTH IMPORTANT UI
   Clean, useful auth pages for Laravel 11
========================================================= */

.auth-body {
    min-height: 100vh;

    color: var(--white);

    overflow-x: hidden;
}

.auth-page {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;

    isolation: isolate;
    text-align: right;
}

.auth-page::before {
    content: "";

    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);

    background-size: 48px 48px;

    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 80%);

    pointer-events: none;

    z-index: -3;
}

.auth-orb {
    position: fixed;

    width: 340px;
    height: 340px;

    border-radius: 50%;

    filter: blur(26px);

    opacity: 0.45;

    z-index: -2;

    pointer-events: none;
}

.auth-orb-one {
    top: -120px;
    right: -120px;

    background: rgba(255, 43, 43, 0.24);
}

.auth-orb-two {
    left: -140px;
    bottom: -150px;

    background: rgba(255, 255, 255, 0.09);
}

.auth-wrap {
    width: min(1120px, 100%);

    margin: auto;
}

.auth-panel {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 390px;

    min-height: 660px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 34px;

    background:
        linear-gradient(180deg, rgba(18, 21, 30, 0.94), rgba(10, 12, 18, 0.96));

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(18px);
}

.auth-content {
    padding: 42px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;

    gap: 13px;

    margin-bottom: 10px;

    color: #ffffff;

    text-decoration: none;
}

.auth-brand:hover {
    color: #ffffff;
}

.auth-brand-logo {
    width: 54px;
    height: 54px;

    object-fit: contain;

    filter:
        drop-shadow(0 0 16px rgba(255, 43, 43, 0.38))
        drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.auth-brand-name {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.auth-brand-name strong {
    color: #ffffff;

    font-size: 16px;
    font-weight: 900;
}

.auth-brand-name span {
    color: rgba(255, 255, 255, 0.48);

    font-size: 12px;
    font-weight: 600;
}

.auth-heading {
    margin-bottom: 10px;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 10px;

    color: #ff6868;

    font-size: 13px;
    font-weight: 900;
}

.auth-kicker::before {
    content: "";

    width: 24px;
    height: 2px;

    border-radius: 100px;

    background: #ff3434;

    box-shadow: 0 0 18px rgba(255, 52, 52, 0.55);
}

.auth-title {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: clamp(26px, 3vw, 38px);
    font-weight: 950;
    line-height: 1.55;
}

.auth-subtitle {
    max-width: 720px;

    margin: 0;

    color: rgba(255, 255, 255, 0.6);

    font-size: 14px;
    font-weight: 500;
    line-height: 2.05;
}

.auth-status {
    margin-bottom: 10px;
}

.auth-status,
.auth-status * {
    color: #86efac !important;

    font-size: 13px;
    font-weight: 700;
}

.auth-form {
    width: 100%;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.auth-field {
    position: relative;

    margin-bottom: 10px;
}

.auth-field-label {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 9px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;
    font-weight: 800;
}

.auth-field-label::before {
    content: "";

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: rgba(255, 43, 43, 0.72);

    box-shadow: 0 0 12px rgba(255, 43, 43, 0.55);
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap .form-control {
    height: 58px;
    min-height: 58px;
    text-align: right;
    padding: 12px 52px 12px 18px !important;

    border: 1px solid rgba(255, 255, 255, 0.08) !important;

    border-radius: 18px;

    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)) !important;

    color: #ffffff !important;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 12px 26px rgba(0, 0, 0, 0.16) !important;

    outline: none !important;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.auth-input-wrap .form-control:hover {
    border-color: rgba(255, 255, 255, 0.13) !important;

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03)) !important;
}

.auth-input-wrap .form-control:focus {
    border-color: rgba(255, 43, 43, 0.44) !important;

    box-shadow:
        0 0 0 4px rgba(255, 43, 43, 0.09),
        0 18px 34px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;

    transform: translateY(-1px);
}

.auth-input-wrap .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;

    font-size: 13px;
    font-weight: 600;
}

.auth-field-icon {
    position: absolute;

    top: 50%;
    right: 18px;

    width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    color: var(--primary);

    font-size: 16px;

    z-index: 2;

    pointer-events: none;
}

.auth-ltr {
    direction: ltr;
    text-align: left;
}

.auth-code-input {
    direction: ltr;
    text-align: center;

    letter-spacing: 7px;

    font-size: 21px !important;
    font-weight: 900 !important;
}

.auth-error {
    display: block;

    margin-top: 8px;

    color: #ff7777 !important;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.8;
}

.auth-help {
    margin-top: 8px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    margin: 4px 0 20px;
}

.auth-check {
    display: flex;
    align-items: center;

    gap: 9px;

    margin: 0;
    padding: 0;
}

.auth-check .form-check-input {
    margin: 0;
}

.auth-check .form-check-label {
    color: rgba(255, 255, 255, 0.7);

    font-size: 13px;
    font-weight: 700;
}

.auth-link,
.auth-footer a {
    color: #ff6464;

    font-size: 13px;
    font-weight: 900;

    text-decoration: none;
}

.auth-link:hover,
.auth-footer a:hover {
    color: #ff8a8a;
}

.auth-submit {
    min-height: 56px;

    margin-top: 4px;
    margin-bottom: 10px;

    border-radius: 18px;

    font-size: 15px;
    font-weight: 950;

    box-shadow:
        0 18px 34px rgba(255, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.auth-footer {
    margin: 0;

    text-align: center;

    color: rgba(255, 255, 255, 0.58);

    font-size: 13px;
    font-weight: 700;
}

.auth-info-box {
    display: grid;

    gap: 12px;

    margin-bottom: 10px;
    padding: 16px;

    border: 1px solid rgba(255, 255, 255, 0.075);

    border-radius: 20px;

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022));
}

.auth-info-box strong {
    color: #ffffff;

    font-size: 14px;
    font-weight: 950;
}

.auth-info-box span {
    color: rgba(255, 255, 255, 0.56);

    font-size: 13px;
    font-weight: 600;
    line-height: 2;
}

.auth-side {
    position: relative;

    padding: 30px;

    background:
        radial-gradient(circle at 65% 15%, rgba(255, 43, 43, 0.25), transparent 34%),
        linear-gradient(180deg, rgba(255, 43, 43, 0.12), rgba(255, 255, 255, 0.025));

    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.auth-side::before {
    content: "";

    position: absolute;
    inset: 24px;

    border-radius: 28px;

    border: 1px solid rgba(255, 255, 255, 0.06);

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));

    pointer-events: none;
}

.auth-side-inner {
    position: relative;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 30px;

    padding: 22px;
}

.auth-side-badge {
    display: inline-flex;

    margin-bottom: 10px;
    padding: 10px 18px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 999px;

    background: rgba(255, 43, 43, 0.12);

    color: rgba(255, 255, 255, 0.8);

    font-size: 12px;
    font-weight: 950;
}

.auth-side-title {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 28px;
    font-weight: 950;
    line-height: 1.55;
}

.auth-side-text {
    margin: 0 0 24px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 14px;
    font-weight: 600;
    line-height: 2.1;
}

.auth-side-list {
    display: grid;

    gap: 13px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.auth-side-list li {
    display: flex;
    align-items: center;

    gap: 10px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;
    font-weight: 850;
}

.auth-side-list li::before {
    content: "";

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #ff3b3b;

    box-shadow: 0 0 14px rgba(255, 59, 59, 0.65);

    flex-shrink: 0;
}

.auth-mini-card {
    padding: 18px;

    border: 1px solid rgba(255, 255, 255, 0.075);

    border-radius: 22px;

    background: rgba(0, 0, 0, 0.18);

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-mini-card strong {
    display: block;

    margin-bottom: 7px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 950;
}

.auth-mini-card span {
    display: block;

    color: rgba(255, 255, 255, 0.58);

    font-size: 12px;
    font-weight: 650;
    line-height: 2;
}

@media (max-width: 991.98px) {
    .auth-panel {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .auth-side {
        display: none;
    }

    .auth-content {
        padding: 20px 22px;
    }

    .auth-brand {
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .auth-page {
        padding: 10px 10px;
    }

    .auth-panel {
        border-radius: 24px;
    }

    .auth-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .auth-title {
        font-size: 25px;
    }

    .auth-subtitle {
        font-size: 13px;
    }

    .auth-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-submit {
        min-height: 54px;
    }

    .auth-code-input {
        font-size: 19px !important;

        letter-spacing: 5px;
    }
}
