/* ============================================================
   ELITE THEME — VPSURI.RO
   Single source of truth for all styles
   ============================================================ */

/* ---- 1. DESIGN TOKENS ---- */
:root {
  --red:        #e60000;
  --red-dark:   #cc0000;
  --red-hover:  #ff1a1a;
  --bg:         #020202;
  --bg-2:       #0a0a0c;
  --bg-3:       #111113;
  --surface:    rgba(12,12,14,0.88);
  --surface-2:  rgba(18,18,20,0.9);
  --border:     rgba(255,255,255,0.07);
  --border-red: rgba(230,0,0,0.25);
  --text:       #e8e8e8;
  --text-muted: #666;
  --text-dim:   #444;
  --green:      #00c853;
  --amber:      #ffab00;
  --blue:       #40c4ff;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-sm:  0 4px 16px rgba(0,0,0,0.4);
  --shadow-md:  0 12px 40px rgba(0,0,0,0.6);
  --shadow-lg:  0 30px 80px rgba(0,0,0,0.8);
  --shadow-red: 0 8px 30px rgba(230,0,0,0.35);
  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:       cubic-bezier(0.165, 0.84, 0.44, 1);
  --header-h:   68px;
  --bar-h:      40px;
}

/* ---- 2. RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  /* all.min.css (WHMCS bundle) sets html{font-size:10px}, which shrinks every
     rem-based element (header nav, footer) to 62.5%. Restore the 16px base the
     elite theme is designed around. theme.css loads after all.min.css so this wins. */
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden; /* prevent any element from causing horizontal scroll */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

body.has-bar  { padding-top: calc(var(--header-h) + var(--bar-h)) !important; }
body.no-bar   { padding-top: var(--header-h) !important; }

img { max-width: 100%; height: auto; }
a   { color: var(--red); text-decoration: none; transition: color .25s; }
a:hover { color: var(--red-hover); }

