﻿/* Estilos generales copiados y adaptados de evento.html */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #667eea;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --card-bg: white;
    --border-radius-lg: 20px;
    --border-radius-md: 15px;
    --shadow-light: 0 10px 40px rgba(0,0,0,0.1);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

/* Contenedor principal de la página */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(78, 205, 196, 0.3);
    cursor: pointer;
    text-align: center;
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(78, 205, 196, 0.5);
    }

/* Estilos de la tabla de eventos */
.provider-list-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

    .provider-list-table th, .provider-list-table td {
        text-align: left;
        padding: 1rem;
        border-bottom: 1px solid #dee2e6;
    }

    .provider-list-table th {
        background-color: var(--light-bg);
        font-weight: 600;
        color: #6c757d;
    }

    .provider-list-table tr:hover {
        background-color: #f1f1f1;
    }

.provider-actions {
    display: flex;
    gap: 0.5rem;
}

    .provider-actions button {
        background: none;
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .provider-actions .delete-btn {
        color: var(--primary-color);
    }

        .provider-actions .delete-btn:hover {
            transform: scale(1.2);
        }

.contact-actions {
    display: flex;
    gap: 10px;
}

    .contact-actions .action-btn {
        color: white;
        padding: 8px;
        border-radius: 5px;
        text-align: center;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
    }

        .contact-actions .action-btn:hover {
            transform: translateY(-2px);
        }

.action-btn.whatsapp {
    background: #25d366;
}

.action-btn.phone {
    background: var(--accent-color);
}

.action-btn.email {
    background: var(--primary-color);
}

/* Estilos de los filtros */
.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

    .filters-container input, .filters-container select {
        flex-grow: 1;
        padding: 0.8rem;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

        .filters-container input:focus, .filters-container select:focus {
            outline: none;
            border-color: var(--accent-color);
        }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

    .empty-state i {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .empty-state h3 {
        font-family: 'Poppins', sans-serif;
        font-size: 1.5rem;
        font-weight: 600;
    }

/* Modal para la búsqueda de proveedores */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: var(--shadow-light);
    animation: slideIn 0.3s ease;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

    .close-btn:hover, .close-btn:focus {
        color: var(--text-color);
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .modal-header h2 {
        font-family: 'Poppins', sans-serif;
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

.search-bar-modal {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
    border-radius: 50px;
    border: 2px solid #ddd;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .search-bar-modal:focus {
        outline: none;
        border-color: var(--accent-color);
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
    }

.provider-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .provider-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    }

.provider-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.provider-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.provider-card .service-type {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.provider-card .description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.modal-provider-card .cta-button {
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Estilos para el nuevo modal de confirmación */
.confirmation-modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.confirmation-content {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
    width: 90%;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

    .confirmation-content h3 {
        font-family: 'Poppins', sans-serif;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .confirmation-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        color: #666;
    }

.confirmation-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

    .confirmation-buttons .btn {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .confirmation-buttons .btn-confirm {
        background-color: var(--primary-color);
        color: white;
    }

        .confirmation-buttons .btn-confirm:hover {
            transform: translateY(-2px);
            box-shadow: 0 2px 5px rgba(255, 107, 107, 0.5);
        }

    .confirmation-buttons .btn-cancel {
        background-color: #e0e0e0;
        color: var(--text-color);
    }

        .confirmation-buttons .btn-cancel:hover {
            transform: translateY(-2px);
            background-color: #d0d0d0;
        }
