/* --- High-Density Settings Layout --- */
.sc-settings-container {
    display: flex;
    background: #09090b;
    border: 1px solid #1a1a1c;
    border-radius: 4px;
    overflow: hidden;
}

/* Fixed Dimensions implementation */
.sc-settings-container.fixed-dimensions {
    width: 600px;
    height: 480px; 
}

.sc-settings-sidebar {
    width: 170px;
    background: #0d0d0f;
    border-right: 1px solid #1a1a1c;
    flex-shrink: 0;
}

.st-nav-item {
    padding: 14px 18px;
    font-size: 11px;
    color: #52525b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.st-nav-item i { width: 14px; text-align: center; font-size: 13px; }
.st-nav-item:hover { background: #18181b; color: #fff; }
.st-nav-item.active { background: #18181b; color: #3b82f6; border-right: 2px solid #3b82f6; }

.sc-settings-main {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* --- Content Modules --- */
.st-group { margin-bottom: 28px; }
.st-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #3f3f46;
    margin-bottom: 14px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.st-row {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: opacity 0.2s;
}

.st-row span { font-size: 11px; color: #a1a1aa; }
.st-row.disabled { opacity: 0.2; pointer-events: none; }

.st-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #1a1a1c;
    cursor: pointer;
}

.st-toggle-row span { font-size: 12px; color: #d4d4d8; }

/* --- Stylized Sliders --- */
.stylized-slider-row {
    background: #0d0d0f;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #1a1a1c;
}

.st-slider-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.st-val { font-family: monospace; font-size: 11px; color: #3b82f6; font-weight: 700; }

.st-slider-container input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #27272a;
    border-radius: 2px;
    outline: none;
}

.st-slider-container input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #3b82f6;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #09090b;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.4);
}

/* --- Toggles & Widgets --- */
.st-toggle {
    width: 34px;
    height: 18px;
    background: #1a1a1c;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: 0.2s;
}

.st-toggle::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 12px; height: 12px;
    background: #3f3f46;
    border-radius: 50%;
    transition: 0.2s;
}

.st-toggle.on { background: rgba(59, 130, 246, 0.3); }
.st-toggle.on::after { left: 19px; background: #3b82f6; }

/* --- Radio Items (Mouse & Targeting) --- */
.st-radio-item {
    display: flex; gap: 15px;
    padding: 14px;
    margin-bottom: 6px;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
}

.st-radio-item:hover { background: rgba(255,255,255,0.02); }
.st-radio-item.active { background: rgba(59, 130, 246, 0.04); border: 1px solid rgba(59, 130, 246, 0.2); }

.st-radio-circle {
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 2px solid #3f3f46;
    margin-top: 2px;
    position: relative;
    flex-shrink: 0;
}

.st-radio-item.active .st-radio-circle { border-color: #3b82f6; }
.st-radio-item.active .st-radio-circle::after {
    content: ''; position: absolute;
    top: 3px; left: 3px; width: 6px; height: 6px;
    background: #3b82f6; border-radius: 50%;
}

.st-radio-text strong { display: block; font-size: 11px; color: #fff; margin-bottom: 3px; }
.st-radio-text p { font-size: 10px; color: #52525b; line-height: 1.5; margin: 0; }

/* --- Calibration & Action Rows --- */
.st-action-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px; background: #0c0c0e;
    border: 1px solid #1a1a1c; border-radius: 4px;
    margin-bottom: 8px;
}

.st-action-info strong { display: block; font-size: 11px; color: #fff; margin-bottom: 2px; }
.st-action-info span { font-size: 10px; color: #52525b; line-height: 1.4; }

.st-rect-btn {
    background: #18181b; border: 1px solid #27272a;
    color: #d4d4d8; padding: 7px 14px;
    font-size: 10px; font-weight: 700;
    cursor: pointer; border-radius: 3px;
}

.st-rect-btn:hover { background: #27272a; color: #fff; border-color: #3f3f46; }

/* --- Account Displays --- */
.st-account-banner {
    padding: 24px;
    background: linear-gradient(135deg, #1e1b4b 0%, #0c0c0e 100%);
    border: 1px solid #312e81;
    border-radius: 6px;
    margin-bottom: 25px;
}

.st-tier-badge { font-size: 9px; font-weight: 900; color: #818cf8; text-transform: uppercase; letter-spacing: 1px; }
.st-user-name { font-size: 18px; font-weight: 700; color: #fff; margin-top: 5px; }
.st-user-sub { font-size: 11px; color: #52525b; margin-top: 3px; }

.st-info-row {
    display: flex; justify-content: space-between;
    padding: 12px 0; border-bottom: 1px solid #1a1a1c;
    font-size: 11px; color: #a1a1aa;
}

.val-green { color: #10b981; font-weight: 700; }

/* Global Scrollbar */
.sc-custom-scroll::-webkit-scrollbar { width: 6px; }
.sc-custom-scroll::-webkit-scrollbar-track { background: #09090b; }
.sc-custom-scroll::-webkit-scrollbar-thumb { background: #1a1a1c; border-radius: 10px; }
.sc-custom-scroll::-webkit-scrollbar-thumb:hover { background: #27272a; }

.sc-modal-close{
    cursor: pointer;
}