:root {
    --primary-color: #3B82F6;
    --secondary-color: #1E40AF;
    --background-color: #F3F4F6;
    --card-bg: #FFFFFF;
    --text-color: #1F2937;
    --light-text: #6B7280;
    --border-color: #D1D5DB;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f8f8;
    color: var(--text-color);
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 900px;
    background-color: var(--card-bg);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 2.5rem;
    margin: 0;
}

h2 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.section {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--light-text);
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

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

button, .btn-secondary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

button:hover, .btn-secondary:hover {
    background-color: var(--secondary-color);
}

button:active {
    transform: scale(0.98);
}

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

.btn-secondary:hover {
    background-color: #4B5563;
}

.btn-cancel {
    background-color: #EF4444;
}

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

.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

.message.error {
    background-color: #FEE2E2;
    color: #B91C1C;
    border-color: #FCA5A5;
}

.hidden {
    display: none;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.card {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.card p {
    margin: 0;
    color: var(--light-text);
}

.card.cancelled {
    opacity: 0.6;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.accordion-header {
    padding: 1rem;
    cursor: pointer;
    background-color: var(--background-color);
    border-radius: 0.5rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #E5E7EB;
}

.accordion-content {
    padding: 1rem;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.volunteer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.volunteer-list li {
    background-color: #F9FAFB;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #E5E7EB;
}

.volunteer-list li:last-child {
    margin-bottom: 0;
}

.volunteers-count {
    font-weight: 400;
    color: var(--light-text);
    font-size: 0.875rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-buttons button {
    background-color: #E5E7EB;
    color: var(--text-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.tab-buttons button.active {
    background-color: var(--primary-color);
    color: white;
}

.logo {
    max-width: 100%;
    height: auto;
  }

/* Styling for the disclaimer text */
.disclaimer-text {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 0.9em;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
}

.disclaimer-text strong {
    color: #444;
}

.checkbox-container {
    display: flex;
    align-items: center; /* This centers the items vertically */
    justify-content: flex-start; /* This aligns items to the start (left) of the container */
    gap: 10px; /* A little more space for visual separation */
    margin: 10px 0; /* Adds some vertical spacing for a better look */
}

.checkbox-container input[type="checkbox"] {
    /* Ensure the checkbox has a consistent size and appearance */
    min-width: 20px;
    min-height: 20px;
    margin: 0;
    cursor: pointer;
}

.checkbox-container label {
    margin: 0;
    cursor: pointer;
    align-items: center; 
    font-size: 1em;
}