/**
 * CSS Público - CRM Leads Kanban
 *
 * @link       https://dantetesta.com.br
 * @since      1.0.0
 * @package    CRM_Leads_Kanban
 * @author     Dante Testa <contato@dantetesta.com.br>
 */

.clk-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.clk-form-title {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
}

.clk-lead-capture-form .clk-form-group {
    margin-bottom: 20px;
}

.clk-lead-capture-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.clk-lead-capture-form label .required {
    color: #ef4444;
}

.clk-lead-capture-form input,
.clk-lead-capture-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.clk-lead-capture-form input:focus,
.clk-lead-capture-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.clk-lead-capture-form input::placeholder,
.clk-lead-capture-form textarea::placeholder {
    color: #9ca3af;
}

.clk-lead-capture-form textarea {
    resize: vertical;
    min-height: 100px;
}

.clk-form-submit {
    margin-top: 28px;
}

.clk-submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clk-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.clk-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.clk-form-message,
.clk-form-error {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 12px;
    text-align: center;
    animation: clkFadeIn 0.4s ease;
}

@keyframes clkFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.clk-form-message {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #6ee7b7;
}

.clk-success-message {
    margin: 0;
    color: #065f46;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.clk-success-message::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}

.clk-form-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fca5a5;
}

.clk-error-message {
    margin: 0;
    color: #991b1b;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.clk-error-message::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .clk-form-wrapper {
        padding: 20px;
        margin: 0 10px;
        border-radius: 12px;
    }

    .clk-form-title {
        font-size: 20px;
    }

    .clk-lead-capture-form input,
    .clk-lead-capture-form textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .clk-submit-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}