@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-600-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-700-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-800-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --of-ocean-950: #001020;
  --of-ocean-900: #061a33;
  --of-ocean-850: #0a2447;
  --of-blue-800: #102060;
  --of-blue-700: #103060;
  --of-blue-600: #164d9b;
  --of-blue-500: #2471e6;
  --of-blue-400: #4c8dff;
  --of-blue-100: #dceaff;
  --of-blue-50: #edf5ff;
  --of-ink: #0b172a;
  --of-text: #263951;
  --of-muted: #66778c;
  --of-line: #dbe5f0;
  --of-line-strong: #c6d5e5;
  --of-surface: #ffffff;
  --of-surface-soft: #f4f8fc;
  --of-surface-blue: #eef5fd;
  --of-success: #0f9f6e;
  --of-warning: #d98b13;
  --of-danger: #df4054;
  --of-info: #2471e6;
  --of-radius-sm: 10px;
  --of-radius-md: 14px;
  --of-radius-lg: 20px;
  --of-radius-xl: 28px;
  --of-shadow-sm: 0 8px 24px rgba(0, 16, 32, 0.06);
  --of-shadow-md: 0 18px 48px rgba(0, 16, 32, 0.09);
  --of-shadow-lg: 0 28px 80px rgba(0, 16, 32, 0.15);
  --of-ease: cubic-bezier(0.22, 0.72, 0, 1);
  --navy: var(--of-ocean-950);
  --navy-2: var(--of-blue-700);
  --ink: var(--of-ink);
  --muted: var(--of-muted);
  --line: var(--of-line);
  --bg: var(--of-surface-soft);
  --soft: var(--of-surface-blue);
  --card: var(--of-surface);
}

::selection {
  color: #fff;
  background: var(--of-blue-600);
}

:focus-visible {
  outline: 3px solid rgba(36, 113, 230, 0.34);
  outline-offset: 3px;
}

.of-skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: #fff;
  border-radius: var(--of-radius-sm);
  background: var(--of-blue-600);
  transition: transform 0.2s ease;
}

.of-skip-link:focus {
  transform: translateY(0);
}

.of-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  color: var(--of-ink);
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  font:
    700 0.9rem/1.1 'Inter',
    sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--of-ease),
    box-shadow 0.25s var(--of-ease),
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.of-btn:hover {
  transform: translateY(-2px);
}

.of-btn i {
  font-size: 1.05em;
  transition: transform 0.25s var(--of-ease);
}

.of-btn:hover i.bi-arrow-right,
.of-btn:hover i.bi-arrow-up-right {
  transform: translateX(3px);
}

.of-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--of-blue-600), var(--of-blue-500));
  box-shadow:
    0 12px 30px rgba(22, 77, 155, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.of-btn-primary:hover {
  color: #fff;
  box-shadow:
    0 18px 40px rgba(22, 77, 155, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.of-btn-outline {
  color: var(--of-ocean-950);
  border-color: var(--of-line-strong);
  background: #fff;
}

.of-btn-outline:hover {
  color: var(--of-blue-600);
  border-color: var(--of-blue-500);
  box-shadow: var(--of-shadow-sm);
}

.of-btn-ghost {
  color: var(--of-text);
}

.of-btn-ghost:hover {
  color: var(--of-blue-600);
  background: var(--of-blue-50);
}

.of-btn-glass {
  color: var(--of-ocean-950);
  border-color: rgba(16, 48, 96, 0.13);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(0, 16, 32, 0.07);
  backdrop-filter: blur(12px);
}

.of-btn-white {
  color: var(--of-ocean-950);
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.of-btn-dark-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.of-btn-lg {
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.96rem;
}

.of-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--of-blue-600);
  font-weight: 700;
  text-decoration: none;
}

/* Shared application surface */
body:not(.ocean-landing) {
  color: var(--of-ink);
  background:
    radial-gradient(circle at 90% 0, rgba(36, 113, 230, 0.06), transparent 28%),
    var(--of-surface-soft);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

body:not(.ocean-landing) :where(h1, h2, h3, h4, h5, h6) {
  color: var(--of-ocean-950);
  font-family: 'Manrope', 'Inter', sans-serif;
  letter-spacing: -0.025em;
}

.app-sidebar {
  width: 256px;
  padding: 20px 14px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at 20% 0, rgba(76, 141, 255, 0.22), transparent 28%),
    linear-gradient(180deg, var(--of-ocean-900), var(--of-ocean-950) 72%);
  box-shadow: 14px 0 45px rgba(0, 16, 32, 0.12);
}

.app-sidebar::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 48%);
}

