/**
 * Estilos básicos para Eventos Feeling Plugin
 * Estos estilos son minimalistas para que puedas personalizar según tu diseño
 */

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.eventos-feeling-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   FILTROS
   ============================================ */
.eventos-feeling-filters {
    background: #f5f5f5;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
}

.filter-group input[type="text"],
.filter-group input[type="date"],
.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
}

.filter-group input[type="checkbox"] {
    margin-right: 5px;
}

.filter-search {
    flex: 1;
    min-width: 200px;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.btn-filter,
.btn-reset {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.btn-filter {
    background: #0073aa;
    color: white;
}

.btn-filter:hover {
    background: #005a87;
}

.btn-reset {
    background: #ddd;
    color: #333;
}

.btn-reset:hover {
    background: #ccc;
}

/* ============================================
   GRID DE EVENTOS
   ============================================ */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.evento-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

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

.evento-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.evento-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.evento-badge-full {
    background: #dc3545;
    color: white;
}

.evento-card-content {
    padding: 15px;
}

.evento-category {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.evento-title {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0;
    color: #333;
}

.evento-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
    font-size: 14px;
    color: #666;
}

.evento-meta > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.evento-meta .icon {
    font-size: 16px;
}

.btn-ver-mas {
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-ver-mas:hover {
    background: #005a87;
}

/* ============================================
   MODAL
   ============================================ */
.evento-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

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

.evento-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.evento-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.evento-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.evento-modal-close:hover {
    background: rgba(0,0,0,0.8);
}

.evento-modal-body {
    padding: 0;
}

.evento-modal-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.evento-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evento-modal-info {
    padding: 30px;
}

.evento-modal-category {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.evento-modal-title {
    font-size: 28px;
    font-weight: 700;
    margin: 15px 0;
    color: #333;
}

.evento-modal-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 20px 0;
}

.evento-modal-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #333;
}

.detail-item .icon {
    font-size: 20px;
}

.btn-reservar {
    width: 100%;
    padding: 15px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s;
}

.btn-reservar:hover {
    background: #218838;
}

/* ============================================
   ESTADOS
   ============================================ */
.eventos-loader {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

.eventos-no-results {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #999;
}

.eventos-feeling-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

.eventos-feeling-empty {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #999;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .eventos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .filter-form {
        flex-direction: column;
    }

    .filter-group input[type="text"],
    .filter-group input[type="date"],
    .filter-group select {
        width: 100%;
    }

    .evento-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .evento-modal-info {
        padding: 20px;
    }

    .evento-modal-title {
        font-size: 22px;
    }

    .evento-modal-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .eventos-grid {
        grid-template-columns: 1fr;
    }

    .eventos-feeling-container {
        padding: 10px;
    }

    .eventos-feeling-filters {
        padding: 15px;
    }
}
