/* PHASE 3: the local :root token block that used to live here has been
   removed - navbar.css now consumes the master tokens defined once in
   styles.css (which always loads first). Mapping from the old local
   names to the tokens now used throughout this file:
     --dc-nav-blue      -> var(--brand)          (identical value, #50c5ff)
     --dc-nav-blue-dark -> var(--brand-hover)     (distinct dark-navbar hover shade)
     --dc-nav-dark      -> var(--nav-bg)
     --dc-nav-dark-2    -> var(--nav-bg-secondary)
     --dc-nav-text      -> var(--nav-text)
     --dc-nav-muted     -> var(--nav-muted)
     --dc-nav-card      -> var(--nav-card)
     --dc-nav-danger    -> var(--red)             (identical value, #ef4444) */

.dc-command-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background:
    radial-gradient(circle at top left, rgba(80, 197, 255, 0.16), transparent 28%),
    linear-gradient(135deg, var(--nav-bg), var(--nav-bg-secondary));
  border-bottom: 1px solid rgba(80, 197, 255, 0.16);
  box-shadow: 0 12px 35px rgba(2, 8, 23, 0.22);
}

.dc-command-nav,
.dc-command-nav .container {
  min-height: 82px;
}

.dc-command-nav .container {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1800px;
  width: 100%;
  padding-left: 28px;
  padding-right: 28px;
}

.dc-command-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
  flex: 0 0 auto;
}

.dc-command-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(80, 197, 255, 0.1);
  border: 1px solid rgba(80, 197, 255, 0.22);
  box-shadow: 0 8px 22px rgba(80, 197, 255, 0.16);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.dc-command-logo img {
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  display: block;
  object-fit: contain;
}

/* Match footer logo hover */
.dc-command-brand:hover .dc-command-logo {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(80, 197, 255, 0.26);
}

.dc-command-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1;
}

.dc-command-brand-title {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}

.dc-command-brand-title span {
  color: var(--brand);
}

.dc-command-brand-subtitle {
  display: block;
  margin-top: 6px;
  color: var(--nav-muted);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.dc-command-desktop {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.dc-command-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  min-width: 0;
  list-style: none;
}

/* TEXT-ONLY navigation options (no icon fonts anywhere) */
.dc-command-link {
  min-height: 38px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--nav-text);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: 0.22s ease;
}

.dc-command-link:hover,
.dc-command-link:focus {
  color: #ffffff;
  background: var(--nav-card);
  border-color: rgba(80, 197, 255, 0.18);
}

.dc-command-link.active {
  color: var(--nav-bg-secondary);
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 10px 25px rgba(80, 197, 255, 0.25);
}

.dc-command-dropdown .dropdown-menu {
  margin-top: 12px;
  padding: 10px;
  min-width: 250px;
  border: 1px solid rgba(80, 197, 255, 0.18);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(2, 8, 23, 0.22);
}

.dc-command-dropdown .dropdown-header {
  color: #6f7177;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 8px 12px 10px;
}

.dc-command-dropdown .dropdown-item {
  min-height: 40px;
  border-radius: 12px;
  color: #414042;
  font-size: 0.84rem;
  font-weight: 650;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  transition: 0.18s ease;
}

.dc-command-dropdown .dropdown-item:hover {
  background: #eaf8ff;
  color: #414042;
}

.dc-command-dropdown .dropdown-item.active {
  background: #e0f4ff;
  color: #0b4a63;
  font-weight: 800;
}

.dc-command-user {
  margin-left: 6px;
}

.dc-command-user-btn {
  min-height: 42px;
  max-width: 245px;
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  color: var(--nav-text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: 0.22s ease;
}

.dc-command-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  color: var(--nav-bg-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
}

.dc-command-user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  min-width: 0;
}

