/* Estilos específicos para la página de movimientos */

/* Estadísticas compactas */
.stats-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}

.stat-item {
    flex: 1;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-item h5 {
    font-size: 0.8rem;
    margin: 0 0 5px 0;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item .stat-value {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

/* Filtros compactos */
.filters-container {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filters-container .row {
    margin: 0;
}

.filters-container .col-md-4 {
    padding: 0 10px;
}

.filters-container label {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
    opacity: 0.9;
}

.filters-container .form-control {
    font-size: 0.9rem;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: white;
}

.filters-container .form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
}

.filters-container .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.filters-container select option {
    background: #2c3e50;
    color: white;
}

.filters-container .btn-outline-light {
    border-color: rgba(255,255,255,0.3);
    color: white;
    transition: all 0.3s ease;
}

.filters-container .btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

/* Colores para costos */
.costo-ganancia {
    color: #28a745 !important;
    font-weight: bold;
}

.costo-gasto {
    color: #dc3545 !important;
    font-weight: bold;
}

.costo-pendiente {
    color: #007bff !important;
    font-weight: bold;
}

.costo-empate {
    color: #6c757d !important;
    font-weight: bold;
}

/* Estilos de la tabla del mercaditto */
.historial-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.historial-table th,
.historial-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.historial-table th {
    background: linear-gradient(135deg,#f4b232,#efb933);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .5px;
}

.historial-table tr:hover {
    background-color: #4e4f50;
}

/* Tipos de transacción */
.transaccion-avatar {
    color: #007bff;
    font-weight: 600;
}

.transaccion-objeto {
    color: #28a745;
    font-weight: 600;
}

.transaccion-apuesta {
    color: #dc3545;
    font-weight: 600;
}

.transaccion-codigo {
    color: #6f42c1;
    font-weight: 600;
}

/* Paginación estilo Arena */
.paginacion-arena {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f4b232, #efb933);
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.paginacion-info {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

.paginacion-botones {
    display: flex;
    gap: 10px;
}

.paginacion-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.paginacion-btn:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Mensaje sin transacciones */
.sin-transacciones {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: 10px;
    }
    
    .historial-table {
        font-size: 12px;
    }
    
    .historial-table th,
    .historial-table td {
        padding: 8px 10px;
    }
    
    .historial-table th {
        font-size: 10px;
    }
    
    .filters-container .col-md-4 {
        margin-bottom: 10px;
    }
    
    .paginacion-arena {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
} 