/* ===== FORMULARIO SIMPLIFICADO ===== */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h2 {
    color: #033f08e3;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 0.9rem;
}

/* Estructura del formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Grupos de formulario simplificados */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #333;
    font-size: 0.9rem;
}

/* Campos de entrada compactos */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #033f08e3;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Contador de caracteres */
.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.2rem;
}

/* Mensajes de error compactos */
.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.2rem;
    min-height: 1rem;
}

/* Botón simplificado */
.form-footer {
    margin-top: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 0.8rem;
    background: #033f08e3;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #022a06;
}

.submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

/* Spinner compacto */
.loading-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mensajes de resultado */
.mensaje-resultado {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    display: none;
    font-size: 0.9rem;
}

.mensaje-resultado.mensaje-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje-resultado.mensaje-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .form-container {
        margin: 1rem;
        padding: 1rem;
    }
    
    .form-header h2 {
        font-size: 1.3rem;
    }
    
    .contact-form {
        gap: 0.8rem;
    }
}