/*
 * Área de clientes de worldcomm (CR-15b): hoja de estilos propia. Tipografía y colores del área de clientes anterior
 * (html a 14px, Open Sans, azul #336699). Sin CDN: Open Sans y Font Awesome Free están en public/vendor/{opensans,fontawesome}
 * (ver su VERSION y SHA256SUMS). El detalle de cómo se midió está en docs/worklists/findings/20260930-corte-real/.
 */

/* ---------- Fuentes locales ---------- */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url(../vendor/opensans/open-sans-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../vendor/opensans/open-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../vendor/opensans/open-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../vendor/opensans/open-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../vendor/opensans/open-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Font Awesome 5 Free"; font-style: normal; font-weight: 900; font-display: block; src: url(../vendor/fontawesome/webfonts/fa-solid-900.woff2) format("woff2"); }
@font-face { font-family: "Font Awesome 5 Free"; font-style: normal; font-weight: 400; font-display: block; src: url(../vendor/fontawesome/webfonts/fa-regular-400.woff2) format("woff2"); }
@font-face { font-family: "Font Awesome 5 Brands"; font-style: normal; font-weight: 400; font-display: block; src: url(../vendor/fontawesome/webfonts/fa-brands-400.woff2) format("woff2"); }
.fas, .fa { font-family: "Font Awesome 5 Free"; font-weight: 900; }
.far { font-family: "Font Awesome 5 Free"; font-weight: 400; }
.fab { font-family: "Font Awesome 5 Brands"; font-weight: 400; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 14px; line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; font-family: "Open Sans", sans-serif; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; text-align: left; background-color: #f1f1f1; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; font-weight: 500; line-height: 1.2; }
h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.5rem; } h5 { font-size: 1.25rem; } h6 { font-size: 1rem; }
p { margin-top: 0; margin-bottom: 1rem; }
ul, ol, dl { margin-top: 0; margin-bottom: 1rem; }
dt { font-weight: 700; } dd { margin-bottom: .5rem; margin-left: 0; }
small, .small { font-size: 80%; font-weight: 400; }
strong, b { font-weight: bolder; }
a { color: #369; text-decoration: none; background-color: transparent; }
a:hover { color: #204060; text-decoration: underline; }
img { vertical-align: middle; border-style: none; }
table { border-collapse: collapse; }
th { text-align: inherit; }
label { display: inline-block; margin-bottom: .5rem; }
button, input, select, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
button { border-radius: 0; }
button:not(:disabled), [type=submit]:not(:disabled) { cursor: pointer; }
textarea { overflow: auto; resize: vertical; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend { display: block; width: 100%; padding: 0; margin-bottom: .5rem; font-size: 1.1rem; }
hr { box-sizing: content-box; height: 0; margin: 1rem 0; border: 0; border-top: 1px solid rgba(0,0,0,.1); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Rejilla (12 columnas, canal de 30px) ---------- */
.contenedor { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
@media (min-width: 576px) { .contenedor { max-width: 540px; } }
@media (min-width: 768px) { .contenedor { max-width: 720px; } }
@media (min-width: 992px) { .contenedor { max-width: 960px; } }
@media (min-width: 1200px) { .contenedor { max-width: 1140px; } }
.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.row.no-gutters { margin-right: 0; margin-left: 0; }
.row.no-gutters > [class*=" col-"], .row.no-gutters > [class^="col-"] { padding-right: 0; padding-left: 0; }
[class^="col-"]:not(.col-form-label), [class*=" col-"]:not(.col-form-label) { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
.col-1 { flex: 0 0 8.3333%; max-width: 8.3333%; } .col-2 { flex: 0 0 16.6667%; max-width: 16.6667%; } .col-3 { flex: 0 0 25.0000%; max-width: 25.0000%; } .col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } .col-5 { flex: 0 0 41.6667%; max-width: 41.6667%; } .col-6 { flex: 0 0 50.0000%; max-width: 50.0000%; } .col-7 { flex: 0 0 58.3333%; max-width: 58.3333%; } .col-8 { flex: 0 0 66.6667%; max-width: 66.6667%; } .col-9 { flex: 0 0 75.0000%; max-width: 75.0000%; } .col-10 { flex: 0 0 83.3333%; max-width: 83.3333%; } .col-11 { flex: 0 0 91.6667%; max-width: 91.6667%; } .col-12 { flex: 0 0 100.0000%; max-width: 100.0000%; }
@media (min-width: 576px) { .col-sm-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } .col-sm-6 { flex: 0 0 50%; max-width: 50%; } .col-sm-8 { flex: 0 0 66.6667%; max-width: 66.6667%; } }
@media (min-width: 768px) { .col-md-3 { flex: 0 0 25%; max-width: 25%; } .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } .col-md-6 { flex: 0 0 50%; max-width: 50%; } .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; } .col-md-12 { flex: 0 0 100%; max-width: 100%; } }
@media (min-width: 992px) { .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } .col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; } .col-lg-6 { flex: 0 0 50%; max-width: 50%; } .col-lg-12 { flex: 0 0 100%; max-width: 100%; } }
@media (min-width: 1200px) { .col-xl-3 { flex: 0 0 25%; max-width: 25%; } .col-xl-6 { flex: 0 0 50%; max-width: 50%; } .col-xl-9 { flex: 0 0 75%; max-width: 75%; } .col-xl-12 { flex: 0 0 100%; max-width: 100%; } }

/* ---------- Utilidades (nombres de Bootstrap 4) ---------- */
.d-none { display: none !important; } .d-block { display: block !important; } .d-inline-block { display: inline-block !important; } .d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; } .flex-fill { flex: 1 1 auto !important; }
.justify-content-between { justify-content: space-between !important; } .justify-content-end { justify-content: flex-end !important; } .justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; } .align-items-start { align-items: flex-start !important; }
.ml-auto { margin-left: auto !important; } .mr-auto { margin-right: auto !important; }
.m-0 { margin: 0 !important; } .mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: .25rem !important; } .mt-2 { margin-top: .5rem !important; } .mt-3 { margin-top: 1rem !important; } .mt-4 { margin-top: 1.5rem !important; }
.mb-1 { margin-bottom: .25rem !important; } .mb-2 { margin-bottom: .5rem !important; } .mb-3 { margin-bottom: 1rem !important; } .mb-4 { margin-bottom: 1.5rem !important; }
.mr-1 { margin-right: .25rem !important; } .mr-2 { margin-right: .5rem !important; } .ml-1 { margin-left: .25rem !important; } .ml-2 { margin-left: .5rem !important; }
.p-0 { padding: 0 !important; } .pt-0 { padding-top: 0 !important; } .px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.w-100 { width: 100% !important; }
.text-left { text-align: left !important; } .text-right { text-align: right !important; } .text-center { text-align: center !important; }
.text-nowrap { white-space: nowrap !important; } .text-break { word-break: break-word !important; overflow-wrap: anywhere !important; } .pre-line { white-space: pre-line; }
.text-uppercase { text-transform: uppercase !important; }
.text-muted { color: #6c757d !important; } .text-danger { color: #dc3545 !important; } .text-success { color: #28a745 !important; } .text-white { color: #fff !important; }
.font-weight-bold { font-weight: 700 !important; } .font-weight-light { font-weight: 300 !important; } .font-weight-normal { font-weight: 400 !important; }
.font-size-36 { font-size: 36px; }
.float-right { float: right !important; } .float-left { float: left !important; }
.clearfix::after { display: block; clear: both; content: ""; }
.bg-white { background-color: #fff !important; }
.list-unstyled { padding-left: 0; list-style: none; }
.list-inline { padding-left: 0; list-style: none; } .list-inline-item { display: inline-block; } .list-inline-item:not(:last-child) { margin-right: .5rem; }
.oculto { display: none !important; }

/* ---------- Botones ---------- */
.btn { display: inline-block; font-weight: 400; color: #212529; text-align: center; vertical-align: middle; user-select: none; background-color: transparent; border: 1px solid transparent; padding: .375rem .75rem; font-size: 1rem; line-height: 1.5; border-radius: .25rem; transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; text-decoration: none; }
.btn:hover { color: #212529; text-decoration: none; }
.btn:disabled, .btn.disabled { opacity: .65; }
.btn-primary { color: #fff; background-color: #369; border-color: #369; }
.btn-primary:hover { color: #fff; background-color: #29537c; border-color: #264d73; }
.btn-success { color: #fff; background-color: #28a745; border-color: #28a745; }
.btn-success:hover { color: #fff; background-color: #218838; border-color: #1e7e34; }
.btn-danger { color: #fff; background-color: #dc3545; border-color: #dc3545; }
.btn-danger:hover { color: #fff; background-color: #c82333; border-color: #bd2130; }
.btn-info { color: #fff; background-color: #17a2b8; border-color: #17a2b8; }
.btn-default { color: #333; background-color: #fff; border-color: #ccc; }
.btn-default:hover { color: #333; background-color: #e6e6e6; border-color: #adadad; }
.btn-outline-danger { color: #dc3545; border-color: #dc3545; background: #fff; }
.btn-outline-danger:hover { color: #fff; background-color: #dc3545; }
.btn-link { color: #369; background: none; border: 0; padding: 0; }
.btn-link:hover { color: #204060; text-decoration: underline; }
.btn-sm { padding: .25rem .5rem; font-size: .875rem; line-height: 1.5; border-radius: .2rem; }
.btn-xs { padding: 1px 5px; font-size: .75rem; line-height: 1.5; border-radius: .2rem; }
.btn-lg { padding: .5rem 1rem; font-size: 1.25rem; line-height: 1.5; border-radius: .3rem; }
.btn-block { display: block; width: 100%; }
.btn i, .btn .fas, .btn .far { margin-right: 2px; }

/* ---------- Formularios ---------- */
.form-group { margin-bottom: 1rem; }
.form-control { display: block; width: 100%; height: calc(1.5em + .75rem + 2px); padding: .375rem .75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #495057; background-color: #fff; background-clip: padding-box; border: 1px solid #ced4da; border-radius: .25rem; transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; }
.form-control:focus { color: #495057; background-color: #fff; border-color: #79a6d2; outline: 0; box-shadow: 0 0 0 .2rem rgba(51,102,153,.25); }
.form-control::placeholder { color: #6c757d; opacity: 1; }
.form-control:disabled, .form-control[readonly] { background-color: #e9ecef; opacity: 1; }
/* UX-03: campo con error de validación (el mensaje sigue en la lista de arriba; el aviso lleva el foco al primero). */
.form-control.is-invalid { border-color: #dc3545; }
.form-control.is-invalid:focus { border-color: #dc3545; box-shadow: 0 0 0 .2rem rgba(220,53,69,.25); }
textarea.form-control { height: auto; }
select.form-control, .custom-select { appearance: none; -webkit-appearance: none; padding-right: 1.75rem; background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px; }
.form-control-sm { height: calc(1.5em + .5rem + 2px); padding: .25rem .5rem; font-size: .875rem; border-radius: .2rem; }
.form-text { display: block; margin-top: .25rem; font-size: 80%; color: #6c757d; }
.form-check { position: relative; display: block; padding-left: 1.25rem; margin-bottom: .25rem; }
.form-check-input { position: absolute; margin-top: .3rem; margin-left: -1.25rem; }
.form-check-label { margin-bottom: 0; }
.col-form-label { padding-top: calc(.375rem + 1px); padding-bottom: calc(.375rem + 1px); margin-bottom: 0; line-height: 1.5; }
.input-group { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; }
.input-group > .form-control { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; margin-bottom: 0; }
.input-group-prepend, .input-group-append { display: flex; }
.input-group-text { display: flex; align-items: center; padding: .375rem .75rem; margin-bottom: 0; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #495057; text-align: center; white-space: nowrap; background-color: #e9ecef; border: 1px solid #ced4da; border-radius: .25rem; }
.input-group > .input-group-prepend > .input-group-text, .input-group > .input-group-prepend > .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .input-group-prepend + .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }
.input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > .input-group-append > .btn, .input-group > .input-group-append > .input-group-text { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }
.control-label { font-weight: 400; }

/* ---------- Alertas ---------- */
.alert { position: relative; padding: .75rem 1.25rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: .25rem; }
.alert-success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.alert-info { color: #0c5460; background-color: #d1ecf1; border-color: #bee5eb; }
.alert-warning { color: #856404; background-color: #fff3cd; border-color: #ffeeba; }
.alert-danger { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }
.alert ul { margin: 0; padding-left: 1.2rem; }
.alert-impersonation { margin: 0; border-radius: 0; border-width: 0 0 1px; text-align: center; font-size: .9rem; }

/* ---------- Cabecera ---------- */
header.header { background-color: #fff; }
header.header .topbar { margin: 0; padding: 2px 0; background-color: #404040; color: rgba(255,255,255,.65); }
header.header .topbar .d-flex { align-items: center; min-height: 26px; }
header.header .topbar .etiqueta { padding: .25rem; font-size: .8rem; color: rgba(255,255,255,.75); }
header.header .topbar .btn { line-height: 1; color: rgba(255,255,255,.65); font-size: 14px; padding: .375rem .5rem; }
header.header .topbar .btn:hover { color: #fff; }
header.header .topbar .btn-active-client span { border-bottom: 1px dashed rgba(255,255,255,.65); }
header.header .navbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: .5rem 1rem; }
header.header .navbar-top { padding: 7px 14px; }
header.header .navbar-top > .contenedor { display: flex; align-items: center; }
header.header .navbar-brand { display: inline-block; padding: 4.375px 0; margin-right: 14px; font-size: 17.5px; line-height: 26.25px; white-space: nowrap; color: #444; }
header.header .logo-img { max-width: 400px; max-height: 60px; }
header.header .toolbar { display: flex; flex-direction: row; list-style: none; padding: 0; margin: 0 0 0 auto; }
header.header .toolbar .nav-link { position: relative; display: block; padding: .5rem 1rem; border-radius: .25rem; border: 1px solid #e5e5e5; color: #e5e5e5; font-size: .9em; line-height: 18.9px; }
header.header .toolbar .nav-link .fas, header.header .toolbar .nav-link .far { color: #bbb; }
header.header .toolbar .nav-link:hover { color: #666; text-decoration: none; }
header.header .toolbar .nav-link .badge { position: absolute; top: 2px; right: 5px; opacity: .8; font-size: 10px; padding: 3px 5px; border-radius: 50%; line-height: 10px; }
header.header .main-navbar-wrapper { padding: 0; }
header.header .main-navbar-wrapper > .contenedor { display: flex; align-items: center; padding: .5rem 15px; min-height: 36.5px; }
header.header .main-navbar-wrapper .contenedor { padding-left: 29px; padding-right: 29px; }
.menu-principal { display: flex; flex-direction: row; list-style: none; margin: 0; padding: 0; }
.menu-principal.menu-derecha { margin-left: auto; }
.menu-principal > li { position: relative; display: block; }
.menu-principal > li > a, .menu-principal > li > button { display: inline; padding: 0 21px 0 0; font-size: 15px; line-height: 22.5px; color: #444; background: none; border: 0; font-family: inherit; text-decoration: none; cursor: pointer; }
.menu-principal.menu-derecha > li > a, .menu-principal.menu-derecha > li > button { padding-right: 14px; }
.menu-principal > li > a:hover, .menu-principal > li > button:hover, .menu-principal > li.abierto > button { color: #444; text-decoration: underline; }
.menu-principal > li.activo > a, .menu-principal > li.activo > button { color: #000; }
.dropdown-toggle::after { display: inline-block; margin-left: .455em; vertical-align: .255em; content: ""; border-top: .3em solid; border-right: .3em solid transparent; border-bottom: 0; border-left: .3em solid transparent; }
.dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; float: left; min-width: 10rem; padding: 7px 0; margin: 1.75px 0 0; font-size: 14px; color: #212529; text-align: left; list-style: none; background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0,0,0,.15); border-radius: 3.5px; }
.dropdown-menu-right { right: 0; left: auto; }
.abierto > .dropdown-menu { display: block; }
.dropdown-item { display: block; width: 100%; padding: 3.5px 21px; clear: both; font-weight: 400; color: #212529; text-align: inherit; white-space: nowrap; background-color: transparent; border: 0; font-size: 15px; line-height: 22.5px; }
header.header .dropdown-item { color: #444; padding: 3.5px 28px; }
.dropdown-item:hover, .dropdown-item:focus { color: #16181b; text-decoration: none; background-color: #f8f9fa; }
.dropdown-item.active, .dropdown-item:active { color: #16181b; background-color: #ccc; }
.dropdown-divider { height: 0; margin: 7px 0; overflow: hidden; border-top: 1px solid #e9ecef; }
.dropdown-menu form { margin: 0; }
.dropdown-menu button.dropdown-item { font-family: inherit; cursor: pointer; }

/* ---------- Migas ---------- */
.master-breadcrumb { background-color: #e9ecef; }
.master-breadcrumb .breadcrumb { display: flex; flex-wrap: wrap; margin: 0; padding: 9px 0; list-style: none; font-size: 12.6px; line-height: 18.9px; background-color: #e9ecef; border-radius: 3.5px; }
.breadcrumb-item { display: flex; color: #6c757d; }
.breadcrumb-item + .breadcrumb-item { padding-left: .5rem; }
.breadcrumb-item + .breadcrumb-item::before { display: inline-block; padding-right: .5rem; color: #6c757d; content: "/"; }
.breadcrumb-item.active { color: #6c757d; }

/* ---------- Cuerpo ---------- */
section#main-body { flex: 1 0 auto; margin: 0; padding: 20px 0; min-height: 350px; }
.primary-content > :last-child { margin-bottom: 0; }

/* ---------- Tarjetas y paneles laterales ---------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #fff; background-clip: border-box; border: 1px solid rgba(0,0,0,.125); border-radius: 3.5px; margin-bottom: 14px; }
.card > .list-group { border-top: inherit; border-bottom: inherit; }
.card > .list-group:first-child { border-top-width: 0; }
.card > .list-group:last-child { border-bottom-width: 0; border-bottom-right-radius: 2.5px; border-bottom-left-radius: 2.5px; }
.card > .card-header + .list-group { border-top: 0; }
.card-body { flex: 1 1 auto; min-height: 1px; padding: 1.25rem; }
.card-title { margin-bottom: .75rem; }
.card-header { padding: 10.5px 17.5px; margin-bottom: 0; background-color: rgba(0,0,0,.03); border-bottom: 1px solid rgba(0,0,0,.125); }
.card-header:first-child { border-radius: 2.5px 2.5px 0 0; }
.card-footer { padding: 10.5px 17.5px; background-color: rgba(0,0,0,.03); border-top: 1px solid rgba(0,0,0,.125); }
.card-footer:last-child { border-radius: 0 0 2.5px 2.5px; }
.primary-content .card-title { margin: 0 0 20px 0; padding: 0; font-size: 22px; }
.primary-content .card-header .card-title { margin: 0; font-size: 16px; }
.sidebar .card-title { font-size: 16px; margin: 0; font-weight: 500; line-height: 19.2px; }
.sidebar .card-title .fas, .sidebar .card-title .far { width: 1.25em; text-align: center; }
.sidebar .card-minimise { float: right; cursor: pointer; transition: transform .2s ease; font-size: 14px; line-height: 19.2px; }
.sidebar .card-minimise.minimised { transform: rotate(180deg); }
.sidebar .card.plegado > .list-group, .sidebar .card.plegado > .card-body, .sidebar .card.plegado > .card-footer { display: none; }
.sidebar .list-group { font-size: .9em; }
.sidebar .list-group-item { padding: 7px 15px; border-color: #f5f5f5; }
.sidebar .list-group-item .fas, .sidebar .list-group-item .far { width: 1.28571em; text-align: center; }
.sidebar .list-group-item .badge { padding: 5px 2px; width: 28px; text-align: center; background-color: #fff; color: #666; float: right; font-weight: 400; font-size: 75%; line-height: 1; border-radius: .25rem; }
.sidebar .list-group-item.active, .sidebar .list-group-item.active:hover { color: #fff; background-color: #666; border-color: #666; }
.sidebar .card-body { font-size: .9em; padding: 14px 17.5px; }
.sidebar .card-footer { padding: 10.5px 17.5px; }
.card-accent-gold { border-top: 3px solid #f0ad4e; } .card-accent-green { border-top: 3px solid #5cb85c; } .card-accent-red { border-top: 3px solid #d9534f; }
.card-accent-blue { border-top: 3px solid #5bc0de; } .card-accent-midnight-blue { border-top: 3px solid #2c3e50; } .card-accent-teal { border-top: 3px solid #00aba9; }
.card-accent-asbestos { border-top: 3px solid #7f8c8d; } .card-accent-emerald { border-top: 3px solid #2ecc71; }
.bg-color-gold { background-color: #f0ad4e !important; } .bg-color-green { background-color: #5cb85c !important; } .bg-color-red { background-color: #d9534f !important; }
.bg-color-blue { background-color: #5bc0de !important; } .bg-color-midnight-blue { background-color: #2c3e50 !important; } .bg-color-teal { background-color: #00aba9 !important; } .bg-color-asbestos { background-color: #7f8c8d !important; }

/* ---------- Listas ---------- */
.list-group { display: flex; flex-direction: column; padding-left: 0; margin-bottom: 0; border-radius: .25rem; }
.list-group-item { position: relative; display: block; padding: .75rem 1.25rem; background-color: #fff; border: 1px solid rgba(0,0,0,.125); color: #495057; }
.list-group-item + .list-group-item { border-top-width: 0; }
.list-group-item:first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.list-group-item-action { width: 100%; color: #495057; text-align: inherit; }
.list-group-item-action:hover, .list-group-item-action:focus { z-index: 1; color: #495057; text-decoration: none; background-color: #f8f9fa; }
.list-group-item.active { z-index: 2; color: #fff; background-color: #369; border-color: #369; }
.card > .list-group > .list-group-item { border-left: 0; border-right: 0; }
.card > .list-group > .list-group-item:first-child { border-top: 0; }
.card > .list-group > .list-group-item:last-child { border-bottom: 0; }

/* ---------- Etiquetas y distintivos ---------- */
.badge { display: inline-block; padding: .25em .4em; font-size: 75%; font-weight: 700; line-height: 1; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: .25rem; }
.badge-info { color: #fff; background-color: #17a2b8; }
.label { display: inline-block; max-width: 100%; padding: .2em .6em .3em; font-size: 75%; font-weight: 700; line-height: 1; color: #fff; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 4px; }
.label-default { background-color: #666; } .label-success { background-color: #5cb85c; } .label-info { background-color: #5bc0de; } .label-warning { background-color: #f0ad4e; } .label-danger { background-color: #d9534f; }
.status { display: inline-block; }
.status-active, .status-completed, .status-paid, .status-accepted { background-color: #5cb85c; }
.status-pending, .status-unpaid, .status-overdue { background-color: #d9534f; }
.status-suspended, .status-refunded { background-color: #f0ad4e; }
.status-terminated { background-color: #666; }
.status-cancelled, .status-muted, .status-closed { background-color: #87939f; }
.status-fraud { background-color: #000; }
.status-collections { background-color: #2c3e50; }
.status-payment-pending, .status-delivered { background-color: #369; }
table.table-list td .label.status, .div-service-status .label { font-size: 11.2px; }

/* ---------- Mosaicos del inicio ---------- */
.tiles { margin-bottom: 1.5rem; background-color: #fff; border: 1px solid rgba(0,0,0,.125); border-radius: 3.5px; overflow: hidden; }
.tiles .tile { display: block; position: relative; padding: 12px 20px; background-color: #f8f8f8; border-right: 1px solid #ccc; text-decoration: none; transition: all .3s ease; color: #212529; }
.tiles .tile .stat { margin-top: 20px; font-size: 40px; line-height: 1; }
.tiles .tile .title { font-weight: 700; color: #888; text-transform: uppercase; font-size: 12px; }
.tiles .tile .highlight { margin-top: 4px; height: 2px; border-radius: 2px; }
.tiles .tile i { position: absolute; top: 10px; right: 20px; font-size: 55px; line-height: 1; color: #ccc; transition: all .3s ease; }
.tiles .tile:hover { background-color: #f2f2f2; cursor: pointer; text-decoration: none; }
.tiles .tile:hover i { font-size: 70px; color: #aaa; }
.tiles .row > div:last-child .tile { border: 0; }
@media (max-width: 1199.98px) { .tiles div:nth-child(2) > .tile { border-right: 0; } .tiles div:nth-child(1) > .tile, .tiles div:nth-child(2) > .tile { border-bottom: 1px solid #ccc; } }

/* ---------- Tarjetas del inicio ---------- */
.client-home-cards .card { font-size: .9em; }
.client-home-cards .card-header { background-color: #fff; border-bottom: 0; font-weight: 700; }
.client-home-cards .card-header .card-title { font-size: 16px; margin: 0; font-weight: 500; line-height: 1.6; }
.client-home-cards .card-header .card-title .fas, .client-home-cards .card-header .card-title .far { margin-right: 4px; }
.client-home-cards .card-header .btn { color: #fff; border: 0; float: right; }
.client-home-cards .card-header .btn:hover { color: #000; }
.client-home-cards .card-body { padding: 0; }
.client-home-cards .card-body p { padding: 10px 15px; margin: 0; }
.client-home-cards .card-footer { border-top: 0; padding: .188rem 1.25rem; }
.client-home-cards .list-group { max-height: 170px; overflow: auto; border-radius: 0; border-top: 1px solid #ddd !important; border-bottom: 1px solid #ddd !important; }
.client-home-cards .list-group .list-group-item { padding: 4px 10px; border: 0; border-bottom: 1px solid #ddd; }
.client-home-cards .list-group .list-group-item:last-child { border-bottom: 0; }
.client-home-cards small { color: #888; }
.div-service-item { display: flex; align-items: center; cursor: pointer; }
.div-service-status { text-align: center; }
.div-service-status .label { width: 5rem; overflow: hidden; text-overflow: ellipsis; line-height: initial; }
.div-service-name { flex: 1; min-width: 0; display: flex; flex-direction: column; margin-left: 10px; margin-right: 10px; }
.div-service-name > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.div-service-buttons { margin-left: auto; white-space: nowrap; }

/* ---------- Tablas de lista (dataTables de WHMCS) ---------- */
.table-container { background-color: #fff; border: 1px solid rgba(0,0,0,.125); border-radius: 3.5px; padding: 10px 15px; margin-bottom: 14px; }
.listtable-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.listtable-top .dataTables_length label, .listtable-top .dataTables_filter label { margin: 0; font-size: .9rem; font-weight: 400; display: inline-flex; align-items: center; gap: 6px; }
.listtable-top .dataTables_length select { width: auto; display: inline-block; height: auto; padding: 4px 24px 4px 8px; font-size: .9rem; }
.listtable-top .dataTables_filter input { width: 220px; height: auto; padding: 7px 10px 7px 32px; font-size: .9rem; background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3e%3cpath fill='%23999' d='M11.7 10.3a6.5 6.5 0 1 0-1.4 1.4l3.9 3.9 1.4-1.4-3.9-3.9zM6.5 11a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9z'/%3e%3c/svg%3e") no-repeat 10px center; }
table.table-list { margin: 10px 0 !important; width: 100% !important; border-radius: 4px; border: 1px solid #ddd; border-collapse: separate; border-spacing: 0; }
table.table-list thead th { padding: 8px; background-color: #fff; border-bottom: 4px solid rgba(29,57,101,.2); color: #333; text-align: center; font-weight: 400; font-size: 1rem; }
table.table-list thead th.sorting_asc { background-color: #f6f6f6; }
table.table-list tbody td { padding: 10px 8px; vertical-align: middle; font-size: .9em; background-color: #fff; border-top: 1px solid #dee2e6; text-align: center; }
table.table-list tbody td.text-left { text-align: left; }
table.table-list tbody tr:first-child td { border-top: 0; }
table.table-list > tbody > tr.clicable:hover { cursor: pointer; }
table.table-list > tbody > tr.clicable:hover > td { background-color: #f9f9f9; }
table.table-list td.vacio { padding: 20px 8px; color: #6c757d; }
.listtable-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.dataTables_info { padding: 8px 0; color: #212529; }
.pagination { display: flex; padding-left: 0; list-style: none; border-radius: .25rem; font-size: .8em; margin: 0; }
.page-link { position: relative; display: block; padding: .5rem .75rem; margin-left: -1px; line-height: 1.25; color: #369; background-color: #fff; border: 1px solid #dee2e6; }
.page-link:hover { z-index: 2; color: #204060; text-decoration: none; background-color: #e9ecef; }
.page-item:first-child .page-link { margin-left: 0; border-top-left-radius: .25rem; border-bottom-left-radius: .25rem; }
.page-item:last-child .page-link { border-top-right-radius: .25rem; border-bottom-right-radius: .25rem; }
.page-item.active .page-link { z-index: 3; color: #fff; background-color: #369; border-color: #369; }
.page-item.disabled .page-link { color: #6c757d; pointer-events: none; background-color: #fff; }

/* tabla simple */
.table { width: 100%; margin-bottom: 1rem; color: #212529; }
.table td, .table th { padding: .75rem; vertical-align: top; border-top: 1px solid #dee2e6; }
.table thead th { vertical-align: bottom; border-bottom: 2px solid #dee2e6; }
.table-sm td, .table-sm th { padding: .3rem; }
.table-striped tbody tr:nth-of-type(odd) { background-color: rgba(0,0,0,.05); }
.table-bordered, .table-bordered td, .table-bordered th { border: 1px solid #dee2e6; }
.table-responsive { display: block; width: 100%; overflow-x: auto; }

/* ---------- Pestañas ---------- */
.nav { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; }
.nav-link { display: block; padding: .5rem 1rem; }
.nav-tabs { border-bottom: 1px solid #dee2e6; }
.nav-tabs .nav-item { margin-bottom: -1px; }
.nav-tabs .nav-link { border: 1px solid transparent; border-top-left-radius: .25rem; border-top-right-radius: .25rem; }
.nav-tabs .nav-link:hover { border-color: #e9ecef #e9ecef #dee2e6; text-decoration: none; }
.nav-tabs .nav-link.active { color: #495057; background-color: #fff; border-color: #dee2e6 #dee2e6 #fff; }

/* ---------- Ficha del servicio ---------- */
div.product-details { margin-bottom: 20px; }
div.product-details div.product-icon { margin: 0; background-color: #efefef; border-radius: 10px 10px 0 0; padding: 30px; line-height: 1em; font-size: 60px; }
div.product-details div.product-icon h3 { font-size: 22px; margin: 10px 0 0; }
div.product-details div.product-icon h4 { font-size: 14px; margin: 6px 0 0; color: #666; font-weight: 400; }
.product-status { padding: 0; border-radius: 10px; }
.product-status-pending { background-color: #f89406; } .product-status-active { background-color: #46a546; } .product-status-suspended { background-color: #0768b8; }
.product-status-cancelled, .product-status-terminated { background-color: #666; } .product-status-fraud { background-color: #000; }
.product-status-text { padding: 5px; color: #fff; text-align: center; text-transform: uppercase; }
.product-status-text .label { background: none; font-size: 14px; font-weight: 400; padding: 0; }
.product-details .detalles h4 { font-size: 14px; font-weight: 700; margin: 0; }
.product-details .detalles p { margin-bottom: 10px; }
div.product-details-tab-container { margin: 0 0 14px; padding: 20px; border: 1px solid #ddd; border-top: 0; background-color: #fff; }
.detalles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; margin: 0; }
.detalles-grid dt { font-weight: 700; } .detalles-grid dd { margin: 0; }
@media (max-width: 767px) { .detalles-grid { grid-template-columns: 1fr; } }

/* ---------- Tienda (standard_cart) ---------- */
#order-standard_cart .header-lined h1 { margin: 0 0 7px; font-size: 36px; font-weight: 500; line-height: 43.2px; }
#order-standard_cart .header-lined p { color: #6c757d; }
#order-standard_cart .cart-sidebar .card-title { font-size: 16px; margin: 0; }
#order-standard_cart .cart-sidebar .list-group-item { margin: 0; padding: 8px 15px; border-top: 0; border-left: 0; border-right: 0; font-size: 12.6px; }
#order-standard_cart .cart-sidebar .list-group-item:last-child { border-bottom: 0; }
#order-standard_cart .products .product { padding: 1px 0 10px 0; margin: 0 0 20px 0; background: #fff; border-radius: 3px; border: 1px solid #ddd; }
#order-standard_cart .products .product header { position: relative; padding: 10px 20px; margin: 0 1px; background: #f8f8f8; border-radius: 3px 3px 0 0; }
#order-standard_cart .products .product header span { margin: 0; color: #333; font-size: 1.2em; }
#order-standard_cart .products .product div.product-desc { float: left; width: 60%; padding: 8px 14px; font-size: .8em; }
#order-standard_cart .products .product footer { float: right; margin: 20px 0; width: 40%; font-size: .8em; text-align: center; padding: 0 10px; }
#order-standard_cart .products .product div.product-pricing { margin-bottom: 10px; }
#order-standard_cart .products .product div.product-pricing span.price { font-size: 1.4em; }
#order-standard_cart .products .product select { width: 100%; margin-bottom: 8px; font-size: 12px; }
#order-standard_cart .sub-heading { height: 0; border-top: 1px solid #ddd; text-align: center; margin-top: 20px; margin-bottom: 30px; }
#order-standard_cart .sub-heading span { display: inline-block; position: relative; padding: 0 17px; top: -11px; font-size: 16px; color: #058; background-color: #f1f1f1; }
#order-standard_cart .view-cart-items-header { margin: 0; padding: 8px 15px; background-color: #058; color: #fff; font-size: .9em; border-radius: 4px 4px 0 0; }
#order-standard_cart .view-cart-items { margin: 0 0 20px 0; border-bottom: 2px solid #058; }
#order-standard_cart .view-cart-items .item { margin: 0; padding: 10px 15px; background-color: #fff; font-size: .8em; }
#order-standard_cart .view-cart-items .item:nth-child(even) { background-color: #eee; }
#order-standard_cart .view-cart-items .item-title { font-size: 1.6em; display: block; }
#order-standard_cart .view-cart-items .item-group { font-size: 1.2em; display: block; color: #666; }
#order-standard_cart .view-cart-items .item-price { text-align: right; }
#order-standard_cart .view-cart-items .item-price span { font-size: 1.6em; display: block; }
#order-standard_cart .view-cart-items .item-price .cycle { font-size: .9em; }
#order-standard_cart .view-cart-empty { padding: 30px 15px; text-align: center; background: #fff; }
#order-standard_cart .btn-remove-from-cart { color: #d9534f; background: none; border: 0; padding: 0; font-size: 12px; }
#order-standard_cart .order-summary { margin: 0 0 20px 0; padding: 0; background-color: #666; border-bottom: 3px solid #666; border-radius: 4px; }
#order-standard_cart .order-summary h2 { margin: 0; padding: 10px; color: #fff; text-align: center; font-size: 1.4em; font-weight: 400; }
#order-standard_cart .summary-container { margin: 0; padding: 10px; min-height: 100px; border-radius: 3px; background-color: #f8f8f8; font-size: .8em; }
#order-standard_cart .order-summary .subtotal { margin: 0; padding: 0 0 5px 0; font-size: 1.2em; border-bottom: 1px solid #ddd; display: flex; justify-content: space-between; }
#order-standard_cart .order-summary .bordered-totals { margin: 0 0 5px 0; padding: 5px 0; border-bottom: 1px solid #ddd; }
#order-standard_cart .order-summary .bordered-totals div { display: flex; justify-content: space-between; }
#order-standard_cart .order-summary .total-due-today { margin: 20px 0; text-align: right; }
#order-standard_cart .order-summary .total-due-today .amt { font-size: 2.3em; display: block; }
#order-standard_cart .order-summary .btn-checkout { padding: 15px 34px; font-size: 1.4em; }
#order-standard_cart .order-summary .btn-continue-shopping { color: #222; font-size: .9em; }
#order-standard_cart .field-container { margin: 0 0 30px 0; }
#order-standard_cart .forma-pago label { display: inline-flex; align-items: center; gap: 6px; margin-right: 20px; font-weight: 400; }
@media (max-width: 1199px) { #order-standard_cart .cart-sidebar { display: none; } #order-standard_cart .cart-body { flex: 0 0 100%; max-width: 100%; } }

/* ---------- Tarjeta de inicio de sesión ---------- */
.login-form { display: flex; justify-content: center; }
.login-form .card { width: 100%; max-width: 540px; margin-top: 22px; }
.login-form .card-body.px-sm-5 { padding: 42px; }
.login-form h1 { font-size: 24.5px; font-weight: 500; line-height: 29.4px; margin-bottom: 7px; }
.login-form .card-footer { font-size: 11.2px; padding: 14px 42px; }

/* ---------- Factura (viewinvoice) ---------- */
body.pagina-factura { background-color: #f1f1f1; }
.invoice-container { margin: 15px auto; padding: 70px; max-width: 850px; background-color: #fff; border: 1px solid #ccc; border-radius: 6px; }
@media (max-width: 895px) { .invoice-container { margin: 15px; } }
@media (max-width: 767px) { .invoice-container { padding: 45px 45px 70px 45px; } }
.invoice-container .invoice-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.invoice-container .invoice-header img { max-width: 100%; max-height: 60px; }
.invoice-container .invoice-header h3 { font-size: 24.5px; margin: 10px 0 0; }
.invoice-container .invoice-status { margin: 20px 0 0 0; text-transform: uppercase; font-size: 24px; font-weight: 700; text-align: right; }
.invoice-status .draft, .invoice-status .cancelled { color: #888; } .invoice-status .unpaid { color: #c00; } .invoice-status .paid { color: #779500; }
.invoice-status .refunded { color: #248; } .invoice-status .collections { color: #fc0; }
.invoice-cols { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.invoice-col { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.invoice-col.right { text-align: right; }
@media (max-width: 499px) { .invoice-col { flex: 0 0 100%; max-width: 100%; } .invoice-col.right { text-align: left; } }
.invoice-container address { font-style: normal; margin-bottom: 1rem; }
.invoice-container .small-text { font-size: .9em; }
.invoice-container .card-header { background-color: #f8f8f8; }
.invoice-container .card-header .card-title { font-size: 1rem; font-weight: 700; margin: 0; }
.invoice-container .table { margin: 0; font-size: .9em; }
.invoice-container .table td, .invoice-container .table th { padding: .3rem .75rem; }
.invoice-container td.total-row { background-color: #f8f8f8; }
.invoice-container td.no-line { border: 0; }
.invoice-container .payment-btn-container { margin-top: 5px; text-align: right; }
.invoice-back { text-align: center; margin: 0 0 30px; }
.opciones-pago { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.opciones-pago > div { border: 1px solid #ddd; border-radius: 3.5px; padding: 14px; background: #fff; }
.opciones-pago h4 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }

/* ---------- Mensajes centrados (pago enviado, etc.) ---------- */
.mensaje-central { max-width: 560px; margin: 20px auto; text-align: center; }
.mensaje-central .icono { font-size: 42px; color: #999; display: block; margin-bottom: 10px; }
.mensaje-central .icono.ok { color: #5cb85c; }

/* ---------- Pie ---------- */
footer.footer { margin: 0; padding: 50px 0 80px; background-color: #404040; color: #eee; font-size: 12.6px; line-height: 18.9px; }
footer.footer .nav { justify-content: flex-start; margin-bottom: 0; }
footer.footer .nav-link { color: #eee; padding: 7px 14px; }
footer.footer .copyright { margin: 30px 0 0; font-size: 11.9px; text-align: center; }

/* ---------- Varios ---------- */
.header-lined h1 { font-size: 36px; margin: 0 0 7px; }
.subtitulo { color: #6c757d; margin-bottom: 14px; }
.clave-2fa { font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 1.1rem; background: #f8f8f8; border: 1px solid #ddd; padding: 10px; border-radius: 3.5px; word-break: break-all; }
.tabla-datos th { width: 45%; font-weight: 400; color: #666; }
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat-grid > div { border: 1px solid #ddd; border-radius: 3.5px; padding: 10px; text-align: center; background: #fafafa; }
@media (max-width: 767px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acciones-botones { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.acciones-botones form { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 767px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Pantallas chicas ---------- */
@media (max-width: 1199.98px) {
  header.header .main-navbar-wrapper > .contenedor { flex-wrap: wrap; row-gap: 6px; }
}
@media (max-width: 767.98px) {
  .menu-principal { flex-wrap: wrap; row-gap: 6px; }
  .menu-principal.menu-derecha { margin-left: 0; }
  header.header .topbar .etiqueta { display: none; }
}
.row > label.col-form-label { position: relative; width: 100%; padding-left: 15px; padding-right: 15px; }
