.plotly-container {
    width: 80%;
}

/* Base code element styles */
code.plotly-data {
    display: block;
    background: #f5f5f5;
    padding: 15px;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    margin: 10px 0;
}

/* Loading state */
.plotly-code--loading {
    opacity: 0.7;
}

/* Success state */
.plotly-code--rendered {
    display: none !important;
}

/* Error state */
.plotly-code--error {
    color: #d32f2f;
}

/* Error message styles */
.plotly-error {
    color: #d32f2f;
    padding: 10px;
    margin: 10px 0;
    background: #ffebee;
}

.plotly-error strong {
    font-weight: 600;
}