h1,h2,h3,h4,h5,h6 { color: #fff; font-weight: 800; line-height: 1.15; }
p { color: var(--text-muted); line-height: 1.75; }
hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
small, .small { color: var(--text-dim) !important; font-size: .8em; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(230,0,0,.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ---- 3. TYPOGRAPHY UTILITIES ---- */
.text-red    { color: var(--red)   !important; }
.text-white  { color: #fff         !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-dim    { color: var(--text-dim)   !important; }
.text-green  { color: var(--green)  !important; }
.text-amber  { color: var(--amber)  !important; }
.text-blue   { color: var(--blue)   !important; }

.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }
.fw-950 { font-weight: 950 !important; }

.fs-11  { font-size: 11px !important; }
.fs-12  { font-size: 12px !important; }
.fs-13  { font-size: 13px !important; }
.fs-14  { font-size: 14px !important; }
.fs-16  { font-size: 16px !important; }
.fs-18  { font-size: 18px !important; }
.fs-20  { font-size: 20px !important; }
.fs-24  { font-size: 24px !important; }
.fs-28  { font-size: 28px !important; }
.fs-32  { font-size: 32px !important; }
.fs-40  { font-size: 40px !important; }
.fs-48  { font-size: 48px !important; }
.fs-56  { font-size: 56px !important; }
.fs-64  { font-size: 64px !important; }

.uppercase { text-transform: uppercase !important; }
.ls-1 { letter-spacing: 1px !important; }
.ls-2 { letter-spacing: 2px !important; }
.ls-3 { letter-spacing: 3px !important; }

.grad-red {
  background: linear-gradient(90deg, var(--red), #ff6666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- 4. SPACING UTILITIES ---- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.p-0 { padding: 0 !important; }
.p-4 { padding: 2rem !important; }
.p-5 { padding: 3rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ---- 5. LAYOUT ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.container-sm { max-width: 900px; }
.container-xs { max-width: 600px; }

.d-flex    { display: flex !important; }
.d-grid    { display: grid !important; }
.d-block   { display: block !important; }
.d-none    { display: none !important; }
.d-inline-flex { display: inline-flex !important; }

.align-center   { align-items: center !important; }
.align-start    { align-items: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-end    { justify-content: flex-end !important; }
.flex-wrap      { flex-wrap: wrap !important; }
.flex-col       { flex-direction: column !important; }
.flex-1         { flex: 1 !important; }
.gap-1 { gap: .5rem !important; }
.gap-2 { gap: 1rem !important; }
.gap-3 { gap: 1.5rem !important; }
.gap-4 { gap: 2rem !important; }

.text-center { text-align: center !important; }
.text-left   { text-align: left !important; }
.text-right  { text-align: right !important; }

.w-100 { width: 100% !important; }
.max-w-sm { max-width: 480px !important; }
.max-w-md { max-width: 640px !important; }
.max-w-lg { max-width: 860px !important; }

.relative { position: relative !important; }
.overflow-hidden { overflow: hidden !important; }

/* ---- 6. GLASS CARD ---- */
.card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease) !important;
  color: var(--text) !important;
}
.card:hover {
  border-color: var(--border-red) !important;
  box-shadow: var(--shadow-md) !important;
}
.card-hover:hover { transform: translateY(-6px) !important; }

.card-header {
  background: rgba(230,0,0,.06) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 1rem 1.5rem !important;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.card-body   { padding: 1.5rem !important; background: transparent !important; color: var(--text) !important; }
.card-footer { padding: 1rem 1.5rem !important; background: rgba(255,255,255,.02) !important; border-top: 1px solid var(--border) !important; border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important; }

/* Bootstrap panel aliases */
.panel { background: var(--surface) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-lg) !important; box-shadow: var(--shadow-sm) !important; color: var(--text) !important; }
.panel-heading { background: rgba(230,0,0,.06) !important; border-bottom: 1px solid var(--border) !important; color: #fff !important; padding: 1rem 1.5rem !important; border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; }
.panel-body   { background: transparent !important; padding: 1.5rem !important; color: var(--text) !important; }
.panel-footer { background: rgba(255,255,255,.02) !important; border-top: 1px solid var(--border) !important; padding: 1rem 1.5rem !important; border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important; }
.panel-title  { color: #fff !important; font-weight: 700 !important; }
.well { background: rgba(255,255,255,.03) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-md) !important; box-shadow: none !important; color: var(--text-muted) !important; }

/* ---- 7. BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .3px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: all .25s var(--ease);
  white-space: nowrap;
  line-height: 1;
  height: auto !important;
}
.btn-primary, .btn-success, .btn-info {
  background: linear-gradient(135deg, var(--red), var(--red-dark)) !important;
  color: #fff !important;
  box-shadow: var(--shadow-red) !important;
}
.btn-primary:hover, .btn-success:hover, .btn-info:hover {
  background: linear-gradient(135deg, var(--red-hover), var(--red)) !important;
  box-shadow: 0 12px 40px rgba(230,0,0,.55) !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}
.btn-default, .btn-secondary {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid var(--border) !important;
  color: #fff !important;
}
.btn-default:hover, .btn-secondary:hover {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.15) !important;
  color: #fff !important;
}
.btn-danger {
  background: rgba(230,0,0,.1) !important;
  border: 1px solid rgba(230,0,0,.25) !important;
  color: var(--red) !important;
}
.btn-danger:hover { background: var(--red) !important; color: #fff !important; border-color: var(--red) !important; }
.btn-warning {
  background: rgba(255,171,0,.1) !important;
  border: 1px solid rgba(255,171,0,.25) !important;
  color: var(--amber) !important;
}
.btn-link { background: transparent !important; border: none !important; color: var(--red) !important; padding: 0 !important; }
.btn-link:hover { color: var(--red-hover) !important; }
.btn-sm { padding: .5rem 1rem !important; font-size: .8rem !important; }
.btn-lg { padding: 1rem 2rem !important; font-size: 1rem !important; }

/* Custom CTA buttons */
.btn-cta {
  padding: 1rem 2.5rem;
  background: var(--red);
  color: #fff !important;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: var(--shadow-red);
  transition: all .35s var(--ease);
  border: none;
  cursor: pointer;
}
.btn-cta:hover {
  background: var(--red-hover);
  box-shadow: 0 16px 50px rgba(230,0,0,.6);
  transform: translateY(-3px);
  color: #fff !important;
}
.btn-ghost-cta {
  padding: .9rem 2rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff !important;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 700;
  transition: all .3s var(--ease);
  cursor: pointer;
}
.btn-ghost-cta:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
  color: #fff !important;
}

/* ---- 8. FORMS ---- */
.form-group { margin-bottom: 1.25rem !important; }
.form-group label {
  display: block;
  color: var(--text-muted) !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .8px !important;
  margin-bottom: .5rem !important;
}
.form-control,
input[type=text], input[type=email], input[type=password],
input[type=tel], input[type=number], input[type=url],
input[type=search], textarea, select {
  width: 100% !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  color: #fff !important;
  padding: .75rem 1rem !important;
  font-size: .9rem !important;
  font-family: var(--font) !important;
  height: auto !important;
  line-height: 1.5 !important;
  transition: border-color .25s, box-shadow .25s, background .25s !important;
  -webkit-appearance: none !important;
}
.form-control:focus, input:focus, textarea:focus, select:focus {
  outline: none !important;
  border-color: rgba(230,0,0,.5) !important;
  background: rgba(255,255,255,.06) !important;
  box-shadow: 0 0 0 3px rgba(230,0,0,.08) !important;
  color: #fff !important;
}
.form-control::placeholder, input::placeholder, textarea::placeholder { color: rgba(255,255,255,.2) !important; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23666' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right .75rem center !important;
  padding-right: 2.5rem !important;
}
.input-group-addon {
  background: rgba(230,0,0,.08) !important;
  border: 1px solid rgba(230,0,0,.2) !important;
  color: var(--red) !important;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
  padding: .75rem 1rem !important;
  font-size: .9rem !important;
}
.help-block { color: var(--text-dim) !important; font-size: .8rem !important; margin-top: .35rem !important; }

/* Floating label inputs */
.field-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}
.field-wrap input,
.field-wrap textarea,
.field-wrap select {
  padding: 1.4rem 1rem .6rem !important;
}
.field-wrap label {
  position: absolute;
  top: 1rem; left: 1rem;
  color: rgba(255,255,255,.25) !important;
  font-size: .9rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  pointer-events: none;
  transition: all .2s;
}
.field-wrap input:focus ~ label,
.field-wrap input:not(:placeholder-shown) ~ label,
.field-wrap textarea:focus ~ label,
.field-wrap textarea:not(:placeholder-shown) ~ label {
  top: .4rem;
  font-size: .68rem !important;
  color: var(--red) !important;
  font-weight: 700 !important;
}

/* ---- 9. TABLES ---- */
.table, table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  color: var(--text) !important;
}
.table > thead > tr > th, table thead th {
  background: rgba(255,255,255,.02) !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--text-dim) !important;
  font-size: .7rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  padding: .875rem 1rem !important;
  white-space: nowrap !important;
}
.table > tbody > tr > td, table tbody td {
  border-top: 1px solid rgba(255,255,255,.03) !important;
  color: var(--text) !important;
  padding: .875rem 1rem !important;
  vertical-align: middle !important;
  background: transparent !important;
}
.table > tbody > tr:hover > td { background: rgba(230,0,0,.03) !important; }
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td { border: 1px solid var(--border) !important; }
.table-striped > tbody > tr:nth-of-type(odd) > td { background: rgba(255,255,255,.015) !important; }

/* ---- 10. DATATABLES ---- */
div.dataTables_wrapper { color: var(--text-muted) !important; background: transparent !important; }
div.dataTables_wrapper .dataTables_length,
div.dataTables_wrapper .dataTables_filter,
div.dataTables_wrapper .dataTables_info,
div.dataTables_wrapper .dataTables_paginate { padding: .75rem 0 !important; font-size: .8rem !important; color: var(--text-dim) !important; background: transparent !important; }
/* control bars retain a default light bg (info #4f5360, length #f6f6f6) — force transparent */
div.dataTables_wrapper .dataTables_info,
div.dataTables_wrapper .dataTables_length,
div.dataTables_wrapper .dataTables_length label,
div.dataTables_wrapper .dataTables_filter,
div.dataTables_wrapper .dataTables_filter label,
div.dataTables_wrapper .dataTables_paginate,
div.dataTables_wrapper .dataTables_paginate ul.pagination,
div.dataTables_wrapper .dataTables_paginate ul.pagination > li { background: transparent !important; border: none !important; }
/* Bootstrap pagination anchors render white — dark them */
div.dataTables_wrapper .dataTables_paginate ul.pagination > li > a,
div.dataTables_wrapper .dataTables_paginate ul.pagination > li > span {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
}
div.dataTables_wrapper .dataTables_paginate ul.pagination > li > a:hover { background: rgba(230,0,0,.12) !important; color: #fff !important; border-color: rgba(230,0,0,.3) !important; }
div.dataTables_wrapper .dataTables_paginate ul.pagination > li.active > a,
div.dataTables_wrapper .dataTables_paginate ul.pagination > li.active > span { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
div.dataTables_wrapper .dataTables_length label,
div.dataTables_wrapper .dataTables_filter label { color: var(--text-dim) !important; font-weight: 600 !important; }
div.dataTables_wrapper .dataTables_filter input {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  color: #fff !important; padding: .5rem .875rem !important;
  height: auto !important; font-size: .85rem !important;
  margin-left: .5rem !important;
  transition: border-color .25s !important;
}
div.dataTables_wrapper .dataTables_filter input:focus { border-color: rgba(230,0,0,.5) !important; outline: none !important; box-shadow: 0 0 0 3px rgba(230,0,0,.08) !important; }
div.dataTables_wrapper .dataTables_length select {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  color: #fff !important; padding: .4rem .75rem !important; height: auto !important;
  margin: 0 .5rem !important;
}
div.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-muted) !important;
  padding: .4rem .875rem !important;
  margin: 0 2px !important;
  font-size: .8rem !important;
  cursor: pointer !important;
  transition: all .2s !important;
}
div.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(230,0,0,.1) !important;
  border-color: var(--border-red) !important;
  color: #fff !important;
}
div.dataTables_wrapper .dataTables_paginate .paginate_button.current,
div.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(230,0,0,.4) !important;
}
div.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
div.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  background: rgba(255,255,255,.02) !important;
  border-color: rgba(255,255,255,.04) !important;
  color: var(--text-dim) !important;
  cursor: default !important;
}
table.dataTable { background: transparent !important; }
table.dataTable thead th, table.dataTable thead td {
  background: rgba(255,255,255,.02) !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--text-dim) !important;
  font-size: .7rem !important; font-weight: 800 !important;
  text-transform: uppercase !important; letter-spacing: 1.5px !important;
}
table.dataTable tbody tr { background: transparent !important; }
table.dataTable tbody tr:hover { background: rgba(230,0,0,.03) !important; }
table.dataTable tbody td { color: var(--text) !important; border-top: 1px solid rgba(255,255,255,.03) !important; }
table.dataTable tbody tr.odd  { background: rgba(255,255,255,.01) !important; }
table.dataTable tbody tr.even { background: transparent !important; }
table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child::before {
  background: var(--red) !important; border: none !important; box-shadow: 0 0 10px rgba(230,0,0,.4) !important; color: #fff !important;
}
.listtable { background: transparent !important; color: var(--text-muted) !important; }

