/* --- COMPONENT SPECIFIC: ACCOUNT & API CONFIGURATION (PREFIX: acc-) --- */

#view-account .acc-panel {
    max-width: 600px;
    margin: 20px auto;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

#view-account .acc-form-control,
#view-account select, 
#view-account input {
    background: var(--bg-panel);
    color: #fff;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 12px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

#view-account select:focus, 
#view-account input:focus {
    border-color: var(--color-yellow);
}

#view-account .acc-btn-submit {
    background: transparent !important;
    color: var(--accent-gold, #ffd043) !important;
    border: 1px solid var(--accent-gold, #ffd043) !important;
    padding: 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#view-account .acc-btn-submit:hover {
    background: var(--accent-gold, #ffd043) !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(255, 208, 67, 0.4);
}

#acc-apiConfigStatusMsg,
#acc-strategyStatusMsg {
    font-size: 11px;
    text-align: center;
    padding: 6px;
    border-radius: 4px;
    margin-top: 6px;
    font-weight: 600;
}

/* =========================================================================
 * B? CH?N THANH TRU?T RADAR (PREFIX: acc-radar-)
 * ========================================================================= */
.acc-radar-badge {
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
}

.acc-radar-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--bg-panel);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.acc-radar-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-yellow);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(255, 208, 67, 0.5);
    transition: transform 0.1s;
}

.acc-radar-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.acc-radar-tooltip {
    background: var(--bg-panel);
    border-left: 4px solid #73d13d;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    transition: all 0.2s ease;
}

/* =========================================================================
 * DUAL-THUMB RANGE SLIDER L?CH TRÌNH 24H (PREFIX: acc-time-)
 * ========================================================================= */
.acc-time-slider-container {
    position: relative;
    width: 100%;
    height: 24px;
    margin: 8px 0;
}

.acc-time-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: var(--bg-panel);
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.acc-time-highlight {
    position: absolute;
    height: 6px;
    background: var(--color-yellow);
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 6px rgba(255, 208, 67, 0.4);
    left: 0%;
    right: 0%;
}

.acc-time-dual-slider {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
    margin: 0;
    top: 0;
    left: 0;
    outline: none;
}

.acc-time-dual-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-yellow);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 8px rgba(255, 208, 67, 0.6);
    border: 2px solid #000;
    transition: transform 0.1s ease;
}

.acc-time-dual-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.acc-time-dual-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-yellow);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 8px rgba(255, 208, 67, 0.6);
    border: 2px solid #000;
}

/* =========================================================================
 * B? CH?N NGÀY TRONG TU?N (PREFIX: acc-day-)
 * ========================================================================= */
.acc-day-pill {
    background: var(--bg-panel);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    user-select: none;
    transition: all 0.2s ease;
}

.acc-day-pill input {
    display: none !important;
}

.acc-day-pill.active {
    background: transparent !important;
    border-color: var(--accent-gold, #ffd043) !important;
    color: var(--accent-gold, #ffd043) !important;
    box-shadow: 0 0 10px rgba(255, 208, 67, 0.2);
}