.dc-command-user-name {
  max-width: 120px;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-command-user-role {
  margin-top: 3px;
  color: var(--nav-muted);
  font-size: 0.6rem;
  font-weight: 650;
}

.dc-command-divider {
  height: 1px;
  background: rgba(65, 64, 66, 0.12);
  margin: 8px 4px;
}

.dc-command-logout {
  color: var(--red) !important;
  font-weight: 800 !important;
}

.dc-command-logout:hover {
  background: #fff1f1 !important;
  color: var(--red) !important;
}

/* ==========================================================
   LOGOUT CONFIRMATION MODAL
========================================================== */

.portal-logout-modal {
  z-index: 20050;
}

.portal-logout-modal .modal-dialog {
  width: min(92vw, 480px);
  max-width: 480px;
  margin: 1rem auto;
}

.portal-logout-modal .modal-content {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--r-2xl);

  background: var(--surface);
  color: var(--text);

  box-shadow: var(--shadow-xl);
}

.portal-logout-top {
  display: flex;
  justify-content: center;

  padding: 30px 24px 0;
}

.portal-logout-icon {
  width: 92px;
  height: 92px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(80, 197, 255, 0.25);
  border-radius: 50%;

  background: var(--brand-50);
  color: var(--brand-deeper);

  font-size: 2.2rem;

  box-shadow: 0 12px 30px rgba(80, 197, 255, 0.18);
}

.portal-logout-body {
  padding: 22px 30px 26px;
  text-align: center;
}

.portal-logout-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  margin-bottom: 14px;
  padding: 6px 13px;

  border: 1px solid var(--brand-200);
  border-radius: var(--r-pill);

  background: var(--brand-50);
  color: var(--brand-deeper);

  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portal-logout-body h5 {
  margin: 0 0 10px;

  color: var(--text-head);

  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
}

.portal-logout-body > p {
  max-width: 390px;
  margin: 0 auto 22px;

  color: var(--text-muted);

  font-size: 0.92rem;
  line-height: 1.65;
}

.portal-logout-user {
  display: flex;
  align-items: center;
  gap: 12px;

  max-width: 340px;
  margin: 0 auto;
  padding: 13px 15px;

  border: 1px solid var(--border);
  border-radius: var(--r-lg);

  background: var(--surface-1);

  text-align: left;
}

.portal-logout-user .dc-command-avatar {
  flex: 0 0 auto;
}

.portal-logout-user div {
  min-width: 0;

  display: flex;
  flex-direction: column;
}

.portal-logout-user strong {
  overflow: hidden;

  color: var(--text-head);

  font-size: 0.9rem;
  font-weight: 750;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-logout-user span:last-child {
  color: var(--text-muted);

  font-size: 0.78rem;
  font-weight: 600;
}

.portal-logout-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;

  padding: 18px 24px 24px;

  border-top: 1px solid var(--border);

  background: var(--surface-1);
}

.portal-logout-confirm {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 0 20px;

  border: 1px solid var(--brand);
  border-radius: var(--r-lg);

  background: var(--brand);
  color: var(--text-head);
  /* PHASE 4 a11y fix - was --text-inv (#fff) at 1.95:1 */

  font-size: 0.88rem;
  font-weight: 800;

  cursor: pointer;

  box-shadow: 0 8px 20px rgba(80, 197, 255, 0.22);

  transition:
    background var(--t-base),
    border-color var(--t-base),
    transform var(--t-base),
    box-shadow var(--t-base);
}

.portal-logout-confirm:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: var(--text-head);

  transform: translateY(-1px);

  box-shadow: 0 12px 26px rgba(80, 197, 255, 0.28);
}

.portal-logout-confirm:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.portal-logout-confirm .spinner-border {
  width: 1rem;
  height: 1rem;
}

.dc-command-logout.js-open-logout-modal {
  width: 100%;

  display: flex;
  align-items: center;
  gap: 10px;

  border: 0;

  background: transparent;

  text-align: left;
}

@media (max-width: 575.98px) {
  .portal-logout-modal .modal-dialog {
    width: calc(100vw - 24px);
    margin: 12px auto;
  }

  .portal-logout-top {
    padding-top: 24px;
  }

  .portal-logout-icon {
    width: 78px;
    height: 78px;

    font-size: 1.9rem;
  }

  .portal-logout-body {
    padding: 18px 20px 22px;
  }

  .portal-logout-body h5 {
    font-size: 1.25rem;
  }

  .portal-logout-footer {
    flex-direction: column-reverse;

    padding: 16px 18px 20px;
  }

  .portal-logout-footer .btn-secondary,
  .portal-logout-confirm {
    width: 100%;
  }
}

