/* ============================================================
   Aura Theme — Polish Layer
   Loaded after app.min.css to layer visual refinements
   ============================================================ */

/* ── Sidebar layout fix ──────────────────────────────────── */
/* Base compiled CSS has margin-left:250px but sidebar was    */
/* widened to 304px, causing 54px overlap. Correct it here.  */
@media (min-width: 992px) {
  body.template_aura .body-content,
  body.template_aura .footer-content {
    margin-left: 304px;
    padding-left: 0;
  }
  body.template_aura.sidenav-toggled .body-content,
  body.template_aura.sidenav-toggled .footer-content {
    margin-left: 0;
  }
}
@media (max-width: 991.98px) {
  body.template_aura .body-content,
  body.template_aura .footer-content {
    margin-left: 0;
    padding-left: 0;
  }
  /* Sidebar is 304px wide but app.min.css only hides with margin-left:-250px,
     leaving 54px of sidebar peeking on mobile. Fully hide it. */
  body.template_aura .sidebar {
    margin-left: -304px !important;
  }
  /* JS adds sidenav-toggled to body to open sidebar on mobile */
  body.template_aura.sidenav-toggled .sidebar {
    margin-left: 0 !important;
  }
}

/* ── Page entrance animation ─────────────────────────────── */
body.template_aura {
  animation: aura-fadein 0.45s ease both;
}
@keyframes aura-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Smooth global transitions ───────────────────────────── */
body.template_aura .card,
body.template_aura .wbox,
body.template_aura .info-box,
body.template_aura .table-radius,
body.template_aura .btn,
body.template_aura .nav-link,
body.template_aura .sidebar .nav-item > .nav-link,
body.template_aura .form-control,
body.template_aura textarea,
body.template_aura select,
body.template_aura .badge,
body.template_aura .dropdown-item,
body.template_aura .root-boxes .root-box {
  transition: background 0.18s ease,
              border-color 0.18s ease,
              box-shadow 0.18s ease,
              transform 0.18s ease,
              color 0.18s ease,
              opacity 0.18s ease;
}

/* ── Custom scrollbar ────────────────────────────────────── */
body.template_aura ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
body.template_aura ::-webkit-scrollbar-track {
  background: transparent;
}
body.template_aura ::-webkit-scrollbar-thumb {
  background: rgba(113, 140, 186, 0.28);
  border-radius: 999px;
}
body.template_aura ::-webkit-scrollbar-thumb:hover {
  background: rgba(113, 140, 186, 0.46);
}

/* ── Dashboard welcome header ────────────────────────────── */
body.template_aura .aura-dash-header {
  margin-bottom: 8px;
}
body.template_aura .aura-dash-greeting {
  color: rgba(154, 168, 190, 0.8);
  font-size: 0.95rem;
}
body.template_aura .aura-dash-greeting strong {
  color: #ecf3ff !important;
  font-weight: 600;
}

/* ── Dashboard heading ───────────────────────────────────── */
body.template_aura .section-dashboard > div:first-child h1,
body.template_aura .section-dashboard > .d-flex:first-child h1 {
  background: linear-gradient(90deg, #ecf3ff 0%, #7cbcff 60%, #5ee7c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.025em;
  display: inline-block;
}

/* ── Section / page headings ─────────────────────────────── */
body.template_aura .section-account-header h1,
body.template_aura .section-account-header h2 {
  background: linear-gradient(90deg, #ecf3ff 0%, #9fcfff 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

body.template_aura h3,
body.template_aura h4 {
  letter-spacing: -0.015em;
}

/* ── Card hover lift ─────────────────────────────────────── */
body.template_aura .card:not(.no-hover):not(.card-flush),
body.template_aura .wbox:not(.no-hover),
body.template_aura .info-box:not(.no-hover) {
  transform: translateY(0);
}
body.template_aura .card:not(.no-hover):not(.card-flush):hover,
body.template_aura .wbox:not(.no-hover):hover,
body.template_aura .info-box:not(.no-hover):hover {
  transform: translateY(-3px);
  border-color: rgba(113, 140, 186, 0.32) !important;
  box-shadow: 0 32px 72px rgba(3, 10, 24, 0.44) !important;
}

/* ── Root boxes enhanced hover ───────────────────────────── */
body.template_aura .root-boxes .root-box {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.18s ease,
              box-shadow 0.18s ease;
}
body.template_aura .root-boxes .root-box:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(113, 140, 186, 0.36) !important;
  box-shadow: 0 36px 80px rgba(3, 10, 24, 0.5) !important;
}

/* ── Button hover lift ───────────────────────────────────── */
body.template_aura .btn.btn-primary:hover,
body.template_aura .btn.btn-success:hover,
body.template_aura button.btn-primary:hover,
body.template_aura button.btn-success:hover,
body.template_aura a.checksubmit:hover,
body.template_aura a#checksubmit:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(0, 133, 255, 0.38) !important;
  filter: brightness(1.08);
}

body.template_aura .btn.btn-secondary:hover,
body.template_aura .btn.btn-default:hover,
body.template_aura .btn.btn-outline-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

/* ── Sidebar active nav item — glowing left indicator ────── */
body.template_aura .sidebar .nav-item > .nav-link.active {
  background: linear-gradient(
    90deg,
    rgba(0, 133, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.05) 100%
  ) !important;
  box-shadow:
    inset 3px 0 0 #267dff,
    inset 0 0 0 1px rgba(98, 180, 255, 0.14) !important;
  color: #ecf3ff !important;
  border-radius: 0 999px 999px 0 !important;
  margin-left: 0 !important;
  padding-left: 19px !important;
}
body.template_aura .sidebar .nav-item > .nav-link.active .material-icons,
body.template_aura .sidebar .nav-item > .nav-link.active span {
  color: #cce8ff !important;
}

/* Sidebar sub-link active */
body.template_aura .sidebar .nav-item .sub-nav .nav-link.active,
body.template_aura .sidebar .nav-item .nav-subnav .nav-link.active {
  background: rgba(39, 130, 255, 0.22) !important;
  box-shadow: inset 2px 0 0 rgba(98, 180, 255, 0.7) !important;
  color: #d9ebff !important;
  border-radius: 0 16px 16px 0 !important;
  margin-left: 0 !important;
  padding-left: 27px !important;
}

/* Sidebar section heading divider */
body.template_aura .sidebar .sidebar-heading {
  font-size: 0.7rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  opacity: 0.6;
  padding-top: 4px !important;
}
body.template_aura .sidebar ul.nav + h5.sidebar-heading {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px !important;
  margin-top: 8px !important;
}

/* ── Nav-tabs polish ─────────────────────────────────────── */
body.template_aura .nav-tabs {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  gap: 4px;
}
body.template_aura .nav-tabs .nav-link {
  border: 1px solid transparent !important;
  border-radius: 12px 12px 0 0 !important;
  color: rgba(154, 168, 190, 0.85) !important;
  padding: 0.55rem 1.1rem !important;
  font-weight: 600;
  font-size: 0.87rem;
  letter-spacing: 0.01em;
}
body.template_aura .nav-tabs .nav-link:hover {
  color: #ecf3ff !important;
  background: rgba(255, 255, 255, 0.04) !important;
}
body.template_aura .nav-tabs .nav-link.active {
  background: linear-gradient(180deg, rgba(0, 133, 255, 0.18), rgba(14, 26, 47, 0.96)) !important;
  border-color: rgba(98, 180, 255, 0.22) rgba(98, 180, 255, 0.22) transparent !important;
  color: #cce8ff !important;
  box-shadow: 0 -1px 0 0 #267dff inset;
}

/* ── Table refinements ───────────────────────────────────── */
body.template_aura .table tbody tr {
  transition: background 0.14s ease;
}
body.template_aura .table tbody tr:hover {
  background: rgba(0, 133, 255, 0.05) !important;
}
body.template_aura .table tbody td {
  vertical-align: middle !important;
}
body.template_aura .table thead th {
  font-size: 0.79rem !important;
  letter-spacing: 0.07em !important;
  font-weight: 600 !important;
  padding-bottom: 0.9rem !important;
}
body.template_aura .table-radius,
body.template_aura .table-borders {
  overflow: hidden;
}

/* Empty state row */
body.template_aura .table tbody tr td[colspan] {
  padding: 2.5rem 1.5rem !important;
  text-align: center;
  color: rgba(154, 168, 190, 0.7) !important;
  font-size: 0.92rem;
}

/* ── Form control refinements ────────────────────────────── */
body.template_aura .form-control,
body.template_aura textarea,
body.template_aura select {
  border-radius: 12px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}
body.template_aura .form-control:focus,
body.template_aura textarea:focus,
body.template_aura select:focus {
  border-color: rgba(0, 133, 255, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(0, 133, 255, 0.14), 0 0 16px rgba(0, 133, 255, 0.08) !important;
}

body.template_aura .input-group > .form-control:focus {
  z-index: 3;
}
body.template_aura .input-group-text {
  border-radius: 12px 0 0 12px !important;
}
body.template_aura .input-group > .input-group-prepend + .form-control {
  border-radius: 0 12px 12px 0 !important;
}

/* Form labels */
body.template_aura label {
  font-size: 0.87rem;
  font-weight: 600;
  color: rgba(154, 168, 190, 0.9);
  letter-spacing: 0.02em;
}

/* ── Alert glassmorphism ─────────────────────────────────── */
body.template_aura .alert {
  border-radius: 16px !important;
  border-width: 1px !important;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
}
body.template_aura .alert-success {
  background: rgba(45, 199, 107, 0.1) !important;
  border-color: rgba(45, 199, 107, 0.24) !important;
  color: #62d69b !important;
}
body.template_aura .alert-info {
  background: rgba(0, 133, 255, 0.1) !important;
  border-color: rgba(0, 133, 255, 0.22) !important;
  color: #7cbcff !important;
}
body.template_aura .alert-warning {
  background: rgba(246, 187, 66, 0.1) !important;
  border-color: rgba(246, 187, 66, 0.24) !important;
  color: #ffbe62 !important;
}
body.template_aura .alert-danger {
  background: rgba(217, 37, 46, 0.1) !important;
  border-color: rgba(217, 37, 46, 0.22) !important;
  color: #ff7d9b !important;
}

/* ── Badge refinements + pulse on danger/warning ─────────── */
body.template_aura .badge {
  letter-spacing: 0.01em;
  font-size: 0.76rem !important;
}
body.template_aura .badge.badge-Unpaid,
body.template_aura .badge.badge-Terminated,
body.template_aura .badge.badge-Overdue {
  animation: aura-pulse-danger 2.8s ease-in-out infinite;
}
body.template_aura .badge.badge-Pending,
body.template_aura .badge.badge-Awaiting {
  animation: aura-pulse-warn 3s ease-in-out infinite;
}
@keyframes aura-pulse-danger {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 136, 0); }
  50%       { box-shadow: 0 0 0 4px rgba(255, 107, 136, 0.18); }
}
@keyframes aura-pulse-warn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 182, 72, 0); }
  50%       { box-shadow: 0 0 0 4px rgba(255, 182, 72, 0.16); }
}

/* ── Modal glassmorphism ─────────────────────────────────── */
body.template_aura .modal-content {
  background: linear-gradient(180deg, rgba(14, 25, 46, 0.97), rgba(10, 18, 34, 0.98)) !important;
  border: 1px solid rgba(113, 140, 186, 0.22) !important;
  border-radius: 28px !important;
  box-shadow: 0 40px 100px rgba(3, 10, 24, 0.6) !important;
  backdrop-filter: blur(24px);
  color: #ecf3ff;
}
body.template_aura .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1.6rem 2rem !important;
}
body.template_aura .modal-body {
  padding: 1.5rem 2rem !important;
}
body.template_aura .modal-body.form-credentials.form-credentials-modal {
  padding: 1.5rem 2rem !important;
}
body.template_aura .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1.2rem 2rem !important;
}
body.template_aura .modal-title {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ecf3ff !important;
}
body.template_aura .modal-backdrop.show {
  opacity: 0.72 !important;
  backdrop-filter: blur(4px);
}
body.template_aura .close,
body.template_aura .modal-header .close {
  color: rgba(154, 168, 190, 0.7) !important;
  text-shadow: none !important;
  opacity: 1 !important;
  transition: color 0.15s ease;
}
body.template_aura .close:hover {
  color: #ecf3ff !important;
}

