/* Public-facing styles for lead forms and viral content */

.fbvm-lead-form-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 30px;
    color: white;
    text-align: center;
    margin: 20px 0;
}

.fbvm-lead-form-widget h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.fbvm-lead-form-widget p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.fbvm-lead-form-widget input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.fbvm-lead-form-widget button {
    width: 100%;
    padding: 12px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fbvm-lead-form-widget button:hover {
    transform: translateY(-2px);
}

.fbvm-viral-badge {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fbvm-share-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.fbvm-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.fbvm-share-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.fbvm-share-facebook {
    background: #1877f2;
}

.fbvm-share-twitter {
    background: #1da1f2;
}

.fbvm-share-linkedin {
    background: #0077b5;
}

/* Exit Popup */
.fbvm-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
}

.fbvm-exit-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    text-align: center;
    z-index: 10000;
}

.fbvm-close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.fbvm-close-popup:hover {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .fbvm-share-buttons {
        flex-direction: column;
    }
    
    .fbvm-exit-popup {
        width: 95%;
        padding: 20px;
    }
}

/* Floating Lead Form */
.fbvm-floating-form {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.fbvm-floating-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.fbvm-floating-trigger:hover {
    transform: scale(1.1);
}

.fbvm-floating-content {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.fbvm-success {
    background: #c6f6d5;
    color: #22543d;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.fbvm-error {
    background: #fed7d7;
    color: #742a2a;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}
