/* estilos.css · mismos estilos del portal actual + lo necesario para las pantallas nuevas */
* { margin: 0; padding: 0; box-sizing: border-box; }
.responsive-image { max-width: 100%; height: auto; display: block; margin: 0 auto; }
body { font-family: Arial, sans-serif; min-height: 100vh; display: flex; flex-direction: column; align-items: center;
       background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); padding: 20px; }
.header-banner { width: 100%; background: linear-gradient(90deg, #10570B, #1EC61E); padding: 15px; margin-bottom: 30px;
                 border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); text-align: center; }
.content-wrapper { display: flex; gap: 30px; max-width: 900px; width: 100%; margin: 0 auto; }
.content-wrapper.estrecho { max-width: 520px; }
.content-wrapper.columna { flex-direction: column; max-width: 720px; }
.container { flex: 1; min-width: 0; background: white; padding: 30px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.container h2 { margin-bottom: 20px; color: #333; text-align: center; }
.container p.intro { margin-bottom: 20px; color: #666; text-align: center; line-height: 1.4; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: #333; font-weight: bold; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 2px solid #ddd; border-radius: 8px; font-size: 16px;
                                        transition: border-color 0.3s ease; background: white; }
.form-group input:focus, .form-group select:focus { border-color: #0099ff; outline: none; }
.fila { display: flex; gap: 12px; } .fila > div { flex: 1; min-width: 0; }
.validation-legend { display: block; margin-top: 6px; font-size: 13px; color: #666; line-height: 1.35; }
.validation-legend.error-legend { color: #c62828; font-weight: bold; }
.validation-legend.ok-legend { color: #2e7d32; font-weight: bold; }
.btn { width: 100%; padding: 12px; background: #0099ff; color: white; border: none; border-radius: 8px; font-size: 16px;
       font-weight: bold; cursor: pointer; transition: background 0.3s ease; }
.btn:hover { background: #0066cc; } .btn:disabled { background: #9ccdf0; cursor: wait; }
.btn.secundario { background: #6b7a8c; } .btn.secundario:hover { background: #4f5b69; }
.enlace-btn { display: block; text-align: center; text-decoration: none; }
.enlaces { margin-top: 16px; text-align: center; font-size: 14px; }
.enlaces a, .message a { color: #0066cc; font-weight: bold; }
.message { margin-top: 20px; padding: 15px; border-radius: 8px; text-align: center; display: none; font-weight: bold; line-height: 1.4; word-break: break-word; }
.message.error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.message.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.message.info { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.aviso-prueba { width: 100%; max-width: 900px; margin: -15px auto 20px; padding: 8px; text-align: center; font-size: 13px; font-weight: bold;
                background: #fff3cd; color: #7a5b00; border: 1px solid #ffe08a; border-radius: 8px; }
.oculto { display: none !important; }
.dato { margin-bottom: 8px; color: #333; word-break: break-word; } .nota { margin-bottom: 14px; color: #666; font-size: 14px; line-height: 1.4; }
.tabla-equipos { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabla-equipos th, .tabla-equipos td { padding: 8px 6px; border-bottom: 1px solid #eee; text-align: left; }
.btn-mini { padding: 6px 10px; border: none; border-radius: 6px; background: #c62828; color: white; font-weight: bold; cursor: pointer; }
.este { color: #2e7d32; font-weight: bold; }
.caja-libro { border: 2px dashed #cfd8dc; border-radius: 10px; padding: 16px; margin-top: 18px; }
@media (max-width: 768px) { .content-wrapper { flex-direction: column; } }
@media (max-width: 480px) { .container { padding: 20px; } .fila { flex-direction: column; gap: 20px; } }
.btn-mini.abrir { background: #0099ff; text-decoration: none; display: inline-block; }
form.caja-libro h2 { font-size: 1.15em; margin-bottom: 14px; }
