/**
 * Modern styles for QNP Chart.js Shortcode
 */

.qnp-chart-card {
    box-sizing: border-box;
    width: 100%;
    padding: 25px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ebf4fc 0%, #f3f8fd 50%, #ebf4fc 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 35px rgba(2, 148, 226, 0.06);
    position: relative;
    overflow: hidden;
}

/* Background decorative blur elements for a premium feel */
.qnp-chart-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(2, 148, 226, 0.08) 0%, rgba(2, 148, 226, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.qnp-chart-card * {
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Canvas Wrap & Container */
.qnp-chart-canvas-wrap {
    width: 100%;
    position: relative;
}

/* Chart Title / Description block styling */
.qnp-chart-meta {
    margin-bottom: 20px;
    border-left: 4px solid #0294e2;
    padding-left: 12px;
    z-index: 2;
}

.qnp-chart-subtitle {
    display: block;
    font-size: 18px;
    color: #000;
    font-weight: 700;
    line-height: 1.4;
}


/* Responsive adjustment */
@media (max-width: 768px) {
    .qnp-chart-card {
        padding: 20px;
        border-radius: 16px;
        margin: 1rem auto;
    }
}