/* WTogether Multipaís UI: crisp SVG flags, country switcher, Hub org modal, RD lookup, and Admin config. */
/* All interactive surfaces follow the white (#FFFFFF) light standard. */

/* WTogether Brand Manual (Lámina 6): crisp white badge for symbol contrast on dark corporate blue headers */
.v-sidebar-brand img,
.v-mobile-brand img,
.v-public-masthead img {
  background: #ffffff;
  border-radius: 9px;
  padding: 4px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 52, 96, 0.22);
}

.wt-flag-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  box-sizing: content-box;
  background: #ffffff;
}

/* Country Switcher (Topbar, Login Masthead, Public Registration) */
.wt-country-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 960;
}

.wt-country-switcher.is-open {
  z-index: 1350;
}

.wt-country-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.wt-country-btn:hover,
.wt-country-switcher.is-open .wt-country-btn {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.72);
}

.wt-country-switcher--card .wt-country-btn {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.wt-country-switcher--card .wt-country-btn:hover,
.wt-country-switcher--card.is-open .wt-country-btn {
  background: #f8fafc;
  border-color: #0b5cad;
  color: #0b5cad;
}

.wt-country-code {
  letter-spacing: 0.04em;
}

.wt-country-chev {
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.wt-country-switcher.is-open .wt-country-chev {
  transform: rotate(180deg);
}

.wt-country-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 276px;
  max-width: calc(100vw - 24px);
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(6, 57, 111, 0.18), 0 2px 6px rgba(15, 23, 42, 0.08);
  padding: 6px;
  z-index: 1250;
}

.wt-country-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px 8px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
}

.wt-country-auto-tag {
  padding: 2px 6px;
  border-radius: 999px;
  background: #eff6ff;
  color: #0b5cad;
  border: 1px solid #bfdbfe;
  font-size: 10px;
  text-transform: none;
  letter-spacing: 0;
}

.wt-country-opt-form {
  margin: 0;
}

.wt-country-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.wt-country-opt:hover:not(:disabled) {
  background: #f0f6ff;
  border-color: #bfdbfe;
}

.wt-country-opt.is-active {
  background: #eff6ff;
  border-color: #93c5fd;
}

.wt-country-opt.is-disabled,
.wt-country-opt:disabled {
  background: #f8fafc;
  color: #64748b;
  cursor: not-allowed;
  opacity: 0.78;
}

.wt-country-opt-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}

.wt-country-opt-copy strong {
  font-size: 13.5px;
  font-weight: 650;
  color: inherit;
}

.wt-country-opt-copy small {
  font-size: 11.5px;
  color: #64748b;
}

.wt-country-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #0b5cad;
  color: #ffffff;
  flex-shrink: 0;
}

.wt-country-soon-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Public Masthead right alignment for switcher */
.v-public-masthead {
  justify-content: space-between;
  gap: 12px;
}

/* WTogether Multipaís Login Brand Panel (White / Light Corporate Blue surface) */
.victoria-ui .v-access-layout.wt-access-layout--multipais {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 12px 32px rgba(6, 57, 111, 0.1);
}

.victoria-ui .wt-access-layout--multipais .v-access-brand {
  background: linear-gradient(155deg, #ffffff 0%, #f0f6ff 60%, #e4effc 100%);
  color: #06396f;
  border-right: 1px solid #dbe6f2;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
}

.victoria-ui .wt-access-layout--multipais .v-access-name {
  color: #06396f;
}

.victoria-ui .wt-access-layout--multipais .v-access-descriptor {
  color: #334155;
  text-align: left;
}

.victoria-ui .wt-access-layout--multipais .v-access-identity {
  align-items: flex-start;
}

.wt-login-country-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  color: #06396f;
  font-size: 12.5px;
  font-weight: 650;
  box-shadow: 0 2px 6px rgba(11, 92, 173, 0.08);
  align-self: flex-start;
}

.wt-login-hub-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 14px;
  background: #ffffff;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
}

