@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: local('Outfit'), url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: local('Outfit'), url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: local('Plus Jakarta Sans'), url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: local('Plus Jakarta Sans'), url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('Plus Jakarta Sans ExtraBold'), url('../fonts/plus-jakarta-sans-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('Plus Jakarta Sans ExtraBold'), url('../fonts/plus-jakarta-sans-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --re-bg-base: #f3f8ff;
  --re-bg-deep: #041f34;
  --re-surface: #ffffff;
  --re-surface-soft: #eef4ff;
  --re-border: #d8e5f5;
  --re-ink: #10283f;
  --re-muted: #5f7895;
  --re-accent: #0bc5a3;
  --re-accent-2: #36d1dc;
  --re-primary: #1f7cf0;
  --re-warning: #f59e0b;
  --re-danger: #ef4444;
  --re-success: #10b981;
  --re-shadow-xl: 0 32px 70px rgba(7, 28, 51, 0.16);
  --re-shadow-lg: 0 18px 36px rgba(11, 34, 58, 0.12);
  --re-shadow-sm: 0 8px 18px rgba(8, 30, 52, 0.08);
  --re-radius-xl: 26px;
  --re-radius-lg: 18px;
  --re-radius-md: 12px;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--re-ink);
  background:
    radial-gradient(850px 360px at -8% -12%, rgba(54, 209, 220, 0.27), transparent 60%),
    radial-gradient(880px 430px at 108% 8%, rgba(31, 124, 240, 0.23), transparent 62%),
    linear-gradient(150deg, #f1f6ff 0%, #f6fbff 45%, #eefff8 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(130deg, rgba(255, 255, 255, 0.5) 0%, transparent 40%),
    linear-gradient(300deg, rgba(188, 244, 255, 0.22) 0%, transparent 52%);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: auto -20vw -42vh -20vw;
  height: 55vh;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(8, 178, 155, 0.22), transparent 68%);
  z-index: -1;
  filter: blur(36px);
  pointer-events: none;
}

.wrapper {
  background: transparent;
}

/* Login */
body.login-page {
  background:
    radial-gradient(920px 420px at -5% 0%, rgba(11, 197, 163, 0.34), transparent 60%),
    radial-gradient(980px 520px at 106% 100%, rgba(54, 209, 220, 0.3), transparent 62%),
    linear-gradient(155deg, #051f34 0%, #0a3a59 56%, #0a5f6c 100%);
}

body.login-page::before,
body.login-page::after {
  display: none;
}

.repayeco-login-box {
  width: min(980px, 96vw);
}

.repayeco-login-card {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 38px 90px rgba(1, 9, 22, 0.5);
  background: rgba(245, 252, 255, 0.96);
  backdrop-filter: blur(6px);
}

.repayeco-login-side {
  color: #e9fbff;
  background:
    radial-gradient(380px 220px at -5% 0%, rgba(78, 240, 218, 0.36), transparent 62%),
    radial-gradient(360px 240px at 105% 100%, rgba(108, 164, 255, 0.34), transparent 58%),
    linear-gradient(160deg, #06253a 0%, #0a4f69 50%, #127f82 100%);
}

.repayeco-login-side-inner {
  padding: 42px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.repayeco-login-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  border: 1px solid rgba(221, 255, 255, 0.55);
  background: rgba(221, 255, 255, 0.24);
}

.repayeco-login-side h2 {
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.9rem;
}

.repayeco-login-side p {
  color: rgba(227, 248, 255, 0.95);
  margin-bottom: 20px;
}

.repayeco-login-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.repayeco-login-points li {
  border-radius: 12px;
  border: 1px solid rgba(229, 255, 255, 0.22);
  background: rgba(221, 255, 255, 0.14);
  padding: 11px 13px;
  font-weight: 500;
}

.repayeco-login-card .card-header {
  border: 0;
  padding: 28px 24px 18px;
  background: transparent;
}

.repayeco-login-card .card-header a {
  color: var(--re-ink);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.repayeco-login-card .card-body {
  background: transparent;
  padding: 6px 28px 28px;
}

.repayeco-login-card .login-box-msg {
  color: #35506a;
  font-weight: 600;
}

/* Legacy layout shutdown */
body:not(.login-page) .main-sidebar,
body:not(.login-page) .main-header,
body:not(.login-page) .sidebar,
body:not(.login-page) .control-sidebar {
  display: none !important;
}

body:not(.login-page) .wrapper {
  min-height: 100vh;
  padding: 14px 14px calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* New top chrome */
.re-header-shell {
  position: sticky;
  top: 10px;
  z-index: 1040;
  border-radius: var(--re-radius-xl);
  border: 1px solid rgba(165, 218, 244, 0.45);
  background:
    radial-gradient(320px 180px at 2% -22%, rgba(64, 210, 215, 0.34), transparent 66%),
    radial-gradient(340px 220px at 102% 120%, rgba(104, 167, 255, 0.28), transparent 66%),
    linear-gradient(120deg, #062239 0%, #0c3f5d 56%, #0e6365 100%);
  box-shadow: 0 24px 46px rgba(4, 26, 43, 0.34);
  color: #eaf8ff;
  padding: 16px;
}

.re-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.re-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f0fdff !important;
  text-decoration: none !important;
}

.re-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #36d1dc 0%, #0bc5a3 100%);
  box-shadow: 0 10px 26px rgba(11, 197, 163, 0.46);
}

.re-logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.08;
}

.re-logo-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.re-logo-text small {
  color: #bbe6f9;
  font-size: 0.73rem;
}

.re-header-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.re-global-search {
  min-width: min(420px, 36vw);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(176, 233, 255, 0.32);
  background: rgba(5, 25, 42, 0.52);
  padding: 6px 6px 6px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.re-global-search i {
  color: #b7ecff;
  font-size: 0.82rem;
}

.re-global-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f2fdff;
  font-size: 0.84rem;
  font-weight: 600;
}

.re-global-search input::placeholder {
  color: rgba(216, 244, 255, 0.72);
}

.re-global-search button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: linear-gradient(120deg, #36d1dc 0%, #0bc5a3 100%);
  color: #083448;
  font-weight: 800;
  font-size: 0.78rem;
  box-shadow: 0 8px 18px rgba(11, 197, 163, 0.32);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.re-global-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(11, 197, 163, 0.42);
}

.re-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(173, 231, 255, 0.34);
  background: rgba(173, 231, 255, 0.16);
  color: #daf4ff;
  font-size: 0.77rem;
  font-weight: 700;
}

.re-user-menu {
  position: relative;
}

.re-user-menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(175, 235, 255, 0.36);
  background: rgba(6, 27, 45, 0.54);
  border-radius: 999px;
  padding: 6px 10px 6px 6px;
  cursor: pointer;
}

.re-user-menu summary::-webkit-details-marker {
  display: none;
}

.re-user-avatar {
  width: 31px;
  height: 31px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(140deg, #35d0dc, #0bc5a3);
}

.re-user-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ecfaff;
}

.re-user-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 228px;
  z-index: 40;
  border-radius: 15px;
  border: 1px solid #cfe5f8;
  background: #fbfdff;
  box-shadow: var(--re-shadow-lg);
  padding: 8px;
}

.re-user-menu-panel a {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 9px 10px;
  color: #1f4a68;
  font-weight: 600;
  text-decoration: none;
}

.re-user-menu-panel a:hover {
  background: #ebf4ff;
}

.re-main-nav,
.re-quick-actions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.re-main-nav {
  margin-top: 12px;
  padding-bottom: 4px;
}

