* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page {
    display: none;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
}

.page.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 600px;
    padding: 2rem;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    text-align: center;
}

h1 {
    margin-bottom: 1.5rem;
    color: #f5f5f5;
}

h3 {
    margin: 1rem 0;
    color: #f5f5f5;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.date-input {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

select {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    width: 32%;
    cursor: pointer;
}

button {
    padding: 0.8rem 2rem;
    background-color: #4a4a4a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    margin: 1rem 0;
}

button:hover {
    background-color: #666;
}

.error {
    color: #ff6b6b;
    font-weight: bold;
}

.hidden {
    display: none;
}

/* Quiz Styles */
#quiz-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#question-container {
    margin-bottom: 2rem;
    width: 100%;
}

#question-text {
    font-size: 1.2rem;
    line-height: 1.6;
}

#options-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
}

.option-btn {
    padding: 1rem;
    width: 100%;
    text-align: center;
    background-color: #333;
    border: 2px solid #555;
    border-radius: 8px;
    transition: all 0.3s;
}

.option-btn:hover {
    background-color: #444;
    transform: translateY(-2px);
}

.option-btn.correct {
    background-color: #2e7d32;
    border-color: #4caf50;
}

.option-btn.incorrect {
    background-color: #c62828;
    border-color: #f44336;
}

#feedback-message {
    margin: 1rem 0;
    font-weight: bold;
}

#feedback-message.correct {
    color: #4caf50;
}

#feedback-message.incorrect {
    color: #f44336;
}

#question-counter {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

/* Meeting Selection Styles */
.meeting-selection {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(40, 40, 40, 0.5);
    border-radius: 8px;
}

.date-selection, .time-selection {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.date-selection label, .time-selection label {
    font-weight: bold;
    color: #ddd;
}

.date-selection select, .time-selection input {
    width: 100%;
    padding: 0.8rem;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
}

#meeting-time {
    color: #fff;
    background-color: #333;
}

#submit-meeting {
    margin-top: 1rem;
    background-color: #555;
    font-weight: bold;
}

#submit-meeting:hover {
    background-color: #777;
}

#meeting-confirmation {
    color: #4caf50;
    font-weight: bold;
}

.location-section {
    margin-top: 2rem;
}

.map-link {
    text-decoration: none;
}

.map-button {
    background-color: #4a4a4a;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
}

.map-button:hover {
    background-color: #666;
}

/* Animation for transitions */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page.active {
    animation: fadeIn 0.5s ease-in-out;
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 1.5rem;
    }
    
    #question-text {
        font-size: 1.1rem;
    }
    
    .option-btn {
        padding: 0.8rem;
    }
    
    .meeting-selection {
        padding: 1rem;
    }
}

/* Yes/No Selection Styles */
.yes-no-selection {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.choice-btn {
    padding: 1rem 2rem;
    background-color: #4a4a4a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
    min-width: 100px;
}

.choice-btn:hover {
    background-color: #666;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.choice-btn:active {
    transform: translateY(0);
}

/* Thank You Message Styles */
.thank-you-message {
    margin: 2rem 0;
    padding: 2rem;
    background-color: rgba(40, 40, 40, 0.5);
    border-radius: 8px;
    text-align: center;
}

.thank-you-message p {
    font-size: 1.3rem;
    color: #f5f5f5;
    font-weight: bold;
    margin: 0;
}

/* Mobile optimizations for new elements */
@media (max-width: 480px) {
    .yes-no-selection {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .choice-btn {
        width: 80%;
        max-width: 200px;
    }
    
    .thank-you-message {
        padding: 1.5rem;
    }
    
    .thank-you-message p {
        font-size: 1.1rem;
    }
}


/* Ensure meeting section is hidden by default */
#meeting-section {
    display: none;
}

#meeting-section.hidden {
    display: none;
}

#meeting-section:not(.hidden) {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(40, 40, 40, 0.5);
    border-radius: 8px;
}

