/* --- Happy Cruising Form Styles --- */

:root {
    --bg: #0c0c0c;
    --panel: #181818;
    --input-bg: #f2f2f2;
    --text: #ffffff;
    --red: #d90000;
    --blue: #0066cc;
    --gray: #888888;
    --light-gray: #333333;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Base Reset */
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding-bottom: 80px;
    line-height: 1.6;
}

/* Header Area */
.form-hero {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(180deg, #1a1a1a 0%, #0c0c0c 100%);
    border-bottom: 1px solid var(--light-gray);
}

.form-hero h1 {
    font-weight: 800;
    margin: 0;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}

.form-hero p {
    color: var(--gray);
    margin-top: 10px;
    font-size: 1.1rem;
}

/* Main Layout */
.form-layout {
    max-width: 850px;
    margin: -30px auto 0;
    padding: 0 20px;
}

/* Containers */
.form-section, .guest-card {
    background: var(--panel);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #252525;
}

.guest-card {
    border-top: 6px solid var(--red);
}

/* Headers */
.section-header, .guest-header {
    color: var(--red);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    font-weight: 900;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 10px;
}

/* Rows & Fields */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.field {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.flex-15 { flex: 0 0 90px; }
.flex-grow { flex: 2; }

/* Address Grid */
.address-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.span-full { grid-column: span 3; }

/* Labels & Inputs */
label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-left: 2px;
    letter-spacing: 0.5px;
}

.extra-spacing label {
    margin-bottom: 18px; 
}

input, select {
    background: var(--input-bg);
    border: 2px solid transparent;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #111;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

input:focus, select:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(217, 0, 0, 0.15);
}

/* Accents */
.info-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.location-accent { border-top: 3px solid var(--gray); }
.ada-accent { border-top: 3px solid var(--red); }
.loyalty-accent { border-top: 3px solid var(--blue); }

.sub-header {
    color: #ffffff;
    font-size: 0.8rem;
    margin: 0 0 20px 0;
    font-weight: 600;
    text-transform: uppercase;
}

/* Waiver Styling */
.waiver-box {
    background: rgba(217, 0, 0, 0.05) !important;
    border: 1px solid rgba(217, 0, 0, 0.3) !important;
    border-top: 4px solid var(--red) !important;
    animation: fadeIn 0.4s ease;
}

.waiver-title {
    color: var(--red);
    font-weight: 900;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.waiver-box p {
    font-size: 13px;
    color: #cccccc;
    margin-bottom: 12px;
}

.waiver-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    color: #ffffff !important;
    font-style: italic;
}

/* Button */
.submit-button {
    width: 100%;
    background: var(--red);
    color: white;
    padding: 24px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(217, 0, 0, 0.4);
    transition: transform 0.1s ease;
}

.submit-button:active { transform: scale(0.98); }

.hidden { display: none; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .form-row, .address-grid { flex-direction: column; display: flex; gap: 20px; }
    .span-full { grid-column: auto; }
    .flex-15 { flex: 1; }
    .form-section, .guest-card { padding: 25px; }
}