/* Lumo Events Form Styles */

.lumo-event-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Language Switcher */
.lumo-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.lumo-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lumo-lang-btn:hover {
    border-color: #c41e3a;
}

.lumo-lang-btn.active {
    background: #c41e3a;
    border-color: #c41e3a;
    color: white;
}

.lumo-lang-btn .flag {
    font-size: 16px;
}

/* Loading States */
.lumo-loading,
.lumo-no-event,
.lumo-all-full {
    text-align: center;
    padding: 40px 20px;
}

.lumo-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #c41e3a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lumo-icon {
    font-size: 60px;
    color: #c41e3a;
    margin-bottom: 20px;
}

/* Form Container */
.lumo-form-container {
    background: #fffbeb;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.lumo-form-section {
    margin-bottom: 25px;
}

.lumo-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 600px) {
    .lumo-form-grid {
        grid-template-columns: 1fr;
    }
}

.lumo-form-group {
    margin-bottom: 15px;
}

.lumo-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.lumo-form-group label i {
    color: #c41e3a;
}

.lumo-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.lumo-form-group input:focus {
    outline: none;
    border-color: #c41e3a;
}

/* Section Label */
.lumo-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.lumo-section-label i {
    color: #c41e3a;
}

/* Button Group (Age Groups) */
.lumo-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lumo-select-btn {
    flex: 1;
    min-width: 120px;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.lumo-select-btn:hover {
    border-color: #c41e3a;
    transform: translateY(-2px);
}

.lumo-select-btn.selected {
    background: #c41e3a;
    border-color: #c41e3a;
    color: white;
}

.lumo-select-btn .btn-label {
    display: block;
    font-weight: 600;
    font-size: 16px;
}

.lumo-select-btn .btn-sub {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

/* Calendar */
.lumo-calendar-wrapper {
    background: white;
    border-radius: 12px;
    padding: 15px;
    border: 2px solid #e0e0e0;
}

.lumo-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.lumo-calendar-prev,
.lumo-calendar-next {
    width: 36px;
    height: 36px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.2s ease;
}

.lumo-calendar-prev:hover,
.lumo-calendar-next:hover {
    border-color: #c41e3a;
    color: #c41e3a;
}

.lumo-calendar-header {
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    padding: 10px 0;
    color: #333;
}

.lumo-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.lumo-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    padding-top: 10px;
}

.lumo-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lumo-calendar-day.empty {
    cursor: default;
}

.lumo-calendar-day.available {
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
}

.lumo-calendar-day.available:hover {
    background: #c8e6c9;
}

.lumo-calendar-day.selected {
    background: #c41e3a;
    color: white;
}

.lumo-calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* Selected Date Display */
.lumo-selected-date {
    background: linear-gradient(135deg, #c41e3a, #a01830);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Time Slots */
.lumo-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lumo-time-slot {
    padding: 15px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.lumo-time-slot:hover:not(.disabled) {
    border-color: #c41e3a;
}

.lumo-time-slot.selected {
    background: #c41e3a;
    border-color: #c41e3a;
    color: white;
}

.lumo-time-slot.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    text-decoration: line-through;
}

.lumo-time-slot .time {
    display: block;
    font-weight: 600;
    font-size: 18px;
}

.lumo-time-slot .spots {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.8;
}

/* Submit Button */
.lumo-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #c41e3a, #a01830);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.lumo-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.3);
}

.lumo-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success Message */
.lumo-success-message {
    text-align: center;
    padding: 40px 20px;
}

.lumo-success-icon {
    width: 80px;
    height: 80px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: white;
}

.lumo-success-message h4 {
    color: #2e7d32;
    font-size: 24px;
    margin-bottom: 10px;
}

/* Waitlist */
.lumo-full-message {
    margin-bottom: 30px;
}

.lumo-waitlist-form {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
}

.lumo-waitlist-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #666;
}

.lumo-waitlist-info i {
    color: #c41e3a;
}

.lumo-waitlist-btn {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

/* Overlay */
.lumo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 16px;
}

/* Responsive */
@media (max-width: 480px) {
    .lumo-form-container {
        padding: 20px;
    }

    .lumo-select-btn {
        min-width: 100%;
    }

    .lumo-time-slot {
        flex: 1;
        min-width: calc(50% - 10px);
    }
}