/* ── Dropdown refinements ────────────────────────────────── */
body.template_aura .dropdown-menu {
  padding: 10px !important;
  overflow: hidden;
}
body.template_aura .dropdown-item {
  border-radius: 12px !important;
  padding: 9px 14px !important;
  font-size: 0.88rem;
  font-weight: 500;
}
body.template_aura .dropdown-item:hover,
body.template_aura .dropdown-item:focus {
  border-radius: 12px !important;
}

/* ── Card header / body spacing ─────────────────────────── */
body.template_aura .card-header {
  padding: 1.2rem 1.5rem !important;
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: -0.005em;
  color: #ecf3ff !important;
}
body.template_aura .card-body {
  padding: 1.4rem 1.5rem !important;
}

/* ── Progress bar ────────────────────────────────────────── */
body.template_aura .progress {
  background: rgba(255, 255, 255, 0.07) !important;
  border-radius: 999px !important;
  height: 6px !important;
}
body.template_aura .progress-bar {
  background: linear-gradient(90deg, #267dff, #00c6ff) !important;
  border-radius: 999px !important;
}

/* ── Pagination ──────────────────────────────────────────── */
body.template_aura .pagination .page-item .page-link {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(113, 140, 186, 0.18) !important;
  color: rgba(154, 168, 190, 0.85) !important;
  border-radius: 10px !important;
  margin: 0 3px;
  min-width: 38px;
  text-align: center;
  font-weight: 600;
}
body.template_aura .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #0085ff, #267dff) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0, 133, 255, 0.32);
}
body.template_aura .pagination .page-item .page-link:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ecf3ff !important;
}

/* ── Notification PNotify toasts ─────────────────────────── */
body.template_aura .ui-pnotify .brighttheme {
  border-radius: 20px !important;
  border: 1px solid rgba(113, 140, 186, 0.2) !important;
  background: rgba(12, 23, 44, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 24px 60px rgba(3, 10, 24, 0.4) !important;
}
body.template_aura .ui-pnotify .brighttheme-notice {
  border-top: 3px solid #267dff !important;
}
body.template_aura .ui-pnotify .brighttheme-success {
  border-top: 3px solid #31d195 !important;
}
body.template_aura .ui-pnotify .brighttheme-error {
  border-top: 3px solid #ff7d9b !important;
}

/* ── Cart / checkout page ────────────────────────────────── */
body.template_aura .aura-checkout-progress {
  box-shadow: 0 24px 60px rgba(3, 10, 24, 0.28) !important;
}
body.template_aura .aura-checkout-progress__step {
  transition: background 0.2s ease, color 0.2s ease;
}

/* ── Sticky domain search bar ────────────────────────────── */
body.template_aura .domain-search-summary.domain-search-summary-sticky > div {
  border-radius: 16px 16px 0 0 !important;
  backdrop-filter: blur(24px) !important;
  box-shadow: 0 -4px 32px rgba(3, 10, 24, 0.45) !important;
  background: rgba(10, 20, 40, 0.96) !important;
  border: 1px solid rgba(113, 140, 186, 0.18) !important;
  border-bottom: none !important;
  width: 100% !important;
}

/* Make the bar sticky-in-flow (scrolls with content, sticks at viewport bottom)
   instead of always-fixed. Sidebar width offset handled via margin on section-main.
   This prevents the bar from permanently obscuring page content.
   margin-left: 0 !important overrides the JS-set margin-left (designed for
   position:fixed) which would otherwise double-offset the bar inside the
   already-indented content area, causing horizontal overflow. */
body.template_aura .domain-search-summary.domain-search-summary-sticky {
  position: sticky !important;
  bottom: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  margin-left: 0 !important;
  z-index: 849 !important;
}

/* Inner content row — full width, well padded.
   Also overrides the JS inline width: smWidth which is calibrated for
   position:fixed and can mis-size the content in sticky mode. */
body.template_aura .domain-search-summary.domain-search-summary-sticky .domain-search-summary-content {
  width: 100% !important;
  margin: 0 !important;
  padding: 8px 16px !important;
}
body.template_aura .domain-search-summary.domain-search-summary-sticky .domain-search-summary-details,
body.template_aura .domain-search-summary.domain-search-summary-sticky .domain-search-summary-details-info {
  width: 100% !important;
}

/* Light up text / icons for dark background */
body.template_aura .domain-search-summary.domain-search-summary-sticky .domain-search-summary-content-total,
body.template_aura .domain-search-summary.domain-search-summary-sticky .domain-search-summary-content-count {
  color: #ecf3ff !important;
}
body.template_aura .domain-search-summary.domain-search-summary-sticky .domain-search-summary-details-btn {
  color: rgba(154, 168, 210, 0.85) !important;
}

/* ── Login / signup page ─────────────────────────────────── */
body.template_aura .login-wrapper .card,
body.template_aura .signup-wrapper .card {
  box-shadow: 0 48px 120px rgba(3, 10, 24, 0.55) !important;
  border-radius: 32px !important;
}

/* ── Info-box (tickets / invoices on dashboard) ───────────── */
body.template_aura .info-box {
  padding: 1.5rem !important;
}
body.template_aura .info-box > .d-flex:first-child {
  padding-bottom: 1rem !important;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}
body.template_aura .info-box h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #ecf3ff !important;
  margin: 0 !important;
}

/* ── Navbar icon buttons ─────────────────────────────────── */
body.template_aura .navbar .btn-left-navbar {
  border-radius: 12px !important;
  transition: background 0.15s ease, color 0.15s ease;
}
body.template_aura .navbar .btn-left-navbar:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ecf3ff !important;
}

/* ── Summary / checkout action links ─────────────────────── */
body.template_aura .summary-action:hover {
  border-color: rgba(113, 140, 186, 0.38) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  transform: translateY(-1px);
}

/* ── Tooltip ─────────────────────────────────────────────── */
body.template_aura .tooltip-inner {
  border-radius: 10px !important;
  padding: 6px 12px !important;
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(0, 133, 255, 0.92) !important;
  backdrop-filter: blur(8px);
}

/* ── Breadcrumb ──────────────────────────────────────────── */
body.template_aura .breadcrumb {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(113, 140, 186, 0.14);
  border-radius: 10px !important;
  padding: 0.55rem 1rem !important;
  font-size: 0.85rem;
}
body.template_aura .breadcrumb-item a {
  color: rgba(124, 188, 255, 0.8) !important;
}
body.template_aura .breadcrumb-item.active {
  color: rgba(154, 168, 190, 0.7) !important;
}
body.template_aura .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(113, 140, 186, 0.4) !important;
}

/* ── Footer polish ───────────────────────────────────────── */
body.template_aura .footer-box small,
body.template_aura .footer-box p,
body.template_aura .footer-box span {
  color: rgba(154, 168, 190, 0.65) !important;
  font-size: 0.82rem;
}
body.template_aura .footer-box a.nav-link {
  font-size: 0.84rem !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
  body.template_aura .card:not(.no-hover):not(.card-flush):hover,
  body.template_aura .wbox:not(.no-hover):hover,
  body.template_aura .info-box:not(.no-hover):hover {
    transform: none;
  }
  body.template_aura .root-boxes .root-box:hover {
    transform: translateY(-3px) scale(1);
  }
}

