/* form-style.css - Estilos del formulario de donaciones */
/* Versión combinada - Última actualización: 2025-06-02 */

/* ===========================================
   Estilos para selects y opciones
   =========================================== */
/* Contenedor del select para mejor control */
body .hbp-donation-form .hbp-form-group {
    margin-bottom: 10px; /* Reducido de 15px */
    position: relative;
    width: 100%;
}

/* Estilos base para el select */
.hbp-select {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    line-height: 1.5;
    height: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Estilo cuando el select está expandido */
.hbp-select.expanded {
    position: relative;
    z-index: 1000;
    border-color: #999;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* Estilos para las opciones del select */
.hbp-select option {
    padding: 10px 15px;
    background-color: white;
    color: #333;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}

/* Estilo al pasar el mouse sobre las opciones */
.hbp-select option:hover,
.hbp-select option:focus {
    background-color: #f5f5f5 !important;
}

/* Estilo para la opción seleccionada */
.hbp-select option:checked {
    background-color: #f0f0f0 !important;
    font-weight: 500;
}

/* Estilo para el foco */
.hbp-select:focus {
    border-color: #cc0000;
    box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.2);
    outline: none;
}

/* Estilos para el selector nativo */
.hbp-native-select {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    height: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    margin: 0;
}

/* Estilos para navegadores WebKit (Chrome, Safari) */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .hbp-native-select {
        padding-right: 30px;
        background-image: none;
    }
}

/* Estilos para Firefox */
@-moz-document url-prefix() {
    .hbp-native-select {
        text-indent: 0.01px;
        text-overflow: '';
        padding-right: 30px;
    }
}

/* Estilos para Edge/IE */
hbp-native-select::-ms-expand {
    display: block;
}

/* Estilos para cuando el select está deshabilitado */
.hbp-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===========================================
   Variables y estilos base
   =========================================== */
:root {
    /* Colores principales */
    --hbp-primary: #cc0000;
    --hbp-primary-dark: #a30000;
    --hbp-primary-light: #ffebee;
    
    /* Texto */
    --hbp-text: #333333;
    --hbp-text-light: #666666;
    
    /* Fondos y bordes */
    --hbp-bg: #f9f9f9;
    --hbp-bg-light: #ffffff;
    --hbp-border: #e0e0e0;
    
    /* Estados */
    --hbp-success: #4caf50;
    --hbp-warning: #ff9800;
    --hbp-error: #f44336;
    
    /* Efectos */
    --hbp-border-radius: 8px;
    --hbp-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    --hbp-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --hbp-transition: all 0.3s ease;
}

/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Tipografía y estilos base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--hbp-text);
    background-color: var(--hbp-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================================
   Contenedor principal del formulario
   =========================================== */
body .hbp-donation-form {
    width: 100%;
    margin: 20px auto;
    padding: 30px 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Contenedor del formulario */
body .hbp-donation-form-container {
    width: 100%;
    background: var(--hbp-bg-light);
    border-radius: var(--hbp-border-radius);
    box-shadow: var(--hbp-shadow);
    padding: 30px;
    box-sizing: border-box;
}

/* ===========================================
   Encabezado del formulario
   =========================================== */
.hbp-form-header {
    width: 100%;
    margin-bottom: 1.5rem;
    text-align: center;
}

body .hbp-donation-form h2 {
    font-size: 24px;
    margin: 0 0 1rem 0;
    color: var(--hbp-text);
    font-weight: 600;
}

/* ===========================================
   Grupos de formulario
   =========================================== */
body .hbp-donation-form .hbp-form-group {
    margin-bottom: 0.1rem; /* Reducido al mínimo */
    width: 100%;
}

/* Grupo de botones de tipo de donación */
.hbp-donation-type-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0.75rem auto 1.5rem auto;
    flex-wrap: nowrap;
}

body .hbp-donation-form .hbp-donation-type-btn {
    min-width: 140px;
    padding: 12px 20px;
    border: 2px solid var(--hbp-border);
    background: white;
    color: var(--hbp-text);
    border-radius: var(--hbp-border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: var(--hbp-transition);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hbp-donation-type-btn:hover,
body .hbp-donation-form .hbp-donation-type-btn.active {
    border-color: var(--hbp-primary);
    background-color: var(--hbp-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--hbp-shadow);
}

/* Grupo de botones de monto */
.hbp-amount-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

body .hbp-donation-form .hbp-amount-option {
    background-color: #fff;
    border: 2px solid var(--hbp-border);
    color: var(--hbp-text);
    padding: 10px 15px;
    border-radius: var(--hbp-border-radius);
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: var(--hbp-transition);
}

.hbp-amount-option:hover,
body .hbp-donation-form .hbp-amount-option.active {
    border-color: var(--hbp-primary);
    background-color: var(--hbp-primary);
    color: white;
}

/* Campo de monto personalizado */
.hbp-custom-amount {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.hbp-custom-amount input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--hbp-border);
    border-radius: var(--hbp-border-radius);
    font-size: 16px;
    text-align: center;
    transition: var(--hbp-transition);
}

.hbp-custom-amount input:focus {
    border-color: var(--hbp-primary);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
    outline: none;
}

/* ===========================================
   Campos de formulario
   =========================================== */
.hbp-donation-form input[type="text"],
.hbp-donation-form input[type="email"],
.hbp-donation-form input[type="tel"],
.hbp-donation-form input[type="number"],
.hbp-donation-form select,
.hbp-donation-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--hbp-border);
    border-radius: var(--hbp-border-radius);
    font-size: 15px;
    background-color: #fff;
    transition: var(--hbp-transition);
    box-sizing: border-box;
}

