/* Custom Switch Styles */
.toggle {
    position: absolute;
    bottom: 150px;
    width: 100%;
    text-align: center;
    padding-bottom: 20px; /* Optional: extra space inside the container */
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 34px;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ddd;
    transition: 0.4s;
    border-radius: 34px;
}

.custom-slider:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ON State */
.custom-switch input:checked + .custom-slider {
    background-color: #2ecc71; /* Calm green */
}

.custom-switch input:checked + .custom-slider:before {
    transform: translateX(36px);
}
