/* ChatFlow Widget CSS */
#chatflow-widget-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.chatflow-floating-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 16px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.chatflow-floating-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.4);
}

.chatflow-floating-btn svg {
    width: 24px;
    height: 24px;
}

.chatflow-widget-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    width: 320px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    animation: chatflowSlideUp 0.3s ease-out;
}

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

.chatflow-header {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatflow-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatflow-header-content svg {
    width: 24px;
    height: 24px;
}

.chatflow-header-title {
    font-weight: 600;
    font-size: 14px;
}

.chatflow-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.chatflow-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatflow-close-btn svg {
    width: 20px;
    height: 20px;
}

.chatflow-content {
    padding: 24px;
}

.chatflow-description {
    color: #374151;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
}

.chatflow-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chatflow-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.chatflow-option:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.chatflow-option-icon {
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatflow-option-icon.spain {
    background: #22c55e;
}

.chatflow-option-icon.international {
    background: #22c55e;
}

.chatflow-option-icon.email {
    background: #3b82f6;
}

.chatflow-option-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.chatflow-option-content {
    flex: 1;
    text-align: left;
}

.chatflow-option-title {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    margin-bottom: 2px;
}

.chatflow-option-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.chatflow-option-arrow {
    width: 32px;
    height: 32px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.chatflow-option:hover .chatflow-option-arrow {
    opacity: 1;
}

.chatflow-option-arrow svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.chatflow-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.chatflow-status-dot {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    animation: chatflowPulse 2s infinite;
}

@keyframes chatflowPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chatflow-status-text {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
    .chatflow-widget-modal {
        width: 300px;
    }
    
    .chatflow-floating-btn span {
        display: none;
    }
    
    .chatflow-floating-btn {
        padding: 16px;
        border-radius: 50%;
    }
}