/* ============================================================
   Aura Theme — Polish Layer v2  (login, tickets, root, kb, services)
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   LOGIN / SIGNUP / PASSREMINDER  (glassmorphism card)
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-signin,
body.template_aura .section-passreminder,
body.template_aura .section-signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* Decorative glow blob behind login card */
body.template_aura .section-signin::before,
body.template_aura .section-passreminder::before {
  content: '';
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 133, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body.template_aura .form-credentials {
  position: relative;
  z-index: 1;
  background: rgba(13, 24, 42, 0.88) !important;
  backdrop-filter: blur(28px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.4) !important;
  border: 1px solid rgba(113, 140, 186, 0.2) !important;
  border-radius: 28px !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 40px 90px rgba(3, 10, 24, 0.5) !important;
  padding: 2.5rem 2.25rem !important;
}

body.template_aura .form-credentials.form-signin {
  max-width: 460px !important;
}

body.template_aura .form-credentials h1,
body.template_aura .form-credentials .h3,
body.template_aura .form-credentials .h4 {
  color: #ecf3ff !important;
  font-weight: 700 !important;
}

body.template_aura .form-credentials small {
  color: rgba(154, 168, 190, 0.8) !important;
  font-size: 0.9rem;
}

body.template_aura .form-credentials .image {
  filter: drop-shadow(0 4px 16px rgba(0, 133, 255, 0.2));
  background: transparent !important;
}

/* Stacked input groups on login form */
body.template_aura .form-credentials .input-group + .input-group {
  margin-top: -1px !important;
}
body.template_aura .form-credentials .input-group:first-of-type .form-control {
  border-radius: 14px 14px 0 0 !important;
}
body.template_aura .form-credentials .input-group:first-of-type .input-group-text {
  border-radius: 14px 0 0 0 !important;
}
body.template_aura .form-credentials .input-group:last-of-type .form-control {
  border-radius: 0 0 14px 14px !important;
}
body.template_aura .form-credentials .input-group:last-of-type .input-group-text {
  border-radius: 0 0 0 14px !important;
}
body.template_aura .form-credentials .input-group:only-of-type .form-control {
  border-radius: 14px !important;
}

body.template_aura .form-credentials .input-group-text {
  background: rgba(7, 17, 31, 0.92) !important;
  border-color: rgba(113, 140, 186, 0.18) !important;
  color: #7cbcff !important;
}

/* Remember me / forgot link area */
body.template_aura .form-credentials .text-small,
body.template_aura .form-credentials a.text-small {
  color: rgba(124, 188, 255, 0.75) !important;
  font-size: 0.84rem;
}
body.template_aura .form-credentials a.text-small:hover {
  color: #7cbcff !important;
}

body.template_aura .form-credentials .btn-primary {
  min-width: 120px;
  box-shadow: 0 12px 28px rgba(0, 133, 255, 0.3) !important;
}

body.template_aura .form-credentials .form-check-label {
  color: rgba(154, 168, 190, 0.85) !important;
  font-size: 0.875rem;
}

body.template_aura .form-credentials .form-control,
body.template_aura .form-credentials textarea {
  background: rgba(7, 17, 31, 0.75) !important;
  border: 1px solid rgba(113, 140, 186, 0.22) !important;
  color: #ecf3ff !important;
  border-radius: 12px !important;
}
body.template_aura .form-credentials .form-control::placeholder,
body.template_aura .form-credentials textarea::placeholder {
  color: rgba(154, 168, 190, 0.55) !important;
}
body.template_aura .form-credentials .form-label-placeholder {
  color: rgba(154, 168, 190, 0.7) !important;
}
body.template_aura .form-credentials .form-control:focus {
  background: rgba(7, 17, 31, 0.9) !important;
  border-color: rgba(0, 133, 255, 0.55) !important;
  color: #ecf3ff !important;
}

/* Divider in login modals */
body.template_aura .form-credentials.form-credentials-modal {
  border: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ────────────────────────────────────────────────────────────
   ROOT PAGE — root-boxes hero cards
   ──────────────────────────────────────────────────────────── */
body.template_aura .root-boxes {
  gap: 1.25rem;
  margin-top: 4rem !important;
}

body.template_aura .root-boxes .root-box {
  position: relative;
  overflow: hidden;
  background: rgba(13, 24, 44, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(113, 140, 186, 0.16) !important;
  border-radius: 28px !important;
  box-shadow: 0 18px 50px rgba(3, 10, 24, 0.28);
  padding: 2.5rem 1.5rem !important;
  text-decoration: none !important;
}

/* Subtle radial glow in top-right corner on hover */
body.template_aura .root-boxes .root-box::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 133, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
body.template_aura .root-boxes .root-box:hover::after {
  opacity: 1;
}

/* Gradient icon container */
body.template_aura .root-boxes .root-box .material-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  margin: 0 auto 1.25rem;
  font-size: 32px !important;
  background: linear-gradient(135deg, rgba(0, 133, 255, 0.22), rgba(38, 125, 255, 0.1));
  border: 1px solid rgba(0, 133, 255, 0.22);
  color: #7cbcff !important;
  box-shadow: 0 8px 24px rgba(0, 133, 255, 0.15);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
body.template_aura .root-boxes .root-box:hover .material-icons {
  background: linear-gradient(135deg, rgba(0, 133, 255, 0.36), rgba(38, 125, 255, 0.2));
  box-shadow: 0 12px 32px rgba(0, 133, 255, 0.28);
  transform: scale(1.06);
}

body.template_aura .root-boxes .root-box h4 {
  color: #ecf3ff !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.4rem !important;
}

body.template_aura .root-boxes .root-box span {
  color: rgba(154, 168, 190, 0.85) !important;
  font-size: 0.9rem;
  line-height: 1.5;
}

body.template_aura .root-boxes .root-box:hover {
  border-color: rgba(0, 133, 255, 0.28) !important;
  box-shadow: 0 24px 60px rgba(3, 10, 24, 0.36),
              0 0 0 1px rgba(0, 133, 255, 0.14) !important;
  transform: translateY(-5px) scale(1.01) !important;
}

/* ────────────────────────────────────────────────────────────
   ROOT PAGE — announcements list
   ──────────────────────────────────────────────────────────── */
body.template_aura .root-news .card {
  background: rgba(13, 24, 44, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(113, 140, 186, 0.16) !important;
  border-radius: 24px !important;
  overflow: hidden;
}

body.template_aura .root-news .list-group-item {
  background: transparent !important;
  border-color: rgba(113, 140, 186, 0.1) !important;
  padding: 1.1rem 1.5rem !important;
  transition: background 0.18s ease;
}

body.template_aura .root-news .list-group-item:hover {
  background: rgba(0, 133, 255, 0.05) !important;
}

body.template_aura .root-news .list-group-item .material-icons {
  color: rgba(124, 188, 255, 0.55) !important;
  margin-top: 2px;
}

body.template_aura .root-news .list-group-item a.h3 {
  color: #ecf3ff !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
body.template_aura .root-news .list-group-item a.h3:hover {
  color: #7cbcff !important;
}

body.template_aura .root-news .list-group-item .text-muted {
  color: rgba(154, 168, 190, 0.72) !important;
  line-height: 1.5;
}

body.template_aura .root-news .badge.badge-primary {
  background: rgba(0, 133, 255, 0.18) !important;
  color: #7cbcff !important;
  border: 1px solid rgba(0, 133, 255, 0.2) !important;
  border-radius: 999px !important;
  font-size: 0.75rem !important;
  padding: 0.35rem 0.7rem !important;
  white-space: nowrap;
}

body.template_aura .root-news .btn-view-all {
  border-radius: 999px !important;
}

/* ────────────────────────────────────────────────────────────
   TICKET LIST — section-tickets
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-tickets h1 {
  background: linear-gradient(135deg, #ecf3ff 30%, #7cbcff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.template_aura .section-tickets .nav-tabs-wrapper {
  background: rgba(13, 24, 44, 0.72) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(113, 140, 186, 0.14) !important;
  border-radius: 20px !important;
  padding: 0.6rem 1rem !important;
  margin-bottom: 1.5rem !important;
}

/* ────────────────────────────────────────────────────────────
   TICKET VIEW — comment thread
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-tickets .content-view-details {
  background: rgba(13, 24, 44, 0.72) !important;
  border: 1px solid rgba(113, 140, 186, 0.14) !important;
  border-radius: 18px !important;
  padding: 1rem 1.25rem !important;
  margin-bottom: 1.5rem !important;
  backdrop-filter: blur(12px) !important;
}

body.template_aura .section-tickets .content-view-details .badge {
  border-radius: 999px !important;
  padding: 0.42rem 0.85rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}

body.template_aura .comments .comment {
  margin-bottom: 1.5rem;
}

body.template_aura .comments .comment-body {
  background: rgba(13, 24, 44, 0.82) !important;
  border: 1px solid rgba(113, 140, 186, 0.16) !important;
  border-radius: 20px !important;
  padding: 1.25rem 1.5rem !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 28px rgba(3, 10, 24, 0.2) !important;
  transition: border-color 0.2s ease;
}

/* Admin replies get a subtle blue tint */
body.template_aura .comments .comment-admin .comment-body {
  background: rgba(0, 83, 180, 0.12) !important;
  border-color: rgba(0, 133, 255, 0.2) !important;
}

body.template_aura .comments .comment-sender strong {
  color: #ecf3ff !important;
  font-size: 0.9rem;
}

body.template_aura .comments .comment-sender img {
  border-radius: 50% !important;
  border: 2px solid rgba(113, 140, 186, 0.24) !important;
}

/* Ticket reply form */
body.template_aura .section-tickets .ticket-reply-form,
body.template_aura .section-tickets form[name="ticketreplyform"] {
  background: rgba(13, 24, 44, 0.82) !important;
  border: 1px solid rgba(113, 140, 186, 0.16) !important;
  border-radius: 20px !important;
  padding: 1.5rem !important;
  backdrop-filter: blur(16px) !important;
  margin-top: 1.5rem !important;
}

body.template_aura .section-tickets textarea.form-control {
  min-height: 130px;
  border-radius: 14px !important;
}

/* ────────────────────────────────────────────────────────────
   KNOWLEDGEBASE
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-knowledgebase h1 {
  background: linear-gradient(135deg, #ecf3ff 30%, #7cbcff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.template_aura .section-knowledgebase article p {
  color: rgba(236, 243, 255, 0.88) !important;
  line-height: 1.75;
  font-size: 1.02rem;
}

body.template_aura .section-knowledgebase .list-group-item {
  background: rgba(13, 24, 44, 0.8) !important;
  border-color: rgba(113, 140, 186, 0.12) !important;
  color: #dce8f8 !important;
  padding: 0.9rem 1.25rem !important;
  transition: background 0.18s ease, border-color 0.18s ease;
}

body.template_aura .section-knowledgebase .list-group-item:hover {
  background: rgba(0, 133, 255, 0.08) !important;
  border-color: rgba(0, 133, 255, 0.18) !important;
}

body.template_aura .section-knowledgebase .list-group-item a {
  color: #7cbcff !important;
  font-weight: 600;
  text-decoration: none;
}
body.template_aura .section-knowledgebase .list-group-item a:hover {
  color: #b3dcff !important;
}

/* KB category cards */
body.template_aura .section-knowledgebase .card {
  background: rgba(13, 24, 44, 0.88) !important;
  border: 1px solid rgba(113, 140, 186, 0.16) !important;
  border-radius: 22px !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
body.template_aura .section-knowledgebase .card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(0, 133, 255, 0.26) !important;
  box-shadow: 0 18px 48px rgba(3, 10, 24, 0.28) !important;
}
body.template_aura .section-knowledgebase .card-body {
  padding: 1.35rem !important;
}
body.template_aura .section-knowledgebase .card-title {
  color: #ecf3ff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

/* KB vote widget */
body.template_aura #knowledgebase_vote .btn {
  border-radius: 999px !important;
}

/* ────────────────────────────────────────────────────────────
   SERVICE DETAIL — left navigation side menu
   ──────────────────────────────────────────────────────────── */
body.template_aura .leftnavigation-box {
  background: rgba(13, 24, 44, 0.82) !important;
  border: 1px solid rgba(113, 140, 186, 0.14) !important;
  border-radius: 20px !important;
  padding: 0.75rem 0.5rem !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 12px 36px rgba(3, 10, 24, 0.22) !important;
}

body.template_aura .leftnavigation-box .nav-item {
  background: transparent !important;
  border-radius: 12px !important;
  margin: 2px 0 !important;
}
body.template_aura .leftnavigation-box .nav-item:hover {
  background: rgba(0, 133, 255, 0.08) !important;
}

body.template_aura .leftnavigation-box .nav-link {
  color: rgba(154, 168, 190, 0.85) !important;
  font-size: 0.9rem !important;
  padding: 0.55rem 0.9rem !important;
  line-height: 1.4 !important;
  border-radius: 12px !important;
  font-weight: 500 !important;
  transition: color 0.15s ease, background 0.15s ease;
}
body.template_aura .leftnavigation-box .nav-link:hover {
  color: #ecf3ff !important;
}
body.template_aura .leftnavigation-box .nav-link.active {
  background: linear-gradient(135deg, rgba(0, 100, 200, 0.22), rgba(38, 125, 255, 0.12)) !important;
  color: #7cbcff !important;
  font-weight: 700 !important;
}

/* ────────────────────────────────────────────────────────────
   SERVICE HEADER — name + status area
   ──────────────────────────────────────────────────────────── */
/* Don't add cloud icons to ALL h4s - only the service header needs it */
body.template_aura .section-account-service .cloud {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1.25rem !important;
  align-items: flex-start !important;
}

/* Remove clear divs that break flex */
body.template_aura .cloud .clear {
  display: none !important;
}

/* Main content area expands */
body.template_aura #content-cloud {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

body.template_aura .section-account-service .service-header-menu .btn {
  border-radius: 999px !important;
  font-size: 0.84rem !important;
  padding: 0.35rem 0.85rem !important;
}

/* ────────────────────────────────────────────────────────────
   INVOICES LIST
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-invoices h1,
body.template_aura .section-billing h1 {
  background: linear-gradient(135deg, #ecf3ff 30%, #7cbcff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ────────────────────────────────────────────────────────────
   GENERAL LIST-GROUP (used across knowledgebase, news, etc.)
   ──────────────────────────────────────────────────────────── */
body.template_aura .list-group-flush .list-group-item {
  background: transparent !important;
  border-color: rgba(113, 140, 186, 0.1) !important;
  color: #dce8f8 !important;
}

body.template_aura .list-group-item {
  background: rgba(13, 24, 44, 0.82) !important;
  border-color: rgba(113, 140, 186, 0.12) !important;
  color: #dce8f8 !important;
  transition: background 0.18s ease;
}

/* ────────────────────────────────────────────────────────────
   PAGE SECTION HEADERS  (all pages)
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-account-header h1,
body.template_aura .section-knowledgebase h1,
body.template_aura .section-tickets h1,
body.template_aura .section-signup h1 {
  margin-bottom: 0.35rem;
}

body.template_aura h5.my-5 {
  color: rgba(154, 168, 190, 0.85) !important;
  font-weight: 400 !important;
  font-size: 1.05rem !important;
}

/* ────────────────────────────────────────────────────────────
   ADDITIONAL RESPONSIVE FIXES
   ──────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  body.template_aura .form-credentials.form-signin {
    max-width: 100% !important;
    border-radius: 20px !important;
    padding: 1.75rem 1.25rem !important;
  }
  body.template_aura .root-boxes .root-box {
    border-radius: 20px !important;
    padding: 2rem 1.25rem !important;
  }
  body.template_aura .leftnavigation-box {
    border-radius: 16px !important;
    margin-bottom: 1.25rem !important;
  }
}

@media (max-width: 575.98px) {
  body.template_aura .root-boxes {
    flex-direction: column !important;
  }
  body.template_aura .section-tickets .content-view-details {
    flex-direction: column !important;
    gap: 0.75rem;
  }
  body.template_aura .section-tickets .content-view-details .d-flex.flex-row {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }
}

/* ============================================================
   Aura Theme — Polish Layer v3  (billing, filters, swal, services)
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   BILLING HEADER — balance / credit stats
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-account-header .h2,
body.template_aura .section-account-header h2 {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

body.template_aura .section-account-header .text-success {
  color: #31d195 !important;
}

body.template_aura .section-account-header .text-danger {
  color: #ff7d9b !important;
}

body.template_aura .section-account-header small.text-secondary {
  color: rgba(154, 168, 190, 0.8) !important;
  font-size: 0.82rem !important;
}

/* Wrap the balance + credit in a glass pill strip */
body.template_aura .components-billing_header .section-account-header > div:last-child {
  background: rgba(13, 24, 44, 0.72);
  border: 1px solid rgba(113, 140, 186, 0.14);
  border-radius: 18px;
  padding: 0.85rem 1.5rem;
  gap: 2rem;
}

/* ────────────────────────────────────────────────────────────
   FILTERS BOX  (services / invoices filter panel)
   ──────────────────────────────────────────────────────────── */
body.template_aura .filters-box {
  background: rgba(13, 24, 44, 0.8) !important;
  border: 1px solid rgba(113, 140, 186, 0.14) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

body.template_aura .filters-box label {
  color: rgba(154, 168, 190, 0.85) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
}

body.template_aura .filters-box .form-check-label {
  color: rgba(236, 243, 255, 0.8) !important;
}

body.template_aura .filters-box input[type="checkbox"],
body.template_aura .filters-box input[type="radio"] {
  accent-color: #0085ff;
}

body.template_aura .filters-box .btn-default {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(113, 140, 186, 0.18) !important;
  color: #dce8f8 !important;
  border-radius: 999px !important;
}
body.template_aura .filters-box .btn-default:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ecf3ff !important;
}

/* ────────────────────────────────────────────────────────────
   SERVICES LIST — tabs wrapper (same pattern as tickets)
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-services .nav-tabs-wrapper {
  background: rgba(13, 24, 44, 0.72) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(113, 140, 186, 0.14) !important;
  border-radius: 20px !important;
  padding: 0.6rem 1rem !important;
  margin-bottom: 1.5rem !important;
}

body.template_aura .section-services h1 {
  background: linear-gradient(135deg, #ecf3ff 30%, #7cbcff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ────────────────────────────────────────────────────────────
   SWAL (SweetAlert) MODAL — dark glass
   ──────────────────────────────────────────────────────────── */
body.template_aura .swal-overlay {
  background: rgba(3, 10, 24, 0.72) !important;
  backdrop-filter: blur(8px) !important;
}

body.template_aura .swal-modal {
  background: rgba(13, 24, 44, 0.96) !important;
  border: 1px solid rgba(113, 140, 186, 0.2) !important;
  border-radius: 28px !important;
  box-shadow: 0 40px 100px rgba(3, 10, 24, 0.6) !important;
  color: #ecf3ff !important;
}

body.template_aura .swal-title {
  color: #ecf3ff !important;
  font-weight: 700 !important;
}

body.template_aura .swal-text {
  color: rgba(154, 168, 190, 0.9) !important;
}

body.template_aura .swal-footer {
  background: transparent !important;
  border-top: 1px solid rgba(113, 140, 186, 0.1) !important;
}

body.template_aura .swal-button {
  border-radius: 999px !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.5rem !important;
}

body.template_aura .swal-button--confirm {
  background: linear-gradient(135deg, #0085ff, #267dff) !important;
  box-shadow: 0 12px 28px rgba(0, 133, 255, 0.3) !important;
}

body.template_aura .swal-button--cancel {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(113, 140, 186, 0.2) !important;
  color: #dce8f8 !important;
}

body.template_aura .swal-icon--warning .swal-icon--warning__body,
body.template_aura .swal-icon--warning .swal-icon--warning__dot {
  background-color: #ffbe62 !important;
}
body.template_aura .swal-icon--warning {
  border-color: rgba(255, 190, 98, 0.5) !important;
}
body.template_aura .swal-icon--error__line {
  background-color: #ff7d9b !important;
}
body.template_aura .swal-icon--error {
  border-color: rgba(255, 125, 155, 0.5) !important;
}
body.template_aura .swal-icon--success__ring {
  border-color: rgba(49, 209, 149, 0.4) !important;
}
body.template_aura .swal-icon--success__line {
  background-color: #31d195 !important;
}

/* ────────────────────────────────────────────────────────────
   ACCOUNT OVERVIEW TABLE  (privacy / data fields)
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-account .table td.inline-row b {
  color: #ecf3ff !important;
  font-weight: 600 !important;
}

body.template_aura .section-account .table td.inline-row {
  color: rgba(154, 168, 190, 0.85) !important;
}

/* ────────────────────────────────────────────────────────────
   CONTROL-GROUP (account settings form)
   ──────────────────────────────────────────────────────────── */
body.template_aura .control-group {
  margin-bottom: 1.25rem;
}

body.template_aura .control-group .control-label strong {
  color: #ecf3ff !important;
  font-weight: 600 !important;
  display: block;
  margin-bottom: 0.25rem;
}

body.template_aura .control-group .control-label {
  color: rgba(154, 168, 190, 0.85) !important;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 0.5rem;
}

body.template_aura .control-group hr {
  border-color: rgba(113, 140, 186, 0.1) !important;
}

/* ────────────────────────────────────────────────────────────
   ACCOUNT SECTION  h1 gradient (billing / details pages)
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-account-header h1 {
  background: linear-gradient(135deg, #ecf3ff 30%, #7cbcff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ────────────────────────────────────────────────────────────
   CREDIT VOUCHER form (in addfunds page)
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-account hr {
  border-color: rgba(113, 140, 186, 0.1) !important;
}

/* ────────────────────────────────────────────────────────────
   TOP NAV TABS (billing / account details tabs)
   ──────────────────────────────────────────────────────────── */
body.template_aura .nav-tabs-wrapper {
  /* general fallback for any page using nav-tabs-wrapper */
  background: rgba(13, 24, 44, 0.72) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(113, 140, 186, 0.14) !important;
  border-radius: 20px !important;
  padding: 0.6rem 1rem !important;
  margin-bottom: 1.5rem !important;
}

/* ────────────────────────────────────────────────────────────
   PORTAL NOTIFICATIONS / EMAIL LOG list
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-account .wbox,
body.template_aura .section-account .card {
  border-radius: 20px !important;
}

/* ────────────────────────────────────────────────────────────
   SECTION-MAIN — push content below 92px fixed navbar
   custom.min.css sets margin:0 auto, wiping app.min.css's
   margin: calc(30px + 72px) auto. Restore clearance here.
   ──────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
  body.template_aura .section-main {
    padding-top: 112px !important; /* 92px navbar + 20px breathing room */
  }
}

/* ────────────────────────────────────────────────────────────
   DOMAIN ORDER PAGES — navbar clearance fix
   Covers both domain_aura and domain_2019 orderpage templates.
   The fixed 92px navbar sits over the document flow; these rules
   push the orderpage content down enough to clear it.
   :not(.container) = non-fullscreen only (fullscreen uses .container).
   ──────────────────────────────────────────────────────────── */
body.template_aura .orderpage.orderpage-domain_aura:not(.container),
body.template_aura .orderpage.orderpage-domain_2019:not(.container) {
  padding-top: 110px !important;
}
body.template_aura .orderpage.orderpage-domain_aura:not(.container) .order-step,
body.template_aura .orderpage.orderpage-domain_2019:not(.container) .order-step {
  margin-top: 0 !important; /* override any inline margin-top to avoid double-spacing */
}

/* ────────────────────────────────────────────────────────────
   DOMAIN AURA — search section hero
   ──────────────────────────────────────────────────────────── */
body.template_aura .orderpage-domain_aura .bg-gradient-primary,
body.template_aura .orderpage-domain_aura .card.bg-gradient-primary {
  background:
    radial-gradient(circle at 70% 20%, rgba(0, 133, 255, 0.18) 0%, transparent 50%),
    linear-gradient(160deg, rgba(10, 20, 40, 0.97) 0%, rgba(8, 16, 30, 0.97) 100%) !important;
  border: 1px solid rgba(0, 133, 255, 0.14) !important;
  border-radius: 28px !important;
}

/* Domain search input bar — white bg inside dark card */
body.template_aura .orderpage-domain_aura .domain-input section {
  background: rgba(7, 17, 31, 0.92) !important;
  border: 1px solid rgba(113, 140, 186, 0.2) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 36px rgba(3, 10, 24, 0.35) !important;
}

body.template_aura .orderpage-domain_aura .domain-textarea {
  background: transparent !important;
  color: #ecf3ff !important;
}
body.template_aura .orderpage-domain_aura .domain-textarea::placeholder {
  color: rgba(154, 168, 190, 0.6) !important;
}

/* ────────────────────────────────────────────────────────────
   TICKET REPLY AREA — more visible submit button area
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-tickets .hbfiles {
  background: rgba(7, 17, 31, 0.6) !important;
  border: 1px solid rgba(113, 140, 186, 0.12) !important;
  border-radius: 12px !important;
  padding: 0.75rem !important;
}

body.template_aura .section-tickets .ticketrelation {
  background: rgba(13, 24, 44, 0.72) !important;
  border: 1px solid rgba(113, 140, 186, 0.12) !important;
  border-radius: 14px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.88rem !important;
}

body.template_aura .section-tickets .ticketrelation a {
  color: #7cbcff !important;
}

/* ────────────────────────────────────────────────────────────
   AFFILIATE PAGE  (if enabled)
   ──────────────────────────────────────────────────────────── */
body.template_aura .section-affiliates h1 {
  background: linear-gradient(135deg, #ecf3ff 30%, #7cbcff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ────────────────────────────────────────────────────────────
   GENERAL: improve HR dividers everywhere
   ──────────────────────────────────────────────────────────── */
body.template_aura hr {
  border-color: rgba(113, 140, 186, 0.1) !important;
}

/* ────────────────────────────────────────────────────────────
   SEARCH INPUT in navbar
   ──────────────────────────────────────────────────────────── */
body.template_aura .navbar .input-group .form-control[type="search"],
body.template_aura .navbar input[type="search"] {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(113, 140, 186, 0.18) !important;
  color: #ecf3ff !important;
  border-radius: 999px !important;
}
body.template_aura .navbar .input-group .form-control[type="search"]::placeholder {
  color: rgba(154, 168, 190, 0.5) !important;
}

/* ────────────────────────────────────────────────────────────
   FLOATING ACTION / QUICK ACCESS BUTTON (if used)
   ──────────────────────────────────────────────────────────── */
body.template_aura .btn-circle {
  border-radius: 50% !important;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ────────────────────────────────────────────────────────────
   ADDITIONAL RESPONSIVE TWEAKS v3
   ──────────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  body.template_aura .section-account-header {
    flex-direction: column !important;
    gap: 1rem;
  }
  body.template_aura .nav-tabs-wrapper {
    border-radius: 16px !important;
    padding: 0.5rem 0.75rem !important;
    overflow-x: auto;
  }
  body.template_aura .swal-modal {
    margin: 1rem !important;
    border-radius: 22px !important;
  }
}

/* ────────────────────────────────────────────────────────────
   ENOMSSL ORDER PAGE — Modern Dark Theme Override
   Targets: body.template_aura .orderpage-enomssl
   ──────────────────────────────────────────────────────────── */

/* Clear fixed navbar */
body.template_aura .orderpage-enomssl {
  padding-top: 140px !important;
}

/* Fallback: push celeft down when body has no orderpage class (SSL page) */
body.template_aura #celeft {
  margin-top: 90px !important;
  width: 100%;
}

/* Progress indicator — replace float layout with flex */
body.template_aura #progress-indicator {
  display: flex !important;
  overflow: visible !important;
  height: auto !important;
  gap: 4px;
  margin-bottom: 2rem !important;
}

body.template_aura .progress-el {
  flex: 1;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin-right: 0 !important;
  padding: 0.7rem 0.75rem !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(113, 140, 186, 0.15) !important;
  border-bottom: 3px solid rgba(113, 140, 186, 0.2) !important;
  border-radius: 10px !important;
  color: rgba(154, 168, 190, 0.55) !important;
  font-size: 0.78rem;
  text-align: center;
}

body.template_aura .progress-el a {
  color: rgba(154, 168, 190, 0.55) !important;
  text-decoration: none;
}

body.template_aura .progress-el .step {
  display: block;
  font-size: 0.62rem;
  opacity: 0.45;
  margin-bottom: 2px;
}

body.template_aura .progress-active {
  background: rgba(69, 130, 255, 0.12) !important;
  border-bottom-color: #4582ff !important;
  color: #ecf3ff !important;
}

body.template_aura .progress-done {
  background: rgba(40, 200, 120, 0.07) !important;
  border-bottom-color: rgba(40, 200, 120, 0.45) !important;
  color: rgba(40, 200, 120, 0.8) !important;
}

body.template_aura .progress-done a {
  color: rgba(40, 200, 120, 0.8) !important;
}

/* Step heading */
body.template_aura #celeft h3 {
  color: #ecf3ff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* Product list items */
body.template_aura .nitem {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(113, 140, 186, 0.15) !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  margin-bottom: 6px !important;
  color: #c0cfe8;
  cursor: pointer;
}

body.template_aura .nitem:hover {
  background: rgba(69, 130, 255, 0.08) !important;
  border-color: rgba(69, 130, 255, 0.3) !important;
}

body.template_aura .niselected {
  background: rgba(69, 130, 255, 0.12) !important;
  border-color: rgba(69, 130, 255, 0.4) !important;
  color: #ecf3ff !important;
}

/* Description / pricing boxes */
body.template_aura .orderbox1 {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(113, 140, 186, 0.15) !important;
  border-radius: 12px 12px 0 0 !important;
  color: #c0cfe8 !important;
  padding: 1rem !important;
}

body.template_aura .orderbox2 {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(113, 140, 186, 0.15) !important;
  border-top: none !important;
  border-radius: 0 0 12px 12px !important;
}

body.template_aura .orderbox3 {
  background: transparent !important;
  padding: 1rem !important;
  color: #c0cfe8 !important;
}

body.template_aura .ocycles,
body.template_aura .ocycles label {
  color: #c0cfe8 !important;
}

/* Continue button */
body.template_aura .csubmit {
  background: linear-gradient(135deg, #4582ff 0%, #3a6fd8 100%) !important;
  border-radius: 10px !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  min-width: 130px;
  vertical-align: middle !important;
}

body.template_aura .csubmit a {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 600;
  text-shadow: none !important;
  text-decoration: none !important;
}

/* Browse products footer */
body.template_aura .enomssl_products {
  color: rgba(154, 168, 190, 0.7) !important;
  padding: 1rem 0;
  font-size: 0.9rem;
}

body.template_aura .enomssl_products a {
  color: #4582ff !important;
  text-decoration: none !important;
}

body.template_aura .enomssl_products a:hover {
  text-decoration: underline !important;
}

/* Neutralise the enomssl bg_slide1.gif light background on table cells */
body.template_aura .enomssl-table td,
body.template_aura .enomssl-table {
  background-image: none !important;
}

/* ────────────────────────────────────────────────────────────
   ENOMSSL — CSR page (Step 2) overrides
   ──────────────────────────────────────────────────────────── */

/* Combined orderbox (light green on default theme) */
body.template_aura .orderbox12,
body.template_aura .orderbox2.orderbox12,
body.template_aura .orderbox1.orderbox12 {
  background: rgba(255,255,255,0.03) !important;
  background-image: none !important;
  border: 1px solid rgba(113, 140, 186, 0.18) !important;
  border-radius: 12px !important;
  color: #c0cfe8 !important;
}

/* Text inputs and selects inside enomssl forms */
body.template_aura #celeft input[type="text"],
body.template_aura #celeft input[type="email"],
body.template_aura #celeft input[type="password"],
body.template_aura #celeft select,
body.template_aura #celeft textarea {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(113, 140, 186, 0.25) !important;
  border-radius: 8px !important;
  color: #ecf3ff !important;
  padding: 0.4rem 0.6rem;
}

body.template_aura #celeft input[type="text"]::placeholder,
body.template_aura #celeft textarea::placeholder {
  color: rgba(154, 168, 190, 0.45) !important;
}

/* CSR textarea */
body.template_aura #csrbox {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(113, 140, 186, 0.2) !important;
  border-radius: 8px !important;
  color: #a0b4d0 !important;
  font-size: 0.78rem;
  width: 100%;
}

/* Server type select */
body.template_aura #servers_types {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(113, 140, 186, 0.25) !important;
  color: #ecf3ff !important;
  border-radius: 8px !important;
}

/* Checkbox labels */
body.template_aura #celeft .csr-check + span,
body.template_aura #celeft .clicky {
  color: #c0cfe8 !important;
}

