/* ========================================
   21 India Street - Guest Portal Styles
   ======================================== */

/* Hide content until authenticated */
.guest-content {
    display: none;
}

.guest-content.authenticated {
    display: block;
}

/* Welcome Card */
.welcome-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-card h2 {
    margin-bottom: 1rem;
}

.welcome-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.check-times {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-bg-alt);
}

.check-time {
    font-size: 1.125rem;
}

.check-time strong {
    color: var(--color-secondary);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Info Cards */
.info-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-card h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-bg-alt);
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 0.6rem 0;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-bg-alt);
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li strong {
    color: var(--color-primary);
}

/* Highlight Card (WiFi) */
.highlight-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a5a6a 100%);
    color: white;
}

.highlight-card h3 {
    color: var(--color-secondary);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.wifi-info {
    text-align: center;
}

.wifi-info p {
    margin: 0.5rem 0;
}

.wifi-detail {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin: 0.5rem 0 1.5rem;
}

/* Emergency Card */
.emergency-card {
    border-left: 4px solid #d32f2f;
}

.emergency-card h3 {
    color: #d32f2f;
}

/* Checkout Section */
.checkout-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a5a6a 100%);
    padding: 4rem 0;
}

.checkout-section .info-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.checkout-section h2 {
    margin-bottom: 1rem;
}

.checkout-section > .container > .info-card > p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.checkout-list {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
    list-style: none;
}

.checkout-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-bg-alt);
}

.checkout-list li::before {
    content: '☐';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-size: 1.25rem;
}

.checkout-note {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-primary);
    margin-top: 2rem;
}

/* Password Form Enhancements */
.password-form {
    box-shadow: var(--shadow-hover);
}

.password-form input {
    font-family: var(--font-body);
}

.password-form input:focus {
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.2);
}

/* Guest Section Headers */
.guest-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.guest-section .section-subtitle {
    text-align: center;
}

/* Guest Hero */
.guest-hero {
    height: 50vh;
    min-height: 350px;
}

.guest-hero .hero-content h1 {
    font-size: 3rem;
}

@media (max-width: 768px) {
    .guest-hero .hero-content h1 {
        font-size: 2rem;
    }

    .check-times {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Local Guide specific styling */
#local-guide .info-card ul {
    list-style: none;
}

#local-guide .info-card li {
    padding: 0.75rem 0;
}

#local-guide .info-card li strong {
    color: var(--color-primary);
}

/* Print styles for guest checklist */
@media print {
    .navbar,
    .password-overlay,
    .footer,
    .hero {
        display: none !important;
    }

    .guest-content {
        display: block !important;
    }

    .checkout-section {
        background: white !important;
        color: black !important;
    }

    .info-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
}
