/**
 * Estilos para Fancy Chart Pro (Cajón Desastre)
 */

.wpcd-fancy-chart-wrapper {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    padding: 1.5rem 1.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.wpcd-fancy-chart-wrapper:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.wpcd-fancy-chart-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.wpcd-fancy-chart-title {
    margin: 0 0 0.4rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.wpcd-fancy-chart-subtitle {
    margin: 0;
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.4;
}

.wpcd-fancy-chart-canvas-container {
    position: relative;
    width: 100%;
    min-height: 280px;
}

.wpcd-fancy-chart-canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.wpcd-chart-fallback {
    display: none;
    padding: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Modo editor Gutenberg */
.wpcd-chart-editor-notice {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: #475569;
    margin-bottom: 1rem;
    border-radius: 0 6px 6px 0;
}