/* Info text */
body.template_aura #celeft p,
body.template_aura #celeft .step-info {
  color: #9ab0cc !important;
}

/* ────────────────────────────────────────────────────────────
   ENOMSSL — greenbox + styled input overrides
   ──────────────────────────────────────────────────────────── */

body.template_aura #celeft .greenbox,
body.template_aura .greenbox {
  background: rgba(40, 200, 120, 0.06) !important;
  border-color: rgba(40, 200, 120, 0.2) !important;
  color: #c0cfe8 !important;
}

body.template_aura #celeft .greenbox strong,
body.template_aura #celeft .greenbox span {
  color: #c0cfe8 !important;
}

/* Common Name input (class="styled") and all inputs in celeft */
body.template_aura #celeft input.styled,
body.template_aura #celeft input[id="cn"] {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(113, 140, 186, 0.3) !important;
  border-radius: 8px !important;
  color: #ecf3ff !important;
  padding: 0.4rem 0.7rem !important;
}

/* Hide "Here is an example of CSR generation" column */
body.template_aura #wtcsr table tr td:nth-child(2) {
  display: none !important;
}
body.template_aura #wtcsr table tr td:first-child {
  width: 100% !important;
  padding-right: 0 !important;
}

/* Continue button — make the anchor look like a pill button */
body.template_aura .csubmit {
  background: none !important;
  padding: 0 1rem !important;
  text-align: right !important;
}

