@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* ===== AUTH PAGES ===== */
:root {
    --auth-bg: linear-gradient(180deg, #1b2b5f 0%, #12224d 100%);
}

.auth-page {
    background: var(--auth-bg);
    overflow: hidden;
}

.auth-page .page-container {
    height: 100vh;
    height: 100dvh;
    display: grid;
    place-items: center;
    padding: 20px;
    background: var(--auth-bg);
    overflow: hidden;
}

.auth-page .top-header,
.auth-page .site-footer {
    background: var(--auth-bg);
}

.auth-page .top-header {
    border-bottom: none;
}

.auth-page .site-footer {
    margin-top: 0;
}

.auth-page .footer-bottom {
    border-top-color: rgba(226, 232, 240, 0.14);
}

.auth-shell {
    width: min(520px, 100%);
}

.auth-card {
    padding: 40px 36px 32px;
    font-family: var(--font-sans);
    display: grid;
    gap: 18px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: #0f172a;
}

.auth-brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.auth-title {
    text-align: center;
}

.auth-title h1 {
    margin: 0;
    font-size: 26px;
    color: #0f172a;
}

.auth-title p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 15px;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field label {
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}

.auth-field input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 15px;
    font-family: inherit;
    outline: none;
}

.auth-field input:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
    background: #ffffff;
}

.auth-submit {
    margin-top: 6px;
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    background: #f97316;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.auth-submit:hover {
    background: #ea6a12;
}

.auth-meta {
    font-size: 14px;
    color: #475569;
    text-align: center;
}

.auth-meta a {
    color: #f97316;
    text-decoration: none;
    font-weight: 600;
}

.auth-home-link {
    margin-top: -8px;
    text-align: center;
    font-size: 12px;
}

.auth-home-link a {
    color: #64748b;
    text-decoration: none;
}

.auth-home-link a:hover {
    text-decoration: underline;
}

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

.auth-alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.auth-alert.success {
    background: #dcfce7;
    color: #166534;
}


/* ===== REGISTER PAGE (IMAGE MATCH) ===== */
.register-shell {
    width: min(590px, 100%);
}

.register-card {
    background: #f3f4f6;
    border-radius: 24px;
    padding: 42px 42px 34px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.2);
    display: grid;
    gap: 18px;
    font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
}

.register-card *,
.register-card *::before,
.register-card *::after {
    font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
}

.register-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #071737;
    font-size: 14px;
    font-weight: 700;
}

.register-brand-icon {
    width: 34px;
    height: 34px;
    stroke: #f97316;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.register-brand span {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.register-title {
    text-align: center;
}

.register-title h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.14;
    color: #06183d;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.register-title p {
    margin: 2px 0 2px;
    font-size: 17px;
    color: #596982;
}

.register-form {
    display: grid;
    gap: 14px;
}

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

.register-field label {
    font-size: 17px;
    font-weight: 400;
    color: #081a40;
}

.register-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    border: 1px solid #cfd6e1;
    border-radius: 12px;
    background: #ebeff4;
    padding: 0 16px;
}

.register-icon {
    width: 20px;
    height: 20px;
    stroke: #6e7a8e;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.register-input-wrap input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #5f6f86;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
}

.register-input-wrap input::placeholder {
    color: #5f6f86;
}

.register-eye {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.register-eye svg {
    width: 20px;
    height: 20px;
    stroke: #6e7a8e;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.register-submit {
    margin-top: 2px;
    border: none;
    border-radius: 12px;
    background: #f97316;
    color: #ffffff;
    min-height: 54px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.register-submit:hover {
    background: #ea6a12;
}

.register-meta {
    text-align: center;
    color: #616f84;
    font-size: 16px;
}

.register-meta a {
    color: #f57c24;
    text-decoration: none;
    font-weight: 600;
}

.register-home-link {
    text-align: center;
    margin-top: -2px;
}

.register-home-link a {
    color: #607088;
    text-decoration: none;
    font-size: 15px;
}

.register-home-link a:hover {
    text-decoration: underline;
}
