/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
}

/* App Container */
#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100vw;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Main Content */
.main-content {
    flex: 1;
    padding-bottom: 80px; /* Space for bottom nav */
    overflow-y: auto;
}

/* Page Styles */
.page {
    display: none;
    min-height: calc(100vh - 140px);
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

.page-content {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Home Page Styles */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-image {
    margin-bottom: 1.5rem;
}

.cityscape-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    max-height: 300px;
}

.lead {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.intro-section h3 {
    color: #1976D2;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.intro-section p {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #666;
}

.conference-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #2196F3;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.detail-text {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-card h4 {
    color: #1976D2;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #666;
    line-height: 1.5;
}

/* Welcome Message Section */
.welcome-message {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.welcome-message h3 {
    color: #1976D2;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.welcome-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
}

.welcome-content .signature {
    margin-top: 1.5rem;
    text-align: right;
    font-style: italic;
    color: #666;
}

/* Filter Section */
.filter-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.filter-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.filter-section h3 {
    color: #1976D2;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.events-count {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.last-updated {
    color: #999;
    font-size: 0.8rem;
    font-style: italic;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-chip {
    background: #f5f5f5;
    color: #666;
    border: 2px solid transparent;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-chip:hover {
    background: #e3f2fd;
    color: #1976D2;
    transform: translateY(-1px);
}

.filter-chip.active {
    background: #2196F3;
    color: white;
    border-color: #1976D2;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.filter-chip.active:hover {
    background: #1976D2;
    transform: translateY(-1px);
}

/* Events Container */
.events-container {
    display: grid;
    gap: 1rem;
}

.event-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.event-title {
    color: #1976D2;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.event-time {
    background: #E3F2FD;
    color: #1976D2;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.event-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.event-tag {
    background: #f0f0f0;
    color: #666;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

.add-to-schedule {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.add-to-schedule:hover {
    background: #45a049;
}

.add-to-schedule.added {
    background: #FF9800;
}

.add-to-schedule.added:hover {
    background: #F57C00;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1.1rem;
}

/* Schedule Container */
.schedule-container {
    display: grid;
    gap: 1rem;
}

.empty-state {
    text-align: center;
    color: #999;
    padding: 2rem;
    font-style: italic;
}

/* Sponsors Page */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.sponsor-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.sponsor-card:hover {
    transform: translateY(-2px);
}

.sponsor-card h3 {
    color: #1976D2;
    margin-bottom: 1rem;
}

.sponsor-logo {
    margin-bottom: 1rem;
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sponsor-name h3 {
    margin: 0;
    font-size: 1.1rem;
}

.sponsor-card {
    cursor: pointer;
}

.no-sponsors {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* Sponsor Detail Page */
.sponsor-detail-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.sponsor-detail-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.sponsor-detail-logo img {
    max-width: 300px;
    max-height: 150px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.sponsor-detail-title {
    text-align: center;
    color: #1976D2;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.sponsor-detail-text {
    margin-bottom: 2rem;
}

.sponsor-detail-text h3 {
    color: #1976D2;
    margin-bottom: 1rem;
}

.sponsor-detail-text p {
    line-height: 1.6;
    color: #333;
}

.sponsor-detail-contact {
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item h4 {
    margin: 0 0 0.5rem 0;
    color: #1976D2;
    font-size: 1rem;
}

.contact-item a {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* More Page */
.more-sections {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.more-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.more-card:hover {
    transform: translateY(-2px);
}

.more-card h3 {
    color: #1976D2;
    margin-bottom: 0.5rem;
}

.more-card p {
    color: #666;
    line-height: 1.5;
}

/* Wicked Problems Hub Attribution */
.wph-attribution {
    text-align: center;
    padding: 30px 20px;
    margin-top: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 1px solid #dee2e6;
}

.wph-logo {
    margin-bottom: 15px;
}

.wph-logo-img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.wph-logo-img:hover {
    opacity: 1;
}

.wph-text {
    margin: 0;
}

.wph-text p {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.wph-text strong {
    color: #333;
    font-weight: 600;
}

/* Venue Detail Page */
.venue-detail-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.venue-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.travel-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.travel-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.venue-details h4 {
    color: #1976D2;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.venue-details h5 {
    color: #333;
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.venue-details p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.venue-details a {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
}

.venue-details a:hover {
    text-decoration: underline;
}

/* Tickets Detail Page */
.tickets-detail-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.tickets-button-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.get-tickets-btn {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.get-tickets-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.conference-section {
    margin-bottom: 3rem;
}

.conference-section h2,
.pricing-section h2 {
    color: #1976D2;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.conference-section p,
.pricing-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #2196F3;
    transition: transform 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
    color: #1976D2;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.rate-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    color: #333;
    font-weight: 500;
}

.price-value {
    color: #1976D2;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-bottom: 15px; /* Add extra bottom padding for mobile safe area */
    min-height: 75px; /* Increase overall height */
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem 0.5rem 0.5rem; /* Increase top padding */
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 75px; /* Match the navigation bar height */
}

.nav-item:hover {
    background: #f5f5f5;
}

.nav-item.active {
    color: #2196F3;
    background: #E3F2FD;
}

.nav-icon {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-content {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 1.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .event-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-time {
        margin-top: 0.5rem;
    }
    
    .sponsors-grid {
        grid-template-columns: 1fr;
    }

    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .speaker-card {
        padding: 15px;
    }

    .speaker-card-image {
        width: 80px;
        height: 80px;
    }

    .speaker-initials {
        font-size: 1.5rem;
    }
    
    .filter-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-chips {
        gap: 0.5rem;
    }
    
    .filter-chip {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .filter-header-right {
        align-self: flex-end;
        align-items: flex-end;
    }
    
    .wph-attribution {
        padding: 20px 15px;
        margin-top: 20px;
    }
    
    .wph-logo-img {
        height: 35px;
    }
    
    .wph-text p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.2rem;
    }
    
    .nav-label {
        font-size: 0.7rem;
    }
    
    .nav-icon {
        font-size: 1rem;
    }
    
    .bottom-nav {
        min-height: 70px; /* Increased from 55px for mobile */
        padding-bottom: 20px; /* Extra padding for mobile safe area */
    }
    
    .nav-item {
        min-height: 70px; /* Increased from 55px for mobile */
        padding: 0.5rem 0.3rem 0.3rem 0.3rem; /* Adjust padding for mobile */
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #e0e0e0;
    }
    
    .feature-card, .event-card, .sponsor-card, .more-card {
        background: #1e1e1e;
        color: #e0e0e0;
    }
    
    .bottom-nav {
        background: #1e1e1e;
        border-top-color: #333;
    }
    
    .nav-item:hover {
        background: #333;
    }
    
    .nav-item.active {
        background: #0d47a1;
    }
}

/* Event Detail page styles */
.detail-header {
    margin-bottom: 1rem;
}

.back-button {
    background: #2196F3;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.back-button:hover {
    background: #1976D2;
}

.event-detail-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 100%;
}

.detail-title {
    color: #2196F3;
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.detail-time {
    background: #E3F2FD;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.detail-day-time {
    font-weight: 600;
    color: #1976D2;
    font-size: 1.1rem;
}

.detail-location, .detail-speaker, .detail-bio, .detail-feedback, .detail-room-image, .detail-map {
    margin-bottom: 2rem;
}

.detail-location h3, .detail-speaker h3, .detail-bio h3, .detail-feedback h3, .detail-room-image h3, .detail-map h3 {
    color: #333;
    font-size: 1.2rem;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

.speaker-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.speaker-image {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E3F2FD;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.speaker-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.detail-bio p {
    line-height: 1.6;
    color: #555;
}

.room-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 0.75rem;
}

.detail-map p {
    color: #666;
    margin-bottom: 0.75rem;
}

.detail-feedback p {
    color: #666;
    margin-bottom: 1rem;
}

.feedback-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem;
}

/* MetaSurvey widget styling */
.feedback-container div[data-ms-widget] {
    width: 100% !important;
    min-height: 500px;
    border: none;
}

@media (max-width: 768px) {
    .feedback-container div[data-ms-widget] {
        min-height: 400px;
    }
    
    .feedback-container {
        padding: 0.5rem;
    }
}

/* Make event cards clickable */
.event-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Notification controls */
.notification-controls {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notification-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.notification-btn:hover {
    background: #1976D2;
}

.notification-btn.secondary {
    background: #f44336;
}

.notification-btn.secondary:hover {
    background: #d32f2f;
}

.notification-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.notification-status {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    padding: 0.5rem;
    background: #f0f0f0;
    border-radius: 4px;
    text-align: center;
}

.notification-status.enabled {
    background: #e8f5e8;
    color: #2e7d2e;
}

.notification-status.disabled {
    background: #ffeaea;
    color: #d32f2f;
}

/* Mobile styles for event detail */
@media (max-width: 768px) {
    .event-detail-card {
        padding: 1.5rem;
    }
    
    .detail-title {
        font-size: 1.5rem;
    }
    
    .speaker-info {
        gap: 0.75rem;
    }
    
    .speaker-image {
        width: 95px;
        height: 95px;
    }
}

/* Speakers Grid */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.speaker-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.speaker-card-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E3F2FD;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 0 auto 15px;
    display: block;
}

.speaker-card-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.speaker-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-initials {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.no-speakers {
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 40px 0;
    font-size: 1.1rem;
}

/* Speaker Detail Page */
.speaker-detail-content {
    padding: 20px;
}

.speaker-detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
}

.speaker-detail-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #E3F2FD;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0 auto 20px;
    display: block;
}

.speaker-detail-name {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.speaker-detail-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    text-align: left;
}

.speaker-detail-bio p {
    margin-bottom: 1rem;
}

.speaker-detail-bio p:last-child {
    margin-bottom: 0;
}

/* Contact Detail Page Styles */
.contact-detail-content {
    padding: 20px;
}

.contact-detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.contact-sections {
    margin-top: 30px;
}

.emergency-notice {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(255,107,107,0.3);
}

.emergency-notice h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.emergency-notice p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.contact-section {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-section:hover {
    border-color: #007bff;
    box-shadow: 0 6px 20px rgba(0,123,255,0.15);
    transform: translateY(-2px);
}

.contact-section h3 {
    color: #007bff;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.contact-item-detail {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
}

.contact-item-detail:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 20px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.contact-item-detail a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item-detail a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Install Prompt Modal Styles */
.install-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.install-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.install-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 25px 0 25px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 25px;
}

.install-header h3 {
    margin: 0;
    color: #333;
    font-size: 22px;
    font-weight: bold;
}

.install-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.install-close:hover {
    background: #f0f0f0;
    color: #333;
}

.install-body {
    padding: 0 25px 25px 25px;
}

.install-icon {
    text-align: center;
    margin-bottom: 20px;
}

.install-icon img {
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.install-text {
    text-align: center;
    margin-bottom: 30px;
}

.install-text h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

.install-text p {
    margin: 0;
    color: #666;
    line-height: 1.5;
    font-size: 16px;
}

.install-instructions {
    margin-bottom: 20px;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

.step-number {
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.instruction-step p {
    margin: 0;
    color: #333;
    line-height: 1.5;
    font-size: 15px;
}

.ios-icon {
    font-size: 18px;
    vertical-align: middle;
}

.install-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.install-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.install-btn:not(.secondary) {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.install-btn:not(.secondary):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.install-btn.secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
}

.install-btn.secondary:hover {
    background: #e9ecef;
    color: #333;
}

/* Mobile responsiveness for install modal */
@media (max-width: 480px) {
    .install-modal {
        padding: 10px;
    }
    
    .install-modal-content {
        max-width: 100%;
        border-radius: 15px;
    }
    
    .install-header {
        padding: 20px 20px 0 20px;
        margin-bottom: 20px;
    }
    
    .install-header h3 {
        font-size: 20px;
    }
    
    .install-body {
        padding: 0 20px 20px 20px;
    }
    
    .install-actions {
        flex-direction: column;
    }
    
    .install-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .instruction-step {
        padding: 12px;
    }
    
    .instruction-step p {
        font-size: 14px;
    }
}

/* Push Notification Permission Prompt Styles */
.notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.notification-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    animation: notificationSlideIn 0.4s ease-out;
}

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

.notification-header {
    text-align: center;
    padding: 30px 30px 20px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.notification-header h3 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.notification-body {
    padding: 30px;
}

.notification-icon {
    text-align: center;
    margin-bottom: 25px;
}

.bell-icon {
    font-size: 60px;
    display: inline-block;
    animation: bellRing 2s ease-in-out infinite;
}

@keyframes bellRing {
    0%, 90%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
}

.notification-text {
    text-align: center;
    margin-bottom: 30px;
}

.notification-text h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 22px;
    font-weight: bold;
}

.notification-text p {
    margin: 0 0 25px 0;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.notification-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

.benefit-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.benefit-item span:last-child {
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

.notification-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.notification-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.notification-btn.primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.notification-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.notification-btn.secondary {
    background: #f8f9fa;
    color: #007bff;
    border: 2px solid #007bff;
}

.notification-btn.secondary:hover {
    background: #007bff;
    color: white;
}

.notification-btn.tertiary {
    background: transparent;
    color: #666;
    border: 2px solid #e9ecef;
}

.notification-btn.tertiary:hover {
    background: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

.notification-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.notification-footer p {
    margin: 0;
    color: #888;
    font-size: 14px;
    line-height: 1.4;
}

/* Mobile responsiveness for notification modal */
@media (max-width: 480px) {
    .notification-modal {
        padding: 15px;
    }
    
    .notification-modal-content {
        max-width: 100%;
        border-radius: 15px;
    }
    
    .notification-header {
        padding: 25px 25px 20px 25px;
    }
    
    .notification-header h3 {
        font-size: 22px;
    }
    
    .notification-body {
        padding: 25px;
    }
    
    .notification-text h4 {
        font-size: 20px;
    }
    
    .notification-text p {
        font-size: 15px;
    }
    
    .bell-icon {
        font-size: 50px;
    }
    
    .notification-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .benefit-item {
        padding: 10px 14px;
    }
    
    .benefit-item span:last-child {
        font-size: 14px;
    }
}

/* App Update Notification */
#update-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    animation: slideDown 0.5s ease-out;
}

.update-banner {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.update-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.update-icon {
    font-size: 24px;
    animation: spin 2s linear infinite;
}

.update-text {
    flex: 1;
}

.update-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.update-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.update-actions {
    display: flex;
    gap: 10px;
}

.update-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.update-btn.primary {
    background: white;
    color: #4CAF50;
}

.update-btn.primary:hover {
    background: #f8f8f8;
    transform: translateY(-1px);
}

.update-btn.secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.update-btn.secondary:hover {
    background: rgba(255,255,255,0.3);
}

#update-notification.auto-dismiss {
    animation: slideUp 0.5s ease-in forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

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

@media (max-width: 768px) {
    .update-content {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .update-text h4 {
        font-size: 1rem;
    }
    
    .update-text p {
        font-size: 0.8rem;
    }
    
    .update-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .update-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
} 