.re-main-nav a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  color: #dcf5ff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(180, 237, 255, 0.26);
  background: rgba(180, 237, 255, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.re-main-nav a:hover {
  color: #fff;
  background: rgba(180, 237, 255, 0.2);
  transform: translateY(-1px);
}

.re-main-nav a.is-active {
  border-color: transparent;
  color: #06364f;
  background: linear-gradient(120deg, #36d1dc 0%, #0bc5a3 100%);
  box-shadow: 0 10px 22px rgba(11, 197, 163, 0.42);
}

.re-quick-actions {
  margin-top: 10px;
}

.re-quick-actions a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  color: #ecfbff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(187, 239, 255, 0.24);
  background: rgba(6, 24, 41, 0.44);
  padding: 8px 11px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.re-quick-actions a:hover {
  background: rgba(6, 24, 41, 0.66);
  transform: translateY(-1px);
}

/* Page shell */
body:not(.login-page) .content-wrapper {
  margin-left: 0 !important;
  border-radius: var(--re-radius-xl);
  border: 1px solid rgba(169, 205, 234, 0.54);
  background: rgba(251, 254, 255, 0.9);
  box-shadow: var(--re-shadow-xl);
  padding-bottom: 2px;
}

body:not(.login-page) .content-header {
  display: none;
}

body:not(.login-page) .content-header.re-legacy-header {
  display: none;
}

body:not(.login-page) .content-header > .container-fluid,
body:not(.login-page) .content > .container-fluid {
  width: 100%;
  max-width: 100%;
}

.re-page-hero {
  display: none !important;
  margin: 16px 16px 10px;
  border-radius: 22px;
  border: 1px solid #d4e5f7;
  background:
    radial-gradient(360px 190px at -4% -20%, rgba(54, 209, 220, 0.16), transparent 66%),
    radial-gradient(360px 210px at 105% 120%, rgba(31, 124, 240, 0.14), transparent 64%),
    linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
  padding: 18px;
  box-shadow: var(--re-shadow-sm);
}

.re-page-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.re-page-hero-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.re-page-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  background: linear-gradient(140deg, #1f7cf0 0%, #36d1dc 55%, #0bc5a3 100%);
  box-shadow: 0 12px 30px rgba(31, 124, 240, 0.26);
}

.re-page-kicker {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #5d87a8;
}

.re-page-title {
  margin: 2px 0 4px;
  color: #123f5f;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.re-page-description {
  margin: 0;
  color: #5f7d98;
  font-weight: 500;
  font-size: 0.92rem;
}

.re-page-path {
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.re-page-path span {
  border-radius: 8px;
  background: #eaf3ff;
  color: #2f5d7d;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 7px;
}

.re-search-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.re-search-card {
  border: 1px solid #d7e8f8;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--re-shadow-sm);
  padding: 16px;
}

.re-search-card h3 {
  margin: 0 0 6px;
  color: #1b4c6b;
  font-family: 'Outfit', sans-serif;
  font-size: 1.06rem;
}

.re-search-card p {
  margin: 0;
  color: #5b7a95;
  font-weight: 500;
}

.re-search-empty {
  border-radius: 16px;
  border: 1px dashed #c6dbef;
  background: linear-gradient(145deg, #f5fbff, #f4fff9);
  padding: 22px;
  color: #35617f;
  font-weight: 600;
}

.re-result-list {
  display: grid;
  gap: 12px;
}

.re-result-item {
  border: 1px solid #dcebf8;
  border-radius: 16px;
  background: linear-gradient(140deg, #ffffff 0%, #f9fcff 100%);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.re-result-title {
  margin: 0 0 6px;
  color: #164564;
  font-weight: 800;
}

.re-result-meta {
  margin: 0;
  color: #5a7894;
  font-size: 0.84rem;
  font-weight: 600;
}

.re-result-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.re-result-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.re-result-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf6ff;
  color: #21506f;
  font-size: 0.76rem;
  font-weight: 700;
}

/* Cards and blocks */
.content .row {
  row-gap: 14px;
}

.card,
.info-box,
.small-box {
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius-lg);
  background: linear-gradient(150deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--re-shadow-lg);
}

.card.re-panel-card {
  overflow: hidden;
}

.card-header {
  border: 0;
  border-bottom: 1px solid #ddebf8;
  background: linear-gradient(180deg, rgba(246, 252, 255, 0.95), rgba(245, 251, 255, 0.92));
  padding: 14px 16px;
}

.card-header .card-title {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  color: #1a4567;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.re-title-chip {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.72rem;
  background: linear-gradient(140deg, #1f7cf0, #0bc5a3);
}

.card-body {
  padding: 16px;
}

.re-card-meta {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d8e7f6;
  background: #f5faff;
  color: #4d6f8f;
  font-size: 0.82rem;
  font-weight: 600;
}

.info-box {
  min-height: 120px;
}

.info-box .info-box-icon {
  border-radius: 15px;
  background: linear-gradient(145deg, #e9f6ff, #e6fff8);
  box-shadow: inset 0 0 0 1px rgba(165, 205, 233, 0.5);
}

.info-box-content {
  padding-top: 4px;
}

.info-box-text {
  font-family: 'Outfit', sans-serif;
  color: #214f70;
  font-weight: 700;
}

.info-box-number {
  color: #1f6f84;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Forms */
.re-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}

.re-form-item {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #dbe8f7;
  background: #f8fcff;
  width: 100%;
}

.re-form-item.re-span-2 {
  grid-column: 1 / -1;
}

.re-form-item > label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #2f5f80;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.re-form-item > label i {
  color: #1f7cf0;
}

.form-control,
.custom-select,
textarea.form-control,
.select2-selection {
  border-radius: 11px !important;
  border: 1px solid #c8dcf0;
  min-height: 44px;
  padding-left: 12px;
  color: #173851;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(10, 31, 53, 0.04);
  width: 100%;
}

.form-control::placeholder,
textarea.form-control::placeholder {
  color: #89a2ba;
}

.form-control:focus,
.custom-select:focus,
textarea.form-control:focus {
  border-color: #6cbef8;
  box-shadow: 0 0 0 0.2rem rgba(31, 124, 240, 0.16);
}

select.form-control,
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #4f789c 50%), linear-gradient(135deg, #4f789c 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 7px), calc(100% - 13px) calc(1em + 7px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.custom-control {
  padding-left: 2rem;
}

.custom-control-label {
  color: #254f70;
  font-weight: 600;
}

.custom-control-label::before,
.custom-control-label::after {
  top: 0.1rem;
  left: -2rem;
  width: 1.28rem;
  height: 1.28rem;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,
.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #1f7cf0;
  border-color: #1f7cf0;
}

.custom-control-input:focus ~ .custom-control-label::before,
.custom-control-input:focus-visible ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(31, 124, 240, 0.18);
  border-color: #6cbef8;
}

input[type='checkbox'],
input[type='radio'] {
  accent-color: #1f7cf0;
}

.re-form-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #cfe2f4;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.input-group .form-control {
  border-right: 0;
}

.input-group-text {
  border-radius: 0 11px 11px 0;
  border: 1px solid #c8dcf0;
  border-left: 0;
  color: #2d5a7d;
  background: #edf6ff;
}

.re-form-note {
  margin-top: 10px;
  border-radius: 12px;
  border: 1px dashed #c9dcf0;
  background: linear-gradient(145deg, #f3faff, #f2fff9);
  padding: 12px;
  color: #315f7f;
  font-size: 0.83rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  border-radius: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  text-align: center;
}

.btn i {
  margin-right: 0;
}

.btn-primary {
  background: linear-gradient(110deg, #1f7cf0 0%, #0bc5a3 100%);
  box-shadow: 0 12px 26px rgba(31, 124, 240, 0.25);
}

.btn-success {
  background: linear-gradient(110deg, #10b981 0%, #34d399 100%);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.24);
}

.btn-danger {
  background: linear-gradient(110deg, #ef4444 0%, #f87171 100%);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.24);
}

.btn-warning {
  color: #fff;
  background: linear-gradient(110deg, #f59e0b 0%, #f97316 100%);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.25);
}

.btn-info {
  color: #fff;
  background: linear-gradient(110deg, #0ea5e9 0%, #38bdf8 100%);
}

.btn-secondary {
  color: #20445f;
  background: #e6f0fb;
  border: 1px solid #cddff0;
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Table skeleton */
.re-table-shell {
  border-radius: 14px;
  border: 1px solid #d7e6f6;
  background: #fff;
  overflow: hidden;
  width: 100%;
}

.re-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.table-responsive,
.dataTables_wrapper {
  width: 100%;
}

.table.re-table thead th,
.table thead th {
  background: linear-gradient(180deg, #f1f7ff 0%, #ebf4ff 100%);
  color: #214d6d;
  border-bottom: 1px solid #d4e4f4;
  border-top: 0;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 12px 11px;
}

.table.re-table tbody td,
.table tbody td {
  border-top: 1px solid #ebf2fb;
  padding: 12px 11px;
  color: #244861;
  font-weight: 500;
}

.table.re-table tbody tr,
.table tbody tr {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.table.re-table tbody tr:hover,
.table tbody tr:hover {
  background: #f6fbff;
}

.re-row-plastic {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.12), rgba(255, 255, 255, 0));
}

.re-row-paper {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0));
}

.re-row-metal {
  background: linear-gradient(90deg, rgba(163, 230, 53, 0.14), rgba(255, 255, 255, 0));
}

.re-table-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 4px 9px;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1;
}

.re-table-badge-plastic {
  color: #0369a1;
  border-color: rgba(2, 132, 199, 0.35);
  background: rgba(56, 189, 248, 0.18);
}

.re-table-badge-paper {
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(251, 191, 36, 0.2);
}

.re-table-badge-metal {
  color: #4d7c0f;
  border-color: rgba(132, 204, 22, 0.35);
  background: rgba(163, 230, 53, 0.2);
}

.re-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.re-status-active {
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.35);
  background: rgba(45, 212, 191, 0.2);
}

.re-status-passive {
  color: #991b1b;
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.18);
}

/* DataTables modern */
.dataTables_wrapper {
  padding-top: 4px;
}

.dataTables_wrapper .row {
  row-gap: 10px;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_info {
  color: #385f7f;
  font-size: 0.82rem;
  font-weight: 700;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border-radius: 10px;
  border: 1px solid #c8dcf0;
  min-height: 38px;
  background: #fff;
  padding: 0.28rem 0.6rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 9px !important;
  border: 1px solid #d7e5f3 !important;
  background: #f4f9ff !important;
  color: #245174 !important;
  margin-left: 4px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  border-color: transparent !important;
  background: linear-gradient(110deg, #1f7cf0, #0bc5a3) !important;
  color: #fff !important;
}

.re-data-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.dt-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dt-buttons .btn {
  min-height: 36px;
  border-radius: 10px;
  padding: 7px 11px;
  border: 1px solid #d3e5f6;
  background: linear-gradient(145deg, #f4faff, #edf7ff);
  color: #184a69;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.dt-buttons .btn:hover,
.dt-buttons .btn:focus {
  background: linear-gradient(145deg, #ffffff, #f0fbff);
  border-color: #8ec8f9;
  color: #0d4260;
}

/* Footer */
.main-footer {
  margin-left: 0 !important;
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid rgba(190, 212, 235, 0.72);
  background: rgba(248, 252, 255, 0.94);
  color: #355d7d;
  padding: 0.9rem 1rem;
}

.re-footer-right {
  font-weight: 700;
  color: #1d4968;
}

/* Generic */
.dropdown-menu,
.modal-content {
  border: 1px solid #d4e5f6;
  border-radius: 15px;
  box-shadow: var(--re-shadow-lg);
}

.modal-header,
.modal-footer {
  border-color: #d9e8f8;
}

.alert {
  border: 0;
  border-radius: 12px;
}

.breadcrumb {
  background: transparent;
}

.re-ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.re-ops-card {
  border-radius: 22px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(16, 63, 63, 0.08);
  background:
    radial-gradient(circle at top right, rgba(111, 225, 200, 0.22), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 251, 0.98));
  box-shadow: 0 22px 50px rgba(23, 56, 77, 0.12);
}

.re-ops-label {
  margin: 0 0 8px;
  color: #5f7c98;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.re-ops-value {
  margin: 0;
  color: #123b3f;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.re-ops-meta {
  margin-top: 8px;
  color: #406274;
  font-size: 0.92rem;
}

.re-filter-panel {
  margin-bottom: 18px;
}

.re-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.re-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.re-inline-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.re-inline-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.re-inline-switch-track {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: #c6d4df;
  box-shadow: inset 0 0 0 1px rgba(18, 59, 63, 0.12);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.re-inline-switch-track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 49, 55, 0.22);
  transition: transform 0.2s ease;
}

.re-inline-switch input:checked + .re-inline-switch-track {
  background: linear-gradient(135deg, #0f7a6b, #29c6a8);
}

.re-inline-switch input:checked + .re-inline-switch-track::after {
  transform: translateX(22px);
}

.re-inline-switch-text {
  color: #244c5d;
  font-weight: 700;
  font-size: 0.9rem;
}

.re-inline-switch input:focus + .re-inline-switch-track {
  box-shadow: inset 0 0 0 1px rgba(18, 59, 63, 0.12), 0 0 0 4px rgba(31, 184, 142, 0.18);
}

.re-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.re-status-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.re-mini-note {
  color: #597586;
  font-size: 0.88rem;
}

.re-progress-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.re-progress-line {
  display: grid;
  gap: 8px;
}

.re-progress-line-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #244b57;
  font-weight: 700;
}

.re-progress-line .progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(194, 214, 225, 0.45);
}

.re-progress-line .progress-bar {
  border-radius: 999px;
}

.re-side-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.re-side-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(241, 247, 250, 0.9);
  border: 1px solid rgba(171, 193, 208, 0.16);
}

.re-side-list-title {
  margin: 0;
  color: #173945;
  font-weight: 700;
}

.re-side-list-meta {
  margin: 4px 0 0;
  color: #607b8f;
  font-size: 0.88rem;
}

.re-alert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.re-alert-item {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(168, 186, 201, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 250, 0.97));
}

.re-alert-item strong {
  display: block;
  margin-bottom: 4px;
  color: #173945;
}

.re-alert-item p {
  margin: 0;
  color: #607b8f;
}

.re-table-actions {
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.re-table-actions-left,
.re-table-actions-left .re-action-row {
  justify-content: flex-start;
}

td.re-table-actions-left {
  justify-content: flex-start !important;
}

td.re-table-actions-left .re-action-row {
  width: 100%;
  justify-content: flex-start !important;
}

.re-table-actions .btn {
  min-width: 84px;
}

.re-result-actions .btn {
  min-width: 92px;
}

:where(a, button, input, select, textarea, summary, .btn, .custom-control-label):focus-visible {
  outline: 3px solid rgba(31, 124, 240, 0.36);
  outline-offset: 2px;
}

/* Mobile table cards */
@media (max-width: 767.98px) {
  .re-header-badge {
    display: none;
  }

  .re-header-right {
    width: 100%;
    flex-wrap: wrap;
  }

  .re-global-search {
    min-width: 0;
    width: 100%;
  }

  .re-page-hero {
    margin: 14px 12px 8px;
    padding: 14px;
  }

  .re-page-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .re-page-title {
    font-size: 1.26rem;
  }

  .content .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .re-form-grid {
    grid-template-columns: 1fr;
  }

  .re-form-item.re-span-2 {
    grid-column: span 1;
  }

  .re-search-summary {
    grid-template-columns: 1fr;
  }

  .re-result-item {
    flex-direction: column;
  }

  .table.re-table,
  .table.re-table thead,
  .table.re-table tbody,
  .table.re-table th,
  .table.re-table td,
  .table.re-table tr {
    display: block;
  }

  .table.re-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
  }

  .table.re-table tbody tr {
    border-top: 1px solid #e5effa;
    padding: 10px 0;
  }

  .table.re-table tbody tr:first-child {
    border-top: 0;
  }

  .table.re-table tbody td {
    position: relative;
    padding: 8px 10px 8px 44%;
    border: 0;
    min-height: 36px;
  }

  .table.re-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 9px;
    width: calc(44% - 14px);
    color: #5f7c98;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .dt-buttons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .dt-buttons .btn {
    flex: 1 1 45%;
  }

  .re-filter-actions {
    flex-direction: column;
  }

  .re-action-row {
    flex-direction: column;
  }

  .re-table-actions {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .re-table-actions .btn,
  .re-result-actions .btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }
}

@media (max-width: 991.98px) {
  .repayeco-login-box {
    width: min(430px, 94vw);
  }

  .repayeco-login-card .card-header,
  .repayeco-login-card .card-body {
    padding-left: 22px;
    padding-right: 22px;
  }

  .re-header-top {
    flex-wrap: wrap;
  }

  .re-main-nav,
  .re-quick-actions {
    padding-bottom: 2px;
  }
}

@media (max-width: 560px) {
  body:not(.login-page) .wrapper {
    padding: 10px;
    gap: 10px;
  }

  .re-header-shell {
    padding: 12px;
    border-radius: 18px;
  }

  body:not(.login-page) .content-wrapper {
    border-radius: 18px;
  }

  .main-footer {
    border-radius: 12px;
    padding: 0.78rem 0.85rem;
  }
}

/* RePayEco UX Refresh */
:root {
  --re-bg-base: #eef5fb;
  --re-bg-surface: rgba(250, 253, 255, 0.92);
  --re-bg-panel: rgba(255, 255, 255, 0.84);
  --re-ink-strong: #0d2840;
  --re-ink-soft: #55718d;
  --re-line-strong: rgba(139, 183, 215, 0.34);
  --re-teal: #14b8a6;
  --re-cyan: #0ea5e9;
  --re-lime: #84cc16;
  --re-amber: #f59e0b;
  --re-coral: #f97316;
  --re-danger-2: #ef4444;
  --re-violet: #6d5efc;
  --re-shadow-soft: 0 18px 40px rgba(13, 40, 64, 0.08);
  --re-shadow-deep: 0 28px 68px rgba(11, 33, 54, 0.16);
  --re-radius-2xl: 30px;
  --re-radius-xl: 24px;
  --re-radius-lg: 18px;
  --re-radius-md: 14px;
}

body:not(.login-page) {
  color: var(--re-ink-strong);
  background:
    radial-gradient(680px 320px at -12% 0%, rgba(20, 184, 166, 0.20), transparent 62%),
    radial-gradient(760px 380px at 108% 10%, rgba(14, 165, 233, 0.18), transparent 64%),
    linear-gradient(180deg, #edf5fb 0%, #f4f9fc 48%, #eff8f3 100%);
}

body:not(.login-page)::before {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, transparent 46%),
    linear-gradient(315deg, rgba(162, 230, 255, 0.18) 0%, transparent 52%);
}

body:not(.login-page) .wrapper {
  padding: 18px 18px calc(28px + env(safe-area-inset-bottom));
  gap: 18px;
}

.re-header-shell {
  position: sticky;
  top: 12px;
  z-index: 1040;
  padding: 18px;
  border-radius: 32px;
  border: 1px solid rgba(155, 213, 236, 0.36);
  background:
    radial-gradient(480px 220px at 0% 0%, rgba(45, 212, 191, 0.18), transparent 62%),
    radial-gradient(420px 240px at 100% 100%, rgba(96, 165, 250, 0.18), transparent 62%),
    linear-gradient(135deg, rgba(6, 32, 52, 0.98) 0%, rgba(9, 55, 83, 0.98) 55%, rgba(15, 108, 107, 0.98) 100%);
  box-shadow: 0 26px 60px rgba(6, 27, 45, 0.28);
}

.re-header-core {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(280px, 1.08fr) minmax(300px, 0.95fr);
  gap: 16px;
  align-items: stretch;
}

.re-brand-panel,
.re-context-panel,
.re-user-stack {
  min-width: 0;
  border-radius: 24px;
  border: 1px solid rgba(188, 235, 250, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.re-brand-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  text-decoration: none !important;
  color: #f4fcff !important;
  min-height: 100%;
}

.re-brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.22rem;
  color: #07364b;
  background: linear-gradient(140deg, #9af5e5 0%, #48d7ed 100%);
  box-shadow: 0 16px 30px rgba(72, 215, 237, 0.26);
}

.re-brand-copy {
  display: grid;
  gap: 4px;
}

.re-brand-copy strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.24rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.re-brand-copy small,
.re-brand-note {
  color: rgba(224, 247, 255, 0.88);
}

.re-brand-copy small {
  font-size: 0.84rem;
  font-weight: 700;
}

.re-brand-note {
  font-size: 0.8rem;
  font-weight: 500;
}

.re-context-panel {
  padding: 18px 20px;
  display: grid;
  gap: 10px;
  align-content: center;
}

.re-context-eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a7f6ee;
}

.re-context-title {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.34rem, 2vw, 1.86rem);
  line-height: 1.04;
  color: #f3fdff;
}

.re-context-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.re-context-tag,
.re-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(189, 235, 251, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: #ecfbff;
  font-size: 0.8rem;
  font-weight: 700;
}

.re-context-tag-live i {
  color: #8ef1d5;
  font-size: 0.52rem;
}

.re-user-stack {
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.re-global-search {
  width: 100%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(196, 238, 252, 0.18);
  background: rgba(3, 17, 30, 0.30);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.re-global-search i {
  color: #c4f4ff;
}

.re-global-search input {
  color: #f3fcff;
  font-size: 0.88rem;
}

.re-global-search button {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, #87f2e4 0%, #3bccef 100%);
  color: #0d3044;
  box-shadow: 0 10px 22px rgba(59, 204, 239, 0.24);
}

.re-live-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.re-user-menu summary {
  width: 100%;
  justify-content: space-between;
  border: 1px solid rgba(197, 239, 253, 0.18);
  background: rgba(2, 14, 25, 0.30);
  padding: 8px 10px 8px 8px;
}

.re-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8ef1d6 0%, #4bbcf0 100%);
  color: #0b3044;
}

.re-user-text-stack {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
}

.re-user-text-stack small {
  color: rgba(221, 246, 255, 0.72);
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.re-user-menu-panel {
  width: 250px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid #d7e9f7;
  background: rgba(251, 254, 255, 0.98);
  box-shadow: var(--re-shadow-deep);
}

.re-user-menu-meta {
  display: grid;
  gap: 2px;
  padding: 10px 11px 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e7eff7;
}

.re-user-menu-meta strong {
  color: var(--re-ink-strong);
}

.re-user-menu-meta span {
  color: var(--re-ink-soft);
  font-size: 0.8rem;
}

.re-menu-danger {
  color: #b42318 !important;
  background: rgba(248, 113, 113, 0.08);
}

.re-nav-shell {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(188, 235, 250, 0.14);
  display: grid;
  gap: 10px;
}

.re-main-nav,
.re-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
}

.re-main-nav a,
.re-quick-actions a {
  border-radius: 16px;
  min-height: 42px;
  padding: 10px 14px;
  white-space: nowrap;
}

.re-main-nav a {
  color: #eaf9ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(188, 235, 250, 0.15);
}

.re-main-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.re-main-nav a.is-active {
  color: #0b3146;
  background: linear-gradient(135deg, #9cf4e6 0%, #58cff0 100%);
  box-shadow: 0 16px 28px rgba(72, 215, 237, 0.24);
}

.re-quick-actions a {
  color: #f3fcff;
  background: rgba(2, 14, 25, 0.26);
  border: 1px solid rgba(188, 235, 250, 0.12);
}

.re-quick-actions a:hover {
  background: rgba(255, 255, 255, 0.12);
}

body:not(.login-page) .content-wrapper {
  border-radius: var(--re-radius-2xl);
  border: 1px solid var(--re-line-strong);
  background: linear-gradient(180deg, rgba(252, 254, 255, 0.92), rgba(245, 250, 253, 0.95));
  box-shadow: var(--re-shadow-deep);
  overflow: hidden;
}

body:not(.login-page) .content-wrapper::before {
  content: '';
  display: block;
  height: 8px;
  background: linear-gradient(90deg, var(--re-teal) 0%, var(--re-cyan) 52%, #a7f3d0 100%);
}

body:not(.login-page) .content > .container-fluid {
  padding: 22px 22px 24px;
}

.re-page-stack {
  display: grid;
  gap: 20px;
}

body:not(.login-page) .card {
  position: relative;
  border: 1px solid rgba(184, 212, 233, 0.46);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 253, 0.98));
  box-shadow: var(--re-shadow-soft);
  overflow: hidden;
}

body:not(.login-page) .card::before {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.9), rgba(14, 165, 233, 0.82));
}

