body.auth-page {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", sans-serif;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.45), transparent 24%),
        radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.26), transparent 22%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2), transparent 18%),
        linear-gradient(180deg, #8bc4e6 0%, #97c8e6 42%, #b3d7ea 100%);
    overflow-x: hidden;
}

.auth-shell {
    position: relative;
    min-height: calc(100vh - 64px);
    display: grid;
    place-items: center;
    padding: 32px 20px;
}

.auth-orbit {
    position: absolute;
    border-radius: 999px;
    border: 18px solid rgba(255, 255, 255, 0.14);
    filter: blur(2px);
    transform: rotate(-24deg);
    pointer-events: none;
}

.auth-orbit-one {
    width: 760px;
    height: 280px;
    top: 110px;
    left: 120px;
}

.auth-orbit-two {
    width: 980px;
    height: 420px;
    bottom: 60px;
    left: 20px;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: min(100%, 670px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    border-radius: 28px;
    /* overflow: hidden; */
    border: 6px solid rgba(239, 231, 221, 0.96);
    box-shadow: 0 22px 60px rgba(31, 92, 130, 0.28);
}

.auth-panel {
    position: relative;
    padding: 36px 42px 22px;
    border-radius: 22px 0 0 22px;
    color: #ffffff;
    background: linear-gradient(180deg, #1593d0 0%, #0a6aa3 100%);
}

.auth-ribbon {
    position: absolute;
    top: -10px;
    left: 28px;
    padding: 12px 28px;
    min-width: 250px;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(180deg, #2ca7df 0%, #136a9d 100%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28);
    color: #e8f7ff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-copy {
    margin: 18px 0 14px;
    max-width: 380px;
    color: #d9f2ff;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
}

.auth-alert {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.auth-alert-danger {
    background: rgba(133, 21, 21, 0.22);
    color: #fff1f1;
    border: 1px solid rgba(255, 213, 213, 0.3);
}

.auth-alert-success {
    background: rgba(20, 98, 59, 0.22);
    color: #effff3;
    border: 1px solid rgba(222, 255, 232, 0.3);
}

.auth-form {
    margin-top: 10px;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 26px;
}

.auth-grid-bottom {
    align-items: end;
    margin-top: 14px;
}

.auth-field label {
    display: block;
    margin-bottom: 6px;
    color: #d6f0ff;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
}

.auth-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid rgba(14, 56, 82, 0.55);
    border-radius: 7px;
    background: #ffffff;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.18);
}

.auth-input-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    color: #3f5566;
    font-size: 0.82rem;
    font-weight: 800;
}

.auth-input-wrap input,
.auth-select {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
}

.auth-input-wrap input {
    padding: 10px 12px 10px 5px;
    color: #0f2c3f;
    font-weight: 600;
    font-size: 14px;
}

.auth-select {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 7px;
    border: 2px solid rgba(14, 56, 82, 0.55);
    background: linear-gradient(180deg, #ffffff 0%, #f2f7fb 100%);
    color: #0f2c3f;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.14);
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #eef9ff;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 110px;
    padding: 10px 18px;
    border-radius: 7px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.auth-btn:hover {
    transform: translateY(-1px);
}

.auth-btn-primary {
    border: 1px solid #083d60;
    background: linear-gradient(180deg, #2399db 0%, #085f93 100%);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.auth-btn-secondary {
    border: 1px solid #aeb7c0;
    background: linear-gradient(180deg, #ffffff 0%, #e4ebf1 100%);
    color: #345166;
}

.auth-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    font-size: 0.92rem;
    font-weight: 700;
}

.auth-links a {
    color: #dbf6ff;
    text-decoration: none;
}

.auth-link-button {
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 71, 108, 0.42);
}

.brand-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 0px 22px 22px 0px;
    padding: 26px 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 120px;
}

.brand-logo img {
    display: block;
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.brand-mark {
    position: relative;
    width: 90px;
    height: 120px;
    border-radius: 24px 24px 18px 18px;
    background: #0b6fb1;
    overflow: hidden;
}

.brand-mark::before {
    content: "";
    position: absolute;
    inset: 10px 18px auto 18px;
    height: 12px;
    background: rgba(255, 255, 255, 0.95);
    transform: rotate(-24deg) translateY(18px);
}

.brand-wave {
    position: absolute;
    left: -8px;
    right: -8px;
    height: 18px;
    border-radius: 999px;
    background: #ffffff;
    bottom: 34px;
}

.brand-wave-alt {
    bottom: 12px;
}

.brand-name {
    color: #0b6fb1;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.register-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 18px;
}

.register-window {
    width: min(100%, 860px);
    background: #fdfdfd;
    border: 1px solid #b5bcc3;
    box-shadow: 0 18px 44px rgba(41, 73, 96, 0.28);
}

.register-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: linear-gradient(180deg, #ffffff 0%, #edf2f7 100%);
    border-bottom: 1px solid #cfd7de;
}

.register-title {
    color: #1f2f3a;
    font-size: 1rem;
    font-weight: 600;
}

.register-controls {
    display: flex;
    gap: 14px;
}

.register-controls span {
    width: 10px;
    height: 10px;
    border: 1px solid #7a8793;
}

.register-body {
    padding: 22px 18px 18px;
}

.register-copy {
    margin: 0 0 14px;
    color: #243746;
    font-size: 0.94rem;
    line-height: 1.35;
}

.register-alert {
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid #d69c9c;
    background: #fce7e7;
    color: #8e1d1d;
    font-size: 0.92rem;
}

.register-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 10px 12px;
    align-items: start;
}

.register-fields {
    display: grid;
    gap: 8px;
}

.register-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.register-row label {
    color: #243746;
    font-size: 0.94rem;
}

.register-row input,
.register-row select {
    width: 100%;
    padding: 7px 9px;
    border: 1px solid #9ca7b1;
    background: #ffffff;
    color: #203645;
    font: inherit;
}

.register-note {
    padding: 12px 14px;
    border: 1px solid #b8b8b8;
    background: #fbfbfb;
    color: #d7352b;
    font-size: 0.98rem;
    line-height: 1.45;
}

.register-checks {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.register-check {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #243746;
    font-size: 0.93rem;
}

.register-mini-btn {
    padding: 6px 12px;
    border: 1px solid #b7bec6;
    background: linear-gradient(180deg, #fefefe 0%, #e9edf1 100%);
    color: #2b3f4f;
    font: inherit;
    cursor: pointer;
}

.register-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.register-back {
    color: #0d69a1;
    text-decoration: none;
    font-weight: 600;
}

.register-submit {
    min-width: 132px;
    padding: 10px 18px;
    border: 1px solid #b2b8bf;
    background: linear-gradient(180deg, #ffffff 0%, #e7ebef 100%);
    color: #243746;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 760px) {
    .auth-card {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        padding-top: 10px;
        padding-bottom: 24px;
    }

    .brand-logo {
        max-width: 140px;
    }

    .brand-logo img {
        max-width: 140px;
    }

    .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .register-grid {
        grid-template-columns: 1fr;
    }

    .register-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .register-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