/* Hamburger: drawn in CSS, so no icon font is needed */
.dc-command-mobile-btn {
  min-width: auto;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(80, 197, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: 0.22s ease;
}

.dc-command-mobile-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(80, 197, 255, 0.45);
  color: #ffffff;
}

.dc-command-burger {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  display: inline-block;
  flex-shrink: 0;
}

.dc-command-burger::before,
.dc-command-burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.dc-command-burger::before {
  top: -5px;
}

.dc-command-burger::after {
  top: 5px;
}

.dc-command-offcanvas {
  background:
    radial-gradient(circle at top left, rgba(80, 197, 255, 0.16), transparent 30%),
    linear-gradient(160deg, var(--nav-bg), var(--nav-bg-secondary));
  color: #ffffff;
  border-left: 1px solid rgba(80, 197, 255, 0.18);
}

.dc-command-offcanvas .offcanvas-header {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.dc-command-offcanvas .offcanvas-title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.dc-command-offcanvas .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.dc-command-mobile-list {
  display: grid;
  gap: 8px;
  padding: 18px 0;
}

.dc-command-mobile-link,
.dc-command-mobile-dropdown-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 15px;
  padding: 0 16px;
  color: var(--nav-text);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  transition: 0.22s ease;
}

.dc-command-mobile-link:hover,
.dc-command-mobile-dropdown-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.dc-command-mobile-dropdown-btn {
  justify-content: space-between;
}

/* CSS chevron instead of an icon font; it flips when the section opens */
.dc-command-mobile-dropdown-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.dc-command-mobile-dropdown-btn[aria-expanded="true"]::after {
  transform: rotate(-135deg) translateY(-2px);
}

.dc-command-mobile-submenu {
  display: grid;
  gap: 6px;
  margin: 7px 0 4px;
  padding-left: 12px;
}

.dc-command-mobile-submenu a {
  min-height: 42px;
  border-radius: 13px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 650;
}

.dc-command-mobile-submenu a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.dc-command-mobile-user {
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dc-command-mobile-user-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.dc-command-mobile-actions {
  display: grid;
  gap: 7px;
}

.dc-command-mobile-actions a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 650;
  display: flex;
  align-items: center;
  min-height: 38px;
}

.dc-command-mobile-actions a:hover {
  color: #ffffff;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background:
    radial-gradient(circle at top, rgba(80, 197, 255, 0.18), transparent 35%),
    linear-gradient(135deg, var(--nav-bg), var(--nav-bg-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader::before {
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--brand);
  animation: dcPreloaderSpin 0.85s linear infinite;
}

#preloader::after {
  content: "Kadi Digital";
  position: absolute;
  margin-top: 105px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes dcPreloaderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================
       RESPONSIVE NAV  (text options only - no icon fonts)

       >= 1200px ......... full text menu in the bar
       <  1200px ......... "Menu" button + offcanvas (text options)

       NOTE: the old 768-1199px tier was an ICON-ONLY rail (links had
       font-size: 0 and showed just the icon). With icons removed those
       buttons would be blank, and 8-10 text labels will not fit at that
       width - so tablets now use the offcanvas, where every option has
       room for its full word.
    ========================================================== */

/* ---- DESKTOP: text menu in the bar ---- */
@media (min-width: 1200px) {
  .dc-command-desktop {
    display: flex;
  }

  .dc-command-mobile-btn {
    display: none;
  }

  .dc-command-menu {
    gap: 2px;
  }

  .dc-command-link {
    padding: 0 11px;
    font-size: 0.8rem;
  }

  .dc-command-user-role {
    display: none;
  }
}

/* Wide screens: a little more breathing room */
@media (min-width: 1500px) {
  .dc-command-menu {
    gap: 4px;
  }

  .dc-command-link {
    padding: 0 14px;
    font-size: 0.83rem;
  }

  .dc-command-user-role {
    display: block;
  }
}

/* ---- TABLET + PHONE: offcanvas with full text options ---- */
@media (max-width: 1199.98px) {
  .dc-command-desktop {
    display: none;
  }

  .dc-command-mobile-btn {
    display: inline-flex;
  }
}

@media (max-width: 767.98px) {
  .dc-command-nav,
  .dc-command-nav .container {
    min-height: 74px;
  }
}

@media (max-width: 991.98px) {
  .dc-command-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 14px;
  }

  .dc-command-logo img {
    width: 38px;
    height: 38px;
    max-width: 38px;
    max-height: 38px;
  }
}

@media (max-width: 575.98px) {
  .dc-command-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
  }

  .dc-command-logo img {
    width: 34px;
    height: 34px;
    max-width: 34px;
    max-height: 34px;
  }
}

