/* ═══════════════════════════════════════════════════
   COOKIES — SPÉCIFIQUE
═══════════════════════════════════════════════════ */

/* CONTENT CARD (variante glassmorphism pour cookies) */
.content-card {
    background: var(--surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.05);
}

body.dark-theme .content-card:hover {
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
}

/* TOGGLE SWITCH */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

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

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

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

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

input:checked + .slider { background-color: #6366f1; }
input:checked + .slider:before { transform: translateX(22px); }

/* BUTTON GLOW */
.btn-glow { transition: all 0.3s ease; }
.btn-glow:hover {
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5);
    transform: scale(1.02);
}
.btn-glow:active { transform: scale(0.98); }