.wt-login-countries-form {
  width: 100%;
  margin: 0;
}

.wt-login-countries-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.victoria-ui .v-form-page .wt-login-countries-grid .wt-login-country-chip,
.wt-login-country-chip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  min-width: 0;
  appearance: none;
  transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease, transform 0.12s ease;
}

.victoria-ui .v-form-page .wt-login-countries-grid button.wt-login-country-chip.is-selectable,
button.wt-login-country-chip.is-selectable {
  cursor: pointer;
}

.victoria-ui .v-form-page .wt-login-countries-grid button.wt-login-country-chip.is-selectable:hover,
button.wt-login-country-chip.is-selectable:hover {
  border-color: #0b5cad;
  background: #f0f6ff;
  box-shadow: 0 3px 10px rgba(11, 92, 173, 0.14);
  transform: translateY(-1px);
}

.victoria-ui .v-form-page .wt-login-countries-grid button.wt-login-country-chip.is-selectable:focus-visible,
button.wt-login-country-chip.is-selectable:focus-visible {
  outline: 2px solid #0b5cad;
  outline-offset: 2px;
  border-color: #0b5cad;
}

.victoria-ui .v-form-page .wt-login-countries-grid .wt-login-country-chip.is-active,
.wt-login-country-chip.is-active {
  border-color: #0b5cad;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(11, 92, 173, 0.18);
}

.victoria-ui .v-form-page .wt-login-countries-grid .wt-login-country-chip.is-soon,
.wt-login-country-chip.is-soon,
button.wt-login-country-chip:disabled {
  background: #f8fafc;
  color: #64748b;
  border-color: #cbd5e1;
  border-style: dashed;
  cursor: not-allowed;
  opacity: 0.78;
}

.wt-login-country-chip-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.wt-login-country-chip-meta strong {
  font-size: 12px;
  font-weight: 700;
  white-space: normal;
  line-height: 1.2;
}

.wt-login-country-chip-meta small {
  font-size: 10.5px;
  color: #475569;
}

.wt-login-country-chip.is-active .wt-login-country-chip-meta small {
  color: #0b5cad;
  font-weight: 650;
}

.wt-login-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.wt-login-card-top .v-access-title {
  margin: 0 !important;
}

/* Hub Mode Workspace Trigger & Modal (#FFFFFF surface) */
.wt-ws-bar {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.wt-ws-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  max-width: 210px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.wt-ws-trigger:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.72);
}

.wt-ws-trigger-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wt-ws-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1550;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(2px);
}

.wt-ws-dialog {
  width: 100%;
  max-width: 640px;
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(6, 57, 111, 0.24);
  overflow: hidden;
}

.wt-ws-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.wt-ws-eyebrow {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0b5cad;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.wt-ws-header h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 750;
  color: #06396f;
}

.wt-ws-header p {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.45;
}

.wt-ws-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  flex-shrink: 0;
}

.wt-ws-close:hover {
  background: #f8fafc;
  color: #0f172a;
}

.wt-ws-groups {
  padding: 16px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
}

.wt-ws-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wt-ws-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
  color: #06396f;
  font-size: 14px;
}

.wt-ws-group-code {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
}

.wt-ws-cards {
  display: grid;
  gap: 8px;
}

.wt-ws-card-form {
  margin: 0;
}

.wt-ws-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dbe6f2;
  background: #ffffff;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

.wt-ws-card:hover {
  border-color: #0b5cad;
  background: #f8fbff;
  box-shadow: 0 4px 12px rgba(11, 92, 173, 0.08);
}

.wt-ws-card.is-active {
  border-color: #0b5cad;
  background: #eff6ff;
}

.wt-ws-card-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.wt-ws-card-main strong {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.wt-ws-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.wt-ws-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
}

