/* ================= GLOBAL RESETS & FONTS ================= */
h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.section-title,
.featured-title,
.campaign-title,
.btn,
button,
.raised,
.campaign-count,
.featured-badge,
.pagination-number {
    font-family: "Poppins", sans-serif;
    letter-spacing: -0.01em;
}

body,
p,
a,
li,
span,
input,
select,
textarea,
label,
.body-font,
.section-desc,
.featured-desc,
.filters-label,
.goal,
.pagination-info {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    text-decoration: none;
}

/* Specific Weight Tweaks */
.section-title,
.campaign-title,
.featured-title {
    font-weight: 700;
    color: #1e293b;
}

p {
    line-height: 1.6;
}

.btn {
    font-weight: 600;
}

input::placeholder {
    font-family: "Lato", sans-serif;
    font-weight: 400;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* ================= CONTAINER & LAYOUT ================= */
.evt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    position: relative;
}

/* ================= HERO SECTION ================= */
.evt-hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -20px;
}

.evt-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.evt-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(55, 48, 163, 0.7);
    z-index: 2;
}

.evt-hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem 1rem;
    max-width: 800px;
    text-align: center;
    width: 100%;
}

.evt-text-container h1 {
    font-size: clamp(1.8rem, 5vw, 2.25rem);
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.evt-text-container p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ================= UI HEADER & TABS ================= */
.evt-event-dashboard-header {
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.evt-event-dashboard-header .evt-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.evt-sync-calendar {
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #4b5563;
    transition: background 0.2s;
}

.evt-sync-calendar:hover {
    background: #f3f4f6;
}

.evt-tabs-navigation {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 88px;
    z-index: 40;
    transition: top 0.3s ease;
}

.evt-tabs-navigation .evt-container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.evt-tab-buttons {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.evt-tab-buttons::-webkit-scrollbar {
    display: none;
}

.evt-tab-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    background-color: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.evt-tab-button.evt-active {
    font-weight: bold;
    color: #4f46e5;
    background-color: #f3f4f6;
}

/* ================= CALENDAR CONTAINER ================= */
.evt-view-toggle-calendar {
    padding: 1.5rem 0;
    background-color: white;
}

.evt-view-toggle-calendar-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.evt-view-toggle-calendar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.evt-view-toggle {
    display: flex;
    gap: 0.5rem;
}

.evt-view-toggle-button {
    padding: 0.5rem 1rem;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.evt-view-toggle-button.evt-active {
    background: #4F46E5;
    color: #fff;
    border-color: #4F46E5;
}

.evt-mini-calendar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    width: 100%;
}

.evt-calendar-month-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.evt-calendar-nav-button {
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.evt-calendar-month {
    font-weight: 700;
    font-size: 1.1rem;
    color: #374151;
}

.evt-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    width: 100%;
    min-width: 600px;
}

/* ================= DAY CELL STYLES ================= */
.evt-calendar-day {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    border: 1px solid #eee;
    min-height: 90px;
    position: relative;
}

.evt-calendar-day:hover {
    border-color: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
    transform: translateY(-2px);
    z-index: 2;
}

.evt-calendar-day.active {
    border: 2px solid #4f46e5;
}

.evt-calendar-daynum {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.evt-calendar-day.active .evt-calendar-daynum {
    color: #4f46e5;
}

.evt-cal-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}

.evt-more-indicator {
    font-size: 0.7rem;
    font-weight: 600;
    color: #4f46e5;
    background-color: #e0e7ff;
    padding: 2px 6px;
    border-radius: 12px;
    margin-top: auto;
    align-self: flex-start;
}

/* ================= TOOLTIP STYLES ================= */
.evt-calendar-tooltip {
    position: fixed;
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.evt-calendar-tooltip.active {
    opacity: 1;
    pointer-events: auto;
}

/* THE DYNAMIC ARROW */
.evt-tooltip-arrow {
    position: absolute;
    width: 14px;
    height: 14px;
    background: white;
    transform: rotate(45deg);
    z-index: -1;
    border: 1px solid #e5e7eb;
}

.evt-calendar-tooltip.position-top .evt-tooltip-arrow {
    bottom: -7px;
    border-top-color: transparent;
    border-left-color: transparent;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.05);
}

.evt-calendar-tooltip.position-bottom .evt-tooltip-arrow {
    top: -7px;
    border-bottom-color: transparent;
    border-right-color: transparent;
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.05);
}

.tooltip-img-container {
    width: 100%;
    height: 140px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: white;
}

.tooltip-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tooltip-content {
    padding: 12px;
    background: white;
    position: relative;
    z-index: 2;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.tooltip-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.3;
}

.tooltip-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tooltip-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.tooltip-nav-btn {
    background: #f3f4f6;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    cursor: pointer;
    color: #4b5563;
    font-weight: 600;
    transition: background 0.2s;
}

.tooltip-nav-btn:hover {
    background: #e5e7eb;
}

.tooltip-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.evt-calendar-tooltip .evt-register-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    transition: background 0.2s;
    line-height: 1.4;
    background: #4f46e5;
    color: white;
    cursor: pointer;
}

.evt-calendar-tooltip .evt-register-button:hover {
    background: #4338ca;
}

/* ================= EVENT CARDS GRID ================= */
.evt-events-grid {
    padding: 2rem 0;
    background-color: #f9fafb;
}

.evts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.evt-event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.evt-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.evt-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.evt-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #111827;
}

