/* Global Variables: Define color palette, font sizes, and other reusable properties for consistency and easy updates */
:root {
    --color-primary: #102a43;
    --color-secondary: #ffffff; /* Updated for uniform background */
    --color-text: #333;
    --color-background: #ffffff; /* Matching the secondary color */
    --color-btn-hover: #111827;
    --color-input: #e4e7eb;
    --color-input-focus: #cbd2d9;
    --font-family: 'Poppins', sans-serif;
    --box-shadow-light: 0 8px 16px rgba(0,0,0,0.1);
    --box-shadow-deep: 0 12px 24px rgba(0,0,0,0.1);
}

/* Base Styles: Set foundational styles across the application */
body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--color-secondary);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container Styles: Define main content area */
.container {
    width: 100%;
    max-width: 680px;
    margin: 20px;
    padding: 30px;
    background: var(--color-background);
    border-radius: 8px;
/*     box-shadow: var(--box-shadow-deep); */
    text-align: center;
}

/* Typography: Styling for headings */
h1, h2 {
    color: var(--color-primary);
    margin: 0 0 20px;
}

/* Header Styles: Specific styles for main header elements */
.main-header h1, .main-header p {
    font-weight: 700;
    font-size: 2.5em;
    color: var(--color-primary);
    margin-bottom: 0.5em;
}

.main-header p {
    font-weight: 400;
    font-size: 1.5em;
    color: var(--color-text);
    line-height: 1.4;
}

/* Unified Input and Button Styles */
.input-style, .submit-btn, .activity-btn, .height-btn {
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    background-color: var(--color-input);
    color: var(--color-text);
    font-size: 16px;
    margin: 10px auto;
    display: inline-block;
    cursor: pointer;
  
    text-align: center;
}

/* Interactive States: Hover and active states for buttons */
.activity-btn:hover, .height-btn:hover, .submit-btn:hover,
.activity-btn.active, .height-btn.active, .submit-btn {
    background-color: var(--color-btn-hover);
    color: var(--color-background);
}

.input-style:focus {
    background-color: var(--color-input-focus);
}

/* Results and Recommendations: Enhancements for display sections */
.results-display, .recommendations-display, .waitlist-display {
    background-color: var(--color-background);
    color: var(--color-text);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: var(--box-shadow-light);
    text-align: left;
    display: none;
}

.waitlist-display {
    background-color: var(--color-background);
    color: var(--color-text);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: var(--box-shadow-light);
    text-align: left;
    display: none;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    text-align: center; /* Ensures text alignment is centered (useful for inline elements or text inside child divs) */
}


/* Iframe Styling: Ensure responsiveness and integration */
iframe {
    display: none;
    width: 100%;
    border: none;
}

#waitListContainer {
    flex-direction: column; /* Stack items vertically */
    justify-content: center; 
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .container, iframe {
        padding: 20px;
        width: calc(100% - 40px);
    }

    h1, h2 {
        font-size: 1.5rem;
    }

    .input-style, .submit-btn, .activity-btn, .height-btn {
        padding: 8px 12px;
        font-size: 16px;
    }

    .submit-btn {
        width: 100%;
    }
}