body:not(.login-page) .card-header {
  border: 0;
  padding: 20px 22px 0;
  background: transparent;
}

body:not(.login-page) .card-body:not(.p-0) {
  padding: 18px 22px 22px;
}

body:not(.login-page) .card-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--re-ink-strong);
  font-size: 1rem;
  font-weight: 800;
}

.re-title-chip {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a3a50;
  background: linear-gradient(135deg, rgba(147, 244, 229, 0.85), rgba(126, 206, 255, 0.8));
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(15, 39, 61, 0.08);
}

.re-alert-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.35);
  flex: 0 0 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 15px;
  border-width: 1px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 13px;
}

.btn-primary,
.btn-info,
.btn-success {
  border-color: transparent;
  color: #ffffff;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 100%);
  box-shadow: 0 12px 24px rgba(20, 184, 166, 0.24);
}

.btn-info {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.20);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #22c55e 100%);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.20);
}

.btn-warning {
  color: #6b3f00;
  border-color: transparent;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
}

.btn-danger {
  border-color: transparent;
  background: linear-gradient(135deg, #fb7185 0%, #ef4444 100%);
}

.btn-secondary,
.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning {
  background: rgba(255, 255, 255, 0.94);
}

.btn-outline-primary {
  color: #0b6eb8;
  border-color: rgba(14, 165, 233, 0.28);
}

.btn-outline-success {
  color: #0c8a67;
  border-color: rgba(16, 185, 129, 0.28);
}

.btn-outline-danger {
  color: #c0392b;
  border-color: rgba(239, 68, 68, 0.28);
}

.btn-outline-warning {
  color: #a16207;
  border-color: rgba(245, 158, 11, 0.28);
}

.btn-outline-secondary,
.btn-secondary {
  color: #35536d;
  border-color: rgba(120, 154, 182, 0.26);
}

.form-control,
select.form-control,
textarea.form-control,
.custom-select {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(172, 201, 224, 0.72);
  background: rgba(255, 255, 255, 0.96);
  color: var(--re-ink-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

textarea.form-control {
  min-height: 120px;
}

.form-control::placeholder,
textarea.form-control::placeholder {
  color: #87a0b8;
}

.form-control:focus,
select.form-control:focus,
textarea.form-control:focus,
.custom-select:focus {
  border-color: rgba(14, 165, 233, 0.72);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

select.form-control,
.custom-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20'%3E%3Cpath fill='%2355718d' d='M5.2 7.4a1 1 0 0 1 1.4 0L10 10.8l3.4-3.4a1 1 0 1 1 1.4 1.4l-4.1 4.1a1 1 0 0 1-1.4 0L5.2 8.8a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

input[type='checkbox'],
input[type='radio'],
.form-check-input {
  accent-color: var(--re-teal);
}

.form-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #22435f;
  font-weight: 800;
}

.form-group label i {
  color: #0ea5e9;
}

.re-form-note {
  margin-top: 8px;
  color: var(--re-ink-soft);
  font-size: 0.84rem;
}

.re-filter-panel .card-body,
.re-search-empty,
.re-search-card,
.re-result-item,
.re-side-list-item,
.re-alert-item {
  border-radius: 20px;
}

.re-search-summary,
.re-ops-grid {
  gap: 16px;
}

.re-ops-card,
.re-op-card,
.re-kpi-card,
.re-search-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 212, 233, 0.48);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 253, 0.98));
  box-shadow: var(--re-shadow-soft);
}

