/* --- New Cyber Resort Theme Overrides --- */
body {
    background: url('images/booking_bg.png') center/cover fixed no-repeat !important;
    color: #f8fafc;
    font-family: 'Noto Sans SC', sans-serif;
}

.bg-light {
    background-color: transparent !important;
}

.form-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6) !important;
}

.form-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #f8fafc !important;
}

.form-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #cbd5e1 !important;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #f8fafc !important;
}

.back-link:hover {
    color: #38bdf8 !important;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #f8fafc !important;
}

.required {
    color: #ef4444;
}

.form-row {
    display: flex;
    gap: 20px;
}

.half-width {
    flex: 1;
}

input[type="text"],
input[type="date"],
select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    outline: none;
    transition: border-color 0.3s;
}

input:focus,
select:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4) !important;
}

select option {
    color: #1e293b;
    background: white;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 14px;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.5);
}

select {
    appearance: none;
    -webkit-appearance: none;
}

.file-drop-area {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.2);
}

.file-drop-area:hover {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.05);
}

.file-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.browse-link {
    color: #38bdf8;
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.btn-submit {
    flex: 2;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(45deg, #0ea5e9, #10b981) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3) !important;
    transition: all 0.3s !important;
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.5) !important;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-clear {
    flex: 1;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    transition: all 0.3s;
}

.btn-clear:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==== 修复的极品模态层验证系统 ==== */
.modal-overlay {
    display: none;
    /* 隐式控制中枢 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.modal {
    background: #1e293b;
    color: white;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalPop {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 4.5rem;
    color: #10b981;
    margin-bottom: 20px;
}

.modal h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal p {
    color: #cbd5e1;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-wrapper {
        padding: 25px 20px;
        margin: 20px;
    }
}