/* 🌟 Universal Styles for the Web App */
:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --background-light: #f8f9fa;
    --background-dark: #e3eaf5;
    --text-color: #333;
    --border-color: #ddd;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

/* 🌍 Global Reset & Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* 🌟 Background Styling for All Pages */
body {
    background: linear-gradient(135deg, #e3eaf5, #cfd8e3); /* ✅ Light Blue Gradient */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* ✅ Ensures full height */
    flex-direction: column;
}

/* 🌟 Apply Background to Index Page */
.index-container {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px var(--shadow-light);
    width: 90%;
    max-width: 800px;
    text-align: center;
    margin: auto; /* ✅ Centers the container */
    margin-top: 100px; /* ✅ Moves it down */
}

/* ✅ Universal Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ✅ Card Component (For Panels, Sections, etc.) */
.card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px var(--shadow-light);
    margin-bottom: 20px;
}

/* ✅ Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--primary-dark);
}

/* ✅ Typography */
h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

p {
    font-size: 16px;
    color: var(--text-color);
}

/* ✅ Buttons */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

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

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

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

.btn-secondary:hover {
    background-color: #545b62;
}

/* Ensure textareas match the style of input fields for create_club*/
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    box-sizing: border-box; /* Ensure padding doesn't change the width */
}

/* Add spacing between the title and the first form field */
.form-container h1 {
    margin-top: 60px; /* Adjust the value as needed */
    margin-bottom: 40px; /* Adjust this value as needed */
}

/* Optional: Space between individual form sections */
.form-container .section {
    margin-bottom: 20px; /* Adjust as desired */
}


/* ✅ Responsive */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 767px) {
    canvas {
        width: 100% !important;
        height: 250px !important;  /* Slightly smaller height for mobile */
    }
}

