/* Toggle Switch iOS Style */
.toggle-switch {
    width: 50px;
    height: 30px;
    background-color: #e5e7eb;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}
.toggle-switch.active {
    background-color: var(--primary); /* Green or Primary color */
}
body.dark .toggle-switch {
    background-color: #4b5563;
}
body.dark .toggle-switch.active {
    background-color: var(--primary);
}

.toggle-handle {
    width: 26px;
    height: 26px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-switch.active .toggle-handle {
    transform: translateX(20px);
}
