/**
 * Lead Tracking Frontend Styles
 */

.lt-form-wrapper {
    max-width: 800px; /* Wider form */
    width: 100%;
    margin: 0 auto;
}

.lt-form {
    background: #fff;
    padding: 40px; /* More padding for better spacing */
    border-radius: 12px; /* Slightly more rounded */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.lt-form-title {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.lt-form-field {
    margin-bottom: 24px;
}

.lt-form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
}

.lt-form-field input[type="text"],
.lt-form-field input[type="email"],
.lt-form-field input[type="tel"],
.lt-form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.lt-form-field input:focus,
.lt-form-field textarea:focus {
    outline: none;
    border-color: #2563eb; /* Blue focus color */
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.lt-form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.lt-privacy label {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: #666;
}

.lt-privacy input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 2px;
}

.lt-submit-button {
    width: 100%;
    padding: 16px 24px;
    background: #2563eb; /* Blue color */
    color: white;
    border: none;
    border-radius: 25px; /* Rounded button */
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.lt-submit-button:hover {
    background: #1d4ed8; /* Darker blue on hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.lt-submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.lt-form-messages {
    margin-top: 20px;
}

.lt-success,
.lt-error {
    padding: 12px;
    border-radius: 4px;
    margin-top: 10px;
}

.lt-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.lt-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Quick lead form specific styles */
.lt-form[data-template="quick_lead"] {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.lt-form[data-template="quick_lead"] .lt-form-title {
    color: #1f2937;
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.lt-form[data-template="quick_lead"] input {
    background: #ffffff;
    border: 1px solid #d1d5db;
}

.lt-form[data-template="quick_lead"] .lt-submit-button {
    background: #2563eb;
    margin-top: 10px;
}

.lt-form[data-template="quick_lead"] .lt-submit-button:hover {
    background: #1d4ed8;
}

/* Popup form styles */
.vibe-form-popup .lt-form,
.lt-popup .lt-form,
.popup .lt-form {
    max-width: 500px;
    margin: 0 auto;
}

.vibe-form-popup .lt-submit-button,
.lt-popup .lt-submit-button,
.popup .lt-submit-button {
    background: #2563eb !important; /* Force blue for popups */
    border-radius: 25px !important;
}

.vibe-form-popup .lt-submit-button:hover,
.lt-popup .lt-submit-button:hover,
.popup .lt-submit-button:hover {
    background: #1d4ed8 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .lt-form-wrapper {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .lt-form {
        padding: 25px;
    }
    
    .lt-form-title {
        font-size: 22px;
    }
}