.wt-ws-pill--dedicada {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.wt-ws-pill--juridica_compartida {
  background: #eff6ff;
  color: #0b5cad;
  border: 1px solid #bfdbfe;
}

.wt-ws-pill--personal {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.wt-ws-role {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.wt-ws-current {
  padding: 4px 10px;
  border-radius: 999px;
  background: #0b5cad;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.wt-ws-enter {
  font-size: 13px;
  font-weight: 650;
  color: #0b5cad;
  white-space: nowrap;
  flex-shrink: 0;
}

.wt-ws-footer {
  padding: 14px 22px 18px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wt-ws-create-toggle {
  align-self: flex-start;
}

.wt-ws-create-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.wt-ws-create-row input,
.wt-ws-create-row select {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
}

/* Widen Tipo de documento select column on public registration for DO/CO/PE multi-char labels (Cédula, RNC, Pasaporte) */
.reg-document-group:has(select[data-doc-country="DO"]),
.reg-document-group:has(select[data-doc-country="CO"]),
.reg-document-group:has(select[data-doc-country="PE"]) {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) !important;
  gap: 10px !important;
}

.reg-document-group .reg-tipo-doc:has(select[data-doc-country="DO"]),
.reg-document-group .reg-tipo-doc:has(select[data-doc-country="CO"]),
.reg-document-group .reg-tipo-doc:has(select[data-doc-country="PE"]) {
  flex: 0 0 126px !important;
  width: 100% !important;
  min-width: 118px !important;
}

.reg-document-group .reg-tipo-doc:has(select[data-doc-country="DO"]) select,
.reg-document-group .reg-tipo-doc:has(select[data-doc-country="CO"]) select,
.reg-document-group .reg-tipo-doc:has(select[data-doc-country="PE"]) select {
  width: 100% !important;
  min-width: 0 !important;
  padding-right: 26px !important;
}

/* RD Identity Lookup bar in Persona Form & Public Registration */
.wt-rd-lookup-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid #dbe6f2;
}

.wt-rd-lookup-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 11px;
  border-radius: 7px;
  border: 1px solid #0b5cad;
  background: #ffffff;
  color: #0b5cad;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
}

.wt-rd-lookup-btn:hover:not(:disabled) {
  background: #eff6ff;
}

.wt-rd-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}

.wt-rd-badge--valid {
  background: #eff6ff;
  color: #0b5cad;
  border: 1px solid #bfdbfe;
}

.wt-rd-badge--ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.wt-rd-badge--manual {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.wt-rd-badge--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.wt-rd-lookup-details {
  flex-basis: 100%;
  font-size: 12.5px;
  color: #334155;
  line-height: 1.4;
}

/* Admin Config: Países e Identidad Multipaís (Carbon Light #FFFFFF) */
.wt-admin-paises-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border: 1px solid #dbe6f0;
  border-radius: 10px;
  background: #ffffff;
}

.wt-admin-paises-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: #ffffff;
}

.wt-admin-paises-table th {
  text-align: left;
  padding: 10px 12px;
  background: #f4f8fc;
  color: #06396f;
  font-weight: 700;
  font-size: 12px;
  border-bottom: 1px solid #dbe6f0;
  white-space: nowrap;
}

.wt-admin-paises-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f7;
  color: #0f172a;
  vertical-align: middle;
}

.wt-admin-paises-table tbody tr:last-child td {
  border-bottom: 0;
}

.wt-admin-pais-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
}

.wt-admin-pais-editor {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fbfdff;
}

.wt-admin-pais-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #dbe6f0;
}

.wt-admin-pais-editor-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15.5px;
  color: #06396f;
}

.wt-admin-pais-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wt-admin-pais-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.wt-admin-pais-field--wide {
  grid-column: 1 / -1;
}

.wt-admin-pais-field label {
  font-size: 12.5px;
  font-weight: 650;
  color: #1e293b;
}

.wt-admin-pais-field input:not([type="checkbox"]),
.wt-admin-pais-field select {
  width: 100%;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid #9eafc0;
  border-radius: 7px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  box-sizing: border-box;
}

.wt-admin-key-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 11.5px;
  font-weight: 650;
  width: fit-content;
}

