/* ==========================================================================
   Formularios Lead - Colosal Software
   ========================================================================== */

.cs-form-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.cs-form-wrapper {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.12), 0 4px 16px rgba(0,0,0,0.06);
}

/* Titulo */
.cs-form-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 0 8px 0;
    text-align: center;
}

.cs-form-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 32px 0;
    text-align: center;
}

/* Campos */
.cs-field {
    margin-bottom: 20px;
}

.cs-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.cs-input,
.cs-field input[type="text"],
.cs-field input[type="email"],
.cs-field input[type="tel"],
.cs-field textarea,
.cs-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 15px;
    font-family: inherit;
    background: #f8fafc;
    color: #1e293b;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.cs-input:focus,
.cs-field input:focus,
.cs-field textarea:focus,
.cs-field select:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Radio buttons */
.cs-field input[type="radio"] {
    width: auto;
    margin-right: 8px;
}

.cs-field label:has(input[type="radio"]) {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    font-weight: 500;
    cursor: pointer;
}

/* Error */
.cs-error {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 600;
}

/* Botones */
.cs-btn-group {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.cs-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cs-btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
}

.cs-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.cs-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.cs-btn-secondary:hover {
    background: #e2e8f0;
}

/* Paso indicator */
.cs-step-indicator {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
}

/* Header con logo area */
.cs-form-header {
    text-align: center;
    margin-bottom: 24px;
}

.cs-form-header-logo {
    font-size: 24px;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 4px;
}

.cs-form-header-tagline {
    font-size: 13px;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 480px) {
    .cs-form-wrapper {
        padding: 32px 24px;
        border-radius: 20px;
    }
    .cs-form-title {
        font-size: 22px;
    }
}
