:root {
    --primary: #FF6B9D;
    --primary-dark: #E85A8B;
    --secondary: #4ECDC4;
    --accent-yellow: #FFD93D;
    --accent-purple: #A594F9;
    --accent-orange: #FF8C42;
    --bg-light: #FFF8F3;
    --bg-white: #FFFFFF;
    --text-dark: #2D3142;
    --text-gray: #6B7280;
    --border: #E5E7EB;
    --success: #10B981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--accent-yellow) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--secondary) 0%, transparent 50%);
    filter: blur(80px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

header {
    background: var(--bg-white);
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Hide nav and header buttons until auth state is resolved to prevent flash of incorrect menu */
.nav-links,
.header-buttons {
    visibility: hidden;
}
.auth-resolved .nav-links,
.auth-resolved .header-buttons {
    visibility: visible;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transform: rotate(-5deg);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.nav-active {
    color: var(--primary);
    font-weight: 700;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-provider {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-provider:hover {
    transform: translateY(-2px);
}

.hero {
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(42px, 8vw, 68px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 50px;
}

.search-bar {
    max-width: 900px;
    margin: 0 auto 30px;
    background: var(--bg-white);
    border-radius: 60px;
    padding: 15px 15px 15px 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.search-inputs {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 15px;
}

.search-bar input, .search-bar select {
    border: none;
    background: transparent;
    font-size: 16px;
    padding: 10px 15px;
    font-family: 'Poppins', sans-serif;
}

.search-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}

.categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.category-pill {
    background: var(--bg-white);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-pill:hover {
    transform: translateY(-3px);
    background: var(--primary);
    color: white;
}

.stats-section {
    background: var(--bg-white);
    padding: 60px 40px;
    margin: 60px 0;
    border-radius: 32px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
}

.activities-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 36px;
    font-weight: 700;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.activity-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    cursor: pointer;
}

.activity-card:hover {
    transform: translateY(-8px);
}

.activity-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
}

.activity-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.activity-content {
    padding: 25px;
}

.activity-category {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.activity-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.activity-provider {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.activity-organizer-link {
    display: inline-block;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 15px;
}
.activity-organizer-link:hover {
    text-decoration: underline;
}

.activity-details {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.detail-item {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.detail-label {
    color: var(--text-gray);
    font-size: 11px;
    text-transform: uppercase;
}

.detail-value {
    font-weight: 600;
}

.activity-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-price {
    font-family: 'Fredoka', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.activity-price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
}

.book-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
}

.book-btn-disabled {
    background: #D1D5DB;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Booking confirmation — Jak zapłacić */
.booking-payment-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 2px solid var(--border);
    max-width: 640px;
}
.booking-payment-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 24px;
    margin: 0 0 24px 0;
    color: var(--text-dark);
}
.booking-payment-block {
    margin-bottom: 20px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--border);
}
.booking-payment-block:last-child { margin-bottom: 0; }
.booking-payment-block h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    margin: 0 0 10px 0;
}
.booking-payment-iban {
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-dark);
    word-break: break-all;
}
.booking-payment-online-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.booking-payment-online-btn:hover { opacity: 0.9; }
@media (max-width: 768px) {
    .booking-payment-card { padding: 24px; }
}

.book-btn-disabled:hover {
    transform: none;
}

/* Capacity badges */
.capacity-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.capacity-full {
    background: #FEE2E2;
    color: #DC2626;
}

.capacity-low {
    background: #FEF3C7;
    color: #D97706;
}

.capacity-ok {
    background: #D1FAE5;
    color: #059669;
}

/* Booking card styles */
.booking-card {
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}
.booking-card-unpaid {
    border-color: #F97316;
    background: linear-gradient(to right, #FFF8F3 0%, #fff 100%);
}
.bookings-tab {
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.bookings-tab:hover { background: #F9FAFB; }
.bookings-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.booking-organizer-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.booking-organizer-link:hover { text-decoration: underline; }
.booking-payment-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.booking-payment-badge-paid { background: #D1FAE5; color: #059669; }
.booking-payment-badge-unpaid { background: #FED7AA; color: #C2410C; }
.btn-copy-inline {
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    background: #fff;
    cursor: pointer;
}
.btn-copy-inline:hover { background: #F3F4F6; }
.btn-mark-read-one {
    margin-top: 8px;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 10px;
    border: 1px solid #D1D5DB;
    background: #fff;
    cursor: pointer;
}
.btn-mark-read-one:hover { background: #F9FAFB; }

.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.booking-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.booking-status-confirmed {
    background: #D1FAE5;
    color: #059669;
}

.booking-status-cancelled {
    background: #FEE2E2;
    color: #DC2626;
}

.booking-status-pending {
    background: #FEF3C7;
    color: #D97706;
}

.btn-cancel {
    background: transparent;
    border: 2px solid #DC2626;
    color: #DC2626;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel:hover {
    background: #DC2626;
    color: white;
}

/* Nav bell + notification dropdown (parent & organizer) */
.nav-bell-wrap {
    position: relative;
    margin-right: 12px;
}
.nav-bell-btn {
    position: relative;
    padding: 6px 12px;
    font-size: 1.2em;
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    border-radius: 8px;
}
.nav-bell-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}
.nav-notif-badge {
    display: none;
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    background: #DC2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-sizing: border-box;
}
.notification-dropdown-panel {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 360px;
    max-width: 90vw;
    max-height: 420px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}
.notification-dropdown-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    z-index: 1;
    flex-shrink: 0;
}
.notification-dropdown-header-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
}
.notification-dropdown-header-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.notification-dropdown-header-link:hover {
    text-decoration: underline;
}
.notification-dropdown-list {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}
.notification-dropdown-empty {
    padding: 32px 20px;
    text-align: center;
}
.notification-dropdown-empty-msg {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0 0 12px 0;
}
.notification-dropdown-empty-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.notification-dropdown-empty-link:hover {
    text-decoration: underline;
}
.notification-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
    background: #fff;
}
.notification-dropdown-item-unread {
    background: rgba(255, 107, 157, 0.06);
    border-left: 4px solid var(--primary);
    padding-left: 14px;
}
.notification-dropdown-item:hover {
    background: #F3F4F6;
}
.notification-dropdown-item-unread:hover {
    background: rgba(255, 107, 157, 0.1);
}
.notification-dropdown-item:last-of-type {
    border-bottom: none;
}
.notification-dropdown-item-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}
.notification-dropdown-item-body {
    flex: 1;
    min-width: 0;
}
.notification-dropdown-item-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-dark);
}
.notification-dropdown-item-activity {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 4px;
}
.notification-dropdown-item-preview {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.notification-dropdown-item-time {
    font-size: 11px;
    color: var(--text-gray);
    opacity: 0.9;
}

@media (max-width: 480px) {
    .notification-dropdown-panel {
        width: 100%;
        max-width: 90vw;
        max-height: 60vh;
        right: 0;
    }
}

/* Parent dashboard: payment status per booking */
.booking-payment-status {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
}
.booking-payment-paid {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #047857;
}
.booking-payment-paid-icon {
    font-weight: 700;
    margin-right: 6px;
}
.booking-payment-unpaid {
    background: #FFF8F3;
    border: 1px solid #FED7AA;
    color: var(--text-dark);
}
.booking-payment-unpaid-label {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 15px;
}
.booking-payment-unpaid-content {
    font-size: 13px;
}
.dashboard-payment-block {
    margin-bottom: 12px;
    padding: 10px 12px;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--border);
}
.dashboard-payment-block:last-child { margin-bottom: 0; }
.dashboard-payment-block h5 { font-size: 12px; font-weight: 600; color: var(--text-gray); margin: 0 0 6px 0; }
.dashboard-payment-iban { font-family: monospace; font-size: 14px; font-weight: 700; word-break: break-all; }
.dashboard-payment-online-link {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}
.dashboard-payment-online-link:hover { opacity: 0.9; }

/* Organizer booking section */
.activity-bookings-section {
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.activity-bookings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.bookings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.bookings-table th,
.bookings-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.bookings-table th {
    font-weight: 600;
    color: var(--text-gray);
    font-size: 12px;
    text-transform: uppercase;
}

/* Date grouping */
.date-group {
    margin-bottom: 20px;
}

.date-group-header {
    font-family: 'Fredoka', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

/* Booking form error */
.booking-error {
    background: #FEE2E2;
    color: #DC2626;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.booking-success {
    background: #D1FAE5;
    color: #059669;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* Notification section */
.notifications-section {
    background: white;
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 30px;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.notifications-header h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 24px;
    margin: 0;
}

.notifications-badge {
    background: var(--primary);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 10px;
}

.btn-mark-read {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-gray);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-mark-read:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
    transition: background 0.2s;
}

.notification-item.unread {
    background: #FFF1F5;
    border-color: #FECDD3;
}

.notification-item.read {
    background: #FAFAFA;
    opacity: 0.8;
}

.notification-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.notification-dot.unread {
    background: var(--primary);
}

.notification-dot.read {
    background: transparent;
}

.notification-body {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.notification-message {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

.notification-time {
    font-size: 11px;
    color: var(--text-gray);
    margin-top: 4px;
}

.notifications-empty {
    text-align: center;
    color: var(--text-gray);
    padding: 20px 0;
    font-size: 14px;
}

.how-section {
    padding: 80px 0;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.how-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
}

.how-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.how-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.organizer-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 32px;
    padding: 80px 60px;
    color: white;
    margin: 80px 0;
}

.organizer-cta-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.organizer-cta h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    margin: 30px 0;
}

.benefits-list li {
    padding: 10px 0;
    font-size: 18px;
}

.cta-emoji {
    font-size: 200px;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
}

.modal-header h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 32px;
}

.modal-body {
    padding: 40px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-booking {
    width: 100%;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

/* Footer root: injected by footer-inject.js */
#footer-root {
    margin-top: 80px;
}

/* ---------- Public (marketing) footer ---------- */
footer.footer-public,
#footer-root.footer-public {
    background: linear-gradient(135deg, #2D3142 0%, #3d4255 40%, #2a3d4a 100%);
    color: white;
    padding: 48px 0 32px;
}

.footer-public-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-public-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 32px;
    margin-bottom: 40px;
}

.footer-public-heading {
    font-family: 'Fredoka', sans-serif;
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--accent-yellow);
}

.footer-public-mission {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.footer-public-trust {
    list-style: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    line-height: 1.8;
}

.footer-public-links {
    list-style: none;
}

.footer-public-links li {
    margin-bottom: 10px;
}

.footer-public-links a,
.footer-public-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease, box-shadow 0.2s ease;
}

.footer-public-links a:hover,
.footer-public-bottom a:hover {
    color: white;
    text-decoration: underline;
}

.footer-public-company {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-public-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

@media (max-width: 900px) {
    .footer-public-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .footer-public-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---------- App (minimal) footer ---------- */
footer.footer-app,
#footer-root.footer-app {
    background: transparent;
    color: var(--text-gray);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-app-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-app-text {
    font-size: 14px;
    color: var(--text-gray);
}

.footer-app-text a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-app-text a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Legacy footer classes (for any remaining static markup) */
footer {
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: inherit;
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    .search-inputs {
        grid-template-columns: 1fr;
    }
    .search-bar {
        grid-template-columns: 1fr;
    }
    .activities-grid {
        grid-template-columns: 1fr;
    }
    .organizer-cta-content {
        grid-template-columns: 1fr;
    }
    .cta-emoji {
        font-size: 120px;
    }
}