.hbp-donation-form input[type="text"]:focus,
.hbp-donation-form input[type="email"]:focus,
.hbp-donation-form input[type="tel"]:focus,
.hbp-donation-form input[type="number"]:focus,
.hbp-donation-form select:focus,
.hbp-donation-form textarea:focus {
    border-color: var(--hbp-primary);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
    outline: none;
}

/* Etiquetas */
.hbp-donation-form .hbp-form-group label {
    display: block;
    margin-bottom: 0.25rem; /* Margen ligeramente mayor */
    font-weight: 600;
    color: var(--hbp-text);
    font-size: 0.9rem; /* Aumentado de 13px */
}

/* ===========================================
   Botones
   =========================================== */
/* Botón principal */
body .hbp-donation-form .btn.btn-primary {
    background: var(--hbp-primary);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: var(--hbp-border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--hbp-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 300px;
    margin: 1.5rem auto 0;
    display: block;
    text-align: center;
}

body .hbp-donation-form .btn.btn-primary:hover {
    background-color: var(--hbp-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--hbp-shadow);
}

/* Botones de navegación */
.hbp-step-actions {
    display: flex;
    justify-content: space-between; /* Separa los botones a los extremos */
    align-items: center;
    margin-top: 1.5rem;
    width: 100%;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Estilo mejorado para el botón de envío */
.hbp-btn-submit {
    background: #cc0000 !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px !important;
    text-align: center;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.2) !important;
}

body .hbp-donation-form .hbp-btn-submit:hover {
    background: #b30000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.25) !important;
}

.step-button {
    padding: 8px 18px;
    border-radius: var(--hbp-border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--hbp-transition);
    border: 2px solid transparent;
    font-size: 14px;
    min-width: 120px;
    text-align: center;
}

.hbp-btn-prev,
.step-button-next {
    padding: 0 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    height: 38px;
    line-height: 1;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    vertical-align: middle;
    box-sizing: border-box;
}

.hbp-btn-prev {
    background: #f5f5f5;
    color: var(--hbp-text);
    border: 1px solid #ddd;
}

/* Estilo específico para el botón Siguiente */
button.hbp-btn.hbp-btn-next,
.step-button-next {
    background: var(--hbp-primary, #cc0000);
    color: white;
    border: 1px solid var(--hbp-primary, #cc0000);
    text-transform: none !important;
}

/* Asegurar que el texto del botón Siguiente tenga solo la primera letra en mayúscula */
button.hbp-btn.hbp-btn-next span,
.step-button-next span {
    text-transform: lowercase !important;
    display: inline-block;
}

button.hbp-btn.hbp-btn-next span:first-letter,
.step-button-next span:first-letter {
    text-transform: uppercase !important;
}

.hbp-btn-prev:hover {
    background: #e8e8e8;
    transform: translateY(-1px);
}

.step-button-next:hover {
    background: #b30000;
    transform: translateY(-1px);
    border-color: #b30000;
}

.step-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--hbp-shadow);
}

/* ===========================================
   Mensajes de error y validación
   =========================================== */
.hbp-form-section h2 {
    color: var(--hbp-primary);
    font-size: 1.1rem; /* Aumentado de 0.95rem */
    margin: 0;
    font-weight: 600;
    padding: 0.1rem 0; /* Espaciado un poco mayor */
    line-height: 1.3; /* Altura de línea más cómoda */
}

.hbp-field-error .hbp-form-error {
    display: block;
}

.hbp-form-error {
    color: var(--hbp-error);
    font-size: 14px;
    margin-top: 0.5rem;
    display: none;
}


.hbp-field-error input,
.hbp-field-error select,
.hbp-field-error textarea {
    border-color: var(--hbp-error) !important;
}

/* Alertas */
.hbp-alert {
    padding: 12px 16px;
    margin-bottom: 1.5rem;
    border-radius: var(--hbp-border-radius);
    font-size: 14px;
    line-height: 1.5;
}

.hbp-alert-error {
    background-color: #ffebee;
    color: var(--hbp-error);
    border-left: 4px solid var(--hbp-error);
}

.hbp-alert-info {
    background-color: #e7f3ff;
    color: #0066cc;
    border: 1px solid #b3d9ff;
    border-left: 4px solid #0066cc;
}

/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 600px) {
    body .hbp-donation-form-container {
        padding: 20px 15px;
    }
    
    .hbp-donation-type-group {
        display: flex;
        justify-content: center;
        gap: 10px;
        max-width: 100%;
        padding: 0 15px;
        flex-wrap: nowrap;
    }
    
    body .hbp-donation-form .hbp-donation-type-btn {
        min-width: 120px;
        padding: 10px 15px;
    }
    
    .hbp-amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================================
   Animaciones
   =========================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hbp-step {
    animation: fadeIn 0.3s ease-out forwards;
}

/* ===========================================
   Iconos
   =========================================== */
.hbp-icon-heart {
    margin-left: 0.5rem;
    transition: var(--hbp-transition);
    color: var(--hbp-primary);
}

/* ===========================================
   Estados de carga
   =========================================== */
.hbp-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.hbp-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: hbp-spin 0.8s linear infinite;
}

