/**
 * Estilos para el módulo Dashboard
 */

.stats-card {
    transition: transform 0.2s;
    border: none;
    border-radius: 15px;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.chart-container {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chart-container canvas {
    max-height: 400px !important;
    height: 350px !important;
}

.quick-actions {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.action-btn {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Estilos mejorados para el modal del creador */
.about-header {
    background: linear-gradient(135deg, rgba(13,110,253,.08), rgba(13,202,240,.08));
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.avatar-circle {
    width: 56px; 
    height: 56px; 
    min-width: 56px;
    min-height: 56px;
    border-radius: 50%;
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.25), 0 0 0 2px #fff;
    padding: 0;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    filter: none;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

.list-minimal .list-group-item { 
    border: 0; 
    padding-left: 0; 
    padding-right: 0; 
}

.copy-btn { 
    transition: .2s ease; 
}

.copy-btn.copied { 
    background-color: #198754 !important; 
    border-color: #198754 !important; 
}

/* Título de página mejorado */
.title-accent { 
    width: 8px; 
    height: 42px; 
    border-radius: 6px; 
    background: linear-gradient(180deg,#0d6efd,#20c997); 
    box-shadow: 0 4px 14px rgba(13,110,253,.25); 
}

.page-title-icon { 
    color: #0d6efd; 
    background: rgba(13,110,253,.08); 
    width: 38px; 
    height: 38px; 
    border-radius: 10px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
}

/* Tabla en recuadro con scroll */
.table-box {
    border: 1px solid rgba(0,0,0,.075);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.table-scroll {
    max-height: 360px; /* controla la altura visible */
    overflow: auto;
}

.table-sticky thead th {
    position: sticky; 
    top: 0; 
    z-index: 2;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.05);
}

@media (max-width: 767.98px) {
    .dashboard-head {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .dashboard-head-main {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .dashboard-head-main .btn {
        margin-left: 0 !important;
    }

    .chart-container {
        padding: 1rem;
    }

    .chart-container canvas {
        height: 240px !important;
        max-height: 260px !important;
    }
}