/* Cloud365 bridge for billing (test-rdp). Safe overrides only. */
/* Hide duplicate brand text, keep logo */
.cloud-top-header .cloud-brand-text{ display:none !important; }

.cloud-top-header {
  background: #fff !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.cloud-top-header .cloud-logo{
  height: 28px;
  width: auto;
}

.cloud-top-header .cloud-brand-text{
  font-weight: 700;
  letter-spacing: .2px;
  color: #0f172a;
}

.cloud-top-header .nav-link{
  color: rgba(15, 23, 42, .75) !important;
  font-weight: 600;
}

.cloud-top-header .nav-link:hover{
  color: rgba(15, 23, 42, 1) !important;
}

.cloud-search{
  border-radius: 999px;
  padding-left: 14px;
  padding-right: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.cloud-search:focus{
  box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .12);
}

.cloud-suggest{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  margin-top: 8px;
  background: #fff;
}

.cloud-suggest .list-group-item{
  border: 0;
  padding: 12px 14px;
}

.cloud-suggest .btn.btn-primary{
  border-radius: 999px;
}

/* Make billing top padding consistent with new header */
.mai-wrapper{
  padding-top: 0 !important;
}

/* Softer cards/buttons like landing */
.card, .mai-card{
  border-radius: 18px;
}

.btn{
  border-radius: 999px;
}

/* Keep tables/forms readable */
.table, .form-control, .form-select{
  border-radius: 14px;
}










/* === test-rdp: hide native billing header/menu, keep Cloud365 header === */
html body .topmenu,
html body #topmenu,
html body .headmenu,
html body #headmenu,
html body .header,
html body #header,
html body .top-header,
html body .mainmenu,
html body #mainmenu,
html body .menu-line,
html body #menu-line {
  display: none !important;
}

/* если у шаблона есть фиксированный отступ под старую шапку */
html body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* иногда контент “прижат” вниз из-за старого хедера */
html body .container,
html body .container-fluid {
  margin-top: 0 !important;
}



/* === test-rdp: hide native RootPanel header (mai-*) to avoid double header === */
html body nav.mai-top-header,
html body nav.mai-sub-header {
  display: none !important;
}

/* убрать “зазоры”, которые были рассчитаны под родную шапку */
html body .mai-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* иногда шаблон добавляет внутренние отступы под sub-header */
html body .mai-content,
html body .main-content,
html body .container,
html body .container-fluid {
  margin-top: 0 !important;
}
/* === Hide native RootPanel headers to avoid double header (Cloud + mai) === */
nav.mai-top-header,
nav.mai-sub-header {
  display: none !important;
}

/* remove spacing that was reserved for native header */
.mai-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* If content still has extra top gap, neutralize it */
.mai-content,
.main-content,
.container,
.container-fluid {
  margin-top: 0 !important;
}
html body nav.mai-top-header,
html body nav.mai-sub-header {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}
/* Billing nav inside Cloud header */
.cloud-top-header .cloud-billing-nav .nav-link{
  color: rgba(15, 23, 42, .72) !important;
  font-weight: 600;
  padding-left: .65rem;
  padding-right: .65rem;
}

.cloud-top-header .cloud-billing-nav .nav-link.active{
  color: rgba(15, 23, 42, 1) !important;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Cloud billing dropdown look */
.cloud-top-header .dropdown-menu{
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.12);
  box-shadow: 0 10px 30px rgba(15,23,42,.10);
  padding: 8px;
}

.cloud-top-header .dropdown-item{
  border-radius: 12px;
  padding: 10px 12px;
}

.cloud-top-header .dropdown-item:hover{
  background: rgba(13,110,253,.08);
}
/* Make main content a bit more like landing */
.main-content.container{
  padding-top: 18px;
  padding-bottom: 40px;
}

/* soften panels */
.main-content .panel,
.main-content .mai-panel,
.main-content .card,
.main-content .mai-card,
.main-content .table-responsive{
  border-radius: 18px !important;
}

/* table header */
.table thead th{
  color: rgba(15,23,42,.7);
  font-weight: 700;
}
/* Brand + nav spacing */
.cloud-top-header .navbar-brand{
  gap: 10px !important;
}

.cloud-top-header .cloud-brand-text{
  font-size: 16px;
  line-height: 1;
}

.cloud-top-header .navbar-nav .nav-link{
  padding: .45rem .7rem;
}

/* compact primary nav for logged-in users */
.cloud-top-header .cloud-primary-nav .nav-link{
  font-weight: 700;
}

/* better dropdown toggle caret alignment */
.cloud-top-header .dropdown-toggle::after{
  margin-left: .35rem;
  vertical-align: .1em;
}
/* CTA button-like nav item */
.cloud-top-header .cloud-order-cta{
  background: rgba(13,110,253,.10);
  border: 1px solid rgba(13,110,253,.18);
  border-radius: 999px;
  padding: .42rem .85rem !important;
  color: rgba(13,110,253,1) !important;
}

.cloud-top-header .cloud-order-cta:hover{
  background: rgba(13,110,253,.14);
}


.cloud-side-card .btn.btn-sm{
  border-radius: 999px;
}
.cloud-side-card .btn .badge{
  border-radius: 999px;
}
