.spp-wrapper {
    --spp-bg-body: #0f1115;
    --spp-bg-panel: #1a1d24;
    --spp-bg-card: #232730;
    --spp-bg-hover: #2c313c;
    --spp-acc: #00e5ff;
    --spp-acc-dim: rgba(0, 229, 255, 0.15);
    --spp-ok: #00e676;
    --spp-warn: #ffea00;
    --spp-err: #ff1744;
    --spp-txt-main: #e2e8f0;
    --spp-txt-mut: #94a3b8;
    --spp-border: #334155;
    --spp-rad: 12px;

    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--spp-bg-body);
    color: var(--spp-txt-main);
    display: flex;
    height: 90vh;
    min-height: 700px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.spp-wrapper * {
    box-sizing: border-box;
}

.spp-sidebar {
    width: 360px;
    background: var(--spp-bg-panel);
    border-right: 1px solid var(--spp-border);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
    flex-shrink: 0;
}

.spp-main-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: var(--spp-bg-body);
    position: relative;
}

.spp-h1 {
    font-size: 22px;
    margin: 0 0 8px;
    font-weight: 700;
    color: #fff;
}

.spp-h2 {
    font-size: 14px;
    color: var(--spp-txt-mut);
    text-transform: uppercase;
    margin: 24px 0 12px;
    border-bottom: 1px solid var(--spp-border);
    padding-bottom: 6px;
}

.spp-sub {
    color: var(--spp-txt-mut);
    font-size: 13px;
    margin-bottom: 20px;
}

.spp-card {
    background: var(--spp-bg-card);
    border-radius: var(--spp-rad);
    padding: 16px;
    margin-bottom: 16px;
}

.spp-drop {
    border: 2px dashed var(--spp-border);
    border-radius: 8px;
    padding: 16px 10px;
    text-align: center;
    color: var(--spp-txt-mut);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.2);
}

.spp-drop.spp-hover {
    border-color: var(--spp-acc);
    color: var(--spp-acc);
    background: var(--spp-acc-dim);
}

.spp-btn-group {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.spp-btn {
    flex: 1;
    background: var(--spp-acc);
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.spp-btn.spp-sec {
    background: var(--spp-bg-card);
    color: var(--spp-txt-main);
    border: 1px solid var(--spp-border);
}

/* Switches */
.spp-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
}

.spp-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.spp-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.spp-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--spp-border);
    border-radius: 20px;
    transition: .3s;
}

.spp-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .3s;
}

.spp-switch input:checked+.spp-slider {
    background-color: var(--spp-acc);
}

.spp-switch input:checked+.spp-slider:before {
    transform: translateX(16px);
}

.spp-select {
    background: var(--spp-bg-body);
    color: var(--spp-txt-main);
    border: 1px solid var(--spp-border);
    padding: 4px 8px;
    border-radius: 6px;
}

.spp-main-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.spp-main-content th,
.spp-main-content td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--spp-border);
}

.spp-main-content th {
    background: #1e222b;
    color: var(--spp-acc);
}

/* Colors */
.spp-ok {
    color: var(--spp-ok);
}

.spp-err {
    color: var(--spp-err);
}

.spp-mut {
    color: var(--spp-txt-mut);
}

.plot-page {
    background: #fff;
    color: #000;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.fx-box {
    position: absolute;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fx-label {
    position: absolute;
    text-align: center;
    line-height: 1.1;
    color: #111;
    white-space: nowrap;
    transform: translateX(-50%);
    font-weight: bold;
}