/* ---- 11. SELECTIZE ---- */
.selectize-input {
  background: rgba(255,255,255,.04) !important; border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important; color: #fff !important; box-shadow: none !important;
  padding: .75rem 1rem !important; min-height: auto !important;
}
.selectize-input.focus { border-color: rgba(230,0,0,.5) !important; box-shadow: 0 0 0 3px rgba(230,0,0,.08) !important; }
.selectize-input input { color: #fff !important; }
.selectize-dropdown {
  background: rgba(8,8,10,.98) !important; border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important; box-shadow: var(--shadow-lg) !important;
  color: var(--text-muted) !important;
}
.selectize-dropdown .option { color: #aaa !important; padding: .625rem 1rem !important; }
.selectize-dropdown .option:hover, .selectize-dropdown .option.active { background: rgba(230,0,0,.1) !important; color: #fff !important; }

/* ---- 12. DROPDOWNS ---- */
.dropdown-menu {
  background: rgba(8,8,10,.98) !important; border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important; box-shadow: var(--shadow-lg) !important;
  padding: .5rem 0 !important;
}
.dropdown-menu > li > a {
  color: #aaa !important; padding: .625rem 1.125rem !important; font-size: .85rem !important;
  transition: all .2s !important; display: block !important;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { background: rgba(230,0,0,.08) !important; color: #fff !important; }
.dropdown-menu > .divider { background: var(--border) !important; margin: .375rem 0 !important; }
.dropdown-header { color: var(--text-dim) !important; font-size: .68rem !important; font-weight: 800 !important; text-transform: uppercase !important; letter-spacing: 1px !important; }

/* ---- 13. ALERTS ---- */
.alert { border-radius: var(--radius-md) !important; padding: .875rem 1.25rem !important; border-width: 0 0 0 3px !important; border-style: solid !important; font-size: .875rem !important; font-weight: 600 !important; }
.alert-success { background: rgba(0,200,83,.08) !important; border-color: var(--green) !important; color: #00e676 !important; }
.alert-danger, .alert-error { background: rgba(230,0,0,.08) !important; border-color: var(--red) !important; color: #ff6666 !important; }
.alert-warning { background: rgba(255,171,0,.08) !important; border-color: var(--amber) !important; color: #ffd740 !important; }
.alert-info { background: rgba(64,196,255,.08) !important; border-color: var(--blue) !important; color: #80d8ff !important; }
.alert p, .alert ul, .alert li, .alert span, .alert strong { color: inherit !important; }
.alert .close { color: inherit !important; opacity: .5 !important; }
.alert .close:hover { opacity: 1 !important; }

/* ---- 14. BADGES & LABELS ---- */
.badge, .label {
  border-radius: 20px !important; font-size: .68rem !important; font-weight: 700 !important;
  padding: .3rem .75rem !important; letter-spacing: .3px !important;
}
.badge { background: var(--red) !important; color: #fff !important; }
.label-default  { background: rgba(255,255,255,.08) !important; color: #aaa !important; }
.label-primary, .label-success { background: rgba(0,200,83,.12) !important; color: var(--green) !important; border: 1px solid rgba(0,200,83,.2) !important; }
.label-warning  { background: rgba(255,171,0,.12) !important; color: var(--amber) !important; border: 1px solid rgba(255,171,0,.2) !important; }
.label-danger   { background: rgba(230,0,0,.12) !important; color: #ff4444 !important; border: 1px solid rgba(230,0,0,.2) !important; }
.label-info     { background: rgba(64,196,255,.1) !important; color: var(--blue) !important; border: 1px solid rgba(64,196,255,.15) !important; }

/* ---- 15. TABS ---- */
.nav-tabs { border-bottom: 1px solid var(--border) !important; }
.nav-tabs > li > a { background: transparent !important; border: none !important; border-bottom: 2px solid transparent !important; color: var(--text-dim) !important; border-radius: 0 !important; font-weight: 700 !important; font-size: .85rem !important; padding: .75rem 1.125rem !important; transition: color .2s !important; }
.nav-tabs > li > a:hover { color: #fff !important; background: transparent !important; border-color: transparent transparent var(--border) !important; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { background: transparent !important; border-color: transparent transparent var(--red) !important; color: var(--red) !important; }
.tab-content, .tab-pane { background: transparent !important; padding-top: 1.5rem; }

.nav-pills > li > a { color: var(--text-muted) !important; border-radius: var(--radius-sm) !important; font-size: .85rem !important; font-weight: 700 !important; padding: .625rem 1.125rem !important; }
.nav-pills > li.active > a, .nav-pills > li.active > a:hover { background: rgba(230,0,0,.1) !important; color: var(--red) !important; }

/* ---- 16. LIST GROUP ---- */
.list-group { border-radius: var(--radius-md) !important; overflow: hidden; }
.list-group-item { background: rgba(12,12,14,.85) !important; border: 1px solid var(--border) !important; color: var(--text-muted) !important; padding: .875rem 1.25rem !important; transition: all .2s !important; }
.list-group-item:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0 !important; }
.list-group-item:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md) !important; }
.list-group-item:hover, .list-group-item:focus { background: rgba(230,0,0,.06) !important; color: #fff !important; border-color: var(--border-red) !important; }
.list-group-item.active { background: rgba(230,0,0,.1) !important; border-color: var(--border-red) !important; color: var(--red) !important; }
.list-group-item > a { color: var(--text-muted) !important; }

/* ---- 17. MODALS ---- */
.modal-content { background: #0d0d0f !important; border: 1px solid var(--border) !important; border-radius: var(--radius-xl) !important; box-shadow: var(--shadow-lg) !important; color: var(--text) !important; }
.modal-header { background: transparent !important; border-bottom: 1px solid var(--border) !important; padding: 1.25rem 1.5rem !important; }
.modal-title { color: #fff !important; font-weight: 800 !important; font-size: 1.1rem !important; }
.modal-body { padding: 1.5rem !important; color: var(--text-muted) !important; }
.modal-footer { background: transparent !important; border-top: 1px solid var(--border) !important; padding: 1rem 1.5rem !important; }
.modal-backdrop { background: #000 !important; opacity: .85 !important; }
.close { color: #fff !important; opacity: .4 !important; text-shadow: none !important; font-size: 1.4rem !important; }
.close:hover { opacity: 1 !important; color: var(--red) !important; }

/* ---- 18. BREADCRUMB ---- */
.breadcrumb { background: transparent !important; padding: 0 !important; margin-bottom: 1rem !important; display: flex; align-items: center; flex-wrap: wrap; }
.breadcrumb > li + li::before { color: rgba(255,255,255,.25) !important; content: "/" !important; padding: 0 .55rem !important; font-size: .8rem !important; }
.breadcrumb > li > a { color: var(--text-dim) !important; font-size: .8rem !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: .2px !important; transition: color .2s; }
.breadcrumb > li > a:hover { color: var(--red) !important; }
.breadcrumb > .active { color: #9a9aa0 !important; font-size: .8rem !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: .2px !important; }

/* ---- 19. PROGRESS ---- */
.progress { background: rgba(255,255,255,.06) !important; border-radius: 6px !important; height: 6px !important; box-shadow: none !important; overflow: hidden !important; }
.progress-bar { background: linear-gradient(90deg, var(--red), #ff4444) !important; box-shadow: 0 0 10px rgba(230,0,0,.5) !important; transition: width .4s var(--ease) !important; }

/* ---- 20. TOOLTIPS & POPOVERS ---- */
.tooltip .tooltip-inner { background: rgba(8,8,10,.97) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important; color: var(--text) !important; font-size: .8rem !important; padding: .4rem .75rem !important; }
.popover { background: rgba(8,8,10,.97) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-md) !important; box-shadow: var(--shadow-lg) !important; }
.popover-title { background: transparent !important; color: #fff !important; border-bottom: 1px solid var(--border) !important; }
.popover-content { color: var(--text-muted) !important; }

/* ---- 21. HEADER ---- */
#siteHeader {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  /* NO backdrop-filter here — it would trap position:fixed children (mobile nav) */
  border-bottom: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s;
  height: var(--header-h);
}
/* Frosted glass effect via ::before — doesn't create a stacking context on the parent */
#siteHeader::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(2,2,2,.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  transition: background .4s;
  z-index: -1;
}
body.scrolled #siteHeader {
  border-bottom-color: rgba(230,0,0,.2);
  box-shadow: 0 4px 30px rgba(0,0,0,.85);
}
body.scrolled #siteHeader::before {
  background: rgba(2,2,2,.97);
}

#announceBar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--bar-h);
  z-index: 1001;
  background: linear-gradient(90deg, #120000, #0a0000, #120000);
  border-bottom: 1px solid rgba(230,0,0,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 600;
  color: rgba(255,255,255,.75);
  gap: .75rem; padding: 0 2.5rem;
  overflow: hidden;
  transition: all .3s;
}
#announceBar.hidden { display: none !important; }
.ab-badge {
  background: var(--red); color: #fff;
  font-size: .58rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1.5px; padding: .2rem .55rem; border-radius: 3px;
  flex-shrink: 0;
}
.ab-text {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; text-align: center; min-width: 0;
}
.ab-link {
  color: var(--red) !important; border-bottom: 1px solid rgba(230,0,0,.4);
  font-weight: 800; font-size: .78rem; white-space: nowrap; flex-shrink: 0;
}
.ab-close {
  position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.3);
  cursor: pointer; font-size: .8rem; padding: .4rem .5rem;
  line-height: 1; transition: color .2s; flex-shrink: 0;
}
.ab-close:hover { color: #fff; }

body.has-bar #siteHeader { top: var(--bar-h); }

.header-wrap {
  max-width: 1400px; margin: 0 auto;
  padding: 0 2rem; height: var(--header-h);
  display: flex; align-items: center; gap: 2rem;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  text-decoration: none !important;
  display: flex; flex-direction: column; gap: 1px;
}
.logo-text {
  font-size: 1.4rem; font-weight: 950; letter-spacing: -1px; line-height: 1;
  color: #fff;
}
.logo-text span { color: var(--red); }
.logo-tagline { font-size: .55rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--text-dim); }

/* Nav */
#siteNav { flex: 1; }
.nav-list { display: flex; align-items: center; list-style: none; gap: .25rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .5rem .875rem;
  color: rgba(255,255,255,.6) !important;
  font-size: .85rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  text-decoration: none !important;
  white-space: nowrap;
}
.nav-link:hover { color: #fff !important; background: rgba(255,255,255,.05); }
.nav-link.active { color: var(--red) !important; background: rgba(230,0,0,.07); }
.nav-arrow { font-size: .55rem; opacity: .5; transition: transform .25s, opacity .25s; }
.nav-item.open .nav-arrow, .nav-item:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

/* Mega menu */
.mega-menu {
  position: absolute; top: calc(100% + .75rem); left: -1.5rem;
  background: rgba(6,6,8,.98); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 1.5rem;
  min-width: 560px; opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .3s var(--ease);
  z-index: 999;
  box-shadow: 0 30px 80px rgba(0,0,0,.95), 0 0 0 1px rgba(230,0,0,.05);
}
.mega-menu::before {
  content: ''; position: absolute; top: -5px; left: 2rem;
  width: 10px; height: 10px;
  background: rgba(6,6,8,.98); border-top: 1px solid var(--border); border-left: 1px solid var(--border);
  transform: rotate(45deg);
}
.mega-menu.small { min-width: 280px; }
.nav-item:hover .mega-menu,
.nav-item.open  .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid-3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.25rem; }
.mega-grid-1 { display: grid; grid-template-columns: 1fr; gap: .5rem; }

.mega-promo {
  background: linear-gradient(145deg, rgba(230,0,0,.08), rgba(80,0,0,.1));
  border: 1px solid rgba(230,0,0,.12); border-radius: var(--radius-md); padding: 1.25rem;
}
.mega-promo .eyebrow { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--red); display: block; margin-bottom: .6rem; }
.mega-promo h4 { color: #fff; font-size: 1rem; font-weight: 900; margin-bottom: .5rem; line-height: 1.3; }
.mega-promo p { color: var(--text-dim); font-size: .78rem; line-height: 1.5; margin-bottom: 1rem; }
.mega-promo .price { font-size: 1.5rem; font-weight: 950; color: #fff; letter-spacing: -1px; display: block; line-height: 1; }
.mega-promo .price small { font-size: .7rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0; }
.mega-cta { display: inline-flex; align-items: center; gap: .4rem; background: var(--red); color: #fff !important; padding: .5rem 1rem; border-radius: var(--radius-sm); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .8px; text-decoration: none !important; transition: all .25s; margin-top: .875rem; }
.mega-cta:hover { background: var(--red-hover); transform: translateY(-2px); color: #fff !important; }

.mega-col h5 { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); margin-bottom: .75rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
.mega-item { display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; border-radius: var(--radius-sm); text-decoration: none !important; transition: all .2s; margin-bottom: .25rem; border: 1px solid transparent; }
.mega-item:hover { background: rgba(255,255,255,.04); border-color: var(--border); }
.mega-icon { width: 34px; height: 34px; border-radius: 9px; background: rgba(230,0,0,.08); display: flex; align-items: center; justify-content: center; font-size: .875rem; color: var(--red); flex-shrink: 0; transition: background .2s; }
.mega-item:hover .mega-icon { background: var(--red); color: #fff; }
.mega-item strong { display: block; color: #fff; font-size: .85rem; font-weight: 700; margin-bottom: .1rem; }
.mega-item span  { display: block; color: var(--text-dim); font-size: .73rem; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .625rem; margin-left: auto; }
.hdr-status { display: flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; color: var(--green); background: rgba(0,200,83,.07); border: 1px solid rgba(0,200,83,.15); padding: .35rem .875rem; border-radius: 20px; text-decoration: none !important; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hdr-cart { position: relative; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--radius-sm); color: rgba(255,255,255,.65); text-decoration: none !important; transition: all .2s; font-size: .9rem; }
.hdr-cart:hover { background: rgba(230,0,0,.1); border-color: var(--border-red); color: var(--red); }
.cart-badge { position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; background: var(--red); color: #fff; border-radius: 50%; font-size: .6rem; font-weight: 900; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.hdr-divider { width: 1px; height: 20px; background: var(--border); }
.hdr-login { display: flex; align-items: center; gap: .4rem; padding: .5rem .875rem; color: rgba(255,255,255,.6) !important; font-size: .85rem; font-weight: 600; text-decoration: none !important; border-radius: var(--radius-sm); transition: all .2s; }
.hdr-login:hover { color: #fff !important; background: rgba(255,255,255,.05); }
.hdr-register { display: flex; align-items: center; gap: .4rem; padding: .5rem 1.125rem; background: var(--red); color: #fff !important; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 800; text-decoration: none !important; transition: all .25s; box-shadow: 0 4px 14px rgba(230,0,0,.35); }
.hdr-register:hover { background: var(--red-hover); box-shadow: 0 6px 20px rgba(230,0,0,.55); transform: translateY(-1px); color: #fff !important; }
.hdr-account { display: flex; align-items: center; gap: .4rem; padding: .5rem 1rem; background: rgba(230,0,0,.1); border: 1px solid rgba(230,0,0,.2); color: #fff !important; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 700; text-decoration: none !important; transition: all .2s; }
.hdr-account:hover { background: rgba(230,0,0,.18); border-color: rgba(230,0,0,.35); }
.hdr-logout { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius-sm); color: rgba(255,255,255,.35); text-decoration: none !important; font-size: .85rem; transition: all .2s; }
.hdr-logout:hover { background: rgba(230,0,0,.15); border-color: var(--border-red); color: var(--red); }

/* Mobile hamburger */
.hdr-burger { display: none; width: 38px; height: 38px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; flex-shrink: 0; position: relative; z-index: 2001; touch-action: manipulation; }
.burger-line { width: 18px; height: 1.5px; background: rgba(255,255,255,.7); border-radius: 1px; transition: all .3s; }
.hdr-burger.open .burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hdr-burger.open .burger-line:nth-child(2) { opacity: 0; }
.hdr-burger.open .burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- 22. INNER PAGE HERO ---- */
.page-hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, rgba(230,0,0,.055) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 0% 50%, rgba(230,0,0,.05), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: #fff; letter-spacing: -.5px; margin-bottom: .5rem; }
.page-hero p { font-size: .95rem; color: var(--text-muted); margin: 0; }

/* ---- 23. FOOTER ---- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(circle, rgba(230,0,0,.07), transparent 70%);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.footer-logo-text { font-size: 1.6rem; font-weight: 950; letter-spacing: -1px; color: #fff; display: block; margin-bottom: 1rem; text-decoration: none !important; }
.footer-logo-text span { color: var(--red); }
.footer-tagline { font-size: .85rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: .75rem; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.04); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5) !important; font-size: .8rem; text-decoration: none !important; transition: all .3s var(--ease); }
.social-btn:hover { background: var(--red); border-color: var(--red); color: #fff !important; transform: translateY(-4px); box-shadow: 0 8px 20px rgba(230,0,0,.35); }
.footer-heading { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); margin-bottom: 1.25rem; display: flex; align-items: center; gap: .75rem; }
.footer-heading::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, rgba(230,0,0,.4), transparent); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .75rem; }
.footer-links a { color: var(--text-dim) !important; font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: .6rem; text-decoration: none !important; transition: all .3s var(--ease); }
.footer-links a i { font-size: .7rem; opacity: .35; transition: all .25s; color: var(--red); }
.footer-links a:hover { color: #fff !important; transform: translateX(6px); }
.footer-links a:hover i { opacity: 1; }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.125rem; }
.fc-icon { width: 36px; height: 36px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--red); font-size: .85rem; flex-shrink: 0; transition: all .3s var(--ease); }
.footer-contact li:hover .fc-icon { background: var(--red); color: #fff; transform: scale(1.1) rotate(-5deg); box-shadow: 0 0 20px rgba(230,0,0,.4); border-color: transparent; }
.fc-label { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); display: block; margin-bottom: .1rem; }
.fc-value { font-size: .875rem; font-weight: 700; color: rgba(255,255,255,.7); }
.fc-value a { color: rgba(255,255,255,.7) !important; text-decoration: none !important; transition: color .2s !important; }
.fc-value a:hover { color: #fff !important; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .8rem; color: var(--text-dim); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .78rem; color: var(--text-dim) !important; text-decoration: none !important; transition: color .2s; }
.footer-legal a:hover { color: var(--red) !important; }

/* ---- 24. CLIENT AREA DASHBOARD ---- */
.ca-wrap { padding: 2.5rem 0 4rem; }
.ca-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.ca-greeting h1 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 950; color: #fff; letter-spacing: -.5px; margin-bottom: .25rem; }
.ca-greeting h1 span { color: var(--red); }
.ca-greeting p { color: var(--text-muted); font-size: .9rem; margin: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; display: flex; align-items: center; gap: 1rem;
  text-decoration: none !important; transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.stat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(230,0,0,.03)); pointer-events: none; }
.stat-card:hover { border-color: var(--border-red); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card.alert-state { border-color: rgba(230,0,0,.4); box-shadow: 0 0 20px rgba(230,0,0,.12); }
.stat-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: rgba(230,0,0,.08); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--red); flex-shrink: 0; transition: all .3s; }
.stat-card:hover .stat-icon { background: var(--red); color: #fff; }
.stat-value { font-size: 2rem; font-weight: 950; color: #fff; letter-spacing: -1px; display: block; line-height: 1; }
.stat-label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-dim); margin-top: .2rem; display: block; }

/* Panels grid */
.panels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ca-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s; }
.ca-panel:hover { border-color: var(--border-red); }
.ca-panel-header { background: rgba(230,0,0,.06); border-bottom: 1px solid var(--border); padding: .875rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.ca-panel-title { font-size: .85rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: .5rem; }
.ca-panel-title i { color: var(--red); }
.ca-panel-body { padding: 1.25rem; }
.ca-panel-link { font-size: .75rem; font-weight: 700; color: var(--red) !important; text-decoration: none !important; transition: color .2s; }
.ca-panel-link:hover { color: var(--red-hover) !important; }
.panel-item { display: flex; justify-content: space-between; align-items: center; padding: .625rem 0; border-bottom: 1px solid rgba(255,255,255,.03); font-size: .83rem; }
.panel-item:last-child { border: none; }
.panel-item .name { color: rgba(255,255,255,.75); font-weight: 600; }
.panel-item .meta { color: var(--text-dim); font-size: .75rem; }
.panel-empty { text-align: center; padding: 2rem 1rem; color: var(--text-dim); font-size: .85rem; }
.panel-empty i { font-size: 2rem; display: block; margin-bottom: .75rem; opacity: .3; }

/* ---- 25. PREMIUM TABLE ---- */
.tbl-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.tbl-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.tbl-title { font-size: 1rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: .5rem; }
.tbl-title i { color: var(--red); }
.tbl-subtitle { font-size: .8rem; color: var(--text-dim); margin-top: .2rem; }
.tbl-body { padding: 1rem 1.5rem 1.5rem; }

.prem-table { width: 100%; border-collapse: separate; border-spacing: 0 .5rem; }
.prem-table thead th { background: transparent; color: var(--text-dim); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; padding: .5rem .875rem; border: none; }
.prem-table tbody tr { background: rgba(255,255,255,.02); border-radius: var(--radius-sm); transition: all .25s var(--ease); cursor: pointer; }
.prem-table tbody tr:hover { background: rgba(230,0,0,.04); transform: translateX(2px); }
.prem-table tbody td { padding: .875rem; color: var(--text); font-size: .85rem; border-top: 1px solid rgba(255,255,255,.02); border-bottom: 1px solid rgba(255,255,255,.02); }
.prem-table tbody td:first-child { border-left: 3px solid transparent; border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding-left: .875rem; }
.prem-table tbody tr:hover td:first-child { border-left-color: var(--red); }
.prem-table tbody td:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* Status badges */
.status { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 20px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.status-active,  .status-Active  { background: rgba(0,200,83,.1); color: var(--green); border: 1px solid rgba(0,200,83,.2); }
.status-pending, .status-Pending { background: rgba(255,171,0,.1); color: var(--amber); border: 1px solid rgba(255,171,0,.2); }
.status-suspended, .status-Suspended { background: rgba(230,0,0,.1); color: #ff4444; border: 1px solid rgba(230,0,0,.2); animation: status-pulse 2s infinite; }
.status-cancelled, .status-Cancelled { background: rgba(255,255,255,.05); color: var(--text-dim); border: 1px solid var(--border); }
.status-paid,    .status-Paid    { background: rgba(0,200,83,.1); color: var(--green); border: 1px solid rgba(0,200,83,.2); }
.status-unpaid,  .status-Unpaid  { background: rgba(230,0,0,.1); color: #ff4444; border: 1px solid rgba(230,0,0,.2); animation: status-pulse 2s infinite; }
.status-draft,   .status-Draft   { background: rgba(255,255,255,.05); color: var(--text-dim); border: 1px solid var(--border); }
.status-overdue  { background: rgba(230,0,0,.15); color: #ff2222; border: 1px solid rgba(230,0,0,.3); animation: status-pulse 2s infinite; }
@keyframes status-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(230,0,0,.35)} 50%{box-shadow:0 0 0 8px rgba(230,0,0,0)} }

/* ---- 26. SECTION HEADERS ---- */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; color: var(--red); display: block; margin-bottom: .875rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 950; color: #fff; letter-spacing: -1.5px; line-height: 1.05; margin-bottom: .875rem; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.title-bar { width: 56px; height: 4px; background: linear-gradient(90deg, var(--red), #ff4444); border-radius: 2px; box-shadow: 0 0 14px rgba(230,0,0,.5); margin: 1.25rem auto 0; }

/* ---- 27. REVEAL ANIMATIONS ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---- 28. MISC WHMCS OVERRIDES ---- */
section#main-body, #main-body, .main-content, #wrap { background: transparent !important; }
.module-client-area { background: transparent !important; border: none !important; padding: 0 !important; }
.bg-white, .bg-light { background: transparent !important; }
.text-success { color: var(--green) !important; }
.text-danger   { color: var(--red) !important; }
.text-warning  { color: var(--amber) !important; }
.text-primary  { color: var(--red) !important; }
.text-info     { color: var(--blue) !important; }
pre, code { background: rgba(255,255,255,.04) !important; border: 1px solid var(--border) !important; color: var(--red) !important; border-radius: var(--radius-sm) !important; }
blockquote { border-left: 3px solid var(--red) !important; background: rgba(230,0,0,.04) !important; color: var(--text-muted) !important; padding: .875rem 1.25rem !important; }
.checkbox label, .radio label { color: var(--text-muted) !important; }
.dataTables_scrollBody, .dataTables_scrollHead, .dataTables_scrollFoot { background: transparent !important; }
div.DTFC_LeftHeadWrapper table, div.DTFC_RightHeadWrapper table, table.DTFC_Cloned { background: var(--bg-2) !important; }

/* ---- 29. RESPONSIVE ---- */
@media (max-width: 1024px) {
  .mega-grid-3 { grid-template-columns: 1fr; }
  .mega-promo { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .panels-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* Layout */
  .container { padding: 0 1rem; }
  .section { padding: 60px 0; }

  /* Announcement bar — simplified on mobile */
  #announceBar {
    padding: 0 2.5rem 0 .875rem;
    gap: .5rem;
    font-size: .75rem;
  }
  .ab-badge { display: none; }
  .ab-link { display: none; }
  .ab-text { text-align: left; }
  .ab-close { right: .5rem; }

  /* Header */
  .header-wrap { padding: 0 1rem; gap: 0; }
  .hdr-burger { display: flex; margin-left: .5rem; }
  .hdr-status, .hdr-login, .hdr-divider { display: none !important; }
  .header-actions { gap: .5rem; }
  .site-logo { margin-right: auto; }

  /* Mobile nav overlay */
  #siteNav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2,2,2,.99);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: calc(var(--header-h) + var(--bar-h) + .5rem) 1.25rem 2rem;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 1999; /* above header (1000) and bar (1001) */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.no-bar #siteNav { padding-top: calc(var(--header-h) + .5rem); }
  #siteNav.open {
    opacity: 1; visibility: visible; pointer-events: auto;
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    font-size: 1rem; font-weight: 700;
    padding: .875rem 0;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    color: rgba(255,255,255,.7) !important;
    background: transparent !important;
    justify-content: space-between;
  }
  .nav-link:hover { color: #fff !important; background: transparent !important; }

  /* Mega menu mobile */
  .mega-menu {
    position: static !important;
    opacity: 1 !important; visibility: visible !important; transform: none !important;
    min-width: 100% !important; box-shadow: none !important;
    background: rgba(255,255,255,.03) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    margin: .25rem 0 .5rem !important;
    padding: .75rem !important;
    display: none;
  }
  .mega-menu::before { display: none !important; }
  .nav-item.open .mega-menu { display: block !important; }
  .mega-promo { display: none !important; }
  .mega-grid-3, .mega-grid-1 { grid-template-columns: 1fr !important; gap: .25rem !important; }
  .mega-col h5 { font-size: .6rem; margin-bottom: .5rem; padding-bottom: .4rem; }
  .mega-item { padding: .5rem .625rem; gap: .5rem; }
  .mega-icon { width: 28px; height: 28px; font-size: .75rem; border-radius: 7px; }
  .mega-item strong { font-size: .8rem; }
  .mega-item span { font-size: .7rem; }

  /* Register button — icon only */
  .hdr-register span { display: none; }
  .hdr-register { padding: .5rem .75rem; }
  .hdr-account span { display: none; }
  .hdr-account { padding: .5rem .75rem; }

  /* Page sections */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .panels-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .page-hero { padding: 1.75rem 0 1.25rem; }
  .page-hero h1 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  #announceBar { font-size: .7rem; }
}

@media (max-width: 360px) {
  .header-wrap { padding: 0 .75rem; }
  .logo-text { font-size: 1.2rem; }
  .logo-tagline { display: none; }
}

/* ============================================================
   HERO SHARED — used on all marketing pages
   (vps, webhost, wordpress, servicii, desprenoi, contact, domenii)
   ============================================================ */
.premium-hero { position: relative; overflow: hidden; }

.hero-glow-1 {
  position: absolute; top: -10%; right: -5%; width: 50%; height: 60%;
  background: radial-gradient(circle, rgba(230,0,0,0.1) 0%, transparent 70%);
  filter: blur(100px); z-index: 1; pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -10%; left: -5%; width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(230,0,0,0.05) 0%, transparent 70%);
  filter: blur(100px); z-index: 1; pointer-events: none;
}
.hero-noise {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04; z-index: 2; pointer-events: none;
}
.relative-z { position: relative; z-index: 5; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(230,0,0,0.08); border: 1px solid rgba(230,0,0,0.2);
  padding: 10px 22px; border-radius: 50px; color: #fff; font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 35px;
}
.pulse-red-glow {
  width: 6px; height: 6px; background: #e60000; border-radius: 50%;
  box-shadow: 0 0 15px #e60000; animation: dotPulse 2s infinite; flex-shrink: 0;
}
@keyframes dotPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.8); opacity: .5; }
}

.premium-hero h1 {
  font-size: 76px; font-weight: 950; line-height: 1.0;
  margin-bottom: 30px; letter-spacing: -2px; color: #fff;
}
.hero-lead {
  font-size: 20px; color: #666; margin-bottom: 0;
  max-width: 620px; line-height: 1.75; font-weight: 500;
}
.hero-cta {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; margin-top: 40px;
}
.hero-stats {
  display: flex; gap: 50px; margin-top: 55px; flex-wrap: wrap;
}
.h-stat-item strong {
  display: block; font-size: 36px; color: #fff;
  font-weight: 950; letter-spacing: -1px; line-height: 1.1;
}
.h-stat-item span {
  color: #444; font-size: 11px; text-transform: uppercase;
  font-weight: 800; letter-spacing: 1.5px;
}
.text-neon-red   { color: #e60000 !important; text-shadow: 0 0 25px rgba(230,0,0,0.5); }
.text-white-glow { color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.3); }

/* Shared utility */
.hidden-md { display: block; }
.hidden-sm { display: block; }
@media (max-width: 992px) { .hidden-md { display: none !important; } }
@media (max-width: 768px) { .hidden-sm { display: none !important; } }

/* Shared buttons (if not already in theme) */
.btn-neon-main {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 16px 40px; background: #e60000; color: #fff !important;
  border-radius: 50px; font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(230,0,0,0.4); transition: all 0.35s ease;
  border: none; cursor: pointer; white-space: nowrap;
}
.btn-neon-main:hover {
  transform: translateY(-3px); box-shadow: 0 18px 45px rgba(230,0,0,0.6);
  background: #fff; color: #000 !important;
}
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 32px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12); color: #fff !important;
  border-radius: 12px; font-weight: 700; font-size: 14px;
  text-decoration: none !important; transition: all 0.3s; cursor: pointer;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.btn-neon-premium {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 32px; background: linear-gradient(90deg,#e60000,#cc0000);
  color: #fff !important; border-radius: 12px; font-weight: 900; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none !important;
  border: none; transition: all 0.35s ease; box-shadow: 0 8px 25px rgba(230,0,0,0.35); cursor: pointer;
}
.btn-neon-premium:hover { background: linear-gradient(90deg,#ff1a1a,#e60000); transform: translateY(-2px); }

/* Shared layout utilities */
.glass-container {
  background: rgba(10,10,12,0.7); border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
}
.section-title { margin-bottom: 70px; }
.section-title > span { display: block; margin-bottom: 12px; }
.section-title h2 { font-size: 44px; font-weight: 900; letter-spacing: -1px; color: #fff; margin: 0; }
.title-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, #e60000, #ff4444);
  border-radius: 50px; box-shadow: 0 0 12px rgba(230,0,0,0.5); margin-top: 20px;
}

/* Shared spacing */
.py-100 { padding-top: 100px !important; padding-bottom: 100px !important; }
.p-80   { padding: 80px !important; }
.p-60   { padding: 60px !important; }
.pb-100 { padding-bottom: 100px !important; }
.mt-5   { margin-top: 3rem !important; }
.mb-4   { margin-bottom: 1.5rem !important; }
.mb-5   { margin-bottom: 3rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.w-100  { width: 100% !important; }
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-white { color: #fff !important; }
.text-muted { color: #666 !important; }
.text-white-50 { color: rgba(255,255,255,0.5) !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }
.fw-950 { font-weight: 950 !important; }
.fs-12  { font-size: 12px !important; }
.fs-14  { font-size: 14px !important; }
.fs-15  { font-size: 15px !important; }
.fs-16  { font-size: 16px !important; }
.fs-18  { font-size: 18px !important; }
.fs-20  { font-size: 20px !important; }
.fs-30  { font-size: 30px !important; }
.fs-40  { font-size: 40px !important; }
.fs-45  { font-size: 45px !important; }
.fs-50  { font-size: 50px !important; }
.ls-2   { letter-spacing: 2px !important; }
.uppercase { text-transform: uppercase !important; }
.max-w-600 { max-width: 600px !important; }
.max-w-700 { max-width: 700px !important; }
.cta-btns {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; align-items: center;
}
.reveal-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* Hosting plan cards (webhost + wordpress) */
.hosting-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 50px; }
.h-plan-card {
  background: rgba(10,10,12,0.9); border: 1px solid rgba(255,255,255,0.04);
  padding: 48px 34px; border-radius: 28px;
  transition: 0.45s cubic-bezier(0.165,0.84,0.44,1);
  position: relative; text-align: center; backdrop-filter: blur(15px);
  display: flex; flex-direction: column;
}
.h-plan-card:hover { transform: translateY(-12px); border-color: rgba(230,0,0,0.4); box-shadow: 0 28px 60px rgba(0,0,0,0.8); }
.h-icon { font-size: 46px; color: #e60000; margin-bottom: 22px; filter: drop-shadow(0 0 10px rgba(230,0,0,0.2)); }
.h-plan-header h3 { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -0.5px; }
.h-price { font-size: 42px; font-weight: 950; color: #e60000; letter-spacing: -2px; }
.h-price span { font-size: 13px; color: #444; font-weight: 700; margin-left: 4px; text-transform: uppercase; letter-spacing: 1px; }
.h-features { list-style: none; padding: 0; margin: 36px 0; text-align: left; flex-grow: 1; }
.h-features li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.03); color: #777; font-size: 14px; display: flex; align-items: center; gap: 14px; font-weight: 500; }
.h-features li:last-child { border-bottom: none; }
.h-features li i { width: 20px; text-align: center; color: #e60000; font-size: 15px; flex-shrink: 0; }
.featured-h {
  background: linear-gradient(145deg, rgba(18,18,20,1), rgba(55,8,10,0.6));
  border: 1px solid rgba(230,0,0,0.55) !important; transform: scale(1.04); z-index: 5;
  box-shadow: 0 18px 55px rgba(230,0,0,0.18);
}
.h-plan-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%);
  background: #e60000; color: #fff; padding: 7px 22px; border-radius: 50px;
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px;
  box-shadow: 0 0 18px rgba(230,0,0,0.5); white-space: nowrap;
}
@media (max-width: 992px) {
  .premium-hero h1 { font-size: 52px; }
  .hosting-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .featured-h { transform: none !important; }
}
@media (max-width: 768px) {
  .premium-hero h1 { font-size: 38px; letter-spacing: -1px; }
  .hero-lead { font-size: 16px; }
  .hosting-grid { grid-template-columns: 1fr; }
  .h-plan-card { padding: 34px 24px; }
}
@media (max-width: 576px) {
  .premium-hero h1 { font-size: 30px; }
}

/* ============================================================
   MOBILE: previne scroll-ul orizontal (drag stanga-dreapta)
   ============================================================ */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; position: relative; }
.hero-glow-1, .hero-glow-2, .hero-noise, .hero-glow { max-width: 100vw; pointer-events: none; }
img, video, iframe, table { max-width: 100%; }
@media (max-width: 992px) {
  .container, .container-fluid { overflow-x: clip; }
}
