/* Estilos comunes para todos los templates de administración */

/* ===== TRANSICIONES COMUNES ===== */
.admin-card {
    transition: all 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.admin-button {
    transition: all 0.3s ease;
}

.admin-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.admin-input {
    transition: all 0.3s ease;
}

.admin-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

/* ===== SOMBRAS COMUNES ===== */
.shadow-light {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.shadow-medium {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.shadow-heavy {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.shadow-primary {
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.shadow-success {
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.shadow-warning {
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

.shadow-danger {
    box-shadow: 0 2px 4px rgba(244, 67, 54, 0.3);
}

.shadow-info {
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

/* ===== ANIMACIONES COMUNES ===== */
.fade-in {
    transition: opacity 0.3s ease;
}

.slide-in {
    transition: transform 0.3s ease;
}

.slide-in:hover {
    transform: translateX(5px);
}

/* ===== ESTILOS ESPECÍFICOS PARA ADMIN ===== */
.admin-dashboard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.admin-dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.admin-stats-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.admin-stats-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.admin-table-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.admin-table-card:hover {
    box-shadow: 0 8px 32px rgba(100, 181, 246, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE PARA ADMIN ===== */
@media (max-width: 768px) {
    .admin-dashboard-card {
        margin-bottom: 1rem;
    }
    
    .admin-stats-card {
        margin-bottom: 1rem;
    }
    
    .admin-table-responsive {
        font-size: 0.9rem;
    }
}

/* ===== ESTILOS PARA FORMULARIOS DE ADMIN ===== */
.admin-form-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.admin-form-card:hover {
    box-shadow: 0 8px 25px rgba(100, 181, 246, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

.admin-form-input {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.admin-form-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* ===== ESTILOS PARA TABLAS DE ADMIN ===== */
.admin-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.admin-table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-weight: 600;
}

.admin-table tbody tr {
    transition: all 0.3s ease;
}

.admin-table tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.1);
    transform: scale(1.01);
}

/* ===== ESTILOS PARA BOTONES DE ADMIN ===== */
.admin-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.admin-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.admin-btn-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.admin-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.admin-btn-warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.admin-btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

.admin-btn-danger {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.admin-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4);
} 