*,
*::before,
*::after {
    box-sizing: border-box;
}

body.auth-body {
    background-image: url(../images/bg-main.jpg);
        background-size: cover;
    background-position: 30%;
    margin: 0;
    /* font-family: system-ui, -apple-system, "Segoe UI", sans-serif; */
    /* background: linear-gradient(180deg, #dbeeff, #ffffff 55%, #fdf4e7 100%); */
    color: #223353;
    min-height: 100vh;
}

.auth-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    /* padding: 16px; */
    align-items: center;
    justify-content: center;
}

/* HEADER */
.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto 16px;
}

.auth-logo img {
    height: 250px;
    width: auto;
}

.auth-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-event-name {
    font-weight: 700;
    color: #2c4cc7;
}

/* language switch */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.lang-switch select {
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid #bcc8ec;
    font-size: 12px;
    background: #ffffffcc;
}

/* MAIN CARD */
.auth-main {
    /* flex: 1; */
    display: -ms-inline-grid;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: radial-gradient(circle at top, #f2f6ff 0, #ffffff 55%, #fff5e8 100%);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(72, 106, 180, 0.35);
    padding: 40px;
}

.auth-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: #26447e;
    text-align: center;
}

.auth-sub {
    margin: 0 0 14px;
    font-size: 10px;
    color: #4b5b7a;
    text-align: center;
}

.auth-form label {
    display: block;
    font-size: 13px;
    color: #364c70;
    margin-top: 10px;
    font-weight: 600;
}

.auth-input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #b6c5eb;
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 10px;
}

.auth-input:focus {
    outline: none;
    border-color: #3a8dff;
    box-shadow: 0 0 0 2px rgba(58, 141, 255, 0.25);
}

.auth-note {
    margin: 10px 0 0;
    font-size: 11px;
    color: #53627e;
}

.auth-link {
    color: #e4862a;
    text-decoration: underline;
}

/* buttons */
.auth-btn {
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.auth-btn.primary {
    width: 100%;
    background: linear-gradient(135deg, #ffd553, #ffb93f);
    color: #754408;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(196, 137, 23, 0.6);
}

/* FOOTER */
.auth-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 11px;
    color: #607098;
}


.phone-row {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.auth-select {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #b6c5eb;
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 10px;
    background: #ffffff;
    width: 40%;
}

.phone-input {
    width: 60%;
}

.back-btn {
    display: inline-block;
    margin-top: 10px;
    text-align: center;
    width: 100%;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #c6d1ec;
    color: #4a5c83;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.back-btn:hover {
    background: #f1f4ff;
    border-color: #9fb0da;
    transform: translateY(-2px);
}