/* Cyber Consent Manager — Toggle Switch, Buttons & Mobile */

.cc-switch { position: relative; width: 44px; height: 24px; }
.cc-switch input { opacity: 0; width: 0; height: 0; }

.cc-slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1); transition: .4s; border-radius: 34px;
}
.cc-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }

input:checked + .cc-slider { background-color: var(--cyber-blue); box-shadow: 0 0 10px var(--cyber-blue); }
input:checked + .cc-slider:before { transform: translateX(20px); }
input:disabled + .cc-slider { background-color: rgba(255, 255, 255, 0.1); cursor: not-allowed; opacity: 0.5; }
input:disabled + .cc-slider:before { background-color: rgba(255, 255, 255, 0.5); }

.cc-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.cc-btn { padding: 10px 24px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; border: none; outline: none; }
.cc-btn-secondary { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: white; }
.cc-btn-secondary:hover { border-color: white; background: rgba(255, 255, 255, 0.05); }

.cc-btn-primary {
    background: linear-gradient(45deg, var(--cyber-blue), var(--cyber-purple));
    color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.3);
}
.cc-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 25px rgba(188, 19, 254, 0.5); }

.cc-details-toggle { margin-top: 12px; font-size: 0.85rem; color: var(--cyber-blue); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; }

#cc-details-panel { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); animation: slideDown 0.3s ease-out; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile Optimization */
@media (max-width: 640px) {
    .cyber-consent-modal { margin: 0; border-radius: 16px 16px 0 0; border-bottom: none; }
    .cc-actions { flex-direction: column; }
    .cc-btn { width: 100%; text-align: center; }
}
