/* === Reset & Base === */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px; line-height: 1.6; color: #333; background: #f4f6f9; } a { color: #005eb8; text-decoration: none; } a:hover { text-decoration: underline; } /* === Layout === */ .container { max-width: 800px; margin: 0 auto; padding: 0 16px; } .page-wrapper { min-height: 100vh; display: flex; flex-direction: column; } .main-content { flex: 1; padding: 24px 0; } /* === Header === */ .site-header { background: #003366; color: #fff; } .header-top { padding: 16px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; } .site-title { font-size: 1.4rem; font-weight: 600; } .lab-badge { display: inline-block; background: #ff9800; color: #000; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 3px; letter-spacing: 0.03em; text-transform: uppercase; } .lab-badge.small { font-size: 0.6rem; padding: 1px 6px; } /* === Steps Indicator === */ .steps { display: flex; justify-content: center; gap: 0; margin-bottom: 28px; border-bottom: 2px solid #ddd; } .step { display: flex; flex-direction: column; align-items: center; padding: 12px 20px; position: relative; flex: 1; max-width: 160px; opacity: 0.4; transition: opacity 0.3s; } .step.active, .step.current { opacity: 1; } .step-num { width: 30px; height: 30px; border-radius: 50%; background: #ccc; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; margin-bottom: 4px; } .step.active .step-num, .step.current .step-num { background: #005eb8; } .step-label { font-size: 0.75rem; color: #555; text-align: center; } /* === Panels === */ .step-panel { display: none; animation: fadeIn 0.3s ease; } .step-panel.active { display: block; } @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } .step-panel h2 { font-size: 1.2rem; color: #003366; margin-bottom: 16px; font-weight: 600; } /* === TrĂ¡mite card === */ .tramite-card { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 20px; margin-bottom: 20px; } .tramite-card h3 { font-size: 1rem; margin-bottom: 6px; } .tramite-card p { font-size: 0.9rem; color: #555; } /* === Form === */ .form-row { margin-bottom: 14px; } .form-row label { display: flex; flex-direction: column; font-size: 0.85rem; font-weight: 600; color: #444; margin-bottom: 4px; } .form-row input, .form-row select { padding: 8px 12px; border: 1px solid #bbb; border-radius: 4px; font-size: 0.95rem; transition: border-color 0.2s; } .form-row input:focus, .form-row select:focus { outline: none; border-color: #005eb8; box-shadow: 0 0 0 2px rgba(0,94,184,0.15); } .form-row input:invalid:not(:placeholder-shown) { border-color: #d32f2f; } .form-actions { display: flex; gap: 12px; margin-top: 20px; justify-content: flex-end; } /* === Buttons === */ .btn { padding: 10px 24px; border: none; border-radius: 4px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background 0.2s, opacity 0.2s; } .btn-primary { background: #005eb8; color: #fff; } .btn-primary:hover { background: #004a94; } .btn-primary:disabled { background: #999; cursor: not-allowed; } .btn-secondary { background: #e0e0e0; color: #333; } .btn-secondary:hover { background: #ccc; } .btn-sm { padding: 6px 14px; font-size: 0.85rem; } /* === Slots list === */ .slots-list { width: 100%; } .slot-item { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 14px 18px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; transition: box-shadow 0.2s; } .slot-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); } .slot-info { display: flex; flex-direction: column; gap: 2px; } .slot-info .slot-date { font-weight: 700; font-size: 1rem; } .slot-info .slot-time { font-size: 0.9rem; color: #555; } .slot-info .slot-office { font-size: 0.8rem; color: #888; } /* === Loading === */ .loading { text-align: center; padding: 40px 0; } .spinner { width: 36px; height: 36px; border: 4px solid #ddd; border-top-color: #005eb8; border-radius: 50%; margin: 0 auto 12px; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* === Alerts === */ .alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 16px; } .alert-warning { background: #fff3cd; border: 1px solid #ffc107; color: #856404; } /* === Captcha area === */ .captcha-area { text-align: center; padding: 20px 0; } .test-mode-banner { background: #ff9800; color: #000; font-weight: 700; padding: 8px 16px; border-radius: 4px; margin-bottom: 16px; font-size: 0.85rem; } /* === Confirmation === */ .confirmation { text-align: center; padding: 30px 0; } .check-circle { width: 64px; height: 64px; border-radius: 50%; background: #4caf50; color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; } .confirmation h2 { color: #4caf50; margin-bottom: 16px; } .confirmation-details { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 20px; text-align: left; max-width: 500px; margin: 0 auto; } .confirmation-details p { margin-bottom: 8px; font-size: 0.9rem; } .confirmation-details p strong { color: #003366; } /* === Footer === */ .site-footer { background: #003366; color: #ccc; padding: 12px 0; text-align: center; font-size: 0.8rem; } /* === Responsive === */ @media (max-width: 600px) { .steps { flex-wrap: wrap; } .step { padding: 8px 10px; } .form-actions { flex-direction: column; } .btn { width: 100%; text-align: center; } .slot-item { flex-direction: column; align-items: flex-start; gap: 8px; } }