.traveler-auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
    background: #f4f6f9;
}

.auth-container {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
    padding: 0 16px;
}

/* Agency brand */
.agency-brand {
    text-align: center;
    margin-bottom: 20px;
}
.agency-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
}
.agency-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 24px;
}
.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}
.auth-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Card */
.auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 48px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}

/* Social */
.social-login { display: flex; flex-direction: column; gap: 10px; }
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 11px 20px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.btn-social:hover { background: #f5f5f5; border-color: #ccc; }

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: #aaa;
    font-size: 12px;
    letter-spacing: 0.3px;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ebebeb;
}

/* Alert */
.alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}
.alert-danger { background: #fff0f0; color: #c0392b; border: 1px solid #ffd0d0; }

/* Form rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.required { color: #e74c3c; margin-left: 2px; }

/* Inputs */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.custom-select-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    background: #fff;
    color: #1a1a1a;
}
.form-group input:focus,
.custom-select-input:focus {
    border-color: #6c63ff;
    box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
}
.input-error { border-color: #e74c3c !important; }

.field-error {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
}

/* Password eye */
.input-eye-wrap { position: relative; }
.input-eye-wrap input { padding-right: 42px; }
.eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: 2px;
    display: flex;
    align-items: center;
}
.eye-btn:hover { color: #666; }

/* Nationality searchable select */
.custom-select-wrap { position: relative; }
.custom-select-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 220px;
    overflow-y: auto;
    z-index: 300;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.12s;
}
.dropdown-item:hover { background: #f5f4ff; }
.dropdown-flag { font-size: 18px; flex-shrink: 0; }
.dropdown-dial { margin-left: auto; font-size: 12px; color: #999; }
.dropdown-empty { padding: 12px 14px; font-size: 13px; color: #aaa; text-align: center; }

/* Phone */
.phone-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-wrap:focus-within {
    border-color: #6c63ff;
    box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
}
.phone-code {
    flex-shrink: 0;
    padding: 10px 12px;
    background: #f7f7fb;
    border-right: 1.5px solid #e0e0e0;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
    display: flex;
    align-items: center;
    min-width: 80px;
    justify-content: center;
}
.phone-wrap input[type="tel"] {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 10px 14px;
}
.phone-wrap input[type="tel"]:focus { box-shadow: none !important; }

/* Terms */
.terms-group { margin-top: 4px; margin-bottom: 22px; }
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #6c63ff;
    flex-shrink: 0;
    cursor: pointer;
}
.checkbox-label a {
    color: #6c63ff;
    font-weight: 600;
    text-decoration: none;
}
.checkbox-label a:hover { text-decoration: underline; }

/* Submit */
.btn-auth {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #6c63ff, #5a52d5);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    letter-spacing: 0.2px;
}
.btn-auth:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-auth:active { transform: translateY(0); }

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #777;
}
.auth-footer a {
    color: #6c63ff;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}
.auth-footer a:hover { text-decoration: underline; }

/* Email verify */
.email-verify-wrap {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.email-verify-wrap input {
    flex: 1;
    min-width: 0;
}
.btn-verify {
    flex-shrink: 0;
    padding: 10px 14px;
    background: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}
.btn-verify:hover { opacity: 0.88; }
.btn-verify:disabled { background: #bbb; cursor: not-allowed; opacity: 1; }

/* Responsive */
@media (max-width: 640px) {
    .auth-card { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}
