/* Estilos del formulario (antes embebidos en Index.html). */
* { box-sizing: border-box; }
/* Tipografia centralizada; los controles no siempre heredan la fuente por defecto. */
body { font-family: 'TT Norms Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
input, select, textarea, button { font-family: inherit; }
body { background-color: #f0f2f5; margin: 0; padding: 20px; display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.card { background: white; width: 100%; max-width: 500px; padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
h2 { color: #1a73e8; margin-top: 0; text-align: center; }
p { color: #5f6368; font-size: 14px; }
.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 600; color: #3c4043; }
input[type="text"], input[type="date"], select { width: 100%; padding: 12px; border: 1px solid #dadce0; border-radius: 6px; font-size: 15px; outline: none; }
input:focus, select:focus { border-color: #1a73e8; box-shadow: 0 0 0 2px rgba(26,115,232,0.2); }
button { width: 100%; padding: 12px; background-color: #1a73e8; color: white; border: none; border-radius: 6px; font-size: 16px; font-weight: bold; cursor: pointer; transition: background 0.2s; }
button:hover { background-color: #1557b0; }
button:disabled { background-color: #ccc; cursor: not-allowed; }
.hidden { display: none; }
.brand-header { display:flex; justify-content:center; margin-bottom:20px; }
.brand-logo svg { display:block; width:158px; height:auto; }
.alert-info { background:#edf5ff; border:1px solid #c9dfff; color:#034477; }
.alert-info strong { display:block; margin-bottom:6px; }
.help-text { font-size:13px; color:#4b5563; line-height:1.5; margin:8px 0 0; }
textarea { width:100%;padding:12px;border:1px solid #dadce0;border-radius:6px;font-size:15px;resize:vertical; }
textarea:focus { outline:none;border-color:#1a73e8;box-shadow:0 0 0 2px rgba(26,115,232,.2); }
@media(max-width:540px) { body { padding:12px; } .card { padding:20px; } }
.alert { padding: 15px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; line-height: 1.4; }
.alert-danger { background-color: #fce8e6; color: #c5221f; border: 1px solid #fad2cf; }
.alert-success { background-color: #e6f4ea; color: #137333; border: 1px solid #ceead6; }
.user-info { background: #e8f0fe; padding: 15px; border-radius: 6px; margin-bottom: 20px; }
.user-info p { margin: 4px 0; color: #1967d2; font-weight: 500; }
.spinner { border: 3px solid #f3f3f3; border-top: 3px solid #1a73e8; border-radius: 50%; width: 20px; height: 20px; animation: spin 1s linear infinite; display: inline-block; vertical-align: middle; margin-right: 8px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
