/* Cookie Consent Styling */
:root {
    --cc-bg: #1a1a1a;
    --cc-text: #ffffff;
    --cc-btn-primary-bg: #ff6b35;
    --cc-btn-primary-text: #ffffff;
    --cc-btn-primary-hover-bg: #e55a2b;
    --cc-btn-secondary-bg: transparent;
    --cc-btn-secondary-text: #ffffff;
    --cc-btn-secondary-hover-bg: rgba(255, 255, 255, 0.1);
    --cc-toggle-bg-off: #919191;
    --cc-toggle-bg-on: #ff6b35;
    --cc-toggle-bg-readonly: #d5d5d5;
    --cc-toggle-knob-bg: #ffffff;
    --cc-toggle-knob-icon-color: #ecf2fa;
    --cc-block-text: #ffffff;
    --cc-cookie-category-block-bg: #2d2d2d;
    --cc-cookie-category-block-bg-hover: #3d3d3d;
    --cc-section-border: #444444;
    --cc-cookie-table-border: #444444;
    --cc-overlay-bg: rgba(0, 0, 0, 0.8);
    --cc-webkit-scrollbar-bg: #2d2d2d;
    --cc-webkit-scrollbar-bg-hover: #3d3d3d;
}

/* Custom styling for the cookie consent */
.cc-main {
    font-family: 'Sawarabi Mincho', serif !important;
}

.cc-main .cc-btn {
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cc-main .cc-btn:hover {
    transform: translateY(-1px);
}

/* Style pour les boutons personnalisés */
.cc-main .cc-btn.cc-btn--primary {
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border: none;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.cc-main .cc-btn.cc-btn--primary:hover {
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Style pour le modal des préférences */
.cc-main .pm__section {
    border-bottom: 1px solid var(--cc-section-border);
}

.cc-main .pm__section:last-child {
    border-bottom: none;
}

/* Animation d'entrée */
.cc-main.cc--anim {
    animation: cc-fadeInUp 0.4s ease-out;
}

@keyframes cc-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cc-main .cc-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}