/*
 * Talleres App Lite v1.4.1 — Xoric authentication + dashboard.
 * Native Bootstrap 4 / Xoric app cards, grid and Material Design Icons.
 * Safe visual-only layer; do not replace authentication or business logic.
 */

/* Authentication: one centered Xoric card, including registration. */
body.xoric-auth-2026 {
  margin: 0;
  min-height: 100vh;
  background: #f4f8f9;
  color: #505d69;
  font-family: Nunito,"Segoe UI",Arial,sans-serif;
  font-size: 14px;
}
body.xoric-auth-2026 .account-pages {
  min-height: 100vh;
  padding: 42px 0 36px;
  display: flex;
  align-items: center;
}
body.xoric-auth-2026 .account-pages > .container { width: 100%; }
body.xoric-auth-2026 a { color: #3051d3; text-decoration: none; }
body.xoric-auth-2026 a:hover { color: #203897; }
.xoric-auth-logo-top { margin-bottom: 23px; }
.xoric-auth-brand { display: inline-flex; align-items: center; justify-content: center; gap: 11px; color: #505d69!important; font-weight: 800; font-size: 21px; letter-spacing: -.6px; }
.xoric-auth-brand img { width: 51px; height: 51px; object-fit: contain; }
.xoric-auth-brand strong { color: #3051d3; }
.xoric-auth-brand small { font-size: 10px; letter-spacing: 2px; margin-left: 4px; color: #92a1b2; font-weight: 900; text-transform: uppercase; }
body.xoric-auth-2026 .xoric-auth-card { border: 0; border-radius: 7px; box-shadow: 0 3px 16px rgba(44,60,90,.09)!important; background: #fff; }
.xoric-auth-banner { color: #3051d3; background: #eaf0ff!important; }
.xoric-auth-overline { margin-bottom: 8px; font-size: 10px; letter-spacing: 1.9px; color: #7081b3; font-weight: 800; }
.xoric-auth-heading { font-size: 23px; line-height: 1.26; font-weight: 800; margin: 0 0 7px; color: #3051d3; }
.xoric-auth-subtitle { color: #6b7a9f; line-height: 1.6; font-size: 12px; }
.xoric-auth-banner-icon { width: 71px; height: 71px; display: grid; place-items: center; border-radius: 100%; color: #3051d3; background: #dce5ff; font-size: 37px; }
body.xoric-auth-2026 .xoric-auth-card-body { padding: 0 28px 26px; }
.xoric-auth-avatar { display: flex; align-items: center; justify-content: center; height: 62px; width: 62px; border: 5px solid #fff; margin-top: -24px; border-radius: 12px; background: #f1f4fb; position: relative; box-shadow: 0 3px 12px rgba(34,58,102,.08); }
.xoric-auth-avatar img { object-fit: contain; }
.xoric-auth-language { display: flex; justify-content: flex-end; align-items: center; gap: 11px; margin: 12px 0 21px; }
.xoric-auth-language label { font-size: 11px; font-weight: 700; color: #718096; margin: 0; }
body.xoric-auth-2026 .xoric-auth-language select { width: auto; max-width: 182px; padding: 5px 28px 5px 11px; font-size: 12px; min-height: 34px; height: 34px; }
.xoric-auth-form-body label { display: block; font-weight: 700; color: #505d69; font-size: 12px; margin: 0 0 8px; }
.xoric-auth-form-body form > label:not(:first-child), .xoric-auth-form-body .form-grid + label { margin-top: 14px; }
.xoric-auth-form-body input:not([type=checkbox]):not([type=hidden]), .xoric-auth-form-body select, .xoric-auth-form-body textarea { width: 100%; height: auto; min-height: 39px; border: 1px solid #ced4da; background: #fff; color: #505d69; padding: 8px 11px; border-radius: 4px; margin-bottom: 14px; box-shadow: none; }
.xoric-auth-form-body input:focus, .xoric-auth-form-body select:focus { outline: 0; border-color: #a6b8f1!important; box-shadow: 0 0 0 .17rem rgba(48,81,211,.12)!important; }
.xoric-auth-form-body .button.button-primary { background: #3051d3; border: 1px solid #3051d3; color: #fff; border-radius: 4px; font-size: 13px; font-weight: 700; }
.xoric-auth-form-body .button.button-primary:hover { background: #2642b0; color: #fff; }
.xoric-auth-form-body .button-wide { display: block; width: 100%; margin: 12px 0 0; padding: 11px; }
.xoric-auth-form-body .alert { padding: 12px 14px; border-radius: 4px; font-size: 12px; overflow-wrap: anywhere; }
.xoric-auth-form-body .help { font-size: 12px; color: #8292a6; }
.xoric-auth-form-body .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.xoric-auth-form-body .form-grid > * { min-width: 0; }
.xoric-auth-form-body .hidden-trap { position: absolute; left: -99999px; width: 1px; height: 1px; overflow: hidden; }
.xoric-auth-form-body .cf-turnstile-zone { margin: 16px 0 12px; }
.xoric-auth-form-body .turnstile-status { background: #fce9e9; color: #a22f3c; border-color: #f5c6cb; }
.xoric-auth-links { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; border-top: 1px solid #eef0f4; padding-top: 22px; margin-top: 24px; font-size: 12px; }
.xoric-auth-footer { color: #8392a3; margin-top: 26px; line-height: 1.9; font-size: 12px; }
.xoric-auth-footer a { font-weight: 700; }

/* Dashboard: Xoric/Bootstrap cards, stats and lists. */
body.xoric-lite-layout .xoric-dashboard { padding-bottom: 20px; }
.xoric-dashboard-title-row { margin-bottom: 23px; }
body.xoric-lite-layout .xoric-dashboard-page-title { color: #505d69; font-size: 23px; font-weight: 700; margin: 0 0 7px; letter-spacing: 0; }
.xoric-dashboard-intro { font-size: 13px; color: #98a6ad; }
.xoric-dashboard-actions { gap: 9px; }
body.xoric-lite-layout .xoric-dashboard-actions .btn { padding: 9px 13px; border-radius: 4px; font-size: 12px; font-weight: 700; }
body.xoric-lite-layout .xoric-dashboard .btn-primary { color: #fff!important; background: #3051d3; border-color: #3051d3; }
body.xoric-lite-layout .xoric-dashboard .btn-outline-primary { border-color: #3051d3; color: #3051d3; }
body.xoric-lite-layout .xoric-dashboard .btn-outline-primary:hover { background: #3051d3; color: #fff; }
.xoric-dashboard .card { border: none; border-radius: 4px; box-shadow: 0 1px 5px rgba(38,57,88,.08); background: #fff; }
.xoric-dashboard .card-header { background: #fff; border-bottom: 1px solid #eff2f6; padding: 19px 21px; min-height: 62px; gap: 10px; }
.xoric-dashboard .card-title { color: #505d69; font-weight: 800; font-size: 15px; line-height: 1.3; }
.xoric-card-more { color: #3051d3!important; font-size: 12px; font-weight: 700; }
.xoric-dashboard .card-body { padding: 23px; }
.xoric-kpi-card { margin-bottom: 23px; min-height: 161px; }
.xoric-kpi-label { line-height: 1.5; color: #7c8a96; font-weight: 700; font-size: 11px; letter-spacing: .45px; }
.xoric-kpi-count { color: #505d69; font-size: 28px; font-weight: 800; line-height: 1.1; margin: 5px 0 15px; }
.xoric-kpi-icon { width: 48px; height: 48px; min-width: 48px; display: grid; place-items: center; border-radius: 50%; font-size: 25px; }
.xoric-kpi-primary { background: #eff2ff; color: #3051d3; }
.xoric-kpi-success { background: #e7f8f0; color: #1cba84; }
.xoric-kpi-warning { background: #fff3e5; color: #f5ae37; }
.xoric-kpi-info { background: #e9f6ff; color: #39a5dc; }
.xoric-kpi-footer { border-top: 1px solid #eff2f6; margin-top: 7px; padding-top: 12px; color: #3051d3; font-size: 11px; display: flex; justify-content: space-between; align-items: center; }
.xoric-kpi-footer a { color: #3051d3; font-weight: 700; }
.xoric-dashboard-panels .card { margin-bottom: 23px; min-height: 335px; }
.xoric-dashboard-table { margin: 0; width: 100%; min-width: 570px; font-size: 12px; }
.xoric-dashboard-table th { padding: 13px 17px; text-transform: none; font-size: 11px; font-weight: 700; color: #7f8d9d; background: #f8fafc!important; border-color: #eff2f6; }
.xoric-dashboard-table td { padding: 15px 17px; vertical-align: middle; color: #505d69; border-color: #eff2f6; font-size: 12px; }
.xoric-dashboard-table tbody tr:hover { background: #f7faff; }
.xoric-dashboard-plate { color: #455672; font-weight: 800; letter-spacing: .45px; }
.xoric-dashboard-empty { text-align: center; padding: 44px 15px; color: #8b98aa; font-size: 13px; }
.xoric-service-list .list-group-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-color: #eff2f6; color: #505d69; }
.xoric-service-list .list-group-item:hover { background: #f8faff; }
.xoric-service-icon { width: 37px; height: 37px; min-width: 37px; display: grid; place-items: center; border-radius: 6px; color: #3051d3; background: #eef2ff; font-size: 19px; }
.xoric-service-info { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.xoric-service-info strong { overflow-wrap: anywhere; font-size: 12px; color: #505d69; }
.xoric-service-info small { overflow-wrap: anywhere; font-size: 11px; color: #8492a3; }
.xoric-service-time { color: #98a6ad; flex: none; text-align: right; font-size: 10px; }
.xoric-qr-highlight .card-body { gap: 18px; }
.xoric-qr-highlight-copy { flex: 1; min-width: 0; gap: 17px; }
.xoric-qr-highlight-icon { width: 52px; height: 52px; min-width: 52px; border-radius: 9px; background: #ebefff; color: #3051d3; display: grid; place-items: center; font-size: 31px; }
.xoric-qr-highlight h2 { font-size: 16px; font-weight: 800; color: #505d69; }
.xoric-qr-highlight p { color: #7f8d9d; line-height: 1.6; font-size: 12px; }

@media (max-width: 767.98px) {
  body.xoric-auth-2026 .account-pages { align-items: flex-start; padding: 29px 0 30px; }
  body.xoric-auth-2026 .xoric-auth-card-body { padding: 0 19px 21px; }
  .xoric-auth-banner .p-4 { padding: 18px!important; }
  .xoric-auth-heading { font-size: 20px; }
  .xoric-auth-form-body .form-grid { grid-template-columns: 1fr; gap: 0; }
  .xoric-service-time { white-space: nowrap; }
}
@media (max-width: 480px) {
  .xoric-auth-brand { font-size: 18px; }
  .xoric-auth-links { flex-direction: column; align-items: center; }
  .xoric-dashboard-actions { justify-content: flex-start!important; }
  .xoric-kpi-icon { width: 40px; height: 40px; min-width: 40px; font-size: 21px; }
  .xoric-qr-highlight-copy { align-items: flex-start!important; }
}