@keyframes hbp-spin {
    to { transform: rotate(360deg); }
}

/* Contenedor principal del form */
body .hbp-donation-form {
    width: 100%;
    margin: 20px auto;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Contenedor del formulario */
.hbp-form-section {
    margin-bottom: 0.5rem; /* Reducido aún más */
    padding: 0.5rem; /* Reducido aún más */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

body .hbp-donation-form-container {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 30px;
    box-sizing: border-box;
}

/* Título */
.hbp-form-header {
    width: 100%;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hbp-donation-form h2 {
    font-size: 24px;
    margin: 0 0 1rem 0;
    color: #333;
}

/* Form groups */
body .hbp-donation-form .hbp-form-group {
    margin-bottom: 1rem;
    width: 100%;
}

/* Espacio adicional para el campo de otro monto */
.hbp-form-group.hbp-donation-type-group {
    margin: 1rem 0 1.5rem; /* Reducido el margen superior e inferior */
    max-width: 300px;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    position: relative;
}

.hbp-form-group.amount-input-group {
    margin: 1rem auto 1rem; /* Reducido el margen superior e inferior */
    max-width: 300px;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    position: relative;
}

.hbp-form-group.amount-input-group::before {
    content: 'O';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 15px;
    color: #666;
    font-style: italic;
}

/* Etiquetas */
.hbp-donation-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

/* Inputs */
.hbp-donation-form input[type="text"],
.hbp-donation-form input[type="email"],
.hbp-donation-form input[type="tel"],
.hbp-donation-form input[type="number"],
.hbp-donation-form select,
.hbp-donation-form textarea {
    width: 100%;
    padding: 9px 12px; /* Padding un poco mayor */
    margin-bottom: 0.3rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px; /* Aumentado de 13px */
    transition: all 0.2s ease;
    box-sizing: border-box;
    height: 38px; /* Altura ligeramente mayor */
}

.hbp-donation-form input[type="text"]:focus,
.hbp-donation-form input[type="email"]:focus,
.hbp-donation-form input[type="tel"]:focus,
.hbp-donation-form input[type="number"]:focus,
.hbp-donation-form select:focus,
.hbp-donation-form textarea:focus {
    border-color: #cc0000;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
    outline: none;
}

/* Step containers */
.hbp-step {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

/* Estilo para el paso 2 */
#step-2 body .hbp-donation-form .hbp-form-group {
    margin-bottom: 0.75rem;
}

/* Botones de acción */
/* Eliminando la definición duplicada */
/* Los estilos de .hbp-step-actions ya están definidos arriba */

/* Botón Siguiente / Regresar */
.step-button-small {
    font-size: 14px;
    padding: 8px 18px;
    background-color: #cc0000;
    color: #fff;
    border: 1px solid #cc0000;
    border-radius: 6px;
    cursor: pointer;
    margin: 0;
    transition: all 0.2s ease;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

.step-button-small:hover {
    background-color: #b30000;
    border-color: #b30000;
    transform: translateY(-1px);
}

/* Botón principal (submit) */
body .hbp-donation-form .hbp-btn-primary,
body .hbp-donation-form .hbp-btn-submit,
body .hbp-donation-form .btn.btn-primary {
    background: #cc0000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    margin: 1rem auto;
    display: block;
}

body .hbp-donation-form .hbp-btn-primary:hover,
body .hbp-donation-form .hbp-btn-submit:hover,
body .hbp-donation-form .btn.btn-primary:hover {
    background-color: #b30000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Filas y columnas encapsuladas */
body .hbp-donation-form .hbp-form-row {
    display: flex;
    gap: 0.1rem;
    margin-bottom: 0.1rem;
    width: 100%;
    flex-wrap: wrap;
}

/* Solo para el paso 2: Nombre/Apellido y Correo/Teléfono en una fila (2 columnas en desktop) */
body .hbp-donation-form #step-2 .hbp-form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.2rem;
}
body .hbp-donation-form #step-2 .hbp-form-row .hbp-form-group {
    width: 50%;
    flex: 1 1 0;
    box-sizing: border-box;
}
/* RUT solo 50% y alineado a la izquierda */
body .hbp-donation-form #step-2 .hbp-form-group input#document_num {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
} 
body .hbp-donation-form #step-2 .hbp-form-group.rut-half {
    width: 50%;
    flex: 1 1 0;
    padding-right: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}
/* Responsive: apilar campos en móvil */
@media (max-width: 480px) {
  body .hbp-donation-form #step-2 .hbp-form-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  body .hbp-donation-form #step-2 .hbp-form-row .hbp-form-group,
  body .hbp-donation-form #step-2 .hbp-form-group.rut-half {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  body .hbp-donation-form #step-2 .hbp-form-group input,
  body .hbp-donation-form #step-2 .hbp-form-group input#document_num {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    box-sizing: border-box !important;
  }
}

