/* LeadCrafter - Grand Slam Lead Magnets Frontend Styles */

.leadcrafter-form-wrap {
    max-width: 500px;
    margin: 20px 0;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: 1px solid #f0f0f1;
}

.leadcrafter-form h3 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

.leadcrafter-input-group {
    display: flex;
    gap: 10px;
}

.leadcrafter-input-group input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #334155;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.leadcrafter-input-group input[type="email"]:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.leadcrafter-input-group button {
    padding: 12px 24px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.leadcrafter-input-group button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.leadcrafter-input-group button:active {
    transform: translateY(0);
}

.leadcrafter-input-group button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.leadcrafter-message {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

.leadcrafter-message.success {
    color: #059669;
    font-weight: 600;
}

.leadcrafter-message.error {
    color: #dc2626;
}

/* Response Animations */
@keyframes leadcrafter-fade-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.leadcrafter-message:not(:empty) {
    animation: leadcrafter-fade-in 0.3s ease-out;
}
