/* DATAPOS Complete Sections - CSS Extensions */
/* Estilos adicionales para todas las secciones del demo completo */

/* ==========================================================================
   CATÁLOGO DE PRODUCTOS
   ========================================================================== */

.catalog-filters {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.filter-group {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: wrap;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-gold);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-status {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.product-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.product-status.inactive {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.product-info {
    padding: var(--space-lg);
}

.product-info h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-white);
}

.product-info p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.product-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.price {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary-gold);
}

.cost {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
}

.category {
    background: rgba(255, 215, 0, 0.1);
    color: #d97706;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-weight: 600;
}

.sales {
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: var(--space-sm);
}

.btn-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    color: var(--text-gray);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

/* ==========================================================================
   GESTIÓN DE INVENTARIO
   ========================================================================== */

.header-actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.inventory-alerts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.alert-card {
    padding: var(--space-lg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border: 1px solid;
    transition: all var(--transition-fast);
}

.alert-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.alert-card.critical {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
}

.alert-card.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--warning);
}

.alert-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
}

.alert-card.critical .alert-icon {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.alert-card.warning .alert-icon {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.alert-content {
    flex: 1;
}

.alert-content h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-white);
}

.alert-content p {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.inventory-table-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.inventory-table {
    width: 100%;
    border-collapse: collapse;
}

.inventory-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-weight: 600;
    padding: var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: var(--text-sm);
}

.inventory-table td {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-gray);
    font-size: var(--text-sm);
}

.inventory-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.product-cell {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.product-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
}

.product-cell strong {
    color: var(--text-white);
    display: block;
    margin-bottom: 2px;
}

.product-cell small {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.stock-critical {
    color: var(--danger);
    font-weight: 600;
}

.stock-warning {
    color: var(--warning);
    font-weight: 600;
}

.stock-good {
    color: var(--success);
    font-weight: 600;
}

.status-badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.critical {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.status-badge.good {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.status-badge.inactive {
    background: rgba(156, 163, 175, 0.2);
    color: var(--text-muted);
}

/* ==========================================================================
   PUNTO DE VENTA
   ========================================================================== */

.pos-interface {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    height: calc(100vh - 200px);
}

.pos-products {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pos-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
}

.pos-header h3 {
    color: var(--text-white);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.category-tabs {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.category-tab {
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
    white-space: nowrap;
}

.category-tab.active {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border-color: var(--primary-gold);
}

.category-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.products-grid-pos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-md);
    padding: var(--space-lg);
    overflow-y: auto;
    flex: 1;
}

.pos-product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: var(--space-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pos-product-card:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--border-gold);
    transform: translateY(-2px);
}

.product-image-pos {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.pos-product-card h4 {
    color: var(--text-white);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.product-price {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: var(--text-base);
}

.pos-order {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.order-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-header h3 {
    color: var(--text-white);
    font-size: var(--text-lg);
    font-weight: 600;
}

.order-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-xs);
    font-size: var(--text-sm);
}

.order-number {
    color: var(--primary-gold);
    font-weight: 600;
}

.order-time {
    color: var(--text-muted);
}

.order-items {
    flex: 1;
    padding: var(--space-lg);
    overflow-y: auto;
}

.empty-order {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-muted);
    text-align: center;
}

.empty-order i {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.order-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
}

.item-name {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.item-price {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0 var(--space-md);
}

.quantity-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
}

.quantity-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.item-total {
    color: var(--primary-gold);
    font-weight: 600;
    min-width: 60px;
    text-align: right;
}

.order-summary {
    padding: var(--space-lg);
    border-top: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.03);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
}

.summary-line.total {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary-gold);
    border-top: 1px solid var(--border-light);
    padding-top: var(--space-sm);
    margin-top: var(--space-md);
}

.order-actions {
    padding: var(--space-lg);
    display: flex;
    gap: var(--space-md);
}

/* ==========================================================================
   GESTIÓN DE EMPLEADOS
   ========================================================================== */

.employees-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.employees-table-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.employees-table {
    width: 100%;
    border-collapse: collapse;
}

.employees-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-weight: 600;
    padding: var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: var(--text-sm);
}