body.template_aura .csubmit a {
  display: inline-block !important;
  background: linear-gradient(135deg, #4582ff 0%, #3a6fd8 100%) !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
}

body.template_aura .csubmit a:hover {
  opacity: 0.85 !important;
}

body.template_aura .csubmit.disabled a {
  background: rgba(113, 140, 186, 0.15) !important;
  color: rgba(154, 168, 190, 0.5) !important;
  cursor: not-allowed !important;
}

/* Progress indicator top spacing when not inside #celeft */
body.template_aura #progress-indicator {
  margin-top: 90px !important;
}

/* Override the earlier celeft rule so it doesn't double-stack */
body.template_aura #celeft {
  margin-top: 0 !important;
}

/* Email/select dropdowns on enomssl pages */
body.template_aura #celeft select,
body.template_aura .enomssl-table select,
body.template_aura .row select {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(113, 140, 186, 0.25) !important;
  border-radius: 8px !important;
  color: #ecf3ff !important;
}

/* Hide duplicate Continue button on product config step — use Cart summary button only */
body.template_aura #checksubmit,
body.template_aura #checksubmit + br,
body.template_aura p:has(#checksubmit) {
  display: none !important;
}

/* reCAPTCHA v3 — prevent horizontal scrollbar */
body.template_aura {
  overflow-x: hidden !important;
}

/* Hide floating badge — branding shown in footer instead */
.grecaptcha-badge {
  visibility: hidden !important;
}

.footer-recaptcha-badge {
  text-decoration: none !important;
}

.recaptcha-footer-badge {
  text-align: center;
  padding: 0.4rem 0;
  margin-top: 0.5rem;
}

/* ────────────────────────────────────────────────────────────
   MOBILE SUB-BAR — dark theme override + height fix
   (menu-sub.top.tpl uses bg-white and min-height:100px inline)
   ──────────────────────────────────────────────────────────── */
body.template_aura .sub-bar,
body.template_aura .sub-bar .navbar-body,
body.template_aura .sub-bar .navbar-search {
  background: rgba(7, 17, 31, 0.97) !important;
  border-bottom: 1px solid rgba(113, 140, 186, 0.12) !important;
}
body.template_aura .sub-bar {
  min-height: 50px !important;
  height: 50px !important;
  margin-top: 92px !important; /* Aura navbar is 92px tall, not 72px */
}
body.template_aura .sub-bar .nav-link,
body.template_aura .sub-bar .nav-link i {
  color: rgba(154, 180, 210, 0.85) !important;
}
body.template_aura .sub-bar .nav-link:hover i {
  color: #ecf3ff !important;
}
body.template_aura .sub-bar .prompt {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ecf3ff !important;
  border-color: rgba(113, 140, 186, 0.18) !important;
  border-radius: 999px !important;
}
body.template_aura .sub-bar .prompt::placeholder {
  color: rgba(154, 168, 190, 0.5) !important;
}
body.template_aura .sub-bar .navbar-search-loader {
  color: rgba(154, 180, 210, 0.6) !important;
}

/* ────────────────────────────────────────────────────────────
   MOBILE SPACING FIXES — reduce excess top gap on small screens
   ──────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  /* section-main: custom.min.css sets padding:36px 0 56px globally;
     override to something tighter on mobile */
  body.template_aura .section-main {
    padding-top: 16px !important;
  }
  /* root-boxes has margin-top: 4rem (64px) — too large on mobile */
  body.template_aura .root-boxes {
    margin-top: 1.25rem !important;
  }
}

/* ────────────────────────────────────────────────────────────
   FOOTER — copyright + reCAPTCHA on same row
   ──────────────────────────────────────────────────────────── */
body.template_aura .footer-copyright-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ────────────────────────────────────────────────────────────
   DNS MANAGEMENT — dark theme overrides
   Covers tables from common/dnsmodules/tpl/records.tpl
   ──────────────────────────────────────────────────────────── */