.re-ops-card::after,
.re-op-card::after,
.re-kpi-card::after,
.re-search-card::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 72%);
}

.re-tone-a::before,
.re-tone-b::before,
.re-tone-c::before,
.re-tone-d::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
}

.re-tone-a::before { background: linear-gradient(180deg, #14b8a6, #0ea5e9); }
.re-tone-b::before { background: linear-gradient(180deg, #f59e0b, #fb7185); }
.re-tone-c::before { background: linear-gradient(180deg, #4f46e5, #38bdf8); }
.re-tone-d::before { background: linear-gradient(180deg, #84cc16, #14b8a6); }

.re-ops-value,
.re-op-value,
.re-kpi-value {
  color: var(--re-ink-strong);
}

.re-ops-label,
.re-op-title,
.re-kpi-title {
  color: #55718d;
}

.re-ops-meta,
.re-op-meta,
.re-kpi-sub,
.re-search-card p,
.re-search-empty,
.re-mini-note {
  color: var(--re-ink-soft);
}

.re-result-list {
  display: grid;
  gap: 14px;
}

.re-result-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(184, 212, 233, 0.48);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 252, 0.98));
  box-shadow: var(--re-shadow-soft);
}

.re-result-title {
  margin: 0 0 6px;
  color: var(--re-ink-strong);
  font-size: 1rem;
  font-weight: 800;
}

.re-result-meta {
  margin: 0;
  color: var(--re-ink-soft);
}

.re-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.re-result-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(184, 212, 233, 0.54);
  background: rgba(255, 255, 255, 0.88);
  color: #284861;
  font-size: 0.8rem;
  font-weight: 700;
}

.re-table-shell {
  padding: 6px 2px 2px;
}

.table.re-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.table.re-table thead th {
  border: 0 !important;
  background: transparent;
  color: #5f7b96;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0 16px 8px;
}

.table.re-table tbody td {
  padding: 15px 16px;
  border-top: 1px solid rgba(220, 232, 242, 0.88) !important;
  border-bottom: 1px solid rgba(220, 232, 242, 0.88) !important;
  background: rgba(255, 255, 255, 0.98);
  vertical-align: middle;
}

.table.re-table tbody td:first-child {
  border-left: 1px solid rgba(220, 232, 242, 0.88) !important;
  border-radius: 16px 0 0 16px;
}

.table.re-table tbody td:last-child {
  border-right: 1px solid rgba(220, 232, 242, 0.88) !important;
  border-radius: 0 16px 16px 0;
}

.table.re-table tbody tr {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.table.re-table tbody tr:hover {
  transform: translateY(-1px);
}

.re-row-plastic td:first-child {
  box-shadow: inset 4px 0 0 #0ea5e9;
}

.re-row-paper td:first-child {
  box-shadow: inset 4px 0 0 #f59e0b;
}

.re-row-metal td:first-child {
  box-shadow: inset 4px 0 0 #84cc16;
}

.re-table-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.re-table-badge-plastic {
  color: #075985;
  background: rgba(125, 211, 252, 0.26);
}

.re-table-badge-paper {
  color: #9a6700;
  background: rgba(253, 230, 138, 0.46);
}

.re-table-badge-metal {
  color: #3f6212;
  background: rgba(190, 242, 100, 0.30);
}

.re-data-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.re-dt-actions,
.re-dt-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--re-ink-soft);
  font-weight: 700;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(176, 202, 224, 0.66);
  background: rgba(255, 255, 255, 0.94);
  padding: 8px 14px;
}

.dt-buttons .btn {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
}

.re-inline-switch-text {
  color: #274b61;
  font-size: 0.84rem;
}

.main-footer {
  border-radius: 26px;
  border: 1px solid rgba(144, 190, 219, 0.26);
  background: linear-gradient(135deg, rgba(7, 34, 55, 0.98) 0%, rgba(10, 62, 89, 0.98) 100%);
  color: #d7f1ff;
  padding: 18px 20px;
  box-shadow: 0 20px 44px rgba(9, 31, 50, 0.18);
}

.re-footer-shell {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.re-footer-brand strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: #f5fdff;
}

.re-footer-brand p {
  margin: 0;
  color: rgba(214, 240, 255, 0.78);
  font-size: 0.84rem;
}

.re-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.re-footer-nav a {
  color: #e2f8ff;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(196, 238, 252, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.re-footer-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: rgba(214, 240, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
}

body.login-page {
  background:
    radial-gradient(720px 420px at -5% 0%, rgba(20, 184, 166, 0.34), transparent 62%),
    radial-gradient(780px 420px at 105% 100%, rgba(14, 165, 233, 0.28), transparent 62%),
    linear-gradient(145deg, #061f34 0%, #0a4563 54%, #0f6d6d 100%);
}

.repayeco-login-box {
  width: min(1080px, 96vw);
}

.repayeco-login-card {
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(196, 238, 252, 0.18);
  background: rgba(247, 252, 255, 0.97);
  box-shadow: 0 38px 92px rgba(1, 10, 22, 0.42);
}

.repayeco-login-side {
  background:
    radial-gradient(340px 220px at 0% 0%, rgba(149, 245, 227, 0.30), transparent 62%),
    radial-gradient(360px 260px at 100% 100%, rgba(96, 165, 250, 0.22), transparent 62%),
    linear-gradient(155deg, #07243a 0%, #0b4a67 54%, #0f7b76 100%);
}

.repayeco-login-side-inner {
  padding: 42px 34px;
}

.repayeco-login-chip,
.repayeco-login-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(224, 255, 255, 0.18);
  background: rgba(230, 255, 255, 0.12);
  color: #eafcff;
  font-size: 0.8rem;
  font-weight: 700;
}

.repayeco-login-chip {
  margin-bottom: 18px;
}

.repayeco-login-logo {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(149, 245, 227, 0.30), rgba(59, 204, 239, 0.24));
}

.repayeco-login-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.repayeco-login-form-pane .card-header {
  padding: 34px 30px 10px;
}

.repayeco-login-form-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.10);
  color: #0e7490;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repayeco-login-form-pane .card-body {
  padding: 8px 30px 30px;
}

.re-login-alert {
  margin-bottom: 14px;
}

.repayeco-login-footnote {
  margin-top: 16px;
  color: var(--re-ink-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.re-control-deck {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
  gap: 16px;
  margin-bottom: 18px;
}

.re-command-panel,
.re-priority-panel,
.re-watch-panel {
  border-radius: 28px;
  border: 1px solid rgba(184, 212, 233, 0.48);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 252, 0.98));
  box-shadow: var(--re-shadow-soft);
}

.re-command-panel {
  padding: 22px;
  background:
    radial-gradient(280px 160px at 0% 0%, rgba(20, 184, 166, 0.16), transparent 68%),
    radial-gradient(260px 160px at 100% 100%, rgba(14, 165, 233, 0.14), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 252, 0.98));
}

