.gallery-modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
        }
        
        .gallery-modal-content {
            position: relative;
            margin: auto;
            padding: 0;
            width: 70%;
            max-width: 800px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10000;
        }
        
        #download-photo-btn {
            position: absolute;
            top: 16px;
            left: 16px;
            background: #10b981;
            color: white;
            border: none;
            padding: 12px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1002;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }
        
        #download-photo-btn:hover {
            background: #059669;
            transform: scale(1.1);
        }
        .gallery-modal img {
            width: 100%;
            height: auto;
            max-height: 120vh;
            object-fit: contain;
            border-radius: 8px;
        }
        
        .gallery-modal-close {
            position: absolute;
            top: 15px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 10001;
        }
        
        .gallery-modal-close:hover {
            color: #bbb;
        }
        
        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: white;
            border: none;
            padding: 16px !important;
            cursor: pointer;
            font-size: 24px !important;
            border-radius: 50%;
            transition: background 0.3s;
            z-index: 10002 !important;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .gallery-nav:hover {
            background: rgba(0, 0, 0, 0.8);
            transform: translateY(-50%) !important;
        }
        
        .gallery-nav.prev {
            left: 20px !important;
        }
        
        .gallery-nav.next {
            right: 20px !important;
        }
        
        .gallery-item {
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .gallery-item.hidden {
            display: none;
        }
        
        .event-photo {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: box-shadow 0.3s ease;
        }
        
        .event-photo:hover {
            /* Removido o transform: translateY(-8px); */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }
        
        .event-photo img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }
        
        .event-photo-info {
            padding: 16px;
        }
        
        .event-photo-date {
            color: #6b7280;
            font-size: 14px;
            margin-bottom: 4px;
        }
        
        .event-photo-time {
            color: #9ca3af;
            font-size: 12px;
        }
        
        .photo-loading {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
        .modal-info {
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
        }
        
        .modal-nav-container {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }
        
        .modal-download-btn {
            background: #3b82f6;
            color: white;
            padding: 10px 20px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: bold;
            transition: background 0.3s;
        }
        
        .modal-download-btn:hover {
            background: #2563eb;
        }
        
        /* Estilos do filtro de data */
        .date-filter-container {
            background: #0040ff;
            border-radius: 15px;
            padding: 1.5rem;
            margin: 1rem 0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e7eb;
        }
        
        .date-input-container {
            position: relative;
            max-width: 250px;
            margin: 0 auto;
        }
        
        .date-input {
            width: 100%;
            padding: 10px 15px;
            border: 2px solid #d1d5db;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 500;
            text-align: center;
            background: #ffffff;
            color: #374151;
            transition: all 0.3s ease;
        }
        
        .date-input:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
        }
        
        .date-input::-webkit-calendar-picker-indicator {
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="%232563eb"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>') no-repeat;
            cursor: pointer;
            width: 16px;
            height: 16px;
        }
        
        .calendar-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #2563eb;
            font-size: 16px;
            pointer-events: none;
        }
        
        .date-range-info {
            background: rgba(37, 99, 235, 0.1);
            border-radius: 10px;
            padding: 0.75rem;
            margin-top: 0.75rem;
            border: 1px solid rgba(37, 99, 235, 0.2);
        }
        
        .selected-date-display {
            background: rgba(59, 130, 246, 0.1);
            border: 2px solid #3b82f6;
            border-radius: 10px;
            padding: 0.75rem;
            margin-top: 0.75rem;
            text-align: center;
        }
        
        .clear-filter-btn {
            background: #ef4444;
            border: none;
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 0.5rem;
            font-size: 14px;
        }
        
        .clear-filter-btn:hover {
            background: #dc2626;
            transform: translateY(-1px);
            box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
        }