body.template_aura table.display.dns-records,
body.template_aura table.display.dns-records.soa {
  background: rgba(12, 23, 42, 0.88) !important;
  border: 1px solid rgba(113, 140, 186, 0.15) !important;
  border-radius: 16px !important;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

/* Section header row (SOA RECORD, CNAME RECORDS etc) */
body.template_aura table.display.dns-records thead tr th {
  background: rgba(0, 100, 220, 0.18) !important;
  color: rgba(124, 188, 255, 0.9) !important;
  border: none !important;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px !important;
}

/* Column header row (Name, Priority, TTL...) */
body.template_aura table.display.dns-records tbody tr:first-child th {
  background: rgba(7, 17, 31, 0.6) !important;
  color: rgba(154, 168, 190, 0.75) !important;
  border: none !important;
  border-bottom: 1px solid rgba(113, 140, 186, 0.12) !important;
  padding: 8px 16px !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Data rows */
body.template_aura table.display.dns-records td {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(113, 140, 186, 0.08) !important;
  color: #c8d8f0 !important;
  padding: 10px 16px !important;
  font-size: 0.875rem;
}

/* Remove alternating row backgrounds */
body.template_aura table.display.dns-records tr.odd,
body.template_aura table.display.dns-records tr.even {
  background: transparent !important;
}
body.template_aura table.display.dns-records tr:hover td {
  background: rgba(0, 100, 220, 0.07) !important;
}

/* Edit / Delete links */
body.template_aura table.display.dns-records a.fs11 {
  color: #7cbcff !important;
  font-size: 0.8rem !important;
}
body.template_aura table.display.dns-records a.fs11:hover {
  color: #b3dcff !important;
}
body.template_aura table.display.dns-records a.lmore {
  color: rgba(255, 100, 100, 0.75) !important;
}
body.template_aura table.display.dns-records a.lmore:hover {
  color: #ff6b6b !important;
}

/* Add new record link at bottom of each section */
body.template_aura table.display.dns-records a.dns-add-record {
  color: #7cbcff !important;
  font-size: 0.8rem !important;
}

/* muted label text inside SOA content (Serial:, Refresh: etc) */
body.template_aura table.display.dns-records span[style*="color: #888"] {
  color: rgba(154, 168, 190, 0.6) !important;
}

/* ────────────────────────────────────────────────────────────
   DNS ZONES page (mydns service) — dark theme overrides
   ──────────────────────────────────────────────────────────── */

/* Domain list table */
body.template_aura table.display.dns-zones {
  background: transparent !important;
  border: 1px solid rgba(113, 140, 186, 0.15) !important;
  border-radius: 16px !important;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
}
body.template_aura table.display.dns-zones thead tr th {
  background: rgba(7, 17, 31, 0.6) !important;
  color: rgba(124, 188, 255, 0.85) !important;
  border: none !important;
  border-bottom: 1px solid rgba(113, 140, 186, 0.15) !important;
  padding: 10px 16px !important;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.template_aura table.display.dns-zones tbody tr.odd,
body.template_aura table.display.dns-zones tbody tr.even {
  background: transparent !important;
}
body.template_aura table.display.dns-zones tbody td,
body.template_aura table.display.dns-zones tbody th {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(113, 140, 186, 0.08) !important;
  color: #c8d8f0 !important;
  padding: 10px 16px !important;
  font-size: 0.875rem;
  font-weight: normal !important;
}
body.template_aura table.display.dns-zones tbody tr:hover td {
  background: rgba(0, 100, 220, 0.07) !important;
}
body.template_aura table.display.dns-zones a {
  color: #7cbcff !important;
}
body.template_aura table.display.dns-zones a:hover {
  color: #b3dcff !important;
}

/* Action icons bar */
body.template_aura #dns-service .icons ul {
  list-style: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 16px 0 !important;
}
body.template_aura #dns-service .icons ul li {
  background: rgba(12, 23, 42, 0.88) !important;
  border: 1px solid rgba(113, 140, 186, 0.2) !important;
  border-radius: 12px !important;
  padding: 0 !important;
  transition: border-color 0.2s, background 0.2s !important;
}
body.template_aura #dns-service .icons ul li a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 10px 14px !important;
  color: #c8d8f0 !important;
  text-decoration: none !important;
  font-size: 0.75rem !important;
  gap: 6px !important;
}
body.template_aura #dns-service .icons ul li a img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
  opacity: 0.85;
  border-radius: 6px;
}
body.template_aura #dns-service .icons ul li:not(.disabled):hover {
  background: rgba(0, 100, 220, 0.15) !important;
  border-color: rgba(0, 133, 255, 0.4) !important;
}
body.template_aura #dns-service .icons ul li.disabled {
  opacity: 0.45 !important;
}

/* Nameserver table (table-striped inside wbox) */
body.template_aura #dns-service .wbox table.checker,
body.template_aura #dns-service .wbox table.table-striped {
  background: transparent !important;
  border-color: rgba(113, 140, 186, 0.15) !important;
}
body.template_aura #dns-service .wbox table.checker th {
  background: rgba(7, 17, 31, 0.6) !important;
  color: rgba(154, 168, 190, 0.85) !important;
  border-color: rgba(113, 140, 186, 0.15) !important;
  font-size: 0.78rem;
  padding: 8px 12px !important;
}
body.template_aura #dns-service .wbox table.checker td,
body.template_aura #dns-service .wbox table.checker tr td,
body.template_aura #dns-service .wbox table.checker tbody tr td {
  background: transparent !important;
  color: #c8d8f0 !important;
  border-color: rgba(113, 140, 186, 0.1) !important;
  padding: 8px 12px !important;
}
body.template_aura #dns-service .wbox table.checker tr.even td,
body.template_aura #dns-service .wbox table.checker tbody tr:nth-of-type(odd) td {
  background: rgba(255, 255, 255, 0.03) !important;
}

/* Icon tile images — remove white baked-in backgrounds */
body.template_aura #dns-service .icons ul li a img {
  mix-blend-mode: multiply;
  border-radius: 6px;
  opacity: 0.9;
}

/* ────────────────────────────────────────────────────────────
   DNS MODULE — override dnsmodules/style.css tr.even/odd
   style.css sets tr.even{#fff} tr.odd{#f5f5f5} on the TR
   element itself; must override at tr level not just td.
   ──────────────────────────────────────────────────────────── */
body.template_aura #dns-service tr.even,
body.template_aura #dns-service tr.odd {
  background-color: transparent !important;
}
body.template_aura #dns-service tr.even:hover,
body.template_aura #dns-service tr.odd:hover {
  background-color: rgba(0, 100, 220, 0.07) !important;
}

/* ────────────────────────────────────────────────────────────
   DNS ZONES — "With selected domains" action buttons
   ──────────────────────────────────────────────────────────── */

/* Container row */
body.template_aura .icons {
  background: transparent !important;
  border: none !important;
  padding: 0 0 1rem 0 !important;
}
body.template_aura .icons .left.dwarrow {
  color: #c8d8f0 !important;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.6rem !important;
  float: none !important;
  display: block;
}
body.template_aura .icons ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  float: none !important;
}
body.template_aura .icons ul li {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  width: auto !important;
}

/* Button base style */
body.template_aura .icons ul li a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem;
  padding: 0.45rem 1rem !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #0a2a5c 0%, #0d3a7a 100%) !important;
  border: 1px solid rgba(100, 160, 255, 0.25) !important;
  color: #90bbff !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
  white-space: nowrap;
  cursor: pointer;
  width: auto !important;
  height: auto !important;
}
body.template_aura .icons ul li a:hover {
  background: linear-gradient(135deg, #0d3a7a 0%, #1252a8 100%) !important;
  border-color: rgba(100, 160, 255, 0.55) !important;
  color: #d0e8ff !important;
}
/* Disabled state */
body.template_aura .icons ul li.disabled a {
  opacity: 0.42 !important;
  cursor: not-allowed !important;
}
body.template_aura .icons ul li.disabled a:hover {
  background: linear-gradient(135deg, #0a2a5c 0%, #0d3a7a 100%) !important;
  border-color: rgba(100, 160, 255, 0.25) !important;
  color: #90bbff !important;
}

/* Hide original images */
body.template_aura .icons ul li a img {
  display: none !important;
}
/* Hide original span (text) — we recreate it via content trick */
body.template_aura .icons ul li a span {
  /* keep text visible — just make sure it shows */
}

/* FA icons before each button via href attribute selector */
body.template_aura .icons ul li a::before {
  font-family: "Font Awesome 5 Free", "FontAwesome" !important;
  font-weight: 900;
  font-style: normal;
  font-size: 0.85rem;
}
/* DNS Templates */
body.template_aura .icons ul li a[href*="dns_templates"]::before { content: "\f0c5"; }   /* fa-copy */
/* Add A record */
body.template_aura .icons ul li a[href*="type=A"]::before        { content: "\f233"; }   /* fa-server */
/* Add MX */
body.template_aura .icons ul li a[href*="type=MX"]::before       { content: "\f0e0"; }   /* fa-envelope */
/* CNAME / Alias */
body.template_aura .icons ul li a[href*="type=CNAME"]::before    { content: "\f0c1"; }   /* fa-link */
/* Clone settings */
body.template_aura .icons ul li a[href*="clone_record"]::before  { content: "\f24d"; }   /* fa-clone */
/* More */
body.template_aura .icons ul li#more_icon > a::before            { content: "\f141"; }   /* fa-ellipsis-h */

/* Dropdown inside More button */
body.template_aura .icons .dropdown-menu {
  background: #0e2040 !important;
  border: 1px solid rgba(100,160,255,0.2) !important;
}
body.template_aura .icons .dropdown-menu li a,
body.template_aura .icons .dropdown-menu .dropdown-item {
  background: transparent !important;
  color: #90bbff !important;
  padding: 0.4rem 1rem !important;
  border: none !important;
}
body.template_aura .icons .dropdown-menu li a:hover,
body.template_aura .icons .dropdown-menu .dropdown-item:hover {
  background: rgba(0,100,220,0.18) !important;
  color: #d0e8ff !important;
}

/* ── Selected (checked) domain row highlight ── */
body.template_aura #dns-service table.dns-zones tbody tr:has(.idchecker:checked) {
  background-color: rgba(20, 100, 220, 0.18) !important;
  outline: 1px solid rgba(60, 140, 255, 0.4);
}
body.template_aura #dns-service table.dns-zones tbody tr:has(.idchecker:checked) td {
  background-color: transparent !important;
  color: #d0e8ff !important;
}

/* ────────────────────────────────────────────────────────────
   DNS ZONES — action buttons HARD override (style.css fixes)
   style.css: li{width:80px} a{display:block;min-height:61px}
   span{color:#333;display:block}
   ──────────────────────────────────────────────────────────── */
body.template_aura .icons > ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}
body.template_aura .icons > ul > li {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  vertical-align: unset !important;
  position: relative !important;
}
body.template_aura .icons > ul > li > a,
body.template_aura .icons > ul > li > a.dns-action_js {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.45rem 1rem !important;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #0a2a5c 0%, #0d3a7a 100%) !important;
  border: 1px solid rgba(100, 160, 255, 0.3) !important;
  color: #90bbff !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
body.template_aura .icons > ul > li > a:hover {
  background: linear-gradient(135deg, #0d3a7a 0%, #1252a8 100%) !important;
  border-color: rgba(100,160,255,0.6) !important;
  color: #d0e8ff !important;
}
body.template_aura .icons > ul > li.disabled > a {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}
body.template_aura .icons > ul > li > a img {
  display: none !important;
}
body.template_aura .icons > ul > li > a span {
  color: inherit !important;
  display: inline !important;
  font-family: inherit !important;
  font-size: inherit !important;
}
body.template_aura .icons .dwarrow {
  background-image: none !important;
  padding: 0 0 0.6rem 0 !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #8aaad8 !important;
  text-transform: uppercase !important;
  line-height: normal !important;
}

/* ────────────────────────────────────────────────────────────
   DNS TEMPLATES PAGE (&act=dns_templates)
   ──────────────────────────────────────────────────────────── */

/* Notice box at top */
body.template_aura #dns-service .wbox_content div,
body.template_aura #dns-service .wbox_content span {
  color: #c8d8f0 !important;
}

/* Template list items (left column) */
body.template_aura #dns-service #nitems .nitem {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(100,160,255,0.15) !important;
  border-radius: 6px !important;
  margin-bottom: 0.4rem !important;
  padding: 0.5rem 0.85rem !important;
  color: #90bbff !important;
  transition: background 0.15s, border-color 0.15s !important;
  cursor: pointer !important;
}
body.template_aura #dns-service #nitems .nitem:hover {
  background: rgba(0,100,220,0.14) !important;
  border-color: rgba(100,160,255,0.4) !important;
}
body.template_aura #dns-service #nitems .nitem.niselected {
  background: linear-gradient(135deg, #0a2a5c 0%, #0d3a7a 100%) !important;
  border-color: rgba(100,160,255,0.5) !important;
  color: #d0e8ff !important;
}
body.template_aura #dns-service #nitems .nitem strong {
  color: inherit !important;
}
body.template_aura #dns-service #nitems .nitem input[type=radio] {
  accent-color: #3b82f6 !important;
  margin-right: 0.4rem !important;
}

