/* Modern Cookie Popup Styles */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(10px);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-popup-header {
    display: flex;
    align-items: center;
    padding: 20px 20px 0 20px;
    margin-bottom: 12px;
}

.cookie-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.cookie-icon i {
    color: white;
    font-size: 16px;
}

.cookie-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
}

.cookie-content {
    padding: 0 20px 20px 20px;
}

.cookie-description {
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 16px;
}

.cookie-link {
    color: #22c55e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cookie-link:hover {
    color: #16a34a;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px 20px;
}

.cookie-accept-btn {
    flex: 1;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.cookie-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.cookie-accept-btn:active {
    transform: translateY(0);
}

.cookie-decline-btn {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-decline-btn:hover {
    background: #f3f4f6;
    color: #374151;
    border-color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-accept-btn,
    .cookie-decline-btn {
        width: 100%;
    }
    
    .whatsapp-button {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 24px;
    }
}

/* Animation for cookie icon */
.cookie-icon {
    animation: cookieBounce 2s ease-in-out infinite;
}

@keyframes cookieBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* WhatsApp button styles */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-button i {
    font-size: 28px;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
    }
}

/* Hide cookie popup when declined */
.cookie-popup.hidden {
    display: none;
} 