.employees-table td {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-gray);
    font-size: var(--text-sm);
}

.employees-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.employee-cell {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.employee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.employee-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.employee-cell strong {
    color: var(--text-white);
    display: block;
    margin-bottom: 2px;
}

.employee-cell small {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.role-badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.role-badge.manager {
    background: rgba(255, 215, 0, 0.2);
    color: #d97706;
}

.role-badge.chef {
    background: rgba(59, 130, 246, 0.2);
    color: var(--info);
}

.role-badge.waiter {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

/* ==========================================================================
   REPORTES DE VENTAS
   ========================================================================== */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.kpi-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    transition: all var(--transition-fast);
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-gold);
}

.kpi-icon {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
}

.kpi-content {
    flex: 1;
}

.kpi-content h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-white);
}

.kpi-content p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
}

.kpi-change {
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    width: fit-content;
}

.kpi-change.positive {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.kpi-change.negative {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.kpi-change.neutral {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.1);
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.chart-header h3 {
    color: var(--text-white);
    font-size: var(--text-lg);
    font-weight: 600;
}

.chart-legend {
    display: flex;
    gap: var(--space-lg);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.sales {
    background: var(--primary-gold);
}

.legend-color.orders {
    background: var(--info);
}

.chart-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 250px;
    margin-bottom: var(--space-md);
}

.chart-bar {
    background: var(--gradient-gold);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    flex: 1;
    margin: 0 4px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: var(--space-sm);
    transition: all var(--transition-fast);
}

.chart-bar:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.bar-value {
    color: var(--primary-dark);
    font-size: var(--text-xs);
    font-weight: 600;
    position: absolute;
    top: var(--space-sm);
    white-space: nowrap;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.top-products {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: var(--space-xl);
}

.top-products h3 {
    color: var(--text-white);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.product-ranking {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.rank {
    width: 32px;
    height: 32px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
}

.ranking-item .product-info {
    flex: 1;
}

.ranking-item .product-info h4 {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.ranking-item .product-info p {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.ranking-item .revenue {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: var(--text-lg);
}

/* ==========================================================================
   CONFIGURACIÓN
   ========================================================================== */

.config-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.config-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.config-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
}

.config-header h3 {
    color: var(--text-white);
    font-size: var(--text-lg);
    font-weight: 600;
}

.config-header i {
    color: var(--primary-gold);
    font-size: var(--text-xl);
}

.config-content {
    padding: var(--space-lg);
}

.config-item {
    margin-bottom: var(--space-lg);
}

.config-item:last-child {
    margin-bottom: 0;
}

.config-item label {
    display: block;
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
}

.config-input {
    width: 100%;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-white);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.config-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.config-select {
    width: 100%;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-white);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.config-select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.config-select option {
    background: var(--secondary-dark);
    color: var(--text-white);
}

.toggle-switch {
    position: relative;
    display: inline-block;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    display: block;
    width: 50px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    margin: 0;
}

.toggle-switch label:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--text-white);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.toggle-switch input:checked + label {
    background: var(--primary-gold);
}

.toggle-switch input:checked + label:before {
    transform: translateX(26px);
}

.config-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   RESPONSIVE DESIGN PARA NUEVAS SECCIONES
   ========================================================================== */

@media (max-width: 1024px) {
    .pos-interface {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .pos-products {
        height: 400px;
    }
    
    .config-sections {
        grid-template-columns: 1fr;
    }
    
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .employees-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid-pos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inventory-alerts {
        grid-template-columns: 1fr;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .employees-stats {
        grid-template-columns: 1fr;
    }
    
    .chart-bars {
        height: 200px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .config-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .category-tabs {
        flex-direction: column;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .alert-card {
        flex-direction: column;
        text-align: center;
    }
    
    .ranking-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    /* Tablas responsivas */
    .inventory-table-container,
    .employees-table-container {
        overflow-x: auto;
    }
    
    .inventory-table,
    .employees-table {
        min-width: 600px;
    }
}

/* ==========================================================================
   UTILIDADES ADICIONALES
   ========================================================================== */

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Estados de loading para nuevas secciones */
.loading-skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}