/* Right column — records preview area */
body.template_aura #dns-service #orderitems,
body.template_aura #dns-service .orderbox1,
body.template_aura #dns-service .oitem {
  background: transparent !important;
}

/* Records preview table */
body.template_aura #dns-service .oitem table.display,
body.template_aura #dns-service .oitem table {
  background: rgba(7,17,31,0.5) !important;
  border-radius: 6px !important;
  overflow: hidden;
  border: 1px solid rgba(100,160,255,0.12) !important;
}
body.template_aura #dns-service .oitem table.display thead tr th {
  background: rgba(0,60,140,0.5) !important;
  color: #90bbff !important;
  border-color: rgba(100,160,255,0.15) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 0.55rem 0.75rem !important;
}
body.template_aura #dns-service .oitem table.display tbody tr {
  background: transparent !important;
}
body.template_aura #dns-service .oitem table.display tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.03) !important;
}
body.template_aura #dns-service .oitem table.display tbody tr:hover {
  background: rgba(0,100,220,0.08) !important;
}
body.template_aura #dns-service .oitem table.display tbody td {
  background: transparent !important;
  color: #c8d8f0 !important;
  border-color: rgba(100,160,255,0.08) !important;
  padding: 0.45rem 0.75rem !important;
  font-size: 0.85rem !important;
}

/* "Select a template" placeholder text */
body.template_aura #dns-service #orderitems > .oitem:first-child {
  color: #8aaad8 !important;
  font-style: italic;
  padding: 1rem !important;
}

/* Bottom row — IPv4/IPv6 inputs + checkbox */
body.template_aura #dns-service .orderbox2,
body.template_aura #dns-service .orderbox3 {
  background: transparent !important;
  border: none !important;
}
body.template_aura #dns-service .orderbox2 .control-label,
body.template_aura #dns-service .orderbox2 label {
  color: #90bbff !important;
  font-size: 0.8rem !important;
}
body.template_aura #dns-service .orderbox2 input[type=text],
body.template_aura #dns-service input[name=ipv4],
body.template_aura #dns-service input[name=ipv6] {
  background: rgba(7,17,31,0.7) !important;
  border: 1px solid rgba(100,160,255,0.25) !important;
  border-radius: 5px !important;
  color: #c8d8f0 !important;
  padding: 0.35rem 0.6rem !important;
}
body.template_aura #dns-service .orderbox2 input[type=text]:focus,
body.template_aura #dns-service input[name=ipv4]:focus,
body.template_aura #dns-service input[name=ipv6]:focus {
  border-color: rgba(100,160,255,0.6) !important;
  outline: none !important;
}
body.template_aura #dns-service .orderbox2 .checkbox,
body.template_aura #dns-service .orderbox2 .form-group {
  color: #c8d8f0 !important;
  font-size: 0.85rem !important;
}
body.template_aura #dns-service .orderbox2 input[type=checkbox] {
  accent-color: #3b82f6 !important;
}

/* Main layout table — no white bg */
body.template_aura #dns-service .ntable {
  background: transparent !important;
}
body.template_aura #dns-service .ntable td {
  background: transparent !important;
}

/* Hide IPv4/IPv6 input fields on DNS templates page */
body.template_aura #dns-service input[name=ipv4],
body.template_aura #dns-service input[name=ipv6],
body.template_aura #dns-service input[name=ipv4] ~ *,
body.template_aura #dns-service input[name=ipv6] ~ *,
body.template_aura #dns-service .orderbox2 .pull-left:has(input[name=ipv4]),
body.template_aura #dns-service .orderbox2 .pull-left:has(input[name=ipv6]) {
  display: none !important;
}

/* Radio buttons — make selected state clearly visible (light blue) */
body.template_aura input[type="radio"] {
  accent-color: #3b82f6 !important;
  width: 1rem !important;
  height: 1rem !important;
  cursor: pointer !important;
}

/* Radio button custom ::after override (app.min.css draws fake radios) */
body.template_aura input[type=radio]::after,
body.template_aura input[type=radio]:after {
  background: #0d1f3c !important;
  border: 2px solid rgba(100,160,255,0.4) !important;
  box-shadow: none !important;
  border-radius: 50% !important;
}
body.template_aura input[type=radio]:checked::after,
body.template_aura input[type=radio]:checked:after {
  background: #3b82f6 !important;
  border: 2px solid #3b82f6 !important;
  box-shadow: inset 0 0 0 3px #0d1f3c !important;
}

/* Checkbox custom ::after override (same pattern as radio buttons) */
body.template_aura input[type=checkbox]::after,
body.template_aura input[type=checkbox]:after {
  background: #0d1f3c !important;
  border: 2px solid rgba(100,160,255,0.4) !important;
  box-shadow: none !important;
  border-radius: 3px !important;
}
body.template_aura input[type=checkbox]:checked::after,
body.template_aura input[type=checkbox]:checked:after {
  background: #3b82f6 !important;
  border: 2px solid #3b82f6 !important;
  box-shadow: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M2 6l3 3 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}


/* ─── Cloud / VM Hosting – Dark Theme ───────────────────────────────────── */

/* ── .cloud flex wrapper (we open this div in cloud_header.tpl) ── */
body.template_aura .cloud {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
}

/* ── Left nav panel (.cloud-top from cloud module) ── */
body.template_aura .cloud-top {
  flex: 0 0 210px !important;
  width: 210px !important;
  background: rgba(13, 24, 44, 0.82) !important;
  border: 1px solid rgba(113, 140, 186, 0.14) !important;
  border-radius: 20px !important;
  padding: 1rem 0.75rem !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 32px rgba(3, 10, 24, 0.28) !important;
  box-sizing: border-box !important;
  margin-right: 1.5rem !important;
  margin-bottom: 1rem !important;
  float: none !important;
}
body.template_aura .cloud-header,
body.template_aura .cloud-nav {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* VM name title inside the panel (from default template; hidden since we put it in header) */
body.template_aura .cloud-header h1 {
  color: #d0e4ff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 0 0.25rem 0.75rem 0.25rem !important;
  margin: 0 0 0.5rem 0 !important;
  border-bottom: 1px solid rgba(113, 140, 186, 0.15) !important;
  background: none !important;
  text-shadow: none !important;
  height: auto !important;
  line-height: 1.4 !important;
}

/* Nav list — vertical */
body.template_aura .cloud-nav .level-1 {
  float: none !important;
  height: auto !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body.template_aura .cloud-nav .menu-item {
  background: transparent !important;
  float: none !important;
  display: block !important;
  margin: 2px 0 !important;
  border-radius: 12px !important;
  transition: background 0.15s ease !important;
}
body.template_aura .cloud-nav .menu-item:hover {
  background: rgba(0, 133, 255, 0.08) !important;
}
body.template_aura .cloud-nav .menu-item > a {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: rgba(154, 168, 190, 0.85) !important;
  font-weight: 500 !important;
  height: auto !important;
  line-height: 1.4 !important;
  padding: 0.55rem 0.9rem !important;
  text-align: left !important;
  display: block !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  transition: color 0.15s ease !important;
}
body.template_aura .cloud-nav .menu-item > a:hover {
  color: #ecf3ff !important;
}
body.template_aura .cloud-nav .menu-item.current-menu-item {
  background: linear-gradient(135deg, rgba(0, 100, 200, 0.22), rgba(38, 125, 255, 0.12)) !important;
}
body.template_aura .cloud-nav .menu-item.current-menu-item > a {
  color: #7cbcff !important;
  font-weight: 700 !important;
}

/* ── Content area ── */
body.template_aura #content-cloud {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  width: auto !important;
}
body.template_aura #content-cloud .nopadding {
  background: transparent !important;
}

/* ── Tables (server list, backup list, VM details, etc.) ── */
body.template_aura #content-cloud table.tonapp,
body.template_aura #content-cloud table.data-table {
  background: transparent !important;
  border: 1px solid rgba(113, 140, 186, 0.2) !important;
  border-radius: 12px !important;
  color: #c8d8f0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}
body.template_aura #content-cloud .tonapp thead tr,
body.template_aura #content-cloud table.data-table thead tr {
  background: rgba(113, 140, 186, 0.12) !important;
}
body.template_aura #content-cloud .tonapp thead tr td,
body.template_aura #content-cloud .tonapp thead tr th,
body.template_aura #content-cloud table.data-table thead tr td,
body.template_aura #content-cloud table.data-table thead tr th {
  color: rgba(154, 168, 190, 0.9) !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  text-shadow: none !important;
  background: none !important;
  border-bottom: 1px solid rgba(113, 140, 186, 0.2) !important;
  padding: 12px 16px !important;
}
body.template_aura #content-cloud .tonapp tr,
body.template_aura #content-cloud table.data-table tr {
  background: transparent !important;
}
body.template_aura #content-cloud .tonapp tbody tr,
body.template_aura #content-cloud table.data-table tbody tr {
  transition: background 0.12s ease !important;
}
body.template_aura #content-cloud .tonapp td,
body.template_aura #content-cloud .tonapp th,
body.template_aura #content-cloud table.data-table td,
body.template_aura #content-cloud table.data-table th {
  background: transparent !important;
  color: #c8d8f0 !important;
  text-shadow: none !important;
  border-bottom: 1px solid rgba(113, 140, 186, 0.12) !important;
  padding: 10px 16px !important;
  vertical-align: middle !important;
}
body.template_aura #content-cloud .tonapp tr:hover td,
body.template_aura #content-cloud table.data-table tr:hover td {
  background: rgba(113, 140, 186, 0.07) !important;
}

/* Server name links */
body.template_aura #content-cloud table.tonapp td a,
body.template_aura #content-cloud table.data-table td a {
  color: #5aaeff !important;
  font-weight: 600 !important;
}
body.template_aura #content-cloud table.tonapp td a:hover,
body.template_aura #content-cloud table.data-table td a:hover {
  color: #7dc5ff !important;
}

/* Wrench / action icons */
body.template_aura #content-cloud .ico.ico_wrench::before,
body.template_aura #content-cloud a.ico_wrench {
  color: #5aaeff !important;
  opacity: 0.8 !important;
}
body.template_aura #content-cloud .ico.ico_wrench:hover,
body.template_aura #content-cloud a.ico_wrench:hover {
  opacity: 1 !important;
}

/* Headings inside cloud content */
body.template_aura #content-cloud h2,
body.template_aura #content-cloud h3,
body.template_aura #content-cloud h4 {
  color: #d0e8ff !important;
  text-shadow: none !important;
}

/* Header bars */

/* VM details box */
body.template_aura #content-cloud .vm-details-box {
  background: rgba(13, 24, 44, 0.60) !important;
  border: 1px solid rgba(113, 140, 186, 0.15) !important;
  border-radius: 12px !important;
  padding: 1rem !important;
}
body.template_aura #content-cloud .vm-details-label {
  color: rgba(154, 168, 190, 0.85) !important;
  font-size: 0.82rem !important;
}
body.template_aura #content-cloud .vm-details-value {
  color: #c8d8f0 !important;
}
body.template_aura #content-cloud .vm-details-row {
  border-bottom: 1px solid rgba(113, 140, 186, 0.10) !important;
}


/* ── VM ON/OFF toggle — dark theme ── */
body.template_aura .cloud .state_switch.off,
body.template_aura .cloud .state_switch.state_switch_off {
  background-color: rgba(20, 30, 55, 0.85) !important;
  color: #7a8aaa !important;
  border-color: rgba(113, 140, 186, 0.30) !important;
}
body.template_aura .cloud .state_switch.off::after,
body.template_aura .cloud .state_switch.state_switch_off::after {
  background: #4a5a7a !important;
  box-shadow: 0px 1px 3px rgba(0,0,0,0.4) !important;
}
body.template_aura .cloud .state_switch.on,
body.template_aura .cloud .state_switch.state_switch_on {
  border-color: #1ca855 !important;
  background-color: #1ca855 !important;
}

/* ── VM detail page + sub-pages — header bar ── */

