/* The Charts Widget Styles */
.wml-dashboard-wrapper {
    --bg-color: transparent;
    --card-bg: #ffffff;
    --text-main: #333333;
    padding: 1rem 0;
}

.wml-dashboard-wrapper h1 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Dashboard Grid */
.wml-dashboard-wrapper .dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

/* Chart Container Card */
.wml-dashboard-wrapper .chart-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wml-dashboard-wrapper .chart-container {
    position: relative;
    height: 100%;
    width: 100%;
}

/* Controls */
.wml-dashboard-wrapper .controls {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.wml-dashboard-wrapper .randomize-btn {
    padding: 12px 24px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
}

.wml-dashboard-wrapper .randomize-btn:hover {
    background-color: #2980b9;
    transform: scale(1.02);
}

.wml-dashboard-wrapper .randomize-btn:active {
    transform: scale(0.98);
}

/* Dark Mode support - Bricks usually applies a class to body or uses its own system */
[data-theme="dark"] .wml-dashboard-wrapper .chart-card {
    background-color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}