/**
 * PickARooms Check-In Process Styling
 * Modern, clean design with gradient backgrounds
 * Fully responsive for all mobile devices
 */

/* ============================================
   GRADIENT HERO BACKGROUNDS (No images)
   ============================================ */
.checkin-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Modern gradient - booking.com inspired blues with subtle animation */
    background: linear-gradient(135deg,
        #0c1929 0%,
        #1a2b42 25%,
        #2d4363 50%,
        #1a2b42 75%,
        #0c1929 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Subtle overlay for better text contrast */
.checkin-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

/* ============================================
   PROGRESS BAR - Modern & Clean
   ============================================ */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.step {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
    backdrop-filter: blur(10px);
}

.step.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.step.active {
    background: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    border-color: #0066cc;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.6), 0 4px 12px rgba(0, 102, 204, 0.3);
    transform: scale(1.1);
}

.step .step-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.step.completed .step-number {
    display: none;
}

.step .checkmark {
    display: none;
    font-size: 24px;
}

.step.completed .checkmark {
    display: block;
}

.step-line {
    width: 70px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.step-line.completed {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* ============================================
   CONTENT CONTAINER
   ============================================ */
.checkin-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 30px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.checkin-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.checkin-content > p {
    font-size: 15px;
    color: #e2e8f0;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.6;
}

/* Input Area - White Card with Shadow */
.input-area {
    background: transparent;
    border-radius: 0;
    padding: 0;
    background: transparent;
    border-radius: 16px;
    padding: 0;
    box-shadow: none;
    
    margin-bottom: 20px;
}

/* ============================================
   FORM STYLES - Clean & Modern
   ============================================ */
.checkin-form {
    width: 100%;
}

/* Message Styles */
.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.message-error {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid #ef4444;
    color: #fee2e2;
}

.message-success {
    background: rgba(76, 175, 80, 0.15);
    border: 2px solid #4CAF50;
    color: #d1fae5;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Make main question labels bigger and more prominent */
.form-group > label {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    font-size: 18px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
    background: #ffffff;
}

.form-group input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Time input - compact width for all screen sizes (v380) */
.form-group input[type="time"] {
    max-width: 150px;
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.4;
}

/* Radio Button Group - Inline Simple Design */
.radio-group {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    min-height: 48px;
}

.radio-option:hover {
    background: #ffffff;
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

.radio-option input[type="radio"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin: 0;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #0066cc;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + .radio-label {
    font-weight: 700;
    color: #0066cc;
}

.radio-option:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.12) 0%, rgba(0, 102, 204, 0.06) 100%);
    border-color: #0066cc;
    border-width: 2px;
    box-shadow: 0 2px 12px rgba(0, 102, 204, 0.25);
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 16px;
    color: #1e293b;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.3;
}

.radio-icon {
    display: none;
}

/* ============================================
   BUTTONS - Booking.com Inspired
   ============================================ */
.btn-primary {
    width: 100%;
    padding: 16px 24px;
    border: none;
    background: linear-gradient(90deg, #0066cc 0%, #003d99 100%);
    color: white;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    letter-spacing: 0.3px;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
    background: linear-gradient(90deg, #0052a3 0%, #002d7a 100%);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Secondary Button */
.btn-secondary {
    width: 100%;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: #ffffff;
    color: #e2e8f0;
    font-size: 17px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* ============================================
   NOTICE BOXES
   ============================================ */
.privacy-notice,
.info-box,
.gdpr-consent-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 24px;
}

.privacy-notice p,
.info-box p {
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0;
}

/* Improve info-box heading and list visibility */
.info-box h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.info-box ul {
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.7;
}

.info-box ul li {
    color: #e2e8f0;
}

/* GDPR Consent Box */
.gdpr-consent-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
    border-color: rgba(251, 191, 36, 0.3);
}

.gdpr-consent-box h4 {
    margin: 0 0 12px 0;
    color: #92400e;
    font-size: 16px;
    font-weight: 700;
}

.gdpr-consent-box p,
.gdpr-consent-box ul {
    font-size: 14px;
    color: #44403c;
    line-height: 1.7;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1.6;
}

.consent-label input[type="checkbox"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #0066cc;
}

.consent-label a {
    color: #0066cc;
    text-decoration: underline;
    font-weight: 600;
}

.consent-label a:hover {
    color: #003d99;
}

/* ============================================
   SUMMARY BOX (Step 4)
   ============================================ */
.summary-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.summary-box h3 {
    margin: 0 0 16px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    font-size: 14px;
    gap: 12px;
}

.summary-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-item:first-of-type {
    padding-top: 0;
}

.summary-item .label {
    color: #e2e8f0;
    font-weight: 600;
    flex-shrink: 0;
}

.summary-item .value {
    color: #ffffff;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

/* ============================================
   PARKING & ID UPLOAD SECTION
   ============================================ */
.parking-question {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.parking-question label {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    display: block;
}

.parking-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.parking-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
}

.parking-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #cbd5e1;
}

.parking-option input[type="radio"] {
    display: none;
}

.parking-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    color: white;
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Car Registration Input (Hidden by default) */
.car-reg-input {
    display: none;
    margin-top: 16px;
    animation: slideDown 0.3s ease;
}

.car-reg-input.visible {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ID Upload Section */
.id-upload-section {
    margin-top: 32px;
}

.id-upload-section > label {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    display: block;
}

.id-upload-section > p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 16px;
    line-height: 1.5;
}

.upload-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.upload-btn:hover {
    border-color: #0066cc;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 102, 204, 0.02) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.upload-btn .btn-icon {
    font-size: 36px;
}

.upload-btn .btn-text {
    font-size: 15px;
    font-weight: 600;
}

/* Image Preview */
.preview-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #10b981;
    background: #f0fdf4;
    max-width: 100%;
}

.preview-container img {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    display: block;
}

.remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(239, 68, 68, 0.95);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.remove-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* ============================================
   PIN PROGRESS BOX
   ============================================ */
.pin-progress-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 28px;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.25);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.4);
    }
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.progress-icon {
    font-size: 28px;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.progress-text {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

.progress-bar-track {
    height: 10px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #003d99, #0066cc);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.progress-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 600;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #0066cc;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* PIN Status Success */
.pin-progress-box.ready {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%);
    border-color: #10b981;
    animation: none;
}

.pin-progress-box.ready .status-dot {
    background: #10b981;
    animation: none;
}

.pin-progress-box.ready .progress-bar-fill {
    background: linear-gradient(90deg, #10b981, #059669);
    animation: none;
}

/* ============================================
   BACK LINK
   ============================================ */
.back-link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    margin-top: 16px;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ============================================
   SPINNER
   ============================================ */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   MOBILE RESPONSIVENESS - ALL SIZES
   ============================================ */

/* Tablets & Small Laptops (768px - 1024px) */
@media (max-width: 1024px) {
    .checkin-content {
        max-width: 480px;
        padding: 35px 28px;
    }

    .checkin-content h1 {
        font-size: 28px;
    }

    .step {
        width: 44px;
        height: 44px;
    }

    .step-line {
        width: 60px;
    }
}

/* Mobile Landscape & Large Phones (481px - 767px) */
@media (max-width: 767px) {
    .checkin-hero {
        min-height: auto;
        padding: 100px 0 40px 0;
    }

    .checkin-content {
        max-width: 100%;
        width: 92%;
        padding: 30px 24px;
        border-radius: 14px;
    }

    .checkin-content h1 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .checkin-content > p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .progress-bar {
        max-width: 100%;
        margin-bottom: 32px;
    }

    .step {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step .checkmark {
        font-size: 20px;
    }

    .step-line {
        width: 50px;
        height: 3px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group select {
        padding: 13px 14px;
        font-size: 18px; /* Prevents iOS zoom */
    }

    /* Phone number input: make country code smaller, phone input bigger */
    #country-code {
        width: 110px !important;
        font-size: 14px !important;
        padding: 13px 8px !important;
    }

    .btn-primary,
    .btn-secondary {
        padding: 15px 20px;
        font-size: 16px;
    }

    .radio-group {
        gap: 10px;
    }

    .radio-option {
        padding: 12px 16px;
        min-height: 48px;
    }

    .radio-option input[type="radio"] {
        width: 20px;
        height: 20px;
        min-width: 20px;
        margin-right: 8px;
    }

    .radio-label {
        font-size: 15px;
        gap: 0;
    }

    .radio-icon {
        display: none;
    }

    .summary-box {
        padding: 16px;
    }

    .summary-box h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .summary-item {
        padding: 8px 0;
        font-size: 14px;
        gap: 10px;
    }

    .summary-item .label {
        font-size: 13px;
    }

    .summary-item .value {
        font-size: 14px;
    }

    .upload-methods {
        gap: 10px;
    }

    .upload-btn {
        padding: 20px 12px;
    }

    .upload-btn .btn-icon {
        font-size: 32px;
    }

    .upload-btn .btn-text {
        font-size: 14px;
    }
}

/* Small Mobile Phones (320px - 480px) */
@media (max-width: 480px) {
    .checkin-hero {
        padding: 40px 0 40px 0;
    }

    .checkin-content {
        width: 94%;
        padding: 26px 20px;
    }

    .checkin-content h1 {
        font-size: 24px;
    }

    .checkin-content > p {
        font-size: 13px;
    }

    .step {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .step .checkmark {
        font-size: 18px;
    }

    .step-line {
        width: 40px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group select {
        padding: 12px 13px;
        font-size: 18px;
    }

    .form-group small {
        font-size: 12px;
    }

    /* Phone number input: make country code even smaller on small screens */
    #country-code {
        width: 100px !important;
        font-size: 13px !important;
        padding: 12px 6px !important;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 18px;
        font-size: 15px;
    }

    .radio-group {
        gap: 8px;
    }

    .radio-option {
        padding: 10px 14px;
        min-height: 46px;
    }

    .radio-option input[type="radio"] {
        width: 20px;
        height: 20px;
        min-width: 20px;
        margin-right: 8px;
    }

    .radio-label {
        font-size: 14px;
        gap: 0;
    }

    .radio-icon {
        display: none;
    }

    .privacy-notice,
    .info-box,
    .gdpr-consent-box {
        padding: 16px;
    }

    .privacy-notice p,
    .info-box p,
    .gdpr-consent-box p,
    .gdpr-consent-box ul {
        font-size: 13px;
    }

    .summary-box {
        padding: 14px;
    }

    .summary-box h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .summary-item {
        font-size: 13px;
        padding: 7px 0;
    }

    .summary-item .label {
        font-size: 12px;
    }

    .summary-item .value {
        font-size: 13px;
    }

    .parking-options {
        grid-template-columns: 1fr;
    }

    .parking-option {
        padding: 14px;
        font-size: 15px;
    }

    .upload-methods {
        grid-template-columns: 1fr;
    }

    .upload-btn {
        flex-direction: row;
        justify-content: flex-start;
        padding: 16px;
    }

    .upload-btn .btn-icon {
        font-size: 28px;
    }

    .pin-progress-box {
        padding: 20px;
    }

    .progress-icon {
        font-size: 24px;
    }

    .progress-text {
        font-size: 15px;
    }
}

/* Very Small Devices (< 320px) */
@media (max-width: 319px) {
    .checkin-content {
        width: 96%;
        padding: 20px 16px;
    }

    .checkin-content h1 {
        font-size: 22px;
    }

    .step {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .step-line {
        width: 30px;
    }
}

/* ============================================
   ACCESSIBILITY & UTILITIES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Visible for Keyboard Navigation */
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   FAQ SECTION - Modern & Beautiful Design
   ============================================ */
.checkin-faq-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 20px;
    position: relative;
}

.checkin-faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #0066cc 0%, #667eea 50%, #0066cc 100%);
    background-size: 200% 100%;
    animation: shimmerLine 3s linear infinite;
}

@keyframes shimmerLine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* FAQ Header */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.faq-icon {
    font-size: 48px;
    display: inline-block;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.faq-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.faq-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

/* FAQ Container */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Item */
.faq-item {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 2px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #e0e7ff;
    transform: translateY(-2px);
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

.faq-question[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06) 0%, rgba(118, 75, 162, 0.06) 100%);
    border-bottom: 1px solid #e2e8f0;
}

/* FAQ Question Icon */
.faq-q-icon {
    font-size: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* FAQ Question Text */
.faq-q-text {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
}

/* FAQ Arrow */
.faq-arrow {
    font-size: 20px;
    color: #64748b;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(180deg);
    color: #667eea;
}

/* FAQ Answer */
.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.show {
    padding: 20px 28px 28px 28px;
    max-height: 2000px;
    opacity: 1;
}

.faq-answer p {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: #1e293b;
    font-weight: 600;
}

.faq-answer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.faq-answer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* FAQ Images */
.faq-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.faq-image {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.faq-image:hover {
    transform: scale(1.02);
}

.faq-image h3 {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    padding: 12px 16px;
    margin: 0;
    background: #ffffff;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
}

.faq-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* FAQ Map Container */
.faq-map-container {
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq-map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* ============================================
   FAQ MOBILE RESPONSIVENESS
   ============================================ */

/* iPhone 14 Pro Max and similar (428px) */
@media (max-width: 430px) {
    .checkin-faq-section {
        padding: 60px 16px;
    }

    .faq-header {
        margin-bottom: 35px;
    }

    .faq-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .faq-header h2 {
        font-size: 28px;
    }

    .faq-subtitle {
        font-size: 15px;
    }

    .faq-question {
        padding: 18px 16px;
        gap: 12px;
    }

    .faq-q-icon {
        font-size: 24px;
        width: 42px;
        height: 42px;
    }

    .faq-q-text {
        font-size: 16px;
    }

    .faq-arrow {
        font-size: 18px;
    }

    .faq-answer.show {
        padding: 16px 16px 20px 16px;
    }

    .faq-answer p {
        font-size: 15px;
    }

    .faq-images {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .faq-map-container iframe {
        height: 300px;
    }
}

/* iPhone SE and similar (375px) */
@media (max-width: 375px) {
    .checkin-faq-section {
        padding: 50px 14px;
    }

    .faq-header {
        margin-bottom: 30px;
    }

    .faq-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .faq-header h2 {
        font-size: 26px;
    }

    .faq-subtitle {
        font-size: 14px;
    }

    .faq-item {
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .faq-question {
        padding: 16px 14px;
        gap: 10px;
    }

    .faq-q-icon {
        font-size: 22px;
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .faq-q-text {
        font-size: 15px;
        font-weight: 600;
    }

    .faq-arrow {
        font-size: 16px;
    }

    .faq-answer.show {
        padding: 14px 14px 18px 14px;
    }

    .faq-answer p {
        font-size: 14px;
        line-height: 1.6;
    }

    .faq-image h3 {
        font-size: 13px;
        padding: 10px 12px;
    }

    .faq-map-container iframe {
        height: 280px;
    }
}

/* Very Small Devices (< 360px) */
@media (max-width: 359px) {
    .checkin-faq-section {
        padding: 40px 12px;
    }

    .faq-header h2 {
        font-size: 24px;
    }

    .faq-subtitle {
        font-size: 13px;
    }

    .faq-q-icon {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }

    .faq-q-text {
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 13px;
    }

    .faq-map-container iframe {
        height: 250px;
    }
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .faq-header h2 {
        font-size: 42px;
    }

    .faq-subtitle {
        font-size: 18px;
    }

    .faq-question {
        padding: 28px 32px;
    }

    .faq-answer.show {
        padding: 24px 32px 32px 32px;
    }

    .faq-map-container iframe {
        height: 450px;
    }
}

/* ============================================
   MESSAGE BANNERS (for retry info)
   ============================================ */
.message-banner {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 12px;
}

.message-banner::before {
    content: '';
    font-size: 20px;
}

.message-info {
    background: rgba(102, 126, 234, 0.12);
    border-color: #667eea;
    color: #e0e7ff;
}

.message-info::before {
    content: 'ℹ️';
}

.message-success {
    background: rgba(16, 185, 129, 0.12);
    border-color: #10b981;
    color: #d1fae5;
}

.message-success::before {
    content: '✅';
}

.message-error {
    background: rgba(239, 68, 68, 0.12);
    border-color: #ef4444;
    color: #fecaca;
}

.message-error::before {
    content: '⚠️';
}

/* ============================================
   IMPROVED GDPR CHECKBOX - BIGGER & CLEARER
   ============================================ */
.consent-label-big {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

/* Custom Checkbox Container */
.custom-checkbox {
    position: relative;
    flex-shrink: 0;
}

/* Hide default checkbox */
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

/* Custom Checkmark (unchecked) */
.custom-checkbox .checkmark {
    display: block;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 3px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover effect */
.custom-checkbox:hover .checkmark {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.6);
    transform: scale(1.05);
}

/* Checked state */
.custom-checkbox input[type="checkbox"]:checked ~ .checkmark {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Checkmark icon (shown when checked) */
.custom-checkbox .checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 10px;
    top: 5px;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.custom-checkbox input[type="checkbox"]:checked ~ .checkmark::after {
    display: block;
}

/* Consent text container */
.consent-text {
    flex: 1;
    padding-top: 2px;
}

/* Focus state for accessibility */
.custom-checkbox input[type="checkbox"]:focus-visible ~ .checkmark {
    outline: 3px solid #667eea;
    outline-offset: 3px;
}

/* Mobile responsiveness for checkbox */
@media (max-width: 767px) {
    .custom-checkbox .checkmark {
        width: 28px;
        height: 28px;
    }

    .custom-checkbox .checkmark::after {
        left: 8px;
        top: 4px;
        width: 7px;
        height: 12px;
    }

    .consent-text p:first-child {
        font-size: 14px !important;
    }

    .consent-text p:last-child {
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .consent-label-big {
        gap: 12px;
    }

    .custom-checkbox .checkmark {
        width: 26px;
        height: 26px;
    }

    .custom-checkbox .checkmark::after {
        left: 7px;
        top: 3px;
        width: 6px;
        height: 11px;
        border-width: 0 2.5px 2.5px 0;
    }
}

/* ============================================
   PIN STATUS INDICATORS (Step 5)
   ============================================ */
#pin-status.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%);
    border: 2px solid #10b981;
    color: #d1fae5;
}

#pin-status.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.06) 100%);
    border: 2px solid #ef4444;
    color: #fecaca;
}

#pin-status.loading {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(102, 126, 234, 0.06) 100%);
    border: 2px solid #667eea;
    color: #e0e7ff;
}

/* ============================================
   QUICK SUMMARY (Step 5)
   ============================================ */
.quick-summary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.6;
}

.quick-summary strong {
    color: #ffffff;
    font-weight: 700;
}

/* ============================================
   HOUSE RULES BOX (Step 5)
   ============================================ */
.house-rules-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.10) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 2px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.house-rules-box h3 {
    margin: 0 0 12px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.rules-list-compact {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.rules-list-compact li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.6;
}

.rules-list-compact li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
}

.rule-note {
    font-size: 12px;
    color: #fca5a5;
    font-style: italic;
}

.view-full-rules-link {
    display: inline-block;
    color: #FFD700;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
    transition: all 0.2s ease;
}

.view-full-rules-link:hover {
    color: #FFC700;
    text-decoration: underline;
}

/* ============================================
   MODAL (House Rules)
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 24px 28px 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.modal-close {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-size: 32px;
    font-weight: 700;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    padding: 0;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    flex: 1;
}

.modal-body h3 {
    margin: 0 0 20px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.rule-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rule-section:last-of-type {
    border-bottom: none;
}

.rule-section h4 {
    margin: 0 0 10px 0;
    color: #FFD700;
    font-size: 16px;
    font-weight: 700;
}

.rule-section p {
    margin: 0 0 10px 0;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.7;
}

.rule-section p:last-child {
    margin-bottom: 0;
}

.rule-section strong {
    color: #ffffff;
    font-weight: 700;
}

.rule-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.rule-footer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.modal-footer {
    padding: 16px 28px 24px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
}

.btn-modal-close {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-modal-close:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .modal {
        padding: 10px;
    }

    .modal-content {
        max-height: 90vh;
    }

    .modal-header {
        padding: 20px 20px 16px;
    }

    .modal-header h2 {
        font-size: 19px;
    }

    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-body h3 {
        font-size: 16px;
    }

    .rule-section h4 {
        font-size: 15px;
    }

    .rule-section p {
        font-size: 13px;
    }

    .modal-footer {
        padding: 12px 20px 20px;
    }
}

/* ============================================
   STEP 4: ID VERIFICATION - MODERN UI (v313)
   ============================================ */

/* Form labels */
.form-label-main {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    display: block;
}

.form-description {
    font-size: 14px;
    color: #e2e8f0;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Drag & Drop Zone */
.drop-zone {
    border: 3px dashed rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drop-zone.drag-over {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.08) 100%);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.drop-zone.has-file {
    border-color: #10b981;
    border-style: solid;
    padding: 0;
    background: transparent;
}

/* Drop Zone Content */
.drop-zone-content {
    width: 100%;
}

.upload-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

.upload-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.upload-btn-camera,
.upload-btn-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 215, 0, 0.06) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
}

.upload-btn-camera:hover,
.upload-btn-gallery:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-color: #FFD700;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.upload-btn .btn-icon {
    font-size: 36px;
}

.upload-btn .btn-text {
    font-size: 15px;
    font-weight: 600;
}

.file-requirements {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

/* Preview Container */
.preview-container {
    display: none;
    flex-direction: column;
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
}

.preview-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px;
    display: flex;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.btn-remove {
    background: rgba(239, 68, 68, 0.95);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-remove:hover {
    background: #dc2626;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
}

.verification-status {
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
    border-top: 2px solid #10b981;
    color: #d1fae5;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* Upload Loading State */
.upload-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    z-index: 10;
    border-radius: 16px;
}

.upload-loading .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 215, 0, 0.2);
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.upload-loading p {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Message Box (Success/Error) */
.message-box {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border: 2px solid;
}

.message-box.message-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #fee2e2;
}

.message-box.message-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #d1fae5;
}

/* Verification Failed Box */
.verification-failed-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%);
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.verification-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.verification-failed-box h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.verification-failed-box p {
    color: #fecaca;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Privacy Box */
.privacy-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid #FFD700;
    border-radius: 12px;
    padding: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.privacy-title {
    font-size: 14px;
    color: #10b981;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.privacy-list {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0;
    padding-left: 20px;
}

.privacy-list li {
    margin-bottom: 6px;
}

.privacy-list li:last-child {
    margin-bottom: 0;
}

/* Details (Collapsible) Box */
.details-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.details-summary {
    cursor: pointer;
    color: #FFD700;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
    user-select: none;
}

.details-summary::-webkit-details-marker {
    display: none;
}

.details-content {
    padding: 12px 0 0 0;
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.6;
}

.details-content p {
    margin: 0 0 8px 0;
}

.details-content p:last-child {
    margin-bottom: 0;
}

/* Secondary Button (Skip) */
.btn-secondary {
    width: 100%;
    padding: 15px 24px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   MOBILE RESPONSIVE - STEP 4
   ============================================ */

@media (max-width: 767px) {
    .drop-zone {
        padding: 24px 16px;
        min-height: 280px;
    }

    .upload-icon {
        font-size: 52px;
        margin-bottom: 12px;
    }

    .upload-buttons {
        gap: 10px;
    }

    .upload-btn-camera,
    .upload-btn-gallery {
        padding: 20px 12px;
    }

    .upload-btn .btn-icon {
        font-size: 32px;
    }

    .upload-btn .btn-text {
        font-size: 14px;
    }

    .preview-image {
        max-height: 320px;
    }

    .verification-failed-box {
        padding: 20px;
    }

    .verification-icon {
        font-size: 40px;
    }

    .verification-failed-box h3 {
        font-size: 18px;
    }

    .privacy-box,
    .details-box {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .drop-zone {
        padding: 20px 14px;
        min-height: 260px;
    }

    .upload-icon {
        font-size: 48px;
    }

    .upload-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .upload-btn-camera,
    .upload-btn-gallery {
        flex-direction: row;
        justify-content: center;
        padding: 16px;
        gap: 12px;
    }

    .upload-btn .btn-icon {
        font-size: 28px;
    }

    .preview-image {
        max-height: 280px;
    }

    .upload-loading .spinner {
        width: 40px;
        height: 40px;
    }

    .upload-loading p {
        font-size: 14px;
    }

    .form-label-main {
        font-size: 16px;
    }

    .form-description {
        font-size: 13px;
    }
}

/* ==================== PARKING INSTRUCTIONS (v350) ==================== */

/* Parking Info Box */
.parking-info-box {
    background: linear-gradient(135deg, #bae6fd 0%, #7dd3fc 100%);
    border: 2px solid #0284c7;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

/* Parking Info Title */
.parking-info-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 16px 0;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Parking Info Content */
.parking-info-content {
    color: #1e293b !important;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.parking-info-content ul,
.parking-info-content ol {
    margin: 12px 0;
    padding-left: 28px;
    color: #1e293b !important;
}

.parking-info-content li {
    margin: 8px 0;
    padding-left: 8px;
    color: #1e293b !important;
    font-weight: 500;
}

.parking-info-content p {
    margin: 12px 0;
    color: #1e293b !important;
}

.parking-info-content strong {
    color: #0c4a6e !important;
    font-weight: 700;
}

/* Parking Info Image */
.parking-info-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: block;
}

.parking-info-image-bottom {
    margin-top: 20px;
}

/* Fallback List */
.parking-info-fallback {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.parking-info-fallback li {
    position: relative;
    padding-left: 32px;
    margin: 12px 0;
    font-size: 16px;
    color: #1e293b !important;
    line-height: 1.6;
    font-weight: 500;
}

.parking-info-fallback li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #065f46 !important;
    font-weight: 700;
    font-size: 18px;
}

/* Responsive adjustments for parking instructions */
@media (max-width: 768px) {
    .parking-info-box {
        padding: 20px;
        margin: 16px 0;
    }

    .parking-info-title {
        font-size: 20px;
    }

    .parking-info-content {
        font-size: 15px;
    }

    .parking-info-content ul,
    .parking-info-content ol {
        padding-left: 24px;
    }
}

@media (max-width: 480px) {
    .parking-info-box {
        padding: 18px;
        border-radius: 10px;
    }

    .parking-info-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .parking-info-content {
        font-size: 14px;
    }

    .parking-info-content ul,
    .parking-info-content ol {
        padding-left: 20px;
    }

    .parking-info-content li {
        margin: 6px 0;
    }

    .parking-info-fallback li {
        font-size: 14px;
        padding-left: 28px;
    }

    .parking-info-image {
        margin: 12px 0;
    }
}
