/* Base Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Volunteer Page Styles */

/* Hero Section */
.volunteer-hero {
    margin-top: 74px;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #E8F5E9 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.volunteer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1544027993-37dbfe43562a?w=1600');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.volunteer-hero .hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    padding: 2rem;
}

.volunteer-hero h1 {
    font-family: 'Rubik Distressed', cursive;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.volunteer-hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-stats {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.stat-item i {
    font-size: 1.2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-color);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Volunteer Options Section */
.volunteer-options {
    padding: 4rem 2rem;
    background-color: #fff;
}

.volunteer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.volunteer-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.volunteer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag.category {
    background-color: #e3f2fd;
    color: #1976d2;
}

.tag.difficulty {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.tag.type {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.tag.commitment {
    background-color: #fff3e0;
    color: #f57c00;
}

.event-details {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    width: 20px;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.description {
    margin: 1rem 0;
    color: #555;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.spots-left {
    display: flex;
    align-items: center;
    color: #666;
}

.spots-left i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.join-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

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

.sign-up-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sign-up-btn[data-signed-up="false"]:hover {
    background: var(--primary-color-dark);
}

.sign-up-btn[data-signed-up="true"] {
    background: white;
    color: var(--primary-color);
}

.sign-up-btn[data-signed-up="true"]:hover {
    background: #ffebeb;
    border-color: #ff4444;
    color: #ff4444;
}

.sign-up-btn[data-signed-up="true"] .fa-hand-paper {
    transform: rotate(90deg);
}

.sign-up-btn i {
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .volunteer-card {
        margin-bottom: 2rem;
    }
    
    .tag-container {
        gap: 0.3rem;
    }
    
    .tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Search Bar Styles */
.search-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto 0;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 30px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 25px;
    outline: none;
}

.search-bar button {
    background: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background: var(--primary-color-dark);
}

/* Map Section */
.volunteer-map {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
    overflow: visible; /* Ensure content doesn't get clipped */
}

.map-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px; /* Increased from 500px */
    position: relative;
    z-index: 5;
}

/* Clearfix for map section to resolve overlap issues */
.map-container::after {
    content: "";
    display: table;
    clear: both;
}

.filter-panel {
    flex: 0 0 300px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-panel h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slider {
    width: 100%;
    margin: 0.5rem 0;
}

input[type="date"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filter-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.map-view {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
    height: 100%; /* Ensure it takes full height */
}

#map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 12px;
}

.event-map {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* Additional spacing between map and impact stories */
.impact-stories {
    position: relative;
    z-index: 10;
    margin-top: 2rem; /* Add additional top margin */
    clear: both; /* Ensure it starts below any floated elements */
    padding: 4rem 2rem;
    background-color: white;
}

.stories-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-card {
    flex: 1 1 350px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.story-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-content {
    padding: 1.5rem;
}

.story-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.quote {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-color);
}

.impact-stat {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Get Started Section */
.get-started {
    padding: 4rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.get-started h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.get-started p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-btn {
    background-color: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

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

.secondary-btn {
    background-color: transparent;
    color: white;
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #283c34;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 250px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    text-decoration: none;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .map-container {
        flex-direction: column;
        height: auto;
    }
    
    .filter-panel {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .map-view {
        height: 400px;
    }

    .volunteer-map {
        margin-bottom: 30rem; /* Increased margin for mobile to prevent overlap */
    }

    #map {
        height: 400px; /* Ensure map has fixed height */
        margin-bottom: 2rem; /* Add extra space below map */
    }

    .event-map {
        width: 100%;
        height: 400px !important; /* Force height with !important */
    }
}

@media (max-width: 768px) {
    .volunteer-hero h1 {
        font-size: 2.5rem;
    }
    
    .volunteer-map {
        margin-bottom: 35rem; /* Even more margin for smaller screens */
    }
    
    .volunteer-cards {
        grid-template-columns: 1fr;
    }
    
    .stories-container {
        flex-direction: column;
        align-items: center;
    }
    
    .story-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .volunteer-hero {
        min-height: 40vh;
    }
    
    .volunteer-hero .hero-content {
        padding: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .join-btn {
        width: 100%;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1rem;
}

.page-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
    color: #888;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-number:hover {
    background: #f0f0f0;
}

.page-number.active {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        gap: 1rem;
    }

    .page-btn {
        width: 100%;
        justify-content: center;
    }

    .page-numbers {
        order: -1;
    }
}

/* Event Modal Styles */
.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.event-modal.active {
    display: block;
}

.modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.modal-header {
    position: relative;
}

.event-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
}

.event-title {
    padding: 1.5rem;
    margin: 0;
    color: var(--primary-color);
    font-size: 2rem;
}

.modal-body {
    padding: 0 1.5rem 1.5rem;
}

.event-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.detail-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-group i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 4px;
}

.detail-group h4 {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.detail-group p {
    margin: 0;
    color: #333;
    font-weight: 500;
}

.event-section {
    margin-bottom: 2rem;
}

.event-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.event-requirements li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-requirements li::before {
    content: "•";
    color: var(--primary-color);
}

.coordinator-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.coordinator-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.coordinator-info h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
}

.coordinator-info p {
    margin: 0;
    color: #666;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.share-btn {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #f0f0f0;
}

.register-btn {
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

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

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }

    .event-image {
        height: 200px;
    }

    .event-title {
        font-size: 1.5rem;
        padding: 1rem;
    }

    .modal-body {
        padding: 0 1rem 1rem;
    }

    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modal-footer {
        flex-direction: column;
    }

    .share-btn, .register-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Sign Up Modal Styles */
.signup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.signup-modal.active {
    display: block;
}

.signup-modal .modal-content {
    max-width: 900px;
}

.signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1rem 0;
}

.organizer-info-section, .registration-section {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.organizer-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.organizer-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.organizer-details {
    flex: 1;
}

.organizer-name {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.organizer-role {
    color: #666;
    margin: 0.25rem 0 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #444;
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #444;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.cancel-btn {
    padding: 0.8rem 1.5rem;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #f0f0f0;
}

.submit-btn {
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

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

@media (max-width: 768px) {
    .signup-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .organizer-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info {
        align-items: center;
    }
}

/* Create Event Button */
.create-event-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    transition: background-color 0.3s ease;
}

.create-event-btn:hover {
    background-color: var(--accent-hover-color);
}

.create-event-btn i {
    font-size: 0.9rem;
}

/* Create Event Modal */
#createEventModal .modal-content {
    max-width: 600px;
    padding: 2rem;
}

#createEventModal h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group.half {
    flex: 1;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

.submit-btn,
.cancel-btn {
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
}

.submit-btn:hover {
    background-color: var(--accent-hover-color);
}

.cancel-btn {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
}

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

/* Search container layout */
.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Calendar styles moved to css/calendar.css */
