/* ========================================
   GestãoBLZ - Dashboard Content CSS
   Estilos específicos do conteúdo do dashboard
   (separado do layout principal)
   ======================================== */

/* ========================================
   CARDS CLICÁVEIS
   ======================================== */

.stat-item.clickable-card {
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.stat-item.clickable-card:hover {
    background-color: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.15);
}

.stat-item.clickable-card:hover .clickable-icon {
    opacity: 1;
    transform: translateX(0);
}

.stat-item.clickable-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1);
}

.clickable-icon {
    color: white;
    font-size: 0.75em;
    opacity: 0.8;
    transition: all 0.2s ease;
    transform: translateX(-5px);
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* ========================================
   PALETA DE CORES PERSONALIZADAS
   ======================================== */

/* Cores para Gráfico de Faturamento */
.chart-card .chart-header {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.chart-card .chart-title {
    color: white;
}

.chart-card .chart-title i {
    color: white;
}

/* Cores para Serviços Mais Realizados */
.chart-card:has(#servicesChart) .chart-header {
    background: linear-gradient(135deg, #6366f1, #4338ca);
}

.chart-card:has(#servicesChart) .chart-title,
.chart-card:has(#servicesChart) .chart-title i {
    color: white;
}

/* Cores para Aniversariantes */
.birthdays-card .insight-header {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.birthdays-card .insight-title,
.birthdays-card .insight-title i,
.birthdays-card .insight-badge {
    color: white;
}

/* Cores para Top 5 Clientes */
.professionals-card .insight-header {
    background: linear-gradient(135deg, #10b981, #047857);
}

.professionals-card .insight-title,
.professionals-card .insight-title i {
    color: white;
}

/* Cores para Clientes Ausentes */
.absent-clients-card .insight-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.absent-clients-card .insight-title,
.absent-clients-card .insight-title i,
.absent-clients-card .insight-badge {
    color: white;
}

/* ========================================
   CORES INTERNAS DOS CARDS
   ======================================== */

/* Botões personalizados para Aniversariantes */
.birthdays-card .btn-success {
    background: linear-gradient(135deg, #10b981, #047857);
    border-color: #10b981;
    color: white;
}

.birthdays-card .btn-success:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    border-color: #047857;
    transform: translateY(-1px);
}

.birthdays-card .btn-primary {
    background: linear-gradient(135deg, #ec4899, #be185d);
    border-color: #ec4899;
    color: white;
}

.birthdays-card .btn-primary:hover {
    background: linear-gradient(135deg, #be185d, #9d174d);
    border-color: #be185d;
    transform: translateY(-1px);
}

/* Elementos do ranking para Top 5 Clientes */
.professionals-card .ranking-position {
    background: linear-gradient(135deg, #10b981, #047857);
    color: white;
    font-weight: bold;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.professionals-card .professional-growth.positive {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.professionals-card .professional-growth.negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}

/* Clientes Ausentes - botões personalizados */
.absent-clients-card .btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #f59e0b;
    color: white;
}

.absent-clients-card .btn-primary:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    border-color: #d97706;
    transform: translateY(-1px);
}

/* ========================================
   SEÇÃO DE BOAS-VINDAS
   ======================================== */

.welcome-section {
    margin-bottom: 32px;
}

.welcome-card {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.welcome-content-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.welcome-left {
    flex: 1;
    min-width: 0;
}

.welcome-right {
    flex: 0 0 52%;
    max-width: 550px;
    min-width: 420px;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.welcome-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--secondary-color), var(--gray-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-content p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.welcome-stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Cores específicas para cada stat-item */
.stat-item:nth-child(1) {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.stat-item:nth-child(2) {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.3);
}

.stat-item:nth-child(3) {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.stat-item i {
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.stat-item span {
    position: relative;
    z-index: 1;
}

/* Efeitos de hover específicos */
.stat-item:nth-child(1):hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.stat-item:nth-child(2):hover {
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.4);
}

.stat-item:nth-child(3):hover {
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

.welcome-illustration {
    font-size: 90px;
    color: var(--primary-color);
    opacity: 0.1;
    animation: pulse 3s infinite;
}

/* ========================================
   META DIÁRIA MODERNA - DESIGN AVANÇADO
   ======================================== */

.daily-goal-modern {
    display: flex;
    align-items: stretch;
}

.goal-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
    width: 100%;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 140px;
    display: flex;
    align-items: center;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm0 0c0 11.046 8.954 20 20 20s20-8.954 20-20-8.954-20-20-20-20 8.954-20 20z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

.goal-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.goal-card:hover::after {
    opacity: 0.7;
}

.goal-icon {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.goal-icon i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.goal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 50px;
}

.goal-left {
    flex: 1;
}

.goal-right {
    flex-shrink: 0;
    text-align: right;
}

.goal-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.goal-numbers {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.current-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.goal-separator {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin: 0 4px;
}

.target-value {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.progress-section {
    margin-top: 0;
}

.progress-container {
    position: relative;
    margin-bottom: 12px;
}

.progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #5b86e5);
    border-radius: 20px;
    position: relative;
    width: 0%;
    transition: width 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 3s infinite;
}

.progress-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(90deg, #00d4ff, #5b86e5);
    border-radius: 20px;
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
}

.progress-markers {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
    pointer-events: none;
}

.marker {
    position: absolute;
    width: 2px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
    top: -5px;
    transform: translateX(-50%);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.percentage {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.remaining {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

.remaining strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Estados dinâmicos baseados na porcentagem */
.progress-fill[data-percentage^="9"],
.progress-fill[data-percentage="100"] {
    background: linear-gradient(90deg, #11998e, #38ef7d);
    box-shadow: 0 0 20px rgba(17, 153, 142, 0.6);
}

.progress-fill[data-percentage^="8"] {
    background: linear-gradient(90deg, #00d4ff, #5b86e5);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
}

.progress-fill[data-percentage^="7"] {
    background: linear-gradient(90deg, #667eea, #764ba2);
    box-shadow: 0 0 16px rgba(102, 126, 234, 0.5);
}

.progress-fill[data-percentage^="6"] {
    background: linear-gradient(90deg, #ffecd2, #fcb69f);
    box-shadow: 0 0 14px rgba(255, 236, 210, 0.5);
}

.progress-fill[data-percentage^="5"] {
    background: linear-gradient(90deg, #fdbb2d, #22c1c3);
    box-shadow: 0 0 14px rgba(253, 187, 45, 0.5);
}

.progress-fill[data-percentage^="4"],
.progress-fill[data-percentage^="3"] {
    background: linear-gradient(90deg, #ff9a9e, #fecfef);
    box-shadow: 0 0 12px rgba(255, 154, 158, 0.5);
}

.progress-fill[data-percentage^="2"],
.progress-fill[data-percentage^="1"] {
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.5);
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(200%); }
    100% { transform: translateX(200%); }
}

/* ========================================
   ATALHOS DIRETOS / AÇÕES RÁPIDAS
   ======================================== */

.quick-actions-section {
    margin-bottom: 32px;
}

.quick-actions-container {
    background: var(--theme-card-bg, var(--white));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--theme-border-color, var(--gray-200));
    overflow: hidden;
    transition: all var(--transition-fast);
}

.quick-actions-container:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.quick-actions-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quick-actions-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm0 0c0 11.046 8.954 20 20 20s20-8.954 20-20-8.954-20-20-20-20 8.954-20 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.4;
}

.quick-actions-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.quick-actions-title i {
    font-size: 20px;
    color: #ffc107;
    animation: pulse 2s infinite;
}

.quick-actions-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    position: relative;
    z-index: 1;
}

.quick-actions-grid {
    padding: 32px 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.quick-action-card {
    background: var(--theme-card-bg, var(--white));
    border: 2px solid var(--theme-border-color, var(--gray-200));
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.quick-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.quick-action-card:hover::before {
    left: 100%;
}

.quick-action-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.action-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.action-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.quick-action-card:hover .action-icon::after {
    transform: scale(1);
}

/* Cores específicas para cada ação */
.sale-card {
    border-color: rgba(17, 153, 142, 0.3);
}

.sale-card:hover {
    border-color: #11998e;
    box-shadow: 0 12px 30px rgba(17, 153, 142, 0.25);
}

.sale-card .action-icon {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    box-shadow: 0 8px 20px rgba(17, 153, 142, 0.3);
}

.appointment-card {
    border-color: rgba(102, 126, 234, 0.3);
}

.appointment-card:hover {
    border-color: #667eea;
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.25);
}

.appointment-card .action-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.cashier-card {
    border-color: rgba(240, 147, 251, 0.3);
}

.cashier-card:hover {
    border-color: #f093fb;
    box-shadow: 0 12px 30px rgba(240, 147, 251, 0.25);
}

.cashier-card .action-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 8px 20px rgba(240, 147, 251, 0.3);
}

.action-content {
    flex: 1;
}

.action-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-text-primary, var(--secondary-color));
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.action-description {
    font-size: 13px;
    color: var(--theme-text-secondary, var(--gray-600));
    margin: 0;
    line-height: 1.4;
}

.action-arrow {
    font-size: 16px;
    color: var(--theme-text-secondary, var(--gray-400));
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.quick-action-card:hover .action-arrow {
    color: var(--theme-text-primary, var(--secondary-color));
    transform: translateX(4px);
}

/* ========================================
   INDICADORES PRINCIPAIS
   ======================================== */

.indicators-section {
    margin-bottom: 32px;
}

.indicator-card {
    background: var(--theme-card-bg, var(--white));
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--theme-border-color, var(--gray-200));
    transition: all var(--transition-fast);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.indicator-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.indicator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.indicator-card:hover::before {
    opacity: 1;
}

.indicator-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.indicator-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.indicator-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.indicator-card:hover .indicator-icon::before {
    transform: rotate(45deg) translateX(100%);
}

.revenue-card .indicator-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.occupation-card .indicator-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.clients-card .indicator-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.plans-card .indicator-icon {
    background: linear-gradient(135deg, #6f42c1, #5a2d91);
}

.indicator-info {
    flex: 1;
}

.indicator-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-text-secondary, var(--gray-600));
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.indicator-value {
    font-size: 21px;
    font-weight: 800;
    color: var(--theme-text-primary, var(--secondary-color));
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.indicator-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
}

.indicator-change.positive {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.indicator-change.negative {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.indicator-chart {
    height: 40px;
    margin-top: 16px;
}

.occupation-progress {
    margin-top: 16px;
}

.occupation-progress .progress {
    height: 8px;
    background: var(--theme-bg-secondary, var(--gray-100));
    border-radius: 4px;
    overflow: hidden;
}

.occupation-progress .progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.clients-breakdown,
.plans-breakdown {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--theme-border-color, var(--gray-200));
}

.breakdown-item {
    text-align: center;
}

.breakdown-label {
    display: block;
    font-size: 11px;
    color: var(--theme-text-secondary, var(--gray-500));
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.breakdown-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--theme-text-primary, var(--secondary-color));
}

/* ========================================
   GRÁFICOS E ANÁLISES
   ======================================== */

.charts-section {
    margin-bottom: 32px;
}

.chart-card {
    background: var(--theme-card-bg, var(--white));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--theme-border-color, var(--gray-200));
    overflow: hidden;
    height: 100%;
    transition: all var(--transition-fast);
}

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

.chart-header {
    background: var(--theme-bg-secondary, var(--gray-50));
    padding: 20px 24px;
    border-bottom: 1px solid var(--theme-border-color, var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.chart-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-text-primary, var(--secondary-color));
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-title i {
    font-size: 18px;
    color: var(--primary-color);
}

.chart-controls {
    display: flex;
    gap: 4px;
}

.chart-controls .btn {
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 12px;
    padding: 6px 12px;
}

/* Botões de controle do gráfico de faturamento */
.chart-card .chart-controls .btn {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    transition: all 0.2s ease;
}

.chart-card .chart-controls .btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

.chart-card .chart-controls .btn.active {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.chart-body {
    padding: 24px;
    position: relative;
}

.chart-body canvas {
    max-width: 100% !important;
    height: 300px !important;
}

/* Gráfico de faturamento específico */
#revenueChart {
    min-height: 300px !important;
}

/* Gráfico de serviços específico */
#servicesChart {
    min-height: 300px !important;
}

.services-legend {
    padding: 16px 24px 24px;
    border-top: 1px solid var(--theme-border-color, var(--gray-200));
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 4px 0;
}

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

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-item span {
    flex: 1;
    font-size: 13px;
    color: var(--theme-text-secondary, var(--gray-600));
}

.legend-item strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--theme-text-primary, var(--secondary-color));
}

/* ========================================
   ANÁLISES INTELIGENTES
   ======================================== */

.insights-section {
    margin-bottom: 32px;
}

.insight-card {
    background: var(--theme-card-bg, var(--white));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--theme-border-color, var(--gray-200));
    overflow: hidden;
    height: 100%;
    transition: all var(--transition-fast);
}

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

.insight-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.insight-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.insight-title i {
    font-size: 18px;
}

.insight-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    min-width: 24px;
    text-align: center;
}

.insight-badge.alert {
    background: var(--danger);
    animation: pulse 2s infinite;
}

.insight-body {
    padding: 24px;
}

/* Aniversariantes */
.birthday-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.birthday-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--theme-bg-secondary, var(--gray-50));
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.birthday-item:hover {
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.05);
    transform: translateX(4px);
}

.birthday-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.birthday-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.birthday-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-text-primary, var(--secondary-color));
}

.birthday-phone {
    font-size: 12px;
    color: var(--theme-text-secondary, var(--gray-500));
}

.birthday-action {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

/* Profissionais Ranking */
.professionals-ranking {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--theme-bg-secondary, var(--gray-50));
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.ranking-item:hover {
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.05);
    transform: translateX(4px);
}

.ranking-position {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.professional-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.professional-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-text-primary, var(--secondary-color));
}

.professional-revenue {
    font-size: 13px;
    color: var(--theme-text-secondary, var(--gray-600));
    font-weight: 500;
}

.professional-growth {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
}

.professional-growth.positive {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.professional-growth.negative {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Clientes Ausentes */
.absent-clients-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--theme-bg-secondary, var(--gray-50));
    border-radius: var(--border-radius);
}

.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--warning), #fd7e14);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.summary-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--theme-text-primary, var(--secondary-color));
}

.summary-label {
    font-size: 12px;
    color: var(--theme-text-secondary, var(--gray-500));
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.absent-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.absent-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* ========================================
   INSIGHTS DA IA
   ======================================== */

.ai-insights-section {
    margin-bottom: 32px;
}

.ai-insights-card {
    background: var(--theme-card-bg, var(--white));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--theme-border-color, var(--gray-200));
    overflow: hidden;
    transition: all var(--transition-fast);
}

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

.ai-insights-header {
    background: linear-gradient(135deg, #6f42c1, #5a2d91);
    color: var(--white);
    padding: 24px;
    text-align: center;
    position: relative;
}

.ai-insights-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm0 0c0 11.046 8.954 20 20 20s20-8.954 20-20-8.954-20-20-20-20 8.954-20 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

.ai-insights-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.ai-insights-title i {
    font-size: 24px;
    color: #ffc107;
    animation: pulse 2s infinite;
}

.ai-insights-subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
    margin: 0;
    position: relative;
    z-index: 1;
}

.ai-insights-body {
    padding: 32px 24px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.insight-card-ai {
    background: var(--theme-card-bg, var(--white));
    border: 1px solid var(--theme-border-color, var(--gray-200));
    border-radius: var(--border-radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.insight-card-ai::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.insight-card-ai:hover::before {
    opacity: 1;
}

.insight-card-ai.absent-clients:hover {
    border-color: #dc3545;
}

.insight-card-ai.absent-clients:hover::before {
    background: linear-gradient(to bottom, #dc3545, #c82333);
}

.insight-card-ai.low-occupation:hover {
    border-color: #ffc107;
}

.insight-card-ai.low-occupation:hover::before {
    background: linear-gradient(to bottom, #ffc107, #e0a800);
}

.insight-card-ai.low-ticket:hover {
    border-color: #fd7e14;
}

.insight-card-ai.low-ticket:hover::before {
    background: linear-gradient(to bottom, #fd7e14, #e8690c);
}

.insight-card-ai.premium-opportunity:hover {
    border-color: #28a745;
}

.insight-card-ai.premium-opportunity:hover::before {
    background: linear-gradient(to bottom, #28a745, #218838);
}

.insight-card-ai .insight-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.insight-card-ai.absent-clients .insight-icon {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.insight-card-ai.low-occupation .insight-icon {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.insight-card-ai.low-ticket .insight-icon {
    background: linear-gradient(135deg, #fd7e14, #e8690c);
}

.insight-card-ai.premium-opportunity .insight-icon {
    background: linear-gradient(135deg, #28a745, #218838);
}

.insight-card-ai.ltv-insight .insight-icon {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

.insight-card-ai.nps-insight .insight-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.insight-card-ai.top-professional .insight-icon {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.insight-card-ai.cross-sell-opportunity .insight-icon {
    background: linear-gradient(135deg, #28a745, #218838);
}

.insight-card-ai .insight-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.insight-card-ai:hover .insight-icon::before {
    transform: rotate(45deg) translateX(100%);
}

.insight-card-ai .insight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.insight-card-ai .insight-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-text-primary, var(--secondary-color));
    margin-bottom: 12px;
    line-height: 1.3;
}

.insight-card-ai .insight-description {
    font-size: 14px;
    color: var(--theme-text-secondary, var(--gray-600));
    margin-bottom: 16px;
    line-height: 1.5;
}

.insight-card-ai .insight-description strong {
    color: var(--theme-text-primary, var(--secondary-color));
    font-weight: 600;
}

.insight-card-ai .insight-suggestion {
    background: rgba(111, 66, 193, 0.05);
    border: 1px solid rgba(111, 66, 193, 0.15);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-size: 13px;
    font-style: italic;
    color: #6f42c1;
    margin-bottom: 0;
    position: relative;
}

.insight-card-ai .insight-suggestion::before {
    content: '💡';
    position: absolute;
    left: -8px;
    top: -8px;
    background: var(--theme-card-bg, var(--white));
    padding: 4px;
    border-radius: 50%;
    font-style: normal;
    animation: pulse 2s infinite;
}

.insight-card-ai .insight-action {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.insight-card-ai .insight-action .btn {
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.insight-card-ai .insight-action .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.insight-card-ai.absent-clients .insight-action .btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-color: #dc3545;
}

.insight-card-ai.absent-clients .insight-action .btn:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
}

.insight-card-ai.low-occupation .insight-action .btn {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    border-color: #ffc107;
    color: var(--secondary-color);
}

.insight-card-ai.low-occupation .insight-action .btn:hover {
    background: linear-gradient(135deg, #e0a800, #d39e00);
}

.insight-card-ai.low-ticket .insight-action .btn {
    background: linear-gradient(135deg, #fd7e14, #e8690c);
    border-color: #fd7e14;
}

.insight-card-ai.low-ticket .insight-action .btn:hover {
    background: linear-gradient(135deg, #e8690c, #dc5f0b);
}

.insight-card-ai.premium-opportunity .insight-action .btn {
    background: linear-gradient(135deg, #28a745, #218838);
    border-color: #28a745;
}

.insight-card-ai.premium-opportunity .insight-action .btn:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
}

/* ========================================
   PRÓXIMOS AGENDAMENTOS
   ======================================== */

.appointments-section {
    margin-bottom: 32px;
}

.appointments-card {
    background: var(--theme-card-bg, var(--white));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--theme-border-color, var(--gray-200));
    overflow: hidden;
    transition: all var(--transition-fast);
}

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

.appointments-header {
    background: var(--theme-bg-secondary, var(--gray-50));
    padding: 20px 24px;
    border-bottom: 1px solid var(--theme-border-color, var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.appointments-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-text-primary, var(--secondary-color));
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.appointments-title i {
    font-size: 18px;
    color: var(--primary-color);
}

.appointments-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.appointments-body {
    padding: 24px;
}

.appointments-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--theme-bg-secondary, var(--gray-50));
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-fast);
}

.timeline-item:hover {
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.05);
    transform: translateX(4px);
}

.timeline-time {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

.timeline-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.appointment-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.client-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-text-primary, var(--secondary-color));
}

.service-name {
    font-size: 13px;
    color: var(--theme-text-secondary, var(--gray-600));
}

.appointment-professional {
    font-size: 13px;
    color: var(--theme-text-secondary, var(--gray-600));
    font-style: italic;
}

.appointment-status {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
}

.appointment-status.confirmed {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.appointment-status.pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.appointment-status.cancelled {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* ========================================
   RESPONSIVIDADE ESPECÍFICA DO CONTEÚDO
   ======================================== */

/* Tablets */
/* Notebooks e telas pequenas (1400px e abaixo) */
@media (max-width: 1400px) {
    .welcome-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-item {
        padding: 14px 20px;
        font-size: 14px;
        min-height: 50px;
        justify-content: center;
    }
    
    .stat-item i {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .welcome-card {
        padding: 32px 24px;
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .welcome-content-layout {
        flex-direction: column;
    }
    
    .welcome-left,
    .welcome-right {
        flex: 1;
        min-width: auto;
        max-width: 100%;
    }
    
    .welcome-content h2 {
        font-size: 21px;
    }
    
    .welcome-stats {
        justify-content: center;
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-item {
        padding: 16px 24px;
        font-size: 15px;
        min-height: 54px;
        justify-content: center;
    }
    
    .stat-item i {
        font-size: 20px;
    }
    
    .welcome-illustration {
        font-size: 45px;
        order: -1;
    }
    
    .indicator-card {
        padding: 20px;
    }
    
    .indicator-value {
        font-size: 22px;
    }
    
    .chart-body {
        padding: 20px;
    }
    
    .insight-body,
    .appointments-body {
        padding: 20px;
    }
    
    .absent-actions .btn {
        min-width: 100px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .welcome-card {
        padding: 24px 16px;
    }
    
    .welcome-content h2 {
        font-size: 24px;
    }
    
    .welcome-content p {
        font-size: 14px;
    }
    
    .stat-item {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .indicator-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .indicator-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .indicator-value {
        font-size: 20px;
    }
    
    .chart-header,
    .appointments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .chart-controls,
    .appointments-controls {
        width: 100%;
        justify-content: flex-start;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .timeline-time {
        min-width: auto;
        text-align: left;
        font-size: 16px;
    }
    
    .birthday-item,
    .ranking-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .absent-actions {
        flex-direction: column;
    }
    
    .absent-actions .btn {
        min-width: auto;
    }
    
    /* Responsividade dos Insights da IA */
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .ai-insights-body {
        padding: 24px 16px;
    }
    
    .insight-card-ai {
        padding: 16px;
    }
    
    .insight-card-ai .insight-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .insight-card-ai .insight-title {
        font-size: 15px;
    }
    
    .insight-card-ai .insight-description {
        font-size: 13px;
    }
    
    .insight-card-ai .insight-suggestion {
        font-size: 12px;
        padding: 10px 14px;
    }
    
    /* Responsividade Welcome Card e Meta Diária - TABLET */
    .welcome-content-layout {
        flex-direction: column;
        gap: 24px;
    }
    
    .welcome-right {
        width: 100%;
        max-width: none;
        min-width: 0;
    }
    
    .goal-card {
        padding: 24px;
        min-height: 120px;
        border-radius: 14px;
    }
    
    .goal-content {
        padding-right: 0;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .goal-left {
        width: 100%;
    }
    
    .goal-icon {
        position: absolute;
        top: 12px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
    
    .goal-icon i {
        font-size: 18px;
    }
    
    .goal-title {
        text-align: center;
        margin-bottom: 12px;
    }
    
    .goal-numbers {
        justify-content: center;
        margin-bottom: 16px;
    }
    
    .current-value {
        font-size: 22px;
    }
    
    .target-value {
        font-size: 14px;
    }
    
    .progress-container {
        margin-bottom: 10px;
    }
    
    .progress-info {
        justify-content: center;
        gap: 16px;
    }
    
    .percentage {
        font-size: 18px;
    }
    
    .remaining {
        font-size: 11px;
        text-align: center;
    }
    
    /* Responsividade Atalhos Diretos */
    .quick-actions-grid {
        padding: 24px 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-action-card {
        padding: 20px;
        gap: 16px;
    }
    
    .action-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    
    .action-title {
        font-size: 15px;
    }
    
    .action-description {
        font-size: 12px;
    }
}

/* Mobile pequeno */
@media (max-width: 576px) {
    .indicator-card,
    .chart-card,
    .insight-card,
    .appointments-card {
        margin-bottom: 16px;
    }
    
    .indicator-header {
        gap: 8px;
    }
    
    .indicator-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .indicator-value {
        font-size: 18px;
    }
    
    .chart-body,
    .insight-body,
    .appointments-body {
        padding: 16px;
    }
    
    .chart-header,
    .insight-header,
    .appointments-header {
        padding: 16px 20px;
    }
    
    .chart-title,
    .insight-title,
    .appointments-title {
        font-size: 14px;
    }
    
    .birthday-item,
    .ranking-item,
    .timeline-item {
        padding: 12px;
    }
    
    .summary-item {
        padding: 12px;
    }
    
    .summary-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Organização das estatísticas para Mobile */
    .welcome-stats {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin: 0 -8px;
    }
    
    .stat-item {
        justify-content: center;
        margin: 0 8px;
        padding: 16px 20px;
        font-size: 15px;
        min-height: 60px;
        text-align: center;
        border-radius: 12px;
    }
    
    .stat-item i {
        font-size: 22px;
        margin-right: 12px;
    }
    
    .stat-item.clickable-card {
        background: linear-gradient(135deg, rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.9), rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.8));
        box-shadow: 0 4px 15px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.25);
    }
    
    .stat-item.clickable-card:hover {
        background: linear-gradient(135deg, rgba(var(--primary-r), var(--primary-g), var(--primary-b), 1), rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.9));
        box-shadow: 0 6px 20px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.35);
        transform: translateY(-3px);
    }
    
    .welcome-illustration {
        font-size: 45px;
    }
    
    /* Responsividade Mobile Pequeno - Insights da IA */
    .ai-insights-header {
        padding: 20px 16px;
    }
    
    .ai-insights-title {
        font-size: 18px;
        flex-direction: column;
        gap: 8px;
    }
    
    .ai-insights-subtitle {
        font-size: 13px;
    }
    
    .ai-insights-body {
        padding: 20px 16px;
    }
    
    .insight-card-ai {
        padding: 14px;
    }
    
    .insight-card-ai .insight-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .insight-card-ai .insight-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .insight-card-ai .insight-description {
        font-size: 12px;
        margin-bottom: 14px;
    }
    
    .insight-card-ai .insight-suggestion {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .insight-card-ai .insight-action .btn {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    /* Responsividade Mobile Pequeno - Welcome Card e Meta */
    .welcome-card {
        padding: 20px 16px;
    }
    
    .welcome-content-layout {
        gap: 20px;
    }
    
    .welcome-left {
        order: 1;
    }
    
    .welcome-right {
        order: 2;
        width: 100%;
    }
    
    .goal-card {
        padding: 20px 16px;
        border-radius: 12px;
        min-height: 100px;
        display: block;
    }
    
    .goal-content {
        display: block;
        padding-right: 0;
        text-align: center;
    }
    
    .goal-left {
        width: 100%;
    }
    
    .goal-icon {
        position: relative;
        top: auto;
        right: auto;
        width: 44px;
        height: 44px;
        margin: 0 auto 12px auto;
        float: none;
    }
    
    .goal-icon i {
        font-size: 18px;
    }
    
    .goal-title {
        font-size: 11px;
        text-align: center;
        margin-bottom: 10px;
        letter-spacing: 0.8px;
    }
    
    .goal-numbers {
        justify-content: center;
        margin-bottom: 14px;
        flex-wrap: nowrap;
    }
    
    .current-value {
        font-size: 20px;
    }
    
    .goal-separator {
        font-size: 16px;
        margin: 0 2px;
    }
    
    .target-value {
        font-size: 13px;
    }
    
    .progress-container {
        margin-bottom: 10px;
    }
    
    .progress-track {
        height: 5px;
    }
    
    .progress-markers .marker {
        height: 8px;
        top: -3px;
    }
    
    .progress-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }
    
    .percentage {
        font-size: 16px;
    }
    
    .remaining {
        font-size: 9px;
        text-align: right;
        max-width: 60%;
    }
    
    /* Responsividade Mobile Pequeno - Atalhos */
    .quick-actions-header {
        padding: 20px 16px;
    }
    
    .quick-actions-title {
        font-size: 16px;
    }
    
    .quick-actions-subtitle {
        font-size: 13px;
    }
    
    .quick-actions-grid {
        padding: 20px 16px;
    }
    
    .quick-action-card {
        padding: 16px;
        gap: 12px;
        border-radius: var(--border-radius);
    }
    
    .action-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .action-title {
        font-size: 14px;
    }
    
    .action-description {
        font-size: 11px;
    }
    
    .action-arrow {
        font-size: 14px;
    }
}

/* Mobile Extra Pequeno - Meta Diária Otimizada */
@media (max-width: 480px) {
    .welcome-card {
        padding: 16px 12px;
    }
    
    .welcome-content-layout {
        gap: 16px;
    }
    
    .goal-card {
        padding: 16px 12px;
        border-radius: 10px;
        min-height: 90px;
    }
    
    .goal-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }
    
    .goal-icon i {
        font-size: 16px;
    }
    
    .goal-title {
        font-size: 10px;
        margin-bottom: 8px;
        letter-spacing: 0.6px;
    }
    
    .goal-numbers {
        margin-bottom: 12px;
        gap: 4px;
    }
    
    .current-value {
        font-size: 18px;
    }
    
    .goal-separator {
        font-size: 14px;
        margin: 0 1px;
    }
    
    .target-value {
        font-size: 12px;
    }
    
    .progress-container {
        margin-bottom: 8px;
    }
    
    .progress-track {
        height: 4px;
    }
    
    .progress-markers .marker {
        height: 6px;
        width: 1px;
        top: -2px;
    }
    
    .progress-info {
        gap: 6px;
    }
    
    .percentage {
        font-size: 14px;
    }
    
    .remaining {
        font-size: 8px;
        line-height: 1.2;
    }
    
    .remaining strong {
        display: block;
        margin-top: 1px;
    }
}

/* Telas Extra Grandes */
@media (min-width: 1400px) {
    .welcome-card {
        padding: 48px;
    }
    
    .welcome-content h2 {
        font-size: 27px;
    }
    
    .welcome-content p {
        font-size: 18px;
    }
    
    .welcome-illustration {
        font-size: 105px;
    }
}

/* Animações específicas do conteúdo */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* .indicator-card,
.chart-card,
.insight-card,
.appointments-card {
    animation: fadeInUp 0.6s ease-out backwards; - REMOVIDO para navegação fluida
} */

/* Delays removidos também para navegação fluida */
/* .indicator-card:nth-child(1) { animation-delay: 0.1s; }
.indicator-card:nth-child(2) { animation-delay: 0.2s; }
.indicator-card:nth-child(3) { animation-delay: 0.3s; }
.indicator-card:nth-child(4) { animation-delay: 0.4s; } */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* .welcome-card {
    animation: fadeIn 0.8s ease-out; - REMOVIDO para navegação fluida
} */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}