.re-command-kicker {
  margin: 0;
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.re-command-panel h2 {
  margin: 8px 0 8px;
  color: var(--re-ink-strong);
  font-family: 'Outfit', sans-serif;
  font-size: 1.78rem;
  line-height: 1.08;
}

.re-command-panel p {
  color: var(--re-ink-soft);
}

.re-command-glance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 16px;
}

.re-command-stat {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(184, 212, 233, 0.52);
  background: rgba(255, 255, 255, 0.88);
}

.re-command-stat span {
  display: block;
  color: #5f7b96;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.re-command-stat strong {
  display: block;
  margin-top: 6px;
  color: var(--re-ink-strong);
  font-size: 1.18rem;
  font-weight: 800;
}

.re-command-stat small {
  display: block;
  margin-top: 6px;
  color: var(--re-ink-soft);
  font-size: 0.8rem;
}

.re-command-actions {
  margin-top: 0;
}

.re-priority-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.re-priority-item {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(184, 212, 233, 0.44);
  background: rgba(255, 255, 255, 0.88);
}

.re-priority-item strong {
  display: block;
  color: var(--re-ink-strong);
  font-size: 0.86rem;
}

.re-priority-item b {
  display: block;
  margin: 8px 0 6px;
  color: var(--re-ink-strong);
  font-size: 1.9rem;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

.re-priority-item span {
  color: var(--re-ink-soft);
  font-size: 0.84rem;
}

.re-priority-item.is-amber { box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.18); }
.re-priority-item.is-coral { box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.18); }
.re-priority-item.is-cyan { box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.18); }
.re-priority-item.is-lime { box-shadow: inset 0 0 0 1px rgba(132, 204, 22, 0.18); }