/* Header bar: min-height 52px so action buttons position perfectly, flexible for sub-ul tabs */
body.template_aura #content-cloud .header-bar {
  display: flex !important;
  align-items: center !important;
  min-height: 52px !important;
  flex-wrap: nowrap !important;
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(113, 140, 186, 0.15) !important;
}
/* .clear inside flex header-bar is a noop — hide it */
body.template_aura #content-cloud .header-bar .clear {
  display: none !important;
}
body.template_aura #content-cloud .header-bar h3,
body.template_aura #content-cloud .header-bar h4 {
  margin: 0 !important;
  color: #c8d8f0 !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
}

/* Content bar: relative container so #vm-menu can absolute-position into header */
body.template_aura #content-cloud .content-bar {
  position: relative !important;
  background: transparent !important;
  padding-top: 1.25rem !important;
}

/* Lockable-vm-menu: collapse height (vm-menu is absolute, #lock is display:none) */
body.template_aura #content-cloud #lockable-vm-menu {
  position: static !important;
  height: 0 !important;
  overflow: visible !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Lock/task indicator: keep hidden unless VM is performing a task */
body.template_aura #content-cloud #lockable-vm-menu #lock {
  display: none !important;
  position: absolute !important;
  top: -52px !important;
  right: 0 !important;
  color: #9ab0d8 !important;
  font-size: 0.85rem !important;
}
body.template_aura #content-cloud #lockable-vm-menu #lock.active {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

/* Action buttons: restore absolute positioning to overlap the header bar */
body.template_aura #content-cloud #vm-menu,
body.template_aura #content-cloud #lockable-vm-menu #vm-menu {
  position: absolute !important;
  top: -52px !important;
  right: 0 !important;
  visibility: visible !important;
  height: 52px !important;
  max-height: 52px !important;
  max-width: 70% !important;
  width: auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  float: none !important;
  background: transparent !important;
  overflow: visible !important;
  z-index: 15 !important;
}

/* Remove white background from li items */
body.template_aura #content-cloud #vm-menu li,
body.template_aura #content-cloud #lockable-vm-menu #vm-menu li {
  background: transparent !important;
  float: none !important;
  margin: 0 !important;
}

/* Style the action buttons as dark glass pills */
body.template_aura #content-cloud #vm-menu li > a,
body.template_aura #content-cloud #lockable-vm-menu #vm-menu li > a,
body.template_aura #content-cloud #vm-menu > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  background: rgba(13, 24, 44, 0.80) !important;
  border: 1px solid rgba(113, 140, 186, 0.22) !important;
  border-radius: 10px !important;
  color: #9ab0d8 !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  padding: 0.35rem 0.85rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  height: auto !important;
  min-width: 0 !important;
  box-shadow: none !important;
  transition: background 0.15s, color 0.15s, border-color 0.15s !important;
}
body.template_aura #content-cloud #vm-menu li > a:hover,
body.template_aura #content-cloud #lockable-vm-menu #vm-menu li > a:hover,
body.template_aura #content-cloud #vm-menu > a:hover {
  background: rgba(0, 100, 210, 0.22) !important;
  color: #ecf3ff !important;
  border-color: rgba(0, 133, 255, 0.4) !important;
}

/* Hide action icons, show text labels only */
body.template_aura #content-cloud #vm-menu .vpsdo-icon,
body.template_aura #content-cloud #vm-menu li a img,
body.template_aura #content-cloud #vm-menu li a br {
  display: none !important;
}
body.template_aura #content-cloud #vm-menu .vpsdo-decr {
  display: inline !important;
}

/* More ⋮ dropdown toggle */
body.template_aura #content-cloud #vm-menu .vm-menu-dropdown > a.dropdown-toggle {
  padding: 0.35rem 0.6rem !important;
}

/* More dropdown menu */
body.template_aura #content-cloud #vm-menu .dropdown-menu,
body.template_aura #content-cloud .vm-menu-dropdown .dropdown-menu {
  background: rgba(13, 24, 44, 0.96) !important;
  border: 1px solid rgba(113, 140, 186, 0.22) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45) !important;
  min-width: 150px !important;
  z-index: 9999 !important;
  padding: 0.4rem 0 !important;
}
body.template_aura #content-cloud #vm-menu .dropdown-menu li,
body.template_aura #content-cloud .vm-menu-dropdown .dropdown-menu li {
  background: transparent !important;
}
body.template_aura #content-cloud #vm-menu .dropdown-menu li a,
body.template_aura #content-cloud .vm-menu-dropdown .dropdown-menu li a {
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  color: #9ab0d8 !important;
  padding: 0.45rem 1rem !important;
  font-size: 0.85rem !important;
  display: block !important;
}
body.template_aura #content-cloud #vm-menu .dropdown-menu li a:hover,
body.template_aura #content-cloud .vm-menu-dropdown .dropdown-menu li a:hover {
  background: rgba(0, 100, 210, 0.18) !important;
  color: #ecf3ff !important;
}

/* ── VM detail page — content boxes ── */

/* Server details info tables (Status, Hostname, Uptime, OS, etc.) */
body.template_aura #content-cloud .ttable,
body.template_aura #content-cloud table.ttable {
  background: rgba(13, 24, 44, 0.60) !important;
  border: 1px solid rgba(113, 140, 186, 0.15) !important;
  border-radius: 12px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-bottom: 1rem !important;
  overflow: hidden !important;
  width: 100% !important;
}
body.template_aura #content-cloud .ttable td,
body.template_aura #content-cloud .ttable th {
  background: transparent !important;
  color: #c8d8f0 !important;
  border-bottom: 1px solid rgba(113, 140, 186, 0.08) !important;
  padding: 0.65rem 1rem !important;
  font-size: 0.88rem !important;
  vertical-align: middle !important;
}
/* Remove border from last row */
body.template_aura #content-cloud .ttable tr.lst td,
body.template_aura #content-cloud .ttable tr:last-child td {
  border-bottom: none !important;
}
/* Label column (first td with <b>) */
body.template_aura #content-cloud .ttable td:first-child {
  color: rgba(154, 168, 190, 0.75) !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  width: 120px !important;
}
body.template_aura #content-cloud .ttable td b {
  color: rgba(154, 168, 190, 0.75) !important;
  font-weight: 500 !important;
}

/* Gap between the two side-by-side ttable columns */
body.template_aura #content-cloud .content-bar > table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
body.template_aura #content-cloud .content-bar > table > tbody > tr > td:first-child,
body.template_aura #content-cloud .content-bar > table > tr > td:first-child {
  padding-right: 0.75rem !important;
}
body.template_aura #content-cloud .content-bar > table > tbody > tr > td:last-child,
body.template_aura #content-cloud .content-bar > table > tr > td:last-child {
  padding-left: 0.75rem !important;
}

/* Links inside ttable */
body.template_aura #content-cloud .ttable td a {
  color: #5a9cf5 !important;
}
body.template_aura #content-cloud .ttable td a:hover {
  color: #82bfff !important;
}

/* State switch toggle */
body.template_aura .cloud .state_switch {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
}

/* Password input group */
body.template_aura #content-cloud .pw-input-group {
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
}
body.template_aura #content-cloud .pw-input-group input {
  background: rgba(5, 12, 28, 0.7) !important;
  border: 1px solid rgba(113, 140, 186, 0.2) !important;
  border-radius: 8px !important;
  color: #c8d8f0 !important;
  font-size: 0.85rem !important;
  padding: 0.3rem 0.6rem !important;
  max-width: 160px !important;
}
body.template_aura #content-cloud .pw-input-group .btn {
  background: rgba(13, 24, 44, 0.8) !important;
  border: 1px solid rgba(113, 140, 186, 0.2) !important;
  border-radius: 8px !important;
  color: #9ab0d8 !important;
  padding: 0.3rem 0.55rem !important;
  font-size: 0.82rem !important;
}

/* Tags section */
body.template_aura #content-cloud .vm-tags .label {
  background: rgba(0, 100, 200, 0.25) !important;
  border: 1px solid rgba(0, 133, 255, 0.3) !important;
  color: #7cbcff !important;
  border-radius: 6px !important;
}
body.template_aura #content-cloud #vm-tags-add {
  background: rgba(0, 100, 200, 0.2) !important;
  border: 1px solid rgba(0, 133, 255, 0.3) !important;
  border-radius: 8px !important;
  color: #7cbcff !important;
  font-size: 0.8rem !important;
}

/* ── Sub-page tab navigation (.sub-ul inside .header-bar) ── */
body.template_aura #content-cloud .header-bar .sub-ul {
  display: flex !important;
  list-style: none !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  gap: 0.3rem !important;
  float: none !important;
  background: transparent !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}
body.template_aura #content-cloud .header-bar .sub-ul li {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  float: none !important;
}
body.template_aura #content-cloud .header-bar .sub-ul li a,
body.template_aura #content-cloud .header-bar .sub-ul li a span {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(13, 24, 44, 0.70) !important;
  border: 1px solid rgba(113, 140, 186, 0.20) !important;
  border-radius: 10px !important;
  color: #9ab0d8 !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  padding: 0.32rem 0.85rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background 0.15s, color 0.15s, border-color 0.15s !important;
  box-shadow: none !important;
  height: auto !important;
}
body.template_aura #content-cloud .header-bar .sub-ul li a:hover {
  background: rgba(0, 100, 210, 0.20) !important;
  color: #ecf3ff !important;
  border-color: rgba(0, 133, 255, 0.35) !important;
}
body.template_aura #content-cloud .header-bar .sub-ul li a.active {
  background: rgba(0, 100, 200, 0.28) !important;
  border-color: rgba(0, 133, 255, 0.50) !important;
  color: #7cbcff !important;
  font-weight: 600 !important;
}

/* h3 icon classes (.disks, .backups, .hasicon etc) — reset any icon images */
body.template_aura #content-cloud .header-bar h3.hasicon::before {
  display: none !important;
}

/* Storage/Network add-action button */
body.template_aura #content-cloud .btn-group-cloud {
  margin-top: 1rem !important;
}
body.template_aura #content-cloud .btn-group-cloud .btn,
body.template_aura #content-cloud .btn-group-cloud a {
  background: rgba(0, 100, 200, 0.22) !important;
  border: 1px solid rgba(0, 133, 255, 0.35) !important;
  border-radius: 10px !important;
  color: #7cbcff !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  padding: 0.45rem 1.1rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: background 0.15s, color 0.15s !important;
}
body.template_aura #content-cloud .btn-group-cloud .btn:hover,
body.template_aura #content-cloud .btn-group-cloud a:hover {
  background: rgba(0, 100, 200, 0.38) !important;
  color: #ecf3ff !important;
}
body.template_aura #content-cloud .btn-group-cloud .btn.disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

/* Drive/disc icons in disk table */
body.template_aura #content-cloud .tonapp td img[src*="drive"],
body.template_aura #content-cloud .tonapp td img[src*="disc"] {
  opacity: 0.65 !important;
  filter: brightness(0) invert(0.6) sepia(0.3) hue-rotate(180deg) saturate(2) !important;
  width: 20px !important;
  height: 20px !important;
}

/* Small action links (expand / delete disk) */
body.template_aura #content-cloud .tonapp .small_pencil,
body.template_aura #content-cloud .tonapp .small_delete,
body.template_aura #content-cloud .tonapp .small_control {
  font-size: 0.8rem !important;
  padding: 0.2rem 0.55rem !important;
  border-radius: 7px !important;
  text-decoration: none !important;
  border: 1px solid rgba(113, 140, 186, 0.22) !important;
  background: rgba(13, 24, 44, 0.70) !important;
}
body.template_aura #content-cloud .tonapp .small_pencil {
  color: #7cbcff !important;
}
body.template_aura #content-cloud .tonapp .small_delete {
  color: #ff7070 !important;
  border-color: rgba(220, 60, 60, 0.25) !important;
}
