/* GHL Registro Carrera - Estilos */

#ghl-rc-wrap {
    max-width: 620px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ghl-rc-seccion {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.ghl-rc-titulo-seccion {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 12px;
}

.ghl-rc-descripcion {
    color: #6b7280;
    font-size: 14px;
    margin: -10px 0 16px 0;
}

.ghl-rc-campo {
    margin-bottom: 18px;
}

.ghl-rc-campo label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.ghl-rc-campo input[type="text"],
.ghl-rc-campo input[type="email"],
.ghl-rc-campo input[type="tel"],
.ghl-rc-campo select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: #fff;
}

.ghl-rc-campo input:focus,
.ghl-rc-campo select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.ghl-rc-campo input.ghl-input-error {
    border-color: #ef4444;
}

.ghl-rc-campo input.ghl-input-ok {
    border-color: #22c55e;
}

.ghl-rc-error {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
    min-height: 18px;
}

.ghl-rc-validando {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}

/* Fecha */
.ghl-rc-fecha-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Tamaño */
.ghl-rc-tamano-opciones {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ghl-rc-tamano-opcion {
    cursor: pointer;
}

.ghl-rc-tamano-opcion input[type="radio"] {
    display: none;
}

.ghl-rc-tamano-opcion span {
    display: inline-block;
    padding: 8px 18px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s;
    cursor: pointer;
}

.ghl-rc-tamano-opcion input[type="radio"]:checked + span {
    border-color: #6366f1;
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 600;
}

/* Perro */
.ghl-rc-perro {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
}

.ghl-rc-perro-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ghl-rc-perro-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.ghl-rc-btn-quitar {
    background: none;
    border: 1px solid #fca5a5;
    color: #ef4444;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.ghl-rc-btn-quitar:hover {
    background: #fef2f2;
}

/* Botones */
.ghl-rc-btn-agregar {
    background: none;
    border: 2px dashed #6366f1;
    color: #6366f1;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}

.ghl-rc-btn-agregar:hover {
    background: #eef2ff;
}

.ghl-rc-btn-agregar:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ghl-rc-btn-submit {
    width: 100%;
    background: #6366f1;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.ghl-rc-btn-submit:hover {
    background: #4f46e5;
}

.ghl-rc-btn-submit:disabled {
    background: #a5b4fc;
    cursor: not-allowed;
}

/* Mensaje final */
.ghl-rc-mensaje {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 20px;
}

.ghl-rc-mensaje.exito {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.ghl-rc-mensaje.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Toggle perro */
.ghl-rc-perro-toggle {
    margin-bottom: 16px;
}

.ghl-rc-check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: #111827;
}

.ghl-rc-check-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #6366f1;
}