.re-watch-panel {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.re-watch-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(184, 212, 233, 0.44);
  background: rgba(255, 255, 255, 0.90);
}

.re-watch-card h3 {
  margin: 0 0 12px;
  color: var(--re-ink-strong);
  font-size: 0.96rem;
  font-weight: 800;
}

.re-problem-list,
.re-brief-list {
  display: grid;
  gap: 10px;
}

.re-problem-item,
.re-brief-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f5fafe;
  border: 1px solid rgba(184, 212, 233, 0.36);
  color: var(--re-ink-soft);
}

.re-problem-item strong,
.re-brief-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--re-ink-strong);
}

.re-brief-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.re-brief-item span {
  display: block;
  color: var(--re-ink-soft);
  font-size: 0.82rem;
}

@media (max-width: 1199.98px) {
  .re-header-core,
  .re-control-deck {
    grid-template-columns: 1fr;
  }

  .re-command-glance {
    grid-template-columns: 1fr;
  }

  .re-footer-shell {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .re-footer-meta {
    justify-items: start;
  }
}

@media (max-width: 991.98px) {
  body:not(.login-page) .wrapper {
    padding: 14px 14px calc(24px + env(safe-area-inset-bottom));
    gap: 14px;
  }

  .re-header-shell {
    padding: 14px;
    border-radius: 24px;
  }

  .re-main-nav,
  .re-quick-actions {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .repayeco-login-box {
    width: min(460px, 94vw);
  }
}

@media (max-width: 767.98px) {
  body:not(.login-page) .content > .container-fluid {
    padding: 16px 14px 18px;
  }

  .re-context-panel,
  .re-user-stack,
  .re-brand-panel {
    border-radius: 20px;
  }

  .re-context-title {
    font-size: 1.28rem;
  }

  .re-global-search {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 12px 14px;
    border-radius: 22px;
  }

  .re-global-search input {
    min-width: 0;
    width: 100%;
  }

  .re-global-search button {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    padding-left: 14px;
    padding-right: 14px;
  }

  .re-user-menu summary {
    min-height: auto;
    padding: 14px;
  }

  .re-user-menu-panel {
    left: 0;
    right: 0;
    width: 100%;
  }

  .re-result-item,
  .re-filter-actions,
  .re-brief-item {
    flex-direction: column;
  }

  .table.re-table tbody td {
    background: rgba(255, 255, 255, 0.98);
  }

  .main-footer {
    border-radius: 20px;
  }

  .re-data-top,
  .re-dt-actions,
  .re-dt-search,
  .re-dt-actions .dt-buttons,
  .re-dt-search .dataTables_filter,
  .dataTables_wrapper .dataTables_filter label {
    width: 100%;
  }

  .dataTables_wrapper .dataTables_filter input,
  .dataTables_wrapper .dataTables_length select {
    width: 100%;
  }

  .re-device-table .re-action-row {
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .re-header-shell {
    top: 8px;
    border-radius: 20px;
  }

  .re-brand-panel,
  .re-context-panel,
  .re-user-stack,
  body:not(.login-page) .content-wrapper,
  body:not(.login-page) .card,
  .main-footer {
    border-radius: 18px;
  }

  .re-context-tags,
  .re-live-strip,
  .re-footer-nav {
    gap: 8px;
  }

  .re-main-nav a,
  .re-quick-actions a,
  .btn {
    white-space: nowrap;
  }
}

.re-material-pill {
  --re-pill-bg: rgba(203, 213, 225, 0.22);
  --re-pill-border: rgba(148, 163, 184, 0.24);
  --re-pill-text: #334155;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--re-pill-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), var(--re-pill-bg));
  color: var(--re-pill-text);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.re-material-pill i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.re-material-pill-plastic {
  --re-pill-bg: rgba(125, 211, 252, 0.32);
  --re-pill-border: rgba(14, 165, 233, 0.24);
  --re-pill-text: #075985;
}

.re-material-pill-paper {
  --re-pill-bg: rgba(253, 230, 138, 0.48);
  --re-pill-border: rgba(245, 158, 11, 0.26);
  --re-pill-text: #9a6700;
}

.re-material-pill-metal {
  --re-pill-bg: rgba(190, 242, 100, 0.34);
  --re-pill-border: rgba(132, 204, 22, 0.26);
  --re-pill-text: #3f6212;
}

.re-material-pill-other {
  --re-pill-bg: rgba(226, 232, 240, 0.62);
  --re-pill-border: rgba(148, 163, 184, 0.22);
  --re-pill-text: #475569;
}

.re-material-pill-sm {
  min-height: 32px;
  padding: 4px 10px 4px 4px;
  font-size: 0.75rem;
}

.re-material-pill-sm i {
  width: 22px;
  height: 22px;
  font-size: 0.72rem;
}

.re-material-pill-lg {
  min-height: 40px;
  padding-right: 14px;
  font-size: 0.88rem;
}

.re-result-tags > .re-material-pill,
.re-command-pill .re-material-pill,
.re-material-label .re-material-pill {
  margin: 0;
  box-shadow: none;
}

.re-progress-line {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(214, 228, 240, 0.78);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 253, 0.98));
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.re-progress-line .progress {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(226, 232, 240, 0.72);
}

.re-progress-line .progress-bar {
  border-radius: 999px;
}

.re-command-pill {
  display: inline-flex;
  margin-top: 6px;
}

body.login-page .repayeco-login-side h2 {
  margin-bottom: 12px;
  font-size: 2.4rem;
  line-height: 1.05;
}

body.login-page .repayeco-login-side p {
  max-width: 34ch;
  margin-bottom: 18px;
  color: rgba(234, 252, 255, 0.88);
}

body.login-page .repayeco-login-form-pane .card-header a {
  color: #093248;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.login-page .repayeco-login-form-pane .login-box-msg {
  margin-bottom: 18px;
  color: #55718d;
  font-size: 0.96rem;
}

body.login-page .repayeco-login-form-pane .input-group {
  margin-bottom: 14px;
}

body.login-page .repayeco-login-form-pane .form-control {
  border-radius: 18px 0 0 18px;
  border-right: 0;
}

body.login-page .repayeco-login-form-pane .input-group-text {
  min-width: 52px;
  justify-content: center;
  border-radius: 0 18px 18px 0;
  border: 1px solid rgba(172, 201, 224, 0.72);
  border-left: 0;
  background: linear-gradient(180deg, rgba(227, 247, 255, 0.95), rgba(214, 241, 249, 0.95));
  color: #0e7490;
}

body.login-page .repayeco-login-form-pane .btn-primary.btn-block {
  min-height: 54px;
  border-radius: 18px;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.re-header-core {
  grid-template-columns: minmax(220px, 0.76fr) minmax(360px, 1.18fr) minmax(280px, 0.9fr);
}

.re-brand-copy {
  gap: 3px;
}

.re-brand-copy strong {
  font-size: 1.34rem;
}

.re-brand-copy small {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.re-context-panel {
  padding: 20px 22px;
  gap: 6px;
}

.re-context-eyebrow {
  color: #9ef2e7;
}

.re-user-stack {
  gap: 10px;
  align-content: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.re-nav-shell {
  gap: 0;
}

.re-main-nav {
  justify-content: flex-start;
}

.re-main-nav a {
  min-height: 44px;
  padding: 10px 15px;
}

.re-live-strip,
.re-quick-actions,
.re-context-tags,
.re-brand-note,
.repayeco-login-chip,
.repayeco-login-badges,
.repayeco-login-form-kicker,
.repayeco-login-footnote {
  display: none !important;
}

.repayeco-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.repayeco-login-brand h2 {
  margin: 0;
}

.repayeco-login-side-inner {
  display: grid;
  align-content: center;
}

.repayeco-login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 34px rgba(8, 34, 52, 0.24);
}

body.login-page .repayeco-login-side h2 {
  margin: 0;
  font-size: 2.36rem;
  line-height: 1;
}

body.login-page .repayeco-login-side p {
  max-width: 34ch;
  margin-bottom: 18px;
  color: rgba(234, 252, 255, 0.88);
}

body.login-page .repayeco-login-points {
  margin-bottom: 0;
}

body.login-page .repayeco-login-form-pane .card-header {
  padding: 38px 30px 4px;
}

body.login-page .repayeco-login-form-pane .card-body {
  padding: 14px 30px 34px;
}

body.login-page .repayeco-login-form-pane .login-box-msg {
  margin-bottom: 22px;
}

body.login-page .repayeco-login-form-pane .alert {
  margin-bottom: 16px;
}

body.login-page .repayeco-login-form-pane .input-group {
  margin-bottom: 14px;
}

.re-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.re-table-actions,
.re-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.re-status-stack {
  display: grid;
  gap: 6px;
}

.re-status-stack .re-mini-note {
  margin: 0;
}

.re-inline-card-note {
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(214, 228, 240, 0.78);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 253, 0.98));
  color: var(--re-ink-soft);
}

.re-global-search,
.re-user-menu {
  min-width: 0;
}

.re-device-table th,
.re-device-table td {
  vertical-align: middle !important;
  box-sizing: border-box;
}

.re-device-table {
  width: 100% !important;
}

.re-device-table th:nth-child(1),
.re-device-table td:nth-child(1) {
  width: 72px;
}

.re-device-table .re-device-name-cell {
  min-width: 220px;
}

.re-device-name-stack {
  display: grid;
  gap: 8px;
}

.re-device-name {
  font-size: 0.98rem;
  color: var(--re-ink);
}

.re-device-table .re-device-location {
  min-width: 210px;
  color: var(--re-ink-soft);
  word-break: break-word;
}

.re-device-table .re-device-status-cell {
  min-width: 180px;
}

.re-device-table .re-device-actions {
  min-width: 240px;
}

.re-device-table .re-table-actions,
.re-device-table .re-action-row {
  justify-content: flex-start;
}

.re-device-table th:nth-child(5),
.re-device-table td:nth-child(5),
.re-device-table th:nth-child(6),
.re-device-table td:nth-child(6) {
  width: 120px;
}

.re-device-table th:nth-child(7),
.re-device-table td:nth-child(7) {
  width: 170px;
}

.re-report-shell {
  display: grid;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.re-report-subnav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 6px;
  scrollbar-width: thin;
}

.re-report-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(173, 204, 224, 0.7);
  background: rgba(255, 255, 255, 0.92);
  color: var(--re-ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.re-report-subnav a:hover,
.re-report-subnav a.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, #0f766e, #20c997);
}

.re-report-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
  border-radius: 28px;
  border: 1px solid rgba(196, 230, 240, 0.75);
  background:
    radial-gradient(circle at top left, rgba(74, 222, 128, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 251, 252, 0.98));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.re-report-hero h2 {
  margin: 0 0 8px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.24rem);
  line-height: 1.04;
  color: var(--re-ink);
}

.re-report-hero p {
  margin: 0;
  max-width: 74ch;
  color: var(--re-ink-soft);
}

.re-report-hero-badge {
  min-width: 190px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: linear-gradient(160deg, rgba(15, 118, 110, 0.1), rgba(32, 201, 151, 0.18));
  color: #0f5f62;
  text-align: center;
}

.re-report-hero-badge span {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(140deg, #0f766e, #22c55e);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 16px 24px rgba(15, 118, 110, 0.24);
}

.re-report-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.re-report-kpi-card {
  display: grid;
  gap: 10px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  border: 1px solid rgba(214, 228, 240, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 253, 0.98));
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.05);
}

.re-report-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.re-report-kpi-label {
  margin: 0;
  color: #4f7088;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.re-report-kpi-value {
  display: block;
  color: var(--re-ink);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.34rem, 2vw, 1.92rem);
  line-height: 1.06;
}

