/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #4A2A3A;
    border-radius: 6px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #FD79A8;
}

/* Range Slider */
.custom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #4A2A3A;
    border-radius: 6px;
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FD79A8;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(253, 121, 168, 0.4);
    transition: transform 0.1s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.custom-range::-webkit-slider-thumb:active {
    transform: scale(0.9);
}

/* Nav item active state */
.nav-item.active {
    background: rgba(45, 22, 35, 1);
    border-left: 3px solid #FD79A8;
    padding-left: calc(0.75rem - 3px);
    /* Match left padding minus border */
}

.nav-item.active div {
    color: #fdf2f8;
}

/* OKR Card Status Border Colors */
.status-track .status-bottom-line {
    background-color: #00CEC9;
}

.status-risk .status-bottom-line {
    background-color: #fadb5f;
}

.status-behind .status-bottom-line {
    background-color: #ff7675;
}

.status-none .status-bottom-line {
    background-color: #4A2A3A;
}

/* Status Badges */
.badge-track {
    background: rgba(0, 206, 201, 0.15);
    color: #00CEC9;
    border: 1px solid rgba(0, 206, 201, 0.3);
}

.badge-risk {
    background: rgba(250, 219, 95, 0.15);
    color: #fadb5f;
    border: 1px solid rgba(250, 219, 95, 0.3);
}

.badge-behind {
    background: rgba(255, 118, 117, 0.15);
    color: #ff7675;
    border: 1px solid rgba(255, 118, 117, 0.3);
}

.badge-none {
    background: rgba(253, 121, 168, 0.1);
    color: #FD79A8;
    border: 1px solid rgba(253, 121, 168, 0.2);
}

/* History timeline */
.history-item::before {
    content: '';
    position: absolute;
    left: -13px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FD79A8;
    border: 2px solid #1A0A14;
}

.history-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 14px;
    bottom: -14px;
    width: 2px;
    background: #4A2A3A;
}