.wt-admin-tools-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.wt-admin-test-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #dbe6f0;
  background: #ffffff;
}

.wt-admin-test-box input {
  flex: 1 1 200px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #9eafc0;
  border-radius: 7px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
}

.wt-admin-live-status {
  flex-basis: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  line-height: 1.4;
}

.wt-admin-live-status.is-info {
  background: #eff6ff;
  color: #0b5cad;
  border: 1px solid #bfdbfe;
}

.wt-admin-live-status.is-ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.wt-admin-live-status.is-warn {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.wt-admin-live-status.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Fixed locked country/organization badge on public invitation pages */
.wt-country-locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #f8fbff;
  color: #06396f;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.25;
  flex-shrink: 0;
  max-width: 100%;
}

.wt-country-locked-badge__sep {
  color: #94a3b8;
  font-weight: 400;
}

.wt-country-locked-badge__org {
  color: #0b5cad;
  font-weight: 700;
}

.wt-country-locked-badge__lock {
  color: #64748b;
  flex-shrink: 0;
}

/* Active Workspace Context Banner (Inicio, Invitaciones, Personas — #FFFFFF light surface) */
.wt-ws-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 12px 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(6, 57, 111, 0.05);
  color: #0f172a;
}

.wt-ws-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 280px;
}

.wt-ws-banner-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.wt-ws-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.wt-ws-banner-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
}

.wt-ws-banner-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.wt-ws-banner-name {
  font-size: 15.5px;
  font-weight: 750;
  color: #06396f;
  line-height: 1.2;
}

.wt-ws-banner-counts {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  color: #475569;
}

.wt-ws-banner-counts strong {
  color: #0f172a;
  font-weight: 700;
}

.wt-ws-banner-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.wt-ws-banner-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #06396f;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.wt-ws-banner-switch:hover {
  background: #f0f6ff;
  border-color: #0b5cad;
  color: #0b5cad;
}

.wt-ws-banner-ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 8px;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.wt-ws-banner-ext:hover {
  background: #d1fae5;
  border-color: #34d399;
}

.wt-ws-card-counts {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-top: 2px;
}

.wt-ws-dedicated-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -4px;
  padding: 6px 12px;
  border-radius: 0 0 10px 10px;
  background: #f8fafc;
  border: 1px solid #dbe6f2;
  border-top: 0;
  font-size: 12px;
  color: #475569;
}

.wt-ws-dedicated-link a {
  color: #065f46;
  font-weight: 700;
  text-decoration: none;
}

.wt-ws-dedicated-link a:hover {
  text-decoration: underline;
}

/* Mobile 390x844 zero-overflow responsiveness */
@media (max-width: 1099px) {
  .wt-country-btn {
    padding: 4px 8px;
    min-height: 36px;
    gap: 5px;
  }
  .wt-ws-trigger {
    max-width: 130px;
    padding: 4px 7px;
    font-size: 11.5px;
  }
}

@media (max-width: 767px) {
  .wt-admin-pais-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .wt-ws-create-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .wt-ws-banner {
    padding: 12px;
  }
  .wt-ws-banner-actions {
    width: 100%;
  }
  .wt-ws-banner-switch,
  .wt-ws-banner-ext {
    flex: 1 1 auto;
  }
  .victoria-ui .v-registration-page .v-registration-identity {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
  }
  .victoria-ui .v-registration-page #registration-errors.info-callout {
    display: block;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .victoria-ui .v-registration-page #registration-errors.info-callout > ul {
    display: block;
    margin: 6px 0 0;
    padding-left: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .victoria-ui .v-registration-page #registration-errors.info-callout > ul li {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .wt-country-locked-badge {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    border-radius: 10px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .v-topbar .wt-country-code {
    display: none;
  }
  .v-topbar .wt-ws-trigger-name {
    max-width: 72px;
  }
  .wt-country-menu {
    right: -8px;
    width: min(270px, calc(100vw - 20px));
  }
}
