/* NEXI BOT LTD - Professional Consent Popup Styles */
.consent-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.consent-popup-overlay.consent-popup-show {
    opacity: 1;
    visibility: visible;
}

.consent-popup-overlay.consent-popup-hide {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
}

.consent-popup-container {
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 0 1px rgba(230, 79, 33, 0.1);
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.6s cubic-bezier(0.4,0,0.2,1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.consent-popup-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(230, 79, 33, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(230, 79, 33, 0.05) 0%, transparent 100%);
    border-radius: 24px 24px 0 0;
}

.consent-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.consent-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid rgba(230, 79, 33, 0.2);
}

.consent-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
}

.consent-badge {
    background: linear-gradient(135deg, #e64f21 0%, #ff6b3d 100%);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(230, 79, 33, 0.3);
}

.consent-badge-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.consent-popup-content {
    padding: 30px;
    color: #ffffff;
}

.consent-heading {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-align: center;
    letter-spacing: -0.5px;
}

.consent-text {
    font-size: 16px;
    line-height: 1.6;
    color: #b3b3b3;
    margin: 0 0 30px 0;
    text-align: center;
}

.consent-legal-info {
    margin: 30px 0;
}

.consent-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.consent-info-item {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(230, 79, 33, 0.1);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.consent-info-item:hover {
    border-color: rgba(230, 79, 33, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 79, 33, 0.1);
}

.consent-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e64f21 0%, #ff6b3d 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}

.consent-info-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.consent-info-content p {
    font-size: 14px;
    color: #b3b3b3;
    margin: 0;
    line-height: 1.5;
}

.consent-legal-notice {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(230, 79, 33, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
}

.consent-legal-notice p {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-align: center;
}

.consent-legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.consent-legal-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #b3b3b3;
}

.consent-legal-list li:before {
    content: "•";
    color: #e64f21;
    font-weight: bold;
    font-size: 16px;
}

.consent-link {
    color: #e64f21;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.consent-link:hover {
    color: #ff6b3d;
    text-decoration: underline;
}

.consent-popup-actions {
    padding: 0 30px 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.consent-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.consent-btn-accept {
    background: linear-gradient(135deg, #e64f21 0%, #ff6b3d 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(230, 79, 33, 0.3);
}

.consent-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 79, 33, 0.4);
    background: linear-gradient(135deg, #ff6b3d 0%, #e64f21 100%);
}

.consent-btn-session {
    background: rgba(26, 26, 26, 0.8);
    color: #ffffff;
    border: 1px solid rgba(230, 79, 33, 0.3);
}

.consent-btn-session:hover {
    background: rgba(230, 79, 33, 0.1);
    border-color: rgba(230, 79, 33, 0.5);
    transform: translateY(-1px);
}

.consent-btn-learn-more {
    background: transparent;
    color: #b3b3b3;
    border: 1px solid rgba(179, 179, 179, 0.3);
}

.consent-btn-learn-more:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.consent-btn-icon {
    font-size: 16px;
    font-weight: 600;
}

.consent-popup-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid rgba(230, 79, 33, 0.1);
    text-align: center;
    background: rgba(10, 10, 10, 0.3);
    border-radius: 0 0 24px 24px;
}

.consent-company-info {
    font-size: 12px;
    color: #b3b3b3;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes slideInUp {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .consent-popup-overlay {
        padding: 15px;
    }
    
    .consent-popup-container {
        border-radius: 20px;
        max-height: 95vh;
    }
    
    .consent-popup-header {
        padding: 20px 20px 15px;
        border-radius: 20px 20px 0 0;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .consent-title {
        font-size: 20px;
    }
    
    .consent-popup-content {
        padding: 20px;
    }
    
    .consent-heading {
        font-size: 24px;
    }
    
    .consent-popup-actions {
        padding: 0 20px 15px;
        flex-direction: column;
    }
    
    .consent-btn {
        min-width: auto;
    }
    
    .consent-popup-footer {
        padding: 15px 20px 20px;
    }
}

@media (max-width: 480px) {
    .consent-popup-container {
        border-radius: 16px;
    }
    
    .consent-popup-header {
        border-radius: 16px 16px 0 0;
    }
    
    .consent-heading {
        font-size: 22px;
    }
    
    .consent-text {
        font-size: 15px;
    }
    
    .consent-info-item {
        padding: 15px;
    }
    
    .consent-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .consent-legal-list {
        grid-template-columns: 1fr;
    }
}