.re-report-kpi-meta {
  margin: 0;
  color: var(--re-ink-soft);
  font-size: 0.86rem;
}

.re-report-section {
  display: grid;
  gap: 14px;
  padding: 20px 20px 22px;
  border-radius: 28px;
  border: 1px solid rgba(214, 228, 240, 0.8);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 254, 0.98));
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.05);
}

.re-report-section-head {
  display: grid;
  gap: 6px;
}

.re-report-kicker {
  margin: 0;
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.re-report-section-head h3,
.re-report-surface h4,
.re-report-menu-card strong {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--re-ink);
}

.re-report-table-shell {
  margin: 0;
}

.re-report-table {
  width: 100%;
}

.re-report-table td,
.re-report-table th {
  vertical-align: middle;
}

.re-report-empty {
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px dashed rgba(166, 191, 214, 0.88);
  background: rgba(242, 247, 250, 0.88);
  color: var(--re-ink-soft);
  font-weight: 600;
}

.re-report-bar-list {
  display: grid;
  gap: 12px;
}

.re-report-bar-item {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(214, 228, 240, 0.74);
  background: rgba(252, 254, 255, 0.92);
}

.re-report-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.re-report-bar-head strong,
.re-report-bar-head span {
  color: var(--re-ink);
}

.re-report-bar-item p {
  margin: 0;
  color: var(--re-ink-soft);
  font-size: 0.84rem;
}

