/* Floating Contact Form - Styles */

.fcf-chat-bubble {
    position: fixed;
    bottom: 115px;
    right: 30px;
    background: white;
    padding: 16px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 280px;
    z-index: 999;
    opacity: 0;
    transform: translateY(10px);
    animation: fcfBubbleAppear 0.5s ease forwards 1s;
}

.fcf-chat-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.fcf-chat-bubble-text {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.fcf-typing-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: var(--fcf-button-color, #037981);
    margin-left: 2px;
    animation: fcfBlink 0.7s infinite;
}

@keyframes fcfBubbleAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fcfBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.fcf-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--fcf-button-color, #037981), var(--fcf-button-color-light, #03949e));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    z-index: 1000;
    animation: fcfFloat 3s ease-in-out infinite;
    border: none;
}

.fcf-floating-btn:hover {
    transform: scale(1.1);
}

.fcf-floating-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: fcfPulse 2s ease-out infinite;
}

.fcf-floating-btn i {
    font-size: 30px;
    color: white;
    z-index: 1;
}

@keyframes fcfFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fcfPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Modal */
.fcf-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }

.fcf-modal.active {
    display: flex;
}

@keyframes fcfFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fcf-modal-content {
            background: radial-gradient(at top center, #18212e 0%, #0b0d10 50%);
            width: 90%;
            max-width: 900px;
            border-radius: 8px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            position: relative;
            max-height: 90vh;
            overflow-y: auto;
            animation: slideUp 0.3s ease;
        }

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

.fcf-modal-header {
    color: #ffffff;
    padding: 24px 30px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fcf-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.fcf-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.fcf-close-btn:hover {
    transform: rotate(90deg);
}

.fcf-modal-body {
    padding: 30px;
}

.fcf-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fcf-form-group {
    margin-bottom: 0;
}

.fcf-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

.fcf-form-group input,
.fcf-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    font-family: inherit;
}

.fcf-form-group input:focus,
.fcf-form-group textarea:focus {
    outline: none;
    border-color: var(--fcf-button-color, #037981);
}

.fcf-form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.fcf-checkbox-group {
    margin-bottom: 0;
}

.fcf-checkbox-group > label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

.fcf-checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.fcf-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

.fcf-checkbox-item label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    color: #fff;
}

.fcf-submit-btn {
    background: var(--fcf-button-color, #037981);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
    margin-top: 20px;
}

.fcf-submit-btn:hover {
    background: var(--fcf-button-color-light, #0098a3);
}

/* Mensagem de sucesso */
.fcf-success-message {
    display: none;
    text-align: center;
    padding: 40px 30px;
}

.fcf-success-message.active {
    display: block;
}

.fcf-success-message h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}

.fcf-success-message p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.fcf-whatsapp-btn {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.fcf-whatsapp-btn:hover {
    background: #20BA5A;
    color: #fff;
}

@media (max-width: 768px) {
    .fcf-form-grid {
        grid-template-columns: 1fr;
    }
    
    .fcf-chat-bubble {
        max-width: 250px;
        right: 20px;
        bottom: 100px;
    }
    
    .fcf-floating-btn {
        bottom: 20px;
        right: 20px;
    }
}