.elc-wrap {
    position: relative;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
}

.elc-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.elc-range-select {
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(128,128,128,0.35);
    background: transparent;
    cursor: pointer;
}

.elc-theme-dark .elc-range-select {
    color: #c7cad1;
    background: #262a35;
    border-color: rgba(255,255,255,0.15);
}

.elc-theme-light .elc-range-select {
    color: #1d2327;
    background: #ffffff;
}

.elc-canvas-holder {
    position: relative;
}

.elc-canvas-holder canvas {
    width: 100% !important;
    height: 100% !important;
}

.elc-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border-radius: 50%;
    border: 3px solid rgba(128, 128, 128, 0.25);
    border-top-color: #a463f2;
    animation: elc-spin 0.8s linear infinite;
}

.elc-spinner.is-active {
    display: block;
}

@keyframes elc-spin {
    to { transform: rotate(360deg); }
}

.elc-wrap.elc-theme-dark {
    background: #1e2129;
}

.elc-wrap.elc-theme-light {
    background: #ffffff;
    border: 1px solid #eceef0;
}