.hbp-form-row body .hbp-donation-form .hbp-form-group {
    flex: 1;
    min-width: 120px;
}

.hbp-col {
    flex: 1;
    min-width: 0;
}

/* Monto Sugerido Buttons */
.hbp-amount-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem auto 1.5rem;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

body .hbp-donation-form .hbp-amount-option {
    background-color: #fff;
    border: 2px solid #cc0000;
    color: #cc0000;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    min-width: 100px;
    text-align: center;
    margin: 2px;
    flex: 1 1 auto;
    max-width: 120px;
}

.hbp-amount-option:hover {
    background-color: #ffebee;
    transform: translateY(-2px);
}

body .hbp-donation-form .hbp-amount-option.active {
    background-color: #cc0000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Donar una vez / Mensualmente */
.hbp-donation-type-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1rem 0 1.25rem;
    width: 100%;
    padding: 0 10%;
}

body .hbp-donation-form .hbp-donation-type-btn {
    background-color: #fff;
    border: 2px solid #cc0000;
    color: #cc0000;
    padding: 12px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    min-width: 140px;
    text-align: center;
    box-sizing: border-box;
}

.hbp-donation-type-btn:hover {
    background-color: #ffebee;
    transform: translateY(-2px);
}

body .hbp-donation-form .hbp-donation-type-btn.active {
    background-color: #cc0000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 600px) {
    body .hbp-donation-form-container {
        padding: 25px 15px;
    }
    
    .hbp-donation-type-group {
        padding: 0 5%;
    }
    
    .hbp-form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hbp-col {
        width: 100% !important;
        margin-bottom: 1.5rem;
    }
    
    .hbp-amount-option,
    body .hbp-donation-form .hbp-donation-type-btn {
        min-width: 120px;
        padding: 10px 15px;
    }
    
    .hbp-step-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-button-small {
        width: 100%;
        margin: 0 0 1rem;
    }
}

/* Mejoras adicionales */
.hbp-input-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.hbp-required {
    color: #cc0000;
    margin-left: 3px;
}

/* Mensajes de error */
.hbp-error-message {
    color: #cc0000;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

/* Campos con error */
.hbp-input-error {
    border-color: #d32f2f !important;
    background-color: #ffebee !important;
}

.hbp-input-error:focus {
    border-color: #d32f2f !important;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1) !important;
}

.hbp-field-error {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}
