/* Premium Floating Save Button Style */
.floating-save-btn {
    position: fixed;
    bottom: 10%;
    right: 2rem;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4), 0 8px 10px -6px rgba(99, 102, 241, 0.4);
    background-color: var(--color-accent, #6366f1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none !important;
}

.floating-save-btn:hover {
    background-color: var(--color-accent-hover, #4f46e5);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.5), 0 10px 10px -5px rgba(99, 102, 241, 0.5);
}

.floating-save-btn:active {
    transform: translateY(-1px) scale(1.0);
}

/* Ensure visibility in dark mode with a subtle glow */
.dark .floating-save-btn {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.25), 0 8px 10px -6px rgba(99, 102, 241, 0.25);
}

/* Premium Switch Toggle CSS */
.switch-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.switch-input {
    display: none;
}

.switch-slider {
    position: relative;
    width: 2.75rem;
    height: 1.5rem;
    background-color: #cbd5e1;
    border-radius: 9999px;
    transition: background-color 0.25s ease;
    margin-right: 0.75rem;
}

.switch-slider::before {
    content: "";
    position: absolute;
    top: 0.125rem;
    left: 0.125rem;
    width: 1.25rem;
    height: 1.25rem;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.switch-input:checked + .switch-slider {
    background-color: var(--color-accent, #6366f1);
}

.switch-input:checked + .switch-slider::before {
    transform: translateX(1.25rem);
}

.dark .switch-slider {
    background-color: #475569;
}