.app-sidebar > * {
  position: relative;
  z-index: 1;
}

.app-main {
  width: calc(100% - 256px);
  margin-left: 256px;
}

.app-sidebar .brand {
  min-height: 86px;
  margin: 0 0 16px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(0, 10, 24, 0.18);
}

.app-sidebar .brand img {
  width: 152px;
  height: 66px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  filter: none;
}

.sidebar-nav {
  display: block;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sidebar-group + .sidebar-group {
  margin-top: 18px;
}

.sidebar-group-label {
  display: block;
  margin: 0 11px 7px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sidebar-nav a {
  position: relative;
  min-height: 44px;
  gap: 11px;
  margin-bottom: 3px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.sidebar-nav a i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: rgba(173, 204, 255, 0.76);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav a:hover {
  transform: translateX(2px);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.sidebar-nav a.active {
  color: #fff;
  border-color: rgba(111, 167, 255, 0.2);
  background: linear-gradient(135deg, rgba(36, 113, 230, 0.38), rgba(76, 141, 255, 0.14));
  box-shadow:
    inset 3px 0 0 var(--of-blue-400),
    0 9px 22px rgba(0, 0, 0, 0.12);
}

.sidebar-nav a.active i {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.topbar {
  height: 76px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(198, 213, 229, 0.74);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 28px rgba(0, 16, 32, 0.04);
  backdrop-filter: blur(18px);
}

.topbar-company-logo,
.topbar-user-avatar {
  border-color: var(--of-line);
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(0, 16, 32, 0.06);
}

.topbar-company strong,
.topbar-user-info strong {
  color: var(--of-ink);
  font-weight: 700;
}

.topbar-user-info strong span {
  color: var(--of-muted);
}

.btn-logout {
  min-width: 38px;
  color: var(--of-muted);
  border: 1px solid var(--of-line);
  background: #fff;
}

.content-wrap {
  max-width: 1760px;
  margin: 0 auto;
  padding: 26px clamp(18px, 2.3vw, 36px) 42px;
}

.app-breadcrumb {
  min-height: 36px;
  margin-bottom: 15px;
  padding: 5px 9px;
  border: 1px solid rgba(219, 229, 240, 0.82);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
}

.app-breadcrumb a,
.app-breadcrumb .active {
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 0.76rem;
}

.app-breadcrumb a:hover {
  color: var(--of-blue-600);
  background: var(--of-blue-50);
}

.page-head {
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 19px 22px;
  border: 1px solid var(--of-line);
  border-radius: var(--of-radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 254, 0.96));
  box-shadow: var(--of-shadow-sm);
}

.page-head h1 {
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 800;
}

.dashboard-page,
.list-page,
.clients-page,
.subscription-page {
  gap: 20px;
}

.dashboard-hero,
.clients-hero,
.list-hero,
.subscription-hero,
.employee-profile-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(123, 167, 230, 0.19);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 4%, rgba(76, 141, 255, 0.32), transparent 30%),
    linear-gradient(135deg, var(--of-ocean-950), var(--of-blue-800));
  box-shadow: 0 22px 58px rgba(0, 16, 32, 0.18);
}

.dashboard-hero::after,
.clients-hero::after,
.list-hero::after,
.subscription-hero::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(255, 255, 255, 0.025),
    0 0 0 70px rgba(255, 255, 255, 0.018);
}

.dashboard-hero > *,
.clients-hero > *,
.list-hero > *,
.subscription-hero > * {
  position: relative;
  z-index: 1;
}

.dashboard-kicker,
.employee-page-kicker {
  color: #d9e8ff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-hero h1,
.clients-hero h1,
.list-hero h1,
.subscription-hero h1 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* Keep ocean headers readable even when a legacy module adds heading colors. */
body.of-app-body
  :is(.dashboard-hero, .clients-hero, .list-hero, .subscription-hero)
  :is(h1, h2, h3) {
  color: #fff;
}

.dashboard-hero p,
.clients-hero p,
.list-hero p,
.subscription-hero p {
  color: rgba(229, 239, 255, 0.72);
}

body.of-app-body :is(.dashboard-hero, .clients-hero, .list-hero, .subscription-hero) p {
  color: rgba(229, 239, 255, 0.78);
}

.employee-profile-hero .employee-profile-copy h2 {
  color: #fff;
}

.employee-profile-hero .employee-profile-copy > p,
.employee-profile-hero .employee-profile-meta {
  color: rgba(229, 239, 255, 0.78);
}

.employee-profile-hero .employee-profile-meta i {
  color: #a9c6ff;
}

.employee-profile-hero .employee-eyebrow {
  color: #d9e8ff;
  border-color: rgba(153, 190, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-hero .btn-light,
.clients-hero .btn-light,
.list-hero .btn-light,
.subscription-hero .btn-light {
  color: var(--of-ocean-950);
  border-color: #fff;
  background: #fff;
}

.btn {
  min-height: 40px;
  padding: 0.56rem 0.9rem;
  border-radius: 11px;
  font-weight: 700;
  transition:
    transform 0.2s var(--of-ease),
    box-shadow 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn-primary {
  border-color: var(--of-blue-600);
  background: linear-gradient(135deg, var(--of-blue-600), var(--of-blue-500));
  box-shadow: 0 9px 22px rgba(22, 77, 155, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--of-blue-700);
  background: linear-gradient(135deg, var(--of-blue-700), var(--of-blue-600));
  box-shadow: 0 12px 28px rgba(22, 77, 155, 0.26);
}

.btn-outline-dark,
.btn-outline-secondary,
.btn-outline-primary {
  color: var(--of-text);
  border-color: var(--of-line-strong);
  background: #fff;
}

.btn-outline-dark:hover,
.btn-outline-secondary:hover,
.btn-outline-primary:hover {
  color: var(--of-blue-600);
  border-color: var(--of-blue-500);
  background: var(--of-blue-50);
}

.card-soft,
.table-card,
.list-filter-card,
.clients-filter-card,
.chart-card,
.kpi-card,
.quick-stat,
.subscription-plan-card,
.form-section-panel,
.employee-panel,
.client-stat-card,
.employee-stat-card,
.license-summary,
.invite-panel {
  border: 1px solid rgba(207, 220, 234, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--of-shadow-sm);
}

.kpi-card,
.quick-stat,
.client-stat-card,
.employee-stat-card,
.chart-card,
.subscription-plan-card,
.employee-panel {
  transition:
    transform 0.25s var(--of-ease),
    box-shadow 0.25s var(--of-ease),
    border-color 0.25s ease;
}

.kpi-card:hover,
.quick-stat:hover,
.client-stat-card:hover,
.employee-stat-card:hover,
.chart-card:hover,
.subscription-plan-card:hover,
.employee-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 113, 230, 0.3);
  box-shadow: var(--of-shadow-md);
}

.kpi-card {
  position: relative;
  overflow: hidden;
}

.kpi-card::after {
  content: '';
  position: absolute;
  inset: auto -25px -45px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 113, 230, 0.08), transparent 68%);
}

.chart-head h2,
.list-table-head h2,
.form-section-head h2,
.form-section-head h3 {
  font-weight: 800;
}

.form-label {
  margin-bottom: 7px;
  color: var(--of-text);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-control,
.form-select,
.input-group-text {
  min-height: 45px;
  color: var(--of-ink);
  border-color: var(--of-line-strong);
  border-radius: 11px;
  background-color: #fbfdff;
  font-size: 0.9rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-control:hover:not(:disabled):not(:focus),
.form-select:hover:not(:disabled):not(:focus) {
  border-color: #9fb9d6;
  background: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--of-blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(36, 113, 230, 0.12);
}

/* Mantém o seletor pesquisável unido aos botões do input group. */
.input-group > .searchable-select {
  width: 1%;
  min-width: 0;
}

.input-group > .searchable-select .searchable-select-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > .searchable-select + .btn {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.form-check-input:checked {
  border-color: var(--of-blue-600);
  background-color: var(--of-blue-600);
}

.list-filter-card,
.clients-filter-card {
  padding: 18px;
  background: linear-gradient(145deg, #fff, #f8fbff);
}

.table-responsive {
  border-radius: 0 0 16px 16px;
}

.table-card,
.list-table-card,
.clients-table-card {
  overflow: hidden;
}

.list-table-head,
.clients-table-head {
  padding: 17px 20px;
  border-bottom: 1px solid var(--of-line);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.modern-table thead th,
.table-card thead th,
.table thead th {
  color: #63758c;
  border-bottom-color: var(--of-line);
  background: #f4f8fc;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.table > :not(caption) > * > * {
  padding: 0.82rem 0.9rem;
  border-bottom-color: #e9eff5;
}

.table tbody tr {
  transition: background-color 0.18s ease;
}

.table tbody tr:hover {
  background: #f7fbff;
}

.badge {
  padding: 0.42em 0.68em;
  border-radius: 999px;
  font-weight: 700;
}

.status-badge {
  width: max-content;
  max-width: 100%;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  /* align-self: flex-start; */
  justify-content: center;
  gap: 6px;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.status-badge::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
  content: '';
}

.entity-identity .budget-revision-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 5px;
  margin-top: 5px;
  padding: 4px 8px;
  color: var(--of-blue-700);
  border: 1px solid #bad3f2;
  border-radius: 999px;
  background: var(--of-blue-50);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.entity-identity .budget-revision-badge i {
  font-size: 0.72rem;
}

.empty-state {
  border: 1px dashed #b8cbe0;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f5f9fe);
}

.modal-content,
.swal2-popup {
  border: 1px solid var(--of-line);
  border-radius: 20px;
  box-shadow: var(--of-shadow-lg);
}

.alert {
  border-radius: 12px;
}

/* Auth family */
.clean-login,
.clean-register,
.public-access {
  position: relative;
  min-height: 100dvh;
  color: var(--of-ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(76, 141, 255, 0.14), transparent 26%),
    radial-gradient(circle at 92% 84%, rgba(16, 48, 96, 0.11), transparent 28%),
    linear-gradient(145deg, #f1f7fd, #f9fbfe);
}

.clean-login::before,
.clean-register::before,
.public-access::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(16, 48, 96, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 48, 96, 0.09) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 66%);
}

.clean-login .clean-nav,
.clean-register .clean-nav {
  position: relative;
  z-index: 2;
}

.clean-login .clean-brand img,
.clean-register .clean-brand img {
  object-fit: contain;
}

.login-shell,
.register-shell,
.public-access {
  position: relative;
  z-index: 1;
}

.login-card,
.register-card,
.login-side,
.register-side,
.auth-card,
.auth-visual {
  border-color: rgba(198, 213, 229, 0.9);
  border-radius: 22px;
  box-shadow: var(--of-shadow-md);
}

.login-card,
.register-card,
.auth-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.login-side,
.register-side,
.auth-visual {
  color: #fff;
  background:
    radial-gradient(circle at 80% 4%, rgba(76, 141, 255, 0.28), transparent 28%),
    linear-gradient(145deg, var(--of-ocean-950), var(--of-blue-800));
}

.login-side h2,
.register-side h2,
.auth-visual h1,
.auth-visual h2 {
  color: #fff;
}

.login-side p,
.register-side p,
.auth-visual p,
.auth-visual span,
.auth-visual small {
  color: rgba(230, 239, 255, 0.72);
}

/* Keep authentication copy readable over the ocean surface even when legacy
   page selectors carry a higher specificity than the shared component rules. */
.clean-login .login-side .login-side-head > div > span,
.clean-register .register-side .register-side-head > div > span {
  color: #8fbaff;
}

.clean-login .login-side .login-side-head h2,
.clean-register .register-side .register-side-head h2,
.public-access .auth-visual .auth-highlight h1,
.public-access .auth-visual .auth-highlight h2 {
  color: #fff;
}

.clean-login .login-side .login-flow-list strong,
.clean-register .register-side .register-plan-list strong,
.public-access .auth-visual .auth-mini-grid strong {
  color: #fff;
}

.clean-login .login-side .login-flow-list span,
.clean-register .register-side .register-plan-list span,
.public-access .auth-visual .auth-mini-grid span {
  color: rgba(230, 239, 255, 0.72);
}

.clean-login .login-side .login-side-note,
.clean-register .register-side .register-side-note {
  color: rgba(240, 246, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.login-card-head h1,
.register-card-head h1 {
  font-weight: 800;
}

.login-card-logo {
  filter: drop-shadow(0 12px 28px rgba(0, 16, 32, 0.15));
}

.login-submit,
.register-submit,
.auth-submit {
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--of-blue-700), var(--of-blue-500));
  box-shadow: 0 14px 30px rgba(22, 77, 155, 0.24);
}

.register-progress-track span,
.password-strength span {
  background: linear-gradient(90deg, var(--of-blue-700), var(--of-blue-400));
}

.register-plan-option.is-selected,
.register-plan-option:has(input:checked) {
  border-color: var(--of-blue-500);
  background: var(--of-blue-50);
  box-shadow: 0 0 0 3px rgba(36, 113, 230, 0.1);
}

.address-map-editor {
  overflow: hidden;
  border: 1px solid var(--of-line-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--of-shadow-sm);
}

.address-map-canvas {
  width: 100%;
  height: clamp(260px, 31vw, 360px);
  background:
    radial-gradient(circle at 50% 42%, rgba(36, 113, 230, 0.12), transparent 34%),
    var(--of-surface-blue);
}

.address-map-editor-company {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.address-map-editor-company .address-map-canvas {
  height: 360px;
}

.address-map-editor-compact .address-map-canvas {
  height: 260px;
}

.address-map-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--of-muted);
  border-top: 1px solid var(--of-line);
  background: linear-gradient(180deg, #fff, var(--of-surface-soft));
  font-size: 0.8rem;
  font-weight: 600;
}

.address-map-help span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.address-map-help span i {
  color: var(--of-blue-600);
}

@media (max-width: 1199px) {
  .app-sidebar {
    width: 238px;
  }

  .app-main {
    width: calc(100% - 238px);
    margin-left: 238px;
  }
}

@media (max-width: 991px) {
  .app-sidebar {
    width: min(292px, 86vw);
  }

  .app-main {
    width: 100%;
    margin-left: 0;
  }

  .topbar {
    height: 68px;
    padding: 0 16px;
  }

  .content-wrap {
    padding: 18px 14px 32px;
  }

  .dashboard-hero,
  .clients-hero,
  .list-hero,
  .subscription-hero {
    border-radius: 18px;
  }
}

@media (max-width: 575px) {
  .topbar-company strong,
  .topbar-user-info strong {
    max-width: 110px;
  }

  .page-head {
    padding: 16px;
    border-radius: 16px;
  }

  .dashboard-hero,
  .clients-hero,
  .list-hero,
  .subscription-hero {
    padding: 20px 17px;
  }

  .btn {
    min-height: 42px;
  }

  .table > :not(caption) > * > * {
    padding: 0.72rem 0.75rem;
  }

  .address-map-help {
    align-items: stretch;
    flex-direction: column;
  }

  .address-map-help .btn {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .print-sheet {
    max-width: 100%;
    padding: 18px;
    overflow: hidden;
  }

  .print-sheet .print-info-grid {
    grid-template-columns: 1fr;
  }

  .print-sheet > table,
  .print-sheet > section > table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
  }
}

@media print {
  .app-sidebar,
  .topbar,
  .app-breadcrumb {
    display: none !important;
  }

  .app-main {
    width: 100% !important;
    margin: 0 !important;
  }

  .content-wrap {
    max-width: none;
    padding: 0 !important;
  }

  .print-sheet .print-full-width-section {
    display: block;
    width: 100%;
    max-width: none;
  }

  .print-sheet table.print-full-width-table {
    display: table !important;
    width: 100% !important;
    max-width: none !important;
    table-layout: fixed;
  }

  .print-sheet table.print-full-width-table th,
  .print-sheet table.print-full-width-table td {
    box-sizing: border-box;
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .print-sheet table.print-full-width-table .money-head,
  .print-sheet table.print-full-width-table .money-cell {
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .print-sheet table.print-full-width-table thead {
    display: table-header-group;
  }

  .print-sheet table.print-full-width-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .print-sheet .print-os-header-table th:nth-child(1),
  .print-sheet .print-os-header-table th:nth-child(3) {
    width: 14%;
  }

  .print-sheet .print-os-header-table td:nth-child(2),
  .print-sheet .print-os-header-table td:nth-child(4) {
    width: 36%;
  }

  .print-sheet .print-os-team-table th:nth-child(1),
  .print-sheet .print-os-team-table td:nth-child(1) {
    width: 26%;
  }

  .print-sheet .print-os-team-table th:nth-child(2),
  .print-sheet .print-os-team-table td:nth-child(2),
  .print-sheet .print-os-team-table th:nth-child(4),
  .print-sheet .print-os-team-table td:nth-child(4) {
    width: 20%;
  }

  .print-sheet .print-os-team-table th:nth-child(3),
  .print-sheet .print-os-team-table td:nth-child(3) {
    width: 34%;
  }

  .print-sheet .print-os-transport-table th:nth-child(1),
  .print-sheet .print-os-transport-table td:nth-child(1) {
    width: 10%;
  }

  .print-sheet .print-os-transport-table th:nth-child(2),
  .print-sheet .print-os-transport-table td:nth-child(2) {
    width: 42%;
  }

  .print-sheet .print-os-transport-table th:nth-child(3),
  .print-sheet .print-os-transport-table td:nth-child(3),
  .print-sheet .print-os-transport-table th:nth-child(4),
  .print-sheet .print-os-transport-table td:nth-child(4),
  .print-sheet .print-os-transport-table th:nth-child(5),
  .print-sheet .print-os-transport-table td:nth-child(5) {
    width: 16%;
  }

  .print-sheet .print-items-section {
    display: block;
    width: 100%;
    max-width: none;
  }

  .print-sheet .print-items-table {
    display: table !important;
    width: 100% !important;
    max-width: none !important;
    table-layout: fixed;
  }

  .print-sheet .print-items-table th,
  .print-sheet .print-items-table td {
    box-sizing: border-box;
    vertical-align: middle;
  }

  .print-sheet .print-items-table th:nth-child(1),
  .print-sheet .print-items-table td:nth-child(1) {
    width: 15%;
    white-space: normal;
  }

  .print-sheet .print-items-table th:nth-child(2),
  .print-sheet .print-items-table td:nth-child(2) {
    width: auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .print-sheet .print-items-table th:nth-child(3),
  .print-sheet .print-items-table td:nth-child(3) {
    width: 9%;
  }

  .print-sheet .print-items-table th:nth-child(4),
  .print-sheet .print-items-table td:nth-child(4) {
    width: 7%;
  }

  .print-sheet .print-items-table th:nth-child(5),
  .print-sheet .print-items-table td:nth-child(5),
  .print-sheet .print-items-table th:nth-child(6),
  .print-sheet .print-items-table td:nth-child(6) {
    width: 14%;
  }

  .print-sheet .print-items-table thead {
    display: table-header-group;
  }

  .print-sheet .print-items-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .print-sheet .print-budget-summary-table {
    display: table !important;
    width: 100% !important;
    max-width: none !important;
    table-layout: fixed;
  }

  .print-sheet .print-budget-summary-table th,
  .print-sheet .print-budget-summary-table td {
    box-sizing: border-box;
    vertical-align: middle;
  }

  .print-sheet .print-budget-summary-table th:nth-child(1),
  .print-sheet .print-budget-summary-table th:nth-child(3) {
    width: 18%;
  }

  .print-sheet .print-budget-summary-table td:nth-child(2),
  .print-sheet .print-budget-summary-table td:nth-child(4) {
    width: 32%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hover motion must not expand the sidebar scrollable width. */
.sidebar-nav {
  min-width: 0;
  overflow-x: hidden;
}
.sidebar-nav a {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.sidebar-nav a:hover,
.sidebar-nav a:focus-visible {
  transform: none;
}
.sidebar-nav a > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