@media (max-width: 360px) {
  .dc-command-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .dc-command-logo img {
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
  }
}

/* ==========================================================
   RESPONSIVE BRAND
========================================================== */

@media (max-width: 1199.98px) {
  .dc-command-brand-title {
    font-size: 1.25rem;
  }

  .dc-command-brand-subtitle {
    font-size: 0.58rem;
  }
}

@media (max-width: 767.98px) {
  .dc-command-brand-title {
    font-size: 1.12rem;
  }

  .dc-command-brand-subtitle {
    margin-top: 4px;
    font-size: 0.54rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 575.98px) {
  .dc-command-brand-title {
    font-size: 1.05rem;
  }

  .dc-command-brand-subtitle {
    font-size: 0.5rem;
  }
}

@media (max-width: 420px) {
  .dc-command-brand-subtitle {
    display: none;
  }

  .dc-command-brand-title {
    font-size: 1rem;
  }
}

.dc-command-offcanvas {
  width: 86% !important;
}

/* ==========================================================
   MOBILE LOGOUT - REMOVE WHITE FLASH
========================================================== */

@media (max-width: 1199.98px) {
  /* Keep the page background dark while offcanvas/modal changes */
  html,
  body {
    background-color: var(--nav-bg);
  }

  /* Logout button must never inherit Bootstrap's white button bg */
  .dc-command-mobile-actions .dc-command-logout,
  .dc-command-mobile-actions .dc-command-logout:hover,
  .dc-command-mobile-actions .dc-command-logout:focus,
  .dc-command-mobile-actions .dc-command-logout:active {
    width: 100%;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Prevent white Bootstrap focus/active state */
  .dc-command-logout.js-open-logout-modal:focus,
  .dc-command-logout.js-open-logout-modal:focus-visible,
  .dc-command-logout.js-open-logout-modal:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
  }

  /* Keep offcanvas dark during closing animation */
  .dc-command-offcanvas,
  .dc-command-offcanvas.show,
  .dc-command-offcanvas.showing,
  .dc-command-offcanvas.hiding {
    background:
      radial-gradient(circle at top left, rgba(80, 197, 255, 0.16), transparent 30%),
      linear-gradient(160deg, var(--nav-bg), var(--nav-bg-secondary)) !important;
  }

  /* Bootstrap backdrop */
  .offcanvas-backdrop,
  .modal-backdrop {
    background-color: #02081c !important;
  }

  .offcanvas-backdrop.show,
  .modal-backdrop.show {
    opacity: 0.65;
  }
}

/* ==========================================================
   KADI DIGITAL WEBSITE CTA
   MAIN PORTAL NAVBAR - DESKTOP
========================================================== */

.dc-command-website-item {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: 4px;
}

.dc-command-website-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 38px;
  padding: 0 14px;

  border: 1px solid var(--brand);
  border-radius: 10px;

  background: var(--brand);
  color: var(--nav-bg) !important;

  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;

  box-shadow: 0 6px 18px rgba(80, 197, 255, 0.18);

  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.dc-command-website-btn > i:first-child {
  font-size: 0.92rem;
}

.dc-command-website-btn .dc-command-external-icon {
  font-size: 0.68rem;
  opacity: 0.7;
  transition: transform 0.22s ease;
}

.dc-command-website-btn:hover {
  color: var(--nav-bg) !important;
  background: #ffffff;
  border-color: #ffffff;

  transform: translateY(-1px);

  box-shadow: 0 8px 22px rgba(80, 197, 255, 0.24);
}

.dc-command-website-btn:hover .dc-command-external-icon {
  transform: translate(2px, -2px);
}

.dc-command-website-btn:focus-visible {
  outline: none;

  box-shadow:
    0 0 0 3px rgba(80, 197, 255, 0.22),
    0 8px 22px rgba(80, 197, 255, 0.2);
}

.dc-command-website-btn:active {
  transform: translateY(0);
}

/* ==========================================================
   KADI DIGITAL WEBSITE CTA
   MAIN PORTAL NAVBAR - MOBILE / TABLET OFFCANVAS
========================================================== */

.dc-command-mobile-website {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dc-command-mobile-website-label {
  display: block;
  margin: 0 0 9px 4px;

  color: rgba(255, 255, 255, 0.46);

  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.dc-command-mobile-website-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;

  padding: 12px 13px;

  border: 1px solid rgba(80, 197, 255, 0.28);
  border-radius: 14px;

  background: rgba(80, 197, 255, 0.08);
  color: #ffffff;

  text-decoration: none;

  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

.dc-command-mobile-website-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: var(--brand);
  color: var(--nav-bg);

  font-size: 1rem;
}

.dc-command-mobile-website-content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.dc-command-mobile-website-content strong {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.dc-command-mobile-website-content small {
  color: var(--nav-muted);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.2;
}

.dc-command-mobile-website-arrow {
  flex: 0 0 auto;
  margin-left: auto;

  color: var(--brand);
  font-size: 0.9rem;

  transition: transform 0.22s ease;
}

.dc-command-mobile-website-btn:hover,
.dc-command-mobile-website-btn:focus {
  color: #ffffff;
  background: rgba(80, 197, 255, 0.14);
  border-color: rgba(80, 197, 255, 0.5);
}

.dc-command-mobile-website-btn:hover {
  transform: translateY(-1px);
}

.dc-command-mobile-website-btn:hover .dc-command-mobile-website-arrow {
  transform: translate(2px, -2px);
}

/* ==========================================================
   SIMPLE / SECOND NAVBAR
   WEBSITE CTA - ICON ONLY
========================================================== */

.dc-command-public-website {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

.dc-command-website-icon-only {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  flex: 0 0 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 1px solid rgba(80, 197, 255, 0.42);
  border-radius: 11px;

  background: rgba(80, 197, 255, 0.12);
  color: var(--brand) !important;

  text-decoration: none;

  box-shadow: 0 6px 18px rgba(80, 197, 255, 0.1);

  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.dc-command-website-icon-only i {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0;

  color: inherit;

  font-size: 1rem;
  line-height: 1;
}

.dc-command-website-icon-only:hover {
  color: var(--nav-bg) !important;
  background: var(--brand);
  border-color: var(--brand);

  transform: translateY(-1px);

  box-shadow: 0 8px 22px rgba(80, 197, 255, 0.22);
}

.dc-command-website-icon-only:active {
  transform: translateY(0);
}

.dc-command-website-icon-only:focus-visible {
  outline: none;
  border-color: var(--brand);

  box-shadow:
    0 0 0 3px rgba(80, 197, 255, 0.18),
    0 8px 22px rgba(80, 197, 255, 0.18);
}

/* ==========================================================
   SIMPLE NAVBAR RESPONSIVE
========================================================== */

@media (max-width: 767.98px) {
  .dc-command-website-icon-only {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex-basis: 40px;

    border-radius: 10px;
  }

  .dc-command-website-icon-only i {
    font-size: 0.95rem;
  }
}

@media (max-width: 420px) {
  .dc-command-website-icon-only {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    flex-basis: 38px;
  }
}