.re-report-bar-track {
  position: relative;
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(205, 223, 235, 0.74);
}

.re-report-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(120deg, #0f766e, #20c997);
}

.re-report-menu-grid,
.re-report-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.re-report-menu-card,
.re-report-surface {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(214, 228, 240, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 253, 0.98));
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.re-report-menu-card {
  text-decoration: none !important;
}

.re-report-menu-card p,
.re-report-menu-link,
.re-report-surface h4 {
  margin: 0;
}

.re-report-menu-card p,
.re-report-menu-link {
  color: var(--re-ink-soft);
}

.re-report-menu-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(140deg, #0f766e, #22c55e);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 14px 24px rgba(15, 118, 110, 0.2);
}

.re-report-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.re-trend-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.re-trend-chip.positive {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.re-trend-chip.negative {
  background: rgba(239, 68, 68, 0.14);
  color: #b91c1c;
}

.re-trend-chip.neutral {
  background: rgba(148, 163, 184, 0.18);
  color: #475569;
}

@media (max-width: 991.98px) {
  .re-report-hero {
    grid-template-columns: 1fr;
    display: grid;
  }

  .re-report-hero-badge {
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  .re-report-shell {
    padding-top: 14px;
  }

  .re-report-hero,
  .re-report-section {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .re-report-subnav a {
    min-height: 40px;
    padding: 9px 12px;
  }
}

.re-global-search {
  height: 100%;
}

.re-user-menu {
  display: block;
}

.re-user-menu summary {
  min-height: 56px;
  height: 100%;
}

@media (max-width: 1100px) {
  .re-user-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .re-header-shell {
    padding: 12px;
    border-radius: 22px;
  }

  .re-header-core {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .re-brand-panel,
  .re-context-panel,
  .re-user-stack {
    width: 100%;
    min-width: 0;
    border-radius: 20px;
  }

  .re-brand-panel {
    padding: 16px;
    gap: 12px;
  }

  .re-brand-mark {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
  }

  .re-brand-copy strong {
    font-size: 1.18rem;
  }

  .re-brand-copy small {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .re-context-panel {
    padding: 16px 18px;
  }

  .re-context-title {
    font-size: 1.18rem;
  }

  .re-user-stack {
    grid-template-columns: 1fr !important;
  }

  .re-global-search {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: center;
    height: auto;
    padding: 12px 14px;
    border-radius: 20px;
  }

  .re-global-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .re-user-menu summary {
    min-height: auto;
    height: auto;
    padding: 14px;
  }

  .re-user-menu-panel {
    left: 0;
    right: 0;
    width: 100%;
  }

  .re-nav-shell {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .re-main-nav {
    display: flex;
    flex-wrap: nowrap;
    min-width: max-content;
    gap: 8px;
  }

  .re-main-nav a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 14px;
  }

  .re-table-shell {
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
  }

  .table.re-table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
  }

  .table.re-table,
  .table.re-table thead,
  .table.re-table tbody,
  .table.re-table th,
  .table.re-table td,
  .table.re-table tr {
    display: block;
    width: 100%;
  }

  .table.re-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .table.re-table tbody tr {
    margin-bottom: 14px;
    padding: 10px 0;
    border: 1px solid rgba(214, 228, 240, 0.9);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  }

  .table.re-table tbody td {
    min-height: 52px;
    padding: 12px 14px 12px 42%;
    position: relative;
    border: 0 !important;
    border-bottom: 1px solid rgba(226, 235, 244, 0.88) !important;
    background: transparent !important;
    text-align: left !important;
    white-space: normal !important;
  }

  .table.re-table tbody td:last-child {
    border-bottom: 0 !important;
  }

  .table.re-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 14px;
    top: 12px;
    width: calc(42% - 18px);
    color: #5f7d9f;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .table.re-table tbody td:first-child,
  .table.re-table tbody td:last-child {
    border-radius: 0;
    box-shadow: none;
  }

  .re-device-table .re-device-name-cell,
  .re-device-table .re-device-location,
  .re-device-table .re-device-status-cell,
  .re-device-table .re-device-actions {
    min-width: 0;
    width: 100%;
  }

  .re-device-table .re-device-name-stack {
    gap: 8px;
  }

  .re-device-table .re-inline-switch {
    width: 100%;
    justify-content: flex-start;
  }

  .re-device-table .re-table-actions,
  .re-device-table .re-action-row {
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
  }

  .re-device-table .re-action-row .btn,
  .re-device-table .re-action-row form,
  .re-device-table .re-action-row form .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .table.re-table tbody td {
    min-height: 0;
    padding: 36px 14px 12px !important;
  }

  .table.re-table tbody td::before {
    position: static;
    display: block;
    width: auto;
    margin-bottom: 8px;
  }

  .re-device-table tbody td:first-child {
    display: none;
  }
}

.re-ws-shell {
  display: grid;
  gap: 16px;
}

.re-ws-hero .re-report-hero-badge {
  min-width: 250px;
}

.re-ws-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.re-ws-status-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(214, 228, 240, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 253, 0.98));
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.re-ws-status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.re-ws-status-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(140deg, #0f766e, #20c997);
  box-shadow: 0 12px 22px rgba(15, 118, 110, 0.18);
}

.re-ws-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  background: rgba(148, 163, 184, 0.16);
}

.re-ws-status-card strong,
.re-ws-note strong {
  font-family: 'Outfit', sans-serif;
  color: var(--re-ink);
}

.re-ws-status-card p,
.re-ws-note p {
  margin: 0;
  color: var(--re-ink-soft);
}

.re-ws-tone-positive .re-ws-status-pill {
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
}

.re-ws-tone-warning .re-ws-status-pill {
  color: #b45309;
  background: rgba(245, 158, 11, 0.16);
}

.re-ws-tone-neutral .re-ws-status-pill {
  color: #475569;
  background: rgba(148, 163, 184, 0.18);
}

.re-ws-tone-danger .re-ws-status-pill {
  color: #b91c1c;
  background: rgba(248, 113, 113, 0.16);
}

.re-ws-panel {
  align-content: start;
}

.re-ws-form {
  margin-top: 8px;
}

.re-ws-upload {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.54);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 251, 254, 0.98), rgba(241, 247, 252, 0.94));
  cursor: pointer;
}

.re-ws-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.re-ws-upload span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--re-ink);
  font-weight: 700;
}

.re-ws-upload small {
  color: var(--re-ink-soft);
}

.re-ws-note-list {
  display: grid;
  gap: 12px;
}

.re-ws-note {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(214, 228, 240, 0.82);
  background: rgba(252, 254, 255, 0.96);
}

@media (max-width: 767.98px) {
  .re-ws-status-grid {
    grid-template-columns: 1fr;
  }

  .re-ws-hero .re-report-hero-badge {
    min-width: 0;
  }
}
