/* =====================================================================
   Brand theme layer: pink -> violet accent (matches the logo) over the
   panel (Tabler) and landing (nico) themes. Loaded after site-chrome.css.
   ===================================================================== */
:root {
  --brand-a: #ff2db7;
  --brand-b: #7c3aed;
  --brand-grad: linear-gradient(135deg, #ff2db7 0%, #7c3aed 100%);
  --brand-ink: #1c1633;
}

/* buttons */
.btn-primary,
.btn.btn-primary,
.login-btn.btn-submit {
  background: var(--brand-grad) !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(124, 58, 237, .30);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn-primary:hover,
.login-btn.btn-submit:hover { filter: brightness(1.06); box-shadow: 0 6px 18px rgba(124, 58, 237, .40); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.disabled, .btn-primary:disabled { opacity: .55; box-shadow: none; transform: none; }
.btn { border-radius: 8px; }

/* links */
a { color: var(--brand-b); }
a:hover { color: var(--brand-a); }

/* forms */
.form-control:focus, .custom-select:focus {
  border-color: #a78bfa;
  box-shadow: 0 0 0 .2rem rgba(124, 58, 237, .16);
}
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--brand-b); border-color: var(--brand-b); }

/* cards / tables */
.card { border: 0; border-radius: 14px; box-shadow: 0 2px 16px rgba(28, 22, 51, .07); }
.card-header { border-bottom: 1px solid #eef0f6; }
.card-title { font-weight: 600; color: var(--brand-ink); }
.table thead th { font-size: 12px; letter-spacing: .4px; text-transform: uppercase; color: #8a90a6; font-weight: 600; }
.table-hover tbody tr:hover { background: #faf8ff; }
.page-title { font-weight: 700; color: var(--brand-ink); }
.badge { border-radius: 999px; padding: .32em .7em; font-weight: 600; }

/* tabs / pills / stamps */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background: var(--brand-grad); color: #fff; border-radius: 999px; }
.nav-pills .nav-link { border-radius: 999px; }
.stamp.bg-green  { background: linear-gradient(135deg, #34d399, #059669) !important; }
.stamp.bg-blue   { background: linear-gradient(135deg, #818cf8, #6d28d9) !important; }
.stamp.bg-orange { background: linear-gradient(135deg, #fbbf24, #f97316) !important; }
.stamp { border-radius: 12px; }
.alert { border: 0; border-radius: 12px; }

/* =====================================================================
   Landing hero (dark, conversion-focused)
   ===================================================================== */
header#header.site-hero {
  background:
    radial-gradient(900px 460px at 88% 8%, rgba(255, 45, 183, .30), transparent 62%),
    radial-gradient(820px 520px at 6% 96%, rgba(124, 58, 237, .38), transparent 60%),
    linear-gradient(180deg, #0f1118 0%, #171433 100%) !important;
  padding: 6.5rem 0 5.5rem !important;
  color: #fff;
}
/* the nico theme fixes the header at 650px and pads 12rem for a floating nav */
header#header.site-hero { height: auto !important; min-height: 0 !important; }
.site-hero .header-content { padding: 0 !important; text-align: left !important; }
.site-hero .text-container { margin: 0 !important; }
a, a:hover { text-decoration: none; }
.btn, .btn:hover { text-decoration: none !important; }

.site-hero .hero-badge {
  display: inline-block;
  padding: .35rem .95rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #f3d9ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 1.25rem;
}
.site-hero h1 {
  color: #fff !important;
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 1.1rem;
}
.site-hero .p-large { text-align: left !important; color: #c9cedb !important; font-size: 1.1rem; line-height: 1.7; max-width: 38rem; }
.site-hero .hero-cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.site-hero .hero-cta .btn { padding: .8rem 1.6rem; font-size: 1rem; border-radius: 12px; }
.site-hero .btn-ghost {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff !important;
  font-weight: 600;
}
.site-hero .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff !important; }
.site-hero .hero-chips { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.site-hero .hero-chips li {
  padding: .4rem .85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #e6e8ef;
  font-size: 14px;
}
.site-hero .hero-chips li::before { content: "\2713"; color: #7ff0ae; font-weight: 700; margin-right: .45rem; }

.site-hero .hero-card {
  background: #fff;
  color: var(--brand-ink);
  border-radius: 20px;
  padding: 2rem 1.9rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.site-hero .hero-card h3 { font-size: 1.4rem; font-weight: 700; margin: 0 0 .25rem; color: var(--brand-ink); }
.site-hero .hero-card .sub { color: #6b7088; margin-bottom: 1.2rem; font-size: 14px; }
.site-hero .hero-card .form-control { height: 46px; border-radius: 10px; }
.site-hero .hero-card .btn-primary { width: 100%; padding: .75rem; border-radius: 10px; font-size: 1rem; }
.site-hero .hero-card .links { display: flex; justify-content: space-between; margin-top: 1rem; font-size: 14px; }
.site-hero .hero-card .links a { color: var(--brand-b) !important; }

/* landing sections: swap the theme's blue for the brand gradient */
.counts-area .count-box span {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.counts-area .count-box { border-radius: 16px; box-shadow: 0 6px 24px rgba(28, 22, 51, .08); }
.above-heading {
  background: var(--brand-grad) !important;
  color: #fff !important;
  border-radius: 999px !important;
}
.why-choose-us .box { border-radius: 16px; transition: transform .15s ease, box-shadow .15s ease; }
.why-choose-us .box:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(124, 58, 237, .16); }

@media (max-width: 991.98px) {
  header#header.site-hero { padding: 4.5rem 0 3.5rem !important; }
  .site-hero h1 { font-size: 2.2rem; }
  .site-hero .hero-card { margin-top: 2.2rem; }
}

/* =====================================================================
   New order + services pages
   ===================================================================== */
.order-info .info-row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed #e7e9f2; }
.order-info .info-row:last-child { border-bottom: 0; }
.order-info .info-row span:first-child { color: #8a90a6; }
.order-info .info-desc { white-space: pre-wrap; color: #4a4f66; font-size: 14px; line-height: 1.6; max-height: 18rem; overflow: auto; }
.order-info .empty { color: #9aa0b6; text-align: center; padding: 2rem 0; }
.charge-box { background: linear-gradient(135deg, #faf5ff, #fff0fa); border: 1px solid #f0e3ff; border-radius: 12px; }
.charge-box .amount { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }

/* ---- services page: platform pills, collapsible groups ---- */
.plat-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.plat-pills { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1 1 auto; align-items: center; }
.plat-tools { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.plat-tools .form-control { width: 15rem; }
.plat-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .95rem; border-radius: 14px;
  background: #fff; border: 1px solid #e6e8f0; color: var(--brand-ink);
  font-weight: 600; font-size: 14px; cursor: pointer;
  box-shadow: 0 1px 3px rgba(28, 22, 51, .06);
  transition: background .12s ease, color .12s ease, box-shadow .12s ease;
}
.plat-pill:hover { box-shadow: 0 4px 12px rgba(28, 22, 51, .12); }
.plat-pill .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.plat-pill.active { background: #101828; border-color: #101828; color: #fff; box-shadow: 0 6px 16px rgba(16, 24, 40, .3); }
.plat-pill.active .dot { box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.plat-pill:focus { outline: none; }

.svc-head { cursor: pointer; background: #f4f6fb; border-bottom: 1px solid #e9ecf4; border-radius: 14px 14px 0 0; user-select: none; }
.svc-head .card-title { text-transform: uppercase; letter-spacing: .2px; font-size: 15px; }
.plat-ico {
  width: 30px; height: 30px; border-radius: 9px; margin-right: .75rem; flex: 0 0 30px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
}
.svc-head .chev {
  width: 30px; height: 30px; border-radius: 50%; background: #e8ebf4; position: relative; flex: 0 0 30px;
  transition: transform .15s ease;
}
.svc-head .chev::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px;
  border-left: 2px solid #475467; border-top: 2px solid #475467;
  transform: translate(-50%, -30%) rotate(45deg);
}
.svc-card.collapsed .svc-body { display: none; }
.svc-card.collapsed .svc-head { border-radius: 14px; border-bottom: 0; }
.svc-card.collapsed .chev { transform: rotate(180deg); }

table.svc-table { table-layout: fixed; width: 100%; }
table.svc-table th:nth-child(2), table.svc-table td:nth-child(2) { width: 8rem; }
table.svc-table th:nth-child(3), table.svc-table td:nth-child(3),
table.svc-table th:nth-child(4), table.svc-table td:nth-child(4) { width: 6.5rem; }
table.svc-table th:nth-child(5), table.svc-table td:nth-child(5) { width: 8rem; }
table.svc-table th:nth-child(6), table.svc-table td:nth-child(6) { width: 14rem; text-align: right; white-space: nowrap; }
table.svc-table td.svc-name { white-space: normal; word-break: break-word; font-weight: 500; }
table.svc-table td.svc-act .btn { margin-left: .35rem; }
table.svc-table td.svc-avg { color: #0f9d58; font-weight: 600; }
@media (max-width: 767.98px) {
  table.svc-table { table-layout: auto; }
  table.svc-table th:nth-child(3), table.svc-table td:nth-child(3),
  table.svc-table th:nth-child(4), table.svc-table td:nth-child(4),
  table.svc-table th:nth-child(5), table.svc-table td:nth-child(5) { display: none; }
  table.svc-table th:nth-child(6), table.svc-table td:nth-child(6) { width: auto; }
  .plat-tools .form-control { width: 100%; }
}

/* spacing fixes */
.card-options .btn + .btn, .card-options form + .btn, .card-options .btn + form { margin-left: .5rem; }
.card-options form.d-inline { margin-right: .5rem; }
.statistics .card > div:first-child { margin-bottom: 1rem; }
.card-body .form-group { margin-bottom: 1.1rem; }