.evt-card-description {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.evt-card-details {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.evt-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.evt-register-button {
    width: 100%;
    text-align: center;
    padding: 0.6rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

#btn-register {
    background: #4f46e5;
    color: white;
}

#btn-register:hover {
    background: #4338ca;
}

#btn-registered {
    background: #9ca3af;
    color: white;
    cursor: default;
}

#btn-ongoing {
    background: #f59e0b;
    color: white;
    cursor: default;
}

#btn-ended {
    background: #ef4444;
    color: white;
    cursor: default;
}

/* ================= EVENT DETAILS MODAL STYLES (Enhanced) ================= */

/* 1. The Wrapper */
.evt-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

.evt-details-modal.active {
    display: flex;
}

/* 2. Overlay */
.evt-details-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

/* 3. The Card */
.evt-details-modal-content {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 750px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Scrollable Body */
.evt-details-modal-body {
    padding: 32px 40px;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.evt-details-modal-body::-webkit-scrollbar {
    width: 6px;
}

.evt-details-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.evt-details-modal-body::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}

/* Close Button */
.evt-details-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #4b5563;
    z-index: 20;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.evt-details-modal-close:hover {
    background: #fff;
    color: #ef4444;
    transform: rotate(90deg) scale(1.1);
}

/* Header Image */
.evt-details-modal-header {
    flex-shrink: 0;
    position: relative;
    background: #f3f4f6;
}

/* --- CHANGED: DESKTOP/DEFAULT IMAGE HEIGHT REDUCED (Was 45%) --- */
.evt-details-modal-image {
    width: 100%;
    height: 0;
    padding-bottom: 32%;
    /* REDUCED HEIGHT FOR DESKTOP */
    position: relative;
}

.evt-details-modal-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Typography */
.evt-details-modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Status Badges */
.evt-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.evt-status-upcoming {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.evt-status-ongoing {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.evt-status-ended {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.evt-status-closed {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

/* Info Grid */
.evt-details-modal-info {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 32px;
    border: 1px solid #e2e8f0;
    display: grid;
    gap: 12px;
}

.evt-detail-item {
    display: flex;
    align-items: flex-start;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

.evt-detail-item i {
    flex-shrink: 0;
    margin-right: 12px;
    margin-top: 3px;
    font-size: 1.1rem;
    color: #4f46e5;
    width: 20px;
    text-align: center;
}

/* Content Sections */
.evt-details-modal-section {
    margin-bottom: 32px;
}

.evt-details-modal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    border-left: 4px solid #4f46e5;
    padding-left: 12px;
}

.evt-details-modal-section p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Volunteer Roles */
.evt-volunteer-roles {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.evt-volunteer-role {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.evt-volunteer-role h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.evt-volunteer-role p {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

/* Coordinator Info */
.evt-coordinator-info {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

.evt-coordinator-detail {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #475569;
    font-size: 0.95rem;
}

.evt-coordinator-detail i {
    margin-right: 10px;
    color: #9ca3af;
    width: 18px;
    text-align: center;
}

/* Footer */
/* --- CHANGED: DESKTOP/DEFAULT FOOTER HEIGHT REDUCED --- */
.evt-details-modal-footer {
    padding: 16px 40px;
    /* REDUCED PADDING FOR DESKTOP */
    background: white;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.evt-details-modal-register-btn,
.evt-details-modal-close-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.evt-details-modal-register-btn {
    background: #4f46e5;
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.evt-details-modal-register-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.evt-details-modal-register-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.evt-details-modal-close-btn {
    background: white;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.evt-details-modal-close-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Empty state styling */
.evt-empty-state {
    display: none;
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-size: 1rem;
    width: 100%;
    grid-column: 1 / -1;
}



@keyframes modalPopIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Loading/Error States */
.event-modal-loading {
    text-align: center;
    padding: 80px 20px;
}

.event-modal-loading .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e0e7ff;
    border-top-color: #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.event-modal-error {
    text-align: center;
    padding: 60px 20px;
}

.event-modal-error i {
    font-size: 3.5rem;
    color: #ef4444;
    margin-bottom: 16px;
    display: inline-block;
    background: #fef2f2;
    padding: 20px;
    border-radius: 50%;
}

/* ========================================= */
/* RESPONSIVE MEDIA QUERIES (CONSOLIDATED) */
/* ========================================= */

/* 1. Laptop / Small Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    .evt-details-modal-content {
        max-width: 650px;
    }

    .evt-details-modal-body {
        padding: 28px 32px;
    }

    /* Inherits global image/footer reduction, but we ensure it matches the 1024px context */
}

/* 2. Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .evts-container {
        grid-template-columns: 1fr;
    }

    .mobile-dropdown {
        top: 70px;
        position: fixed;
        width: 100%;
        z-index: 950;
        background: white;
        border-top: 1px solid #eee;
    }

    .evt-calendar-day {
        min-height: 80px;
        padding: 4px;
    }

    .evt-cal-title {
        font-size: 0.65rem;
        -webkit-line-clamp: 2;
    }

    /* --- FIXED HERO SECTION FOR MOBILE/TABLET --- */
    .evt-hero-section {
        min-height: unset;
        height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
        align-items: center;
    }

    .evt-hero-content {
        padding: 0 1rem;
    }

    /* --- FIXED TABS SCROLL FOR MOBILE/TABLET --- */
    .evt-tabs-navigation .evt-container {
        padding: 10px 0;
        /* Added padding here to fix vertical tightness */
    }

    .evt-tab-buttons {
        padding: 0 16px 8px 16px;
        /* Added bottom padding to fix cut-off */
        gap: 15px;
        /* Increased gap to fix horizontal tightness */
        -webkit-overflow-scrolling: touch;
    }

    /* --- FIXED CALENDAR SCROLL --- */
    .evt-mini-calendar {
        overflow: visible !important;
        padding: 0;
        display: block;
    }

    .evt-calendar-month-nav {
        margin-bottom: 0;
        padding: 10px;
        background: #fff;
        border-bottom: 1px solid #f3f4f6;
    }

    .evt-calendar-days {
        display: grid;
        grid-template-columns: repeat(7, minmax(100px, 1fr));
        width: 100%;
        overflow-x: auto !important;
        padding: 10px 16px;
        -webkit-overflow-scrolling: touch;
        min-width: 0 !important;
    }

    /* --- FIXED MODAL SPACING (TABLET) --- */
    .evt-details-modal {
        padding: 20px;
        align-items: center;
    }

    .evt-details-modal-content {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 16px;
        margin: 0;
    }

    /* --- CHANGED: TABLET IMAGE HEIGHT REDUCED (Was 50%) --- */
    .evt-details-modal-image {
        padding-bottom: 38%;
        /* REDUCED HEIGHT FOR TABLET */
    }

    .evt-details-modal-body {
        padding: 24px;
    }

    .evt-details-modal-title {
        font-size: 1.5rem;
    }

    /* --- CHANGED: TABLET FOOTER HEIGHT REDUCED --- */
    .evt-details-modal-footer {
        padding: 14px 24px;
        /* REDUCED PADDING FOR TABLET */
    }
}

/* 3. Mobile (max-width: 480px) */
@media (max-width: 480px) {

    /* --- FIXED MODAL SPACING (MOBILE) --- */
    .evt-details-modal {
        padding: 16px;
        align-items: center;
    }

    .evt-details-modal-content {
        max-height: 85vh;
        border-radius: 16px;
    }

    .evt-details-modal-close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    /* --- REDUCED IMAGE HEIGHT --- */
    .evt-details-modal-image {
        padding-bottom: 30%;
    }

    .evt-details-modal-body {
        padding: 16px 16px;
    }

    .evt-details-modal-title {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    /* --- REDUCED FOOTER HEIGHT --- */
    .evt-details-modal-footer {
        padding: 10px 16px;
        flex-direction: column-reverse;
        gap: 8px;
    }

    .evt-details-modal-register-btn,
    .evt-details-modal-close-btn {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .evt-volunteer-roles {
        grid-template-columns: 1fr;
    }
}