/* Header */
.auth-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1180px;
    margin: auto;
    padding: 28px;
    color: #3476aa;
    font-size: 13px;
}

/* Bố cục trang đăng nhập */
.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1100px;
    margin: 24px auto 60px;
    padding: 0 28px;
}

/* Khối giới thiệu */
.auth-intro {
    align-self: stretch;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-radius: 24px;
    background: #e8f2f8;
}

/* Giữ nguyên toàn bộ chi tiết logo 70 năm */
.auth-logo {
    display: block;
    width: 96px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
}

.auth-eyebrow {
    margin: 24px 0 14px;
    color: #3476aa;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.auth-intro h1 {
    margin: 18px 0;
    font-family: 'Literata', serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.5;
}

.auth-intro > p:not(.auth-eyebrow) {
    color: #607888;
    font-size: 14px;
    line-height: 1.9;
}

.auth-decoration {
    display: block;
    margin-top: 24px;
    color: #c69b28;
    font-size: 64px;
}

/* Biểu mẫu */
.auth-card {
    min-width: 0;
    padding: 32px;
    border: 1px solid #e0e9ef;
    border-radius: 18px;
    background: white;
}

.auth-card > .auth-eyebrow {
    margin-top: 0;
}

.auth-card h2 {
    margin: 12px 0;
    font-family: 'Literata', serif;
    font-size: 30px;
    font-weight: 500;
}

.auth-description {
    color: #718695;
    font-size: 13px;
    line-height: 1.8;
}

.auth-field {
    margin-top: 20px;
}

.auth-field label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
}

.auth-field input,
.auth-field select {
    width: 100%;
    min-width: 0;
    padding: 13px;
    border: 1px solid #d4e2ec;
    border-radius: 8px;
    background: white;
    color: #24445c;
    font: inherit;
    font-size: 13px;
}

/* Hiện/ẩn mật khẩu */
.auth-password {
    display: flex;
    align-items: stretch;
    border: 1px solid #d4e2ec;
    border-radius: 8px;
}

.auth-password input {
    flex: 1;
    border: none;
}

.auth-password button {
    flex-shrink: 0;
    padding: 0 14px;
    border: none;
    border-radius: 8px;
    color: #3476aa;
    font-size: 12px;
}

/* Thông báo & Nút gửi */
.auth-notice {
    margin: 20px 0;
    padding: 13px;
    border-radius: 8px;
    background: #fff7df;
    color: #7c6530;
    font-size: 11px;
    line-height: 1.8;
}

.auth-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #f3ce63;
    color: #24445c;
    font-weight: 600;
}

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

.auth-feedback {
    margin-bottom: 0;
    color: #3476aa;
    font-size: 14px;
    line-height: 1.8;
}

.auth-intro > .auth-eyebrow {
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 800px) {
    .auth-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 560px;
    }

    .auth-intro {
        padding: 28px;
    }

    .auth-intro h1 {
        font-size: 28px;
    }

    .auth-decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    .auth-header {
        padding: 20px 16px;
    }

    .auth-header > span {
        display: none;
    }

    .auth-layout {
        margin-top: 8px;
        padding: 0 16px;
    }

    .auth-card {
        padding: 24px 20px;
    }
}

/* ===== Chuyển giữa đăng nhập & đăng ký ===== */
.auth-switch {
  margin-top: 22px;
  color: #718695;
  font-size: 12px;
  line-height: 1.8;
}

.auth-switch a {
  color: #3476aa;
  font-weight: 600;
}

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