/* Return Trip Toggle Component Styles */

/* Return Trip Toggle Container */
.return-trip-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

.return-trip-checkbox {
    display: none;
}

.return-trip-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.return-trip-label:hover {
    color: #f0d000;
}

.return-trip-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: #e9ecef;
    border-radius: 30px;
    margin-right: 16px;
    transition: all 0.3s ease;
    box-shadow: none;
    border: none;
    outline: none;
}

.return-trip-label:hover .return-trip-switch {
    background: #f0d000;
    border: none;
}

.return-trip-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: none;
}

.return-trip-checkbox:checked + .return-trip-label .return-trip-switch {
    background: #ffc107;
    box-shadow: none;
    border: none;
    outline: none;
}

.return-trip-checkbox:checked + .return-trip-label .return-trip-slider {
    transform: translateX(30px);
}

.return-trip-checkbox:checked + .return-trip-label:hover .return-trip-switch {
    background: #ffca2c;
    border: none;
    outline: none;
}

/* Return Trip Toggle Mobile Responsive */
@media (max-width: 768px) {
    .return-trip-label {
        font-size: 14px;
    }

    .return-trip-switch {
        width: 50px;
        height: 26px;
        margin-right: 12px;
    }

    .return-trip-slider {
        width: 20px;
        height: 20px;
        top: 3px;
        left: 3px;
    }

    .return-trip-checkbox:checked + .return-trip-label .return-trip-slider {
        transform: translateX(24px);
    }
}
