/* Module de consentement yaaKa */

.yaaka-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.yaaka-consent-overlay.active {
    opacity: 1;
    visibility: visible;
}

.yaaka-consent-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.yaaka-consent-overlay.active .yaaka-consent-modal {
    transform: translateY(0) scale(1);
}

.yaaka-consent-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #a064e0 0%, #8a4dcf 100%);
}

.yaaka-consent-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.yaaka-consent-logo img {
    height: 40px;
    width: auto;
}

.yaaka-consent-logo img {
    height: 50px;
    width: auto;
}

.yaaka-consent-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 20px 0;
    text-align: center;
}

.yaaka-consent-text {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
}

.yaaka-consent-text strong {
    color: #2c3e50;
}

.yaaka-consent-highlight {
    background: linear-gradient(135deg, rgba(160, 100, 224, 0.08) 0%, rgba(138, 77, 207, 0.08) 100%);
    border-left: 3px solid #a064e0;
    padding: 12px 16px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
    font-size: 13px;
    color: #666;
}

.yaaka-consent-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
    justify-content: center;
}

.yaaka-consent-service {
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.yaaka-consent-buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.yaaka-consent-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
}

.yaaka-consent-btn-refuse {
    background: #f0f0f0;
    color: #666;
}

.yaaka-consent-btn-refuse:hover {
    background: #e5e5e5;
    color: #444;
}

.yaaka-consent-btn-accept {
    background: linear-gradient(135deg, #a064e0 0%, #8a4dcf 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(160, 100, 224, 0.3);
}

.yaaka-consent-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160, 100, 224, 0.4);
}

.yaaka-consent-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

.yaaka-consent-footer a {
    color: #a064e0;
    text-decoration: none;
}

.yaaka-consent-footer a:hover {
    text-decoration: underline;
}

/* Placeholder pour contenus bloqués */
.yaaka-blocked-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.yaaka-blocked-content svg {
    width: 48px;
    height: 48px;
    color: #adb5bd;
}

.yaaka-blocked-content p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    max-width: 300px;
}

.yaaka-blocked-content button {
    background: linear-gradient(135deg, #a064e0 0%, #8a4dcf 100%);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.yaaka-blocked-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(160, 100, 224, 0.3);
}

/* Responsive */
@media (max-width: 480px) {
    .yaaka-consent-modal {
        padding: 24px;
        margin: 16px;
        width: calc(100% - 32px);
    }
    
    .yaaka-consent-buttons {
        flex-direction: column-reverse;
    }
    
    .yaaka-consent-title {
        font-size: 18px;
    }
    
    .yaaka-consent-text {
        font-size: 13px;
    }
}
