/* Analytics & Consent Modal Styles */

.consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.consent-modal.show {
    opacity: 1;
}

.consent-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.consent-header {
    padding: 2.5rem 3rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.consent-header h3 {
    margin: 0;
    font-size: 2.4rem;
    color: #fff;
    font-weight: 600;
}

.consent-body {
    padding: 2rem 3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.consent-body p {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
}

.consent-body ul {
    margin: 1rem 0 2rem 2rem;
    padding: 0;
}

.consent-body li {
    margin: 0.8rem 0;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
}

.consent-note {
    font-size: 1.3rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
}

.consent-checkboxes {
    padding: 0 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    cursor: pointer;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.consent-checkbox:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(218, 255, 115, 0.3);
}

.consent-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: rgba(218, 255, 115, 1);
}

.consent-checkbox span {
    flex: 1;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.consent-actions {
    padding: 0 3rem 2rem;
    display: flex;
    gap: 1.5rem;
}

.btn-consent {
    flex: 1;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: linear-gradient(135deg, rgba(218, 255, 115, 0.9), rgba(218, 255, 115, 0.7));
    color: #000;
}

.btn-accept:hover {
    background: linear-gradient(135deg, rgba(218, 255, 115, 1), rgba(218, 255, 115, 0.9));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 255, 115, 0.4);
}

.btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.consent-privacy {
    padding: 0 3rem 2.5rem;
    text-align: center;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.consent-privacy a {
    color: rgba(218, 255, 115, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.consent-privacy a:hover {
    color: rgba(218, 255, 115, 1);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .consent-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .consent-header {
        padding: 2rem;
    }

    .consent-header h3 {
        font-size: 2rem;
    }

    .consent-body {
        padding: 1.5rem 2rem;
    }

    .consent-checkboxes {
        padding: 0 2rem 1.5rem;
    }

    .consent-actions {
        padding: 0 2rem 1.5rem;
        flex-direction: column;
    }

    .consent-privacy {
        padding: 0 2rem 2rem;
    }
}

/* Scrollbar pour la modal */
.consent-modal-content::-webkit-scrollbar {
    width: 8px;
}

.consent-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.consent-modal-content::-webkit-scrollbar-thumb {
    background: rgba(218, 255, 115, 0.3);
    border-radius: 10px;
}

.consent-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(218, 255, 115, 0.5);
}
