/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Theme
 *
 * This file allows you to customize the theme colors and styles for the entire Nexus template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

:root {
  --white: #fff;

  /* Neutral shades */
  --neutral-50: #fbf9fa;
  --neutral-100: #f4f5f7;
  --neutral-200: #e4e4e7;
  --neutral-300: #d0d5dd;
  --neutral-400: #9ca3af;
  --neutral-500: #6b7280;
  --neutral-600: #4b5563;
  --neutral-700: #374151;
  --neutral-800: #1f2937;
  --neutral-900: #111827;
  --neutral-950: #030712;

  /* Neutral shades */
  /* define own pallet with brand colors */
  --primary-50: var(--neutral-50);
  --primary-100: var(--neutral-100);
  --primary-200: var(--neutral-200);
  --primary-300: var(--neutral-300);
  --primary-400: var(--neutral-400);
  --primary-500: var(--neutral-500);
  --primary-600: var(--neutral-600);
  --primary-700: var(--neutral-700);
  --primary-800: var(--neutral-800);
  --primary-900: var(--neutral-900);
  --primary-950: var(--neutral-900);

  /* Primary colors */
  /* Use shades from comments if `primary` colors use other colors, then neutral */
  --primary: var(--neutral-900);
  /* var(--primary-600) */
  --primary-lifted: var(--neutral-800);
  /* var(--primary-700) */
  --primary-accented: var(--neutral-700);
  /* var(--primary-800) */

  /* Secondary colors */
  --secondary: var(--neutral-500);
  --secondary-lifted: var(--neutral-600);
  --secondary-accented: var(--neutral-700);

  /* Success colors */
  --success: #00a63e;
  --success-lifted: #008236;
  --success-accented: #016630;

  /* Info colors */
  --info: #155dfc;
  --info-lifted: #1447e6;
  --info-accented: #193cb8;

  /* Notice colors */
  --notice: #7f22fe;
  --notice-lifted: #7008e7;
  --notice-accented: #5d0ec0;

  /* Warning colors */
  --warning: #f54a00;
  --warning-lifted: #ca3500;
  --warning-accented: #9f2d00;

  /* Error colors */
  --error: #e7000b;
  --error-lifted: #c10007;
  --error-accented: #9f0712;

  /* Grayscale colors */
  --grayscale: var(--neutral-900);
  --grayscale-lifted: var(--neutral-800);
  --grayscale-accented: var(--neutral-700);

  /* Neutral colors */
  --neutral: var(--neutral-500);
  --neutral-lifted: var(--neutral-600);
  --neutral-accented: var(--neutral-700);

  /* Text neutral colors */
  --text-inverted: var(--white);
  --text-muted: var(--neutral-400);
  --text-lifted: var(--neutral-500);
  --text-accented: var(--neutral-600);
  --text: var(--neutral-900);

  /* Border neutral colors */
  --border-muted: var(--neutral-200);
  --border: var(--neutral-300);
  --border-lifted: var(--neutral-400);
  --border-accented: var(--neutral-600);

  /* Background neutral colors */
  --bg: var(--white);
  --bg-muted: var(--neutral-50);
  --bg-lifted: var(--neutral-100);
  --bg-accented: var(--neutral-200);
  --bg-inverted: var(--neutral-900);

  /* Additional colors */
  --yellow-200: #bac8ff;
  --yellow-300: #8ea4f4;
  --teal-300: #46edd5;
  --teal-400: #00d5be;
  --emerald-300: #5ee9b5;
  --pink-400: #fb64b6;

  /* Additional custom properties */
  /* Font sizes */
  --text-xs: 0.625rem;
  --text-sm: 0.75rem;
  --text-md: 0.875rem;
  --text-lg: 1rem;

  /* Spacing */
  --outline-sm: 1px;
  --outline-md: 2px;
  --outline-lg: 3px;

  /* Rounding */
  --rounding-sm: 0.25rem;
  --rounding-md: 0.5rem;
  --rounding-lg: 0.75rem;

  /* Other */
  --letter-spacing: 0em;
  --disabled-opacity: 25%;
}


/* ===== FONTS ===== */
/* 
 * Fonts replaced with Vazirmatn (self-hosted)
 * Previous fonts (Doran & Lahzeh Variable) removed.
 */

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 100;
  src: url('../../../assets/fonts/vazirmatn/Vazirmatn-Thin.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 200;
  src: url('../../../assets/fonts/vazirmatn/Vazirmatn-ExtraLight.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 300;
  src: url('../../../assets/fonts/vazirmatn/Vazirmatn-Light.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400;
  src: url('../../../assets/fonts/vazirmatn/Vazirmatn-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 500;
  src: url('../../../assets/fonts/vazirmatn/Vazirmatn-Medium.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 600;
  src: url('../../../assets/fonts/vazirmatn/Vazirmatn-SemiBold.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 700;
  src: url('../../../assets/fonts/vazirmatn/Vazirmatn-Bold.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 800;
  src: url('../../../assets/fonts/vazirmatn/Vazirmatn-ExtraBold.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 900;
  src: url('../../../assets/fonts/vazirmatn/Vazirmatn-Black.ttf') format('truetype');
  font-display: swap;
}

html,
body {
  direction: rtl;
  font-family: 'Vazirmatn', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Vazirmatn', sans-serif !important;
  text-transform: capitalize !important;
}

h1,
h2,
h3 {
  font-weight: 900 !important;
}

h4, h5, h6 {
    font-weight: 700 !important;
    font-size: 18px;
}

p,
button,
a,
li,
input {
  font-family: 'Vazirmatn', sans-serif !important;
}

#order-standard_cart .domain-selection-options .option .iradio_square-blue {
  margin-right: unset;
  margin-left: 10px;
}

.domain-promo-box i {
    float: left!important;
}
.domain-promo-box h3 {
   font-size:16px !important;
}

div.product-details div.product-icon {
    margin: 0;
    background-color: #efefef;
    border-radius: var(--rounding-md);
    padding: 30px;
    line-height: 1em;
    font-size: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

#order-standard_cart .font-size-36 {
    font-size: 24px !important;
}


/* بخش بالایی هدر - لوگو */
header.header .navbar.navbar-light {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-muted);
}

/* سایه ظریف برای کل هدر */
header.header {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* منوی ناوبری */
header.header .main-navbar-wrapper {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-muted);
}

/* لینک‌های منو - رنگ تیره و حرفه‌ای */
header.header .main-navbar-wrapper .navbar-nav .nav-link {
    color: var(--text) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--rounding-md);
    transition: all 0.2s ease;
}

header.header .main-navbar-wrapper .navbar-nav .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav .nav-link:focus {
    color: var(--primary) !important;
    background-color: var(--bg-muted);
}

header.header .main-navbar-wrapper .navbar-nav .nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* حذف فاصله‌های اضافی منو */
header.header .navbar-nav {
    margin-top: 0;
    margin-bottom: 0;
    padding: 8px 0;
}

/* تنظیم ارتفاع و تراز منو */
header.header .navbar {
    min-height: auto;
}

/* ===== HEADER - MODERN MINIMAL ===== */
/* نوار بالایی هدر - بخش لوگو */
header.header .navbar.navbar-light {
    background-color: #ffffff;
    margin-bottom: 0;
}

/* سایه ظریف برای کل هدر */
header.header {
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

/* منوی ناوبری پایینی */
header.header .main-navbar-wrapper {
    background-color: #ffffff;
    border-top: 1px solid var(--border-muted);
}

/* لینک‌های منوی ناوبری */
header.header .main-navbar-wrapper .navbar-nav .nav-link {
    color: var(--text) !important;
    padding: 6px 14px !important;
    border-radius: var(--rounding-sm);
    transition: all 0.15s ease;
}

header.header .main-navbar-wrapper .navbar-nav .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav .nav-link:focus {
    color: var(--primary) !important;
}

header.header .main-navbar-wrapper .navbar-nav .nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* حذف حاشیه اضافی navbar-nav از _layout.scss */
header.header .navbar-nav {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 10px 0;
}

pre {
    text-align: left;
    direction: ltr;
    display: block;
    font-size: 87.5%;
    color: #212529;
    background-color: #e7e7e7;
    border: solid 1px #212529;
    padding: 5px;
    margin: 20px 0px;
}

article {
    line-height: 1.9;
}

h1, .h1 {
    font-size: 1.8rem;
}

h2, .h2 {
    font-size: 1.6rem;
}

h3, .h3 {
    font-size: 1.4rem;
}

h4, h5, h6 {
    font-size: 1.2rem;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    line-height: 1.9;
}

/* ===== ITShams Brand Skin ===== */
:root {
  --itshams-blue-50: #eef3ff;
  --itshams-blue-100: #dfe7ff;
  --itshams-blue-200: #bac8ff;
  --itshams-blue-300: #8ea4f4;
  --itshams-blue-400: #667be4;
  --itshams-blue-500: #4558c8;
  --itshams-blue-600: #3545ad;
  --itshams-blue-700: #273685;
  --itshams-blue-800: #1f2b68;
  --itshams-blue-900: #17224f;
  --itshams-cyan: #16a7bd;
  --itshams-cyan-soft: #e8fbfd;
  --itshams-ink: #111827;
  --itshams-page: #f5f7fb;
  --itshams-card: #ffffff;

  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --neutral-950: #020617;

  --primary-50: var(--itshams-blue-50);
  --primary-100: var(--itshams-blue-100);
  --primary-200: var(--itshams-blue-200);
  --primary-300: var(--itshams-blue-300);
  --primary-400: var(--itshams-blue-400);
  --primary-500: var(--itshams-blue-500);
  --primary-600: var(--itshams-blue-600);
  --primary-700: var(--itshams-blue-700);
  --primary-800: var(--itshams-blue-800);
  --primary-900: var(--itshams-blue-900);
  --primary-950: #0f1738;

  --primary: var(--itshams-blue-600);
  --primary-lifted: var(--itshams-blue-700);
  --primary-accented: var(--itshams-blue-800);
  --secondary: var(--itshams-cyan);
  --secondary-lifted: #0d8fa3;
  --secondary-accented: #0b7284;
  --success: #16a34a;
  --success-lifted: #15803d;
  --success-accented: #166534;
  --info: var(--itshams-blue-500);
  --info-lifted: var(--itshams-blue-600);
  --info-accented: var(--itshams-blue-700);
  --notice: #7c3aed;
  --notice-lifted: #6d28d9;
  --notice-accented: #5b21b6;
  --grayscale: var(--neutral-800);
  --grayscale-lifted: var(--neutral-900);
  --grayscale-accented: var(--neutral-950);
  --text-muted: #94a3b8;
  --text-lifted: #64748b;
  --text-accented: #334155;
  --text: var(--itshams-ink);
  --border-muted: #e9eef7;
  --border: #d8e0ee;
  --border-lifted: #b9c5d7;
  --border-accented: var(--itshams-blue-300);
  --bg: #ffffff;
  --bg-muted: var(--itshams-page);
  --bg-lifted: #eef3ff;
  --bg-accented: #e4eaf5;
  --bg-inverted: #111827;
  --rounding-sm: 0.25rem;
  --rounding-md: 0.5rem;
  --rounding-lg: 0.5rem;
  --letter-spacing: 0em;
}

html,
body {
  background: var(--itshams-page);
  color: var(--text);
}

body a {
  color: var(--primary);
}

body a:hover,
body a:focus {
  color: var(--primary-lifted);
}

::selection {
  background: var(--primary-100);
  color: var(--primary-accented);
}

body .btn {
  border-radius: var(--rounding-md);
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body .btn-primary,
body .btn-success,
body #frmDomainHomepage .btn-primary,
body #frmDomainHomepage .btn-success {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(53, 69, 173, 0.18);
}

body .btn-primary:hover,
body .btn-primary:focus,
body .btn-success:hover,
body .btn-success:focus,
body #frmDomainHomepage .btn-primary:hover,
body #frmDomainHomepage .btn-primary:focus,
body #frmDomainHomepage .btn-success:hover,
body #frmDomainHomepage .btn-success:focus {
  background: var(--primary-lifted) !important;
  border-color: var(--primary-lifted) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(53, 69, 173, 0.24);
}

body .btn-outline-primary,
body #main-body .btn-outline-primary {
  background: #fff;
  color: var(--primary) !important;
  border: 1px solid var(--primary-300) !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

body .btn-outline-primary:hover,
body .btn-outline-primary:focus,
body #main-body .btn-outline-primary:hover,
body #main-body .btn-outline-primary:focus {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

header.header {
  background: #fff;
  border-bottom: 1px solid rgba(216, 224, 238, 0.8);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.07);
}

header.header .navbar.navbar-light {
  background: #fff;
  border-bottom: 0;
}

header.header .navbar.navbar-light .container {
  min-height: 76px;
}

header.header .logo-img {
  max-width: 230px;
  max-height: 58px;
}

header.header .search {
  width: min(340px, 32vw);
  background: var(--neutral-50);
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-md);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

header.header .search:focus-within {
  background: #fff;
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px rgba(69, 88, 200, 0.1);
}

header.header .search .form-control {
  color: var(--text);
}

header.header .search .form-control::placeholder {
  color: var(--text-muted);
}

header.header .toolbar .nav-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-color: var(--border-muted);
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

header.header .toolbar .nav-link:hover,
header.header .toolbar .nav-link:focus {
  border-color: var(--primary-200);
  color: var(--primary-lifted);
  background: var(--primary-50);
}

header.header .toolbar .nav-link .badge {
  background: var(--itshams-ink);
  color: #fff;
}

header.header .main-navbar-wrapper {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-top: 1px solid var(--border-muted);
  border-bottom: 0;
}

header.header .main-navbar-wrapper .navbar-nav .nav-link {
  color: var(--text-accented) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 9px 14px !important;
  border-radius: var(--rounding-md);
}

header.header .main-navbar-wrapper .navbar-nav .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav .nav-link:focus,
header.header .main-navbar-wrapper .navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-50);
}

header.header .dropdown-menu {
  padding: 8px;
  border: 1px solid var(--border-muted);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

header.header .dropdown-item {
  border-radius: var(--rounding-sm);
}

header.header .dropdown-item.active,
header.header .dropdown-item:active {
  background: var(--primary);
  color: #fff;
}

.master-breadcrumb {
  background: #edf1f7;
  border-bottom: 1px solid var(--border-muted);
}

.master-breadcrumb .breadcrumb {
  background: transparent;
}

section#main-body {
  background: var(--itshams-page);
}

body #frmDomainHomepage .home-domain-search {
  position: relative;
  overflow: hidden;
  background-color: #f7f9ff !important;
  background-image:
    linear-gradient(135deg, rgba(69, 88, 200, 0.12), rgba(22, 167, 189, 0.08) 45%, rgba(255, 255, 255, 0) 70%),
    repeating-linear-gradient(90deg, rgba(39, 54, 133, 0.045) 0, rgba(39, 54, 133, 0.045) 1px, transparent 1px, transparent 48px) !important;
  border-bottom: 1px solid var(--border-muted);
}

body #frmDomainHomepage .home-domain-search .p-5 {
  max-width: 940px;
  margin: 0 auto;
  padding: 54px 20px 46px !important;
}

body #frmDomainHomepage h2 {
  margin-bottom: 18px;
  color: var(--itshams-ink);
  font-size: clamp(1.45rem, 2vw, 2rem);
}

body #frmDomainHomepage .input-group-wrapper {
  max-width: 820px;
  margin: 18px auto 14px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(186, 200, 255, 0.8);
  border-radius: var(--rounding-lg);
  box-shadow: 0 22px 60px rgba(39, 54, 133, 0.13);
}

body #frmDomainHomepage .input-group-wrapper .form-control {
  min-height: 48px;
  padding: 0 18px;
  color: var(--text);
  font-size: 15px;
}

body #frmDomainHomepage .input-group-wrapper .form-control::placeholder {
  color: #8a96aa;
}

body #frmDomainHomepage .input-group-wrapper .btn {
  min-width: 86px;
  min-height: 44px;
  margin: 0 3px !important;
  padding: 0 18px;
}

body #frmDomainHomepage .tld-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 12px 0 0;
  color: var(--text-lifted);
  font-size: 0.95rem;
  font-weight: 600;
}

body #frmDomainHomepage .tld-logos li {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

body #frmDomainHomepage .tld-logos img {
  width: 56px;
  height: auto;
  filter: saturate(1.05);
}

body #frmDomainHomepage .btn-link {
  float: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
}

.nexus-home-section {
  margin: 34px auto 42px;
}

.nexus-section-title {
  position: relative;
  margin-bottom: 26px !important;
  color: var(--itshams-ink);
  font-size: 1.55rem;
}

.nexus-section-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--itshams-cyan));
}

.nexus-home-products .card-columns.home {
  column-gap: 16px;
}

.nexus-product-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: var(--itshams-card);
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-lg);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nexus-product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--itshams-cyan));
}

.nexus-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-200);
  box-shadow: 0 20px 46px rgba(39, 54, 133, 0.13);
}

.nexus-product-card .card-body {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.nexus-product-card .card-title {
  margin-bottom: 6px;
  color: var(--itshams-ink);
  font-size: 1.08rem;
  line-height: 1.8;
}

.nexus-product-card p {
  min-height: 40px;
  margin-bottom: 8px;
  color: var(--text-lifted);
  line-height: 1.9;
}

.nexus-product-card .btn {
  margin-top: auto;
}

.nexus-action-grid {
  row-gap: 16px;
}

.action-icon-btns.nexus-action-grid a {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 18px 10px 16px;
  background: #fff;
  border: 1px solid var(--border-muted) !important;
  border-radius: var(--rounding-lg) !important;
  color: var(--text-accented);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.action-icon-btns.nexus-action-grid a .ico-container {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1;
  font-size: 1.75rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--rounding-lg);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.action-icon-btns.nexus-action-grid a .ico-container i {
  color: var(--primary);
}

.action-icon-btns.nexus-action-grid a:hover,
.action-icon-btns.nexus-action-grid a:focus {
  transform: translateY(-3px);
  color: var(--primary);
  background: linear-gradient(180deg, #fff, #f9fbff);
  border-color: var(--primary-200) !important;
  box-shadow: 0 20px 42px rgba(39, 54, 133, 0.12);
}

.action-icon-btns.nexus-action-grid a:hover .ico-container,
.action-icon-btns.nexus-action-grid a:focus .ico-container {
  font-size: 1.75rem;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.action-icon-btns.nexus-action-grid a:hover .ico-container i,
.action-icon-btns.nexus-action-grid a:focus .ico-container i {
  color: #fff;
}

body .primary-content .card,
body .primary-content .panel,
body .sidebar .card {
  border-color: var(--border-muted);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
}

body .form-control,
body .custom-select {
  border-color: var(--border);
}

body .form-control:focus,
body .custom-select:focus {
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px rgba(69, 88, 200, 0.1);
}

footer.footer {
  background:
    linear-gradient(180deg, #121a30 0%, #0f172a 100%);
  border-top: 3px solid var(--primary);
  color: rgba(255, 255, 255, 0.9);
}

footer.footer .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

footer.footer .nav-link:hover,
footer.footer .nav-link:focus {
  color: #fff;
}

footer.footer .btn {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

footer.footer .copyright {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 1199.98px) {
  header.header .main-navbar-wrapper .navbar-collapse {
    padding: 12px 0 16px;
  }

  header.header .main-navbar-wrapper .navbar-nav .nav-link {
    padding: 10px 12px !important;
  }
}

@media (max-width: 767.98px) {
  header.header .navbar.navbar-light .container {
    min-height: 68px;
  }

  header.header .logo-img {
    max-width: 178px;
  }

  body #frmDomainHomepage .home-domain-search .p-5 {
    padding: 34px 12px 30px !important;
  }

  body #frmDomainHomepage .input-group-wrapper {
    padding: 6px;
  }

  body #frmDomainHomepage .input-group-wrapper .form-control {
    min-height: 44px;
  }

  .nexus-section-title {
    font-size: 1.3rem;
  }

  .nexus-product-card .card-body {
    min-height: 168px;
  }
}

/* ===== ITShams Premium Finish ===== */
:root {
  --itshams-night: #0b1532;
  --itshams-night-2: #121f46;
  --itshams-surface: rgba(255, 255, 255, 0.88);
  --itshams-shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.07);
  --itshams-shadow-md: 0 18px 48px rgba(15, 23, 42, 0.11);
  --itshams-shadow-brand: 0 24px 60px rgba(39, 54, 133, 0.18);
}

body {
  background-color: #f4f7fd;
  background-image:
    linear-gradient(135deg, rgba(53, 69, 173, 0.07) 0%, rgba(22, 167, 189, 0.05) 34%, transparent 34%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(39, 54, 133, 0.035) 0, rgba(39, 54, 133, 0.035) 1px, transparent 1px, transparent 38px),
    repeating-linear-gradient(90deg, rgba(39, 54, 133, 0.028) 0, rgba(39, 54, 133, 0.028) 1px, transparent 1px, transparent 38px);
  background-attachment: fixed;
}

header.header {
  position: relative;
  z-index: 20;
  border-bottom: 0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
}

header.header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-accented), var(--primary), var(--itshams-cyan));
}

header.header .navbar.navbar-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.96));
}

header.header .navbar-brand {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-lg);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

header.header .logo-img {
  display: block;
}

header.header .search {
  height: 44px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 26px rgba(15, 23, 42, 0.05);
}

header.header .toolbar .nav-link {
  border-radius: 50%;
}

header.header .main-navbar-wrapper {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

header.header .main-navbar-wrapper .navbar-nav {
  gap: 8px;
}

header.header .main-navbar-wrapper .navbar-nav .nav-link {
  position: relative;
  overflow: hidden;
}

header.header .main-navbar-wrapper .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 5px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--itshams-cyan));
  transition: width 0.2s ease;
}

header.header .main-navbar-wrapper .navbar-nav .nav-link:hover::after,
header.header .main-navbar-wrapper .navbar-nav .nav-link:focus::after,
header.header .main-navbar-wrapper .navbar-nav .nav-link.active::after {
  width: 24px;
}

.master-breadcrumb {
  background: rgba(238, 243, 255, 0.76);
  backdrop-filter: blur(10px);
}

body #frmDomainHomepage .home-domain-search {
  background-color: var(--itshams-night) !important;
  background-image:
    linear-gradient(145deg, rgba(69, 88, 200, 0.32), rgba(22, 167, 189, 0.2) 42%, rgba(11, 21, 50, 0) 68%),
    linear-gradient(25deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0, rgba(255, 255, 255, 0.055) 1px, transparent 1px, transparent 54px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0.045) 1px, transparent 1px, transparent 54px) !important;
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

body #frmDomainHomepage .home-domain-search::before,
body #frmDomainHomepage .home-domain-search::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body #frmDomainHomepage .home-domain-search::before {
  inset: 22px auto auto 7%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(14deg);
}

body #frmDomainHomepage .home-domain-search::after {
  inset: auto 9% 26px auto;
  width: 170px;
  height: 92px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: skewX(-18deg);
}

body #frmDomainHomepage .home-domain-search .container {
  position: relative;
  z-index: 1;
}

body #frmDomainHomepage .home-domain-search .p-5 {
  padding: 68px 20px 62px !important;
}

body #frmDomainHomepage h2 {
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

body #frmDomainHomepage h2::before {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 0 auto 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--itshams-cyan), #fff, var(--primary-200));
  opacity: 0.9;
}

body #frmDomainHomepage .input-group-wrapper {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.23);
}

body #frmDomainHomepage .input-group-wrapper::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(22, 167, 189, 0.25), rgba(69, 88, 200, 0.28));
}

body #frmDomainHomepage .tld-logos {
  color: rgba(255, 255, 255, 0.8);
}

body #frmDomainHomepage .tld-logos li {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rounding-md);
  backdrop-filter: blur(8px);
}

body #frmDomainHomepage .btn-link {
  margin-top: 12px;
  color: #fff;
  opacity: 0.88;
}

.nexus-home-section {
  position: relative;
}

.nexus-home-section::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 0 28px;
  background: linear-gradient(90deg, transparent, rgba(53, 69, 173, 0.18), transparent);
}

.nexus-section-title {
  font-size: 1.7rem;
  letter-spacing: 0;
}

.nexus-product-card {
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: var(--itshams-shadow-sm);
}

.nexus-product-card::after {
  content: "";
  position: absolute;
  inset: auto -36px -46px auto;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(53, 69, 173, 0.12);
  transform: rotate(18deg);
}

.nexus-product-card .card-body::before {
  content: "";
  width: 42px;
  height: 42px;
  margin: 0 auto 2px;
  display: block;
  border-radius: var(--rounding-lg);
  background:
    linear-gradient(135deg, transparent 42%, rgba(255, 255, 255, 0.68) 43%, rgba(255, 255, 255, 0.68) 54%, transparent 55%),
    linear-gradient(135deg, var(--primary), var(--itshams-cyan));
  box-shadow: 0 14px 28px rgba(53, 69, 173, 0.18);
}

.nexus-product-card:nth-child(2n) .card-body::before {
  background: linear-gradient(135deg, var(--itshams-cyan), var(--primary-lifted));
}

.nexus-product-card .card-title {
  font-size: 1.16rem;
}

.nexus-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--itshams-shadow-brand);
}

.action-icon-btns.nexus-action-grid a {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 251, 255, 0.96));
  box-shadow: var(--itshams-shadow-sm);
}

.action-icon-btns.nexus-action-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--itshams-cyan)) 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.action-icon-btns.nexus-action-grid a::after {
  content: "";
  position: absolute;
  inset: auto -24px -34px auto;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(53, 69, 173, 0.1);
  transform: rotate(18deg);
}

.action-icon-btns.nexus-action-grid a:hover::before,
.action-icon-btns.nexus-action-grid a:focus::before {
  opacity: 1;
}

.action-icon-btns.nexus-action-grid a .ico-container {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  background:
    linear-gradient(180deg, #fff, var(--primary-50));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 12px 26px rgba(53, 69, 173, 0.1);
}

body .primary-content .card,
body .sidebar .card,
body .modal-content,
body .panel {
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--itshams-shadow-sm);
}

body .primary-content .card:hover {
  box-shadow: var(--itshams-shadow-md);
}

.table,
.dataTable {
  background: #fff;
}

body .table thead th,
body table.dataTable thead th {
  background: #f8faff;
  color: var(--itshams-ink);
  border-bottom-color: var(--border-muted);
}

footer.footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(53, 69, 173, 0.18), transparent 35%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0, rgba(255, 255, 255, 0.045) 1px, transparent 1px, transparent 46px),
    linear-gradient(180deg, #121a30 0%, #0b1021 100%);
}

footer.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--itshams-cyan), var(--primary-300));
}

footer.footer .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 767.98px) {
  header.header .navbar-brand {
    padding: 6px 10px;
  }

  body #frmDomainHomepage .home-domain-search .p-5 {
    padding: 46px 12px 40px !important;
  }

  body #frmDomainHomepage .home-domain-search::before,
  body #frmDomainHomepage .home-domain-search::after {
    display: none;
  }

  body #frmDomainHomepage .tld-logos li {
    width: 100%;
    justify-content: center;
  }

  .action-icon-btns.nexus-action-grid a {
    min-height: 116px;
  }
}

/* ===== ITShams Typography ===== */
html,
body,
#order-standard_cart {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

body :not(.fa):not(.fas):not(.far):not(.fal):not(.fad):not(.fab):not(.fass):not(.fasr):not(.fasl):not(.fast):not(.fadr):not(.fadl):not(.fadt):not(.fa-solid):not(.fa-regular):not(.fa-light):not(.fa-thin):not(.fa-brands):not(.fa-duotone):not(.fa-classic):not(.fa-sharp):not(.fa-sharp-duotone):not(.glyphicon),
#order-standard_cart :not(.fa):not(.fas):not(.far):not(.fal):not(.fad):not(.fab):not(.fass):not(.fasr):not(.fasl):not(.fast):not(.fadr):not(.fadl):not(.fadt):not(.fa-solid):not(.fa-regular):not(.fa-light):not(.fa-thin):not(.fa-brands):not(.fa-duotone):not(.fa-classic):not(.fa-sharp):not(.fa-sharp-duotone):not(.glyphicon) {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

body,
button,
input,
select,
textarea,
.btn,
.form-control,
.dropdown-menu,
.modal,
.popover,
.tooltip,
#order-standard_cart {
  font-feature-settings: "ss01" 1, "tnum" 0;
  font-variant-numeric: normal;
}

.tooltip {
  pointer-events: none;
}

pre,
code,
kbd,
samp,
pre *,
code * {
  font-family: Consolas, Monaco, "Courier New", monospace !important;
  font-feature-settings: normal;
}

/* ===== ITShams Compact Type Scale ===== */
html,
body {
  font-size: 14px;
}

body,
p,
li,
a,
button,
input,
select,
textarea {
  font-size: 0.94rem;
}

h1,
.h1 {
  font-size: 1.55rem;
}

h2,
.h2 {
  font-size: 1.35rem;
}

h3,
.h3 {
  font-size: 1.18rem;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
  font-size: 1.05rem;
}

.btn {
  font-size: 0.9rem;
}

.form-control,
.custom-select,
.input-group-text,
.dropdown-menu,
.card,
.modal,
.popover {
  font-size: 0.93rem;
}

header.header .main-navbar-wrapper .navbar-nav .nav-link {
  font-size: 0.94rem;
}

header.header .toolbar .nav-link {
  font-size: 0.9rem;
}

body #frmDomainHomepage h2 {
  font-size: clamp(1.35rem, 1.7vw, 1.72rem);
}

.nexus-section-title {
  font-size: 1.38rem;
}

.nexus-product-card .card-title {
  font-size: 1.02rem;
}

.nexus-product-card p,
.action-icon-btns.nexus-action-grid a {
  font-size: 0.9rem;
}

body .primary-content .card .card-title,
body .sidebar .card .card-title {
  font-size: 1.05rem;
}

@media (max-width: 767.98px) {
  html,
  body {
    font-size: 13.5px;
  }

  .nexus-section-title {
    font-size: 1.22rem;
  }
}

/* ===== ITShams OTP Login ===== */
.itshams-login-shell {
  position: relative;
  min-height: min(720px, calc(100vh - 210px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 16px 52px;
  overflow: hidden;
}

.itshams-login-ambient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(53, 69, 173, 0.08), rgba(22, 167, 189, 0.08) 38%, transparent 38%),
    repeating-linear-gradient(90deg, rgba(39, 54, 133, 0.04) 0, rgba(39, 54, 133, 0.04) 1px, transparent 1px, transparent 52px),
    repeating-linear-gradient(0deg, rgba(39, 54, 133, 0.035) 0, rgba(39, 54, 133, 0.035) 1px, transparent 1px, transparent 52px);
  opacity: 0.9;
  pointer-events: none;
}

.itshams-login-ambient::before,
.itshams-login-ambient::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(53, 69, 173, 0.1);
  transform: rotate(16deg);
  pointer-events: none;
}

.itshams-login-ambient::before {
  width: 220px;
  height: 220px;
  top: 32px;
  right: 7%;
}

.itshams-login-ambient::after {
  width: 160px;
  height: 160px;
  left: 10%;
  bottom: 54px;
}

.itshams-otp-login-form {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
}

.itshams-login-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.itshams-login-brand-panel,
.itshams-login-card-face,
.itshams-login-alert {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--rounding-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.09);
}

.itshams-login-brand-panel {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(53, 69, 173, 0.12), rgba(22, 167, 189, 0.1) 42%, rgba(255, 255, 255, 0.94) 42%);
}

.itshams-login-brand-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--itshams-cyan));
}

.itshams-login-brand-panel::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  left: -42px;
  bottom: -42px;
  border: 1px solid rgba(53, 69, 173, 0.12);
  transform: rotate(18deg);
  pointer-events: none;
}

.itshams-login-eyebrow {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid var(--primary-200);
  border-radius: var(--rounding-md);
  color: var(--primary);
  background: rgba(238, 243, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
}

.itshams-login-brand-panel h1 {
  margin: 0;
  color: var(--itshams-ink);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.8;
}

.itshams-login-brand-panel p {
  max-width: 390px;
  margin: 12px 0 0;
  color: var(--text-lifted);
  line-height: 2;
}

.itshams-login-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.itshams-login-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-md);
  background: #fff;
  color: var(--text-accented);
  font-size: 0.84rem;
  font-weight: 800;
}

.itshams-login-trust-row i {
  color: var(--primary);
}

.itshams-login-card-wrap {
  min-height: 440px;
  perspective: 1400px;
}

.itshams-login-alert {
  margin: 0 0 14px;
  padding: 14px 16px;
}

.itshams-login-card {
  position: relative;
  min-height: 440px;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.itshams-login-card.is-otp-active {
  transform: rotateY(180deg);
}

.itshams-login-card .itshams-login-card-back {
  pointer-events: none;
}

.itshams-login-card.is-otp-active .itshams-login-card-front {
  pointer-events: none;
}

.itshams-login-card.is-otp-active .itshams-login-card-back {
  pointer-events: auto;
}

.itshams-login-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  min-height: 440px;
  padding: 32px;
  backface-visibility: hidden;
}

.itshams-login-card-face::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--itshams-cyan));
  pointer-events: none;
}

.itshams-login-card-face::after {
  content: "";
  position: absolute;
  width: 132px;
  height: 132px;
  right: -38px;
  bottom: -48px;
  border: 1px solid rgba(53, 69, 173, 0.12);
  transform: rotate(18deg);
  pointer-events: none;
}

.itshams-login-card-back {
  transform: rotateY(180deg);
}

.itshams-login-face-head {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.itshams-login-step {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
}

.itshams-login-face-head h2 {
  margin: 0;
  color: var(--itshams-ink);
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.8;
}

.itshams-login-face-head p {
  margin: 6px 0 0;
  color: var(--text-lifted);
  line-height: 1.9;
}

.itshams-field-group {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.itshams-field-group label {
  margin-bottom: 8px;
  color: var(--text-accented);
  font-size: 0.9rem;
  font-weight: 900;
}

.itshams-input-shell {
  position: relative;
}

.itshams-input-shell .form-control {
  height: 58px;
  padding: 0 50px 0 20px;
  border: 1px solid var(--primary-200);
  border-radius: 999px;
  background: #fff;
  color: var(--itshams-ink);
  font-size: 1.14rem;
  font-weight: 900;
  direction: ltr;
  text-align: left;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.055);
}

.itshams-input-shell .itshams-masked-input {
  padding-left: 22px;
  padding-bottom: 0;
  background-color: #fff;
  background-image: none;
  letter-spacing: 0 !important;
  line-height: 58px;
  unicode-bidi: plaintext;
}

.itshams-input-shell .itshams-masked-input::placeholder {
  color: #8b95a7;
  opacity: 1;
  font-weight: 800;
}

.itshams-input-shell .itshams-mobile-mask {
  font-size: 1.16rem;
}

.itshams-input-shell .itshams-otp-mask {
  padding-right: 20px;
  font-size: 1.3rem;
  font-weight: 900;
  text-align: center;
}

.itshams-input-shell .form-control:focus {
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px rgba(69, 88, 200, 0.11), 0 14px 30px rgba(15, 23, 42, 0.06);
}

.itshams-input-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 14px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transform: translateY(-50%);
}

.itshams-code-input-shell .form-control {
  font-size: 1.3rem;
  direction: ltr;
  text-align: center;
}

#mobilePreview {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  min-width: 7.8em;
  text-align: left;
  font-weight: 900;
}

.itshams-login-submit {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(53, 69, 173, 0.2);
}

.itshams-login-submit:not(:disabled),
.itshams-login-secondary-actions .btn-link:not(:disabled) {
  cursor: pointer;
}

.itshams-login-submit:disabled {
  opacity: 0.76;
  background: var(--primary-300) !important;
  border-color: var(--primary-300) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 10px 22px rgba(69, 88, 200, 0.12);
  cursor: not-allowed;
}

.itshams-login-footnote {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-md);
  background: #f8faff;
  color: var(--text-lifted);
  line-height: 1.8;
  font-size: 0.84rem;
}

.itshams-login-footnote i {
  margin-top: 4px;
  color: var(--primary);
}

.itshams-otp-timer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #c7f2d6;
  border-radius: var(--rounding-md);
  background: #f0fff5;
  color: #166534;
  font-weight: 900;
}

.itshams-otp-timer strong {
  margin-right: auto;
  color: #14532d;
  direction: ltr;
  font-size: 1rem;
}

.itshams-otp-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.12);
}

.itshams-login-secondary-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.itshams-login-secondary-actions .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}

.itshams-login-secondary-actions .btn-link:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

.itshams-passwordless-notice,
.itshams-passwordless-inline {
  direction: rtl;
}

.itshams-passwordless-notice .card-body,
.itshams-passwordless-inline {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98) 64%, rgba(238, 252, 255, 0.92)),
    repeating-linear-gradient(90deg, rgba(39, 54, 133, 0.03) 0, rgba(39, 54, 133, 0.03) 1px, transparent 1px, transparent 42px);
}

.itshams-passwordless-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid var(--primary-100);
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1.45rem;
}

.itshams-passwordless-notice h1,
.itshams-passwordless-inline h1 {
  margin: 0 0 10px;
  color: var(--itshams-ink);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-passwordless-notice p,
.itshams-passwordless-inline p {
  max-width: 420px;
  margin: 0 auto 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.95;
}

.itshams-passwordless-notice .btn,
.itshams-passwordless-inline .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}

@media (max-width: 991.98px) {
  .itshams-login-frame {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .itshams-login-brand-panel {
    min-height: auto;
    padding: 24px;
  }

  .itshams-login-brand-panel p {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .itshams-login-shell {
    padding: 24px 10px 34px;
  }

  .itshams-login-card-wrap,
  .itshams-login-card,
  .itshams-login-card-face {
    min-height: 430px;
  }

  .itshams-login-card-face {
    padding: 24px 18px;
  }

  .itshams-login-brand-panel h1 {
    font-size: 1.28rem;
  }

  .itshams-login-secondary-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== ITShams Knowledgebase ===== */
.itshams-kb-page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.itshams-kb-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) minmax(320px, 1.25fr);
  gap: 24px;
  align-items: end;
  padding: 28px;
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-lg);
  background:
    linear-gradient(135deg, rgba(238, 243, 255, 0.96), rgba(255, 255, 255, 0.98) 48%, rgba(232, 251, 253, 0.82)),
    linear-gradient(25deg, rgba(69, 88, 200, 0.08) 0 1px, transparent 1px 100%);
  box-shadow: var(--itshams-shadow-sm);
}

.itshams-kb-hero::before,
.itshams-kb-article-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-accented), var(--primary), var(--itshams-cyan));
}

.itshams-kb-hero::after {
  content: "";
  position: absolute;
  inset: auto auto -56px 6%;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(69, 88, 200, 0.12);
  transform: rotate(14deg);
  pointer-events: none;
}

.itshams-kb-hero-compact {
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  padding: 24px;
}

.itshams-kb-hero-content,
.itshams-kb-search-form {
  position: relative;
  z-index: 1;
}

.itshams-kb-eyebrow,
.itshams-kb-section-head span,
.itshams-kb-list-head span,
.itshams-kb-helpful span {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
}

.itshams-kb-hero h1 {
  margin: 8px 0 10px;
  color: var(--itshams-ink);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.75;
}

.itshams-kb-hero p {
  max-width: 560px;
  margin: 0;
  color: var(--text-lifted);
  line-height: 1.9;
}

.itshams-kb-search-form {
  margin: 0;
}

.itshams-kb-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--rounding-lg);
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.itshams-kb-search > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--primary);
  background: var(--primary-50);
  border-radius: var(--rounding-md);
}

.itshams-kb-search .form-control {
  min-width: 0;
  height: 46px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--itshams-ink);
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: none;
}

.itshams-kb-search .form-control::placeholder {
  color: var(--text-muted);
}

.itshams-kb-search .form-control:focus {
  box-shadow: none;
}

.itshams-kb-search .btn {
  min-width: 112px;
  height: 46px;
  border-radius: var(--rounding-md);
  font-weight: 900;
}

.itshams-kb-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.itshams-kb-section-head h2,
.itshams-kb-list-head h2,
.itshams-kb-helpful h2 {
  margin: 4px 0 0;
  color: var(--itshams-ink);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.7;
}

.itshams-kb-section-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--primary-100);
  border-radius: 999px;
  background: #fff;
  color: var(--text-accented);
  font-size: 0.82rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.045);
}

.itshams-kb-category-grid {
  row-gap: 16px;
}

.itshams-kb-category-card {
  height: 100%;
  margin-bottom: 0 !important;
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-lg);
  background: #fff;
  box-shadow: var(--itshams-shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.itshams-kb-category-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-200);
  box-shadow: var(--itshams-shadow-md);
}

.itshams-kb-category-card .card-body {
  min-height: 126px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 22px;
  color: inherit;
  text-decoration: none;
}

.itshams-kb-card-icon,
.itshams-kb-article-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--primary-100);
  border-radius: var(--rounding-lg);
  background: linear-gradient(180deg, #fff, var(--primary-50));
  color: var(--primary);
  font-size: 1.15rem;
}

.itshams-kb-card-body,
.itshams-kb-article-copy {
  min-width: 0;
}

.itshams-kb-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--itshams-ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.8;
}

.itshams-kb-card-body small {
  display: block;
  margin-top: 4px;
  color: var(--text-lifted);
  line-height: 1.8;
}

.itshams-kb-count {
  white-space: nowrap;
  align-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--itshams-cyan-soft);
  color: var(--secondary-accented);
  font-size: 0.78rem;
  font-weight: 900;
}

.itshams-kb-list-card,
.itshams-kb-article-card {
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-lg);
  background: #fff;
  box-shadow: var(--itshams-shadow-sm);
}

.itshams-kb-list-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-muted);
  background: linear-gradient(180deg, #fff, #fbfcff);
}

.itshams-kb-article-list {
  background: #fff;
}

.itshams-kb-article-item {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 18px 22px !important;
  color: var(--text-accented) !important;
  border-color: var(--border-muted) !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.itshams-kb-article-item:hover,
.itshams-kb-article-item:focus {
  background: var(--primary-50);
  color: var(--primary) !important;
}

.itshams-kb-article-copy strong {
  display: block;
  color: inherit;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.9;
}

.itshams-kb-article-copy small {
  display: block;
  margin-top: 2px;
  color: var(--text-lifted);
  line-height: 1.9;
}

.itshams-kb-open {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.itshams-kb-article-item:hover .itshams-kb-open,
.itshams-kb-article-item:focus .itshams-kb-open {
  color: #fff;
  background: var(--primary);
  transform: translateX(-2px);
}

.itshams-kb-empty,
.itshams-kb-empty-row {
  color: var(--text-lifted);
  font-weight: 800;
}

.itshams-kb-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.itshams-kb-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.itshams-kb-article-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-bottom: 1px solid var(--border-muted);
  background:
    linear-gradient(135deg, rgba(238, 243, 255, 0.94), rgba(255, 255, 255, 0.98) 54%, rgba(232, 251, 253, 0.7));
}

.itshams-kb-article-hero h1 {
  margin: 8px 0 12px;
  color: var(--itshams-ink);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.85;
}

.itshams-kb-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-lifted);
  font-weight: 800;
}

.itshams-kb-article-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.itshams-kb-article-meta .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--itshams-cyan-soft);
  color: var(--secondary-accented);
}

.itshams-kb-print-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.itshams-kb-article-content {
  padding: 28px;
  color: var(--text-accented);
  font-size: 0.98rem;
  line-height: 2.15;
}

.itshams-kb-article-content h1,
.itshams-kb-article-content h2,
.itshams-kb-article-content h3,
.itshams-kb-article-content h4 {
  margin-top: 1.25em;
  color: var(--itshams-ink);
  font-weight: 900;
}

.itshams-kb-article-content p {
  margin-bottom: 1em;
}

.itshams-kb-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--rounding-lg);
  border: 1px solid var(--border-muted);
}

.itshams-kb-article-content table {
  width: 100%;
  margin: 18px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-lg);
  overflow: hidden;
}

.itshams-kb-article-content th,
.itshams-kb-article-content td {
  padding: 12px;
  border-bottom: 1px solid var(--border-muted);
}

.itshams-kb-article-content tr:last-child th,
.itshams-kb-article-content tr:last-child td {
  border-bottom: 0;
}

.itshams-kb-article-content code,
.itshams-kb-article-content pre {
  direction: ltr;
  text-align: left;
}

.itshams-kb-helpful {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-top: 1px solid var(--border-muted);
  background: #fbfcff;
}

.itshams-kb-vote-form {
  display: flex;
  gap: 10px;
  margin: 0;
}

.itshams-kb-vote-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  font-weight: 900;
}

.itshams-kb-related-card {
  margin-top: 4px;
}

.itshams-kb-vote-alert {
  margin-bottom: -4px;
}

@media (max-width: 991.98px) {
  .itshams-kb-hero,
  .itshams-kb-hero-compact {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

@media (max-width: 767.98px) {
  .itshams-kb-hero,
  .itshams-kb-hero-compact,
  .itshams-kb-article-hero,
  .itshams-kb-helpful {
    padding: 20px;
  }

  .itshams-kb-hero h1,
  .itshams-kb-article-hero h1 {
    font-size: 1.32rem;
  }

  .itshams-kb-search {
    flex-wrap: wrap;
  }

  .itshams-kb-search .form-control {
    flex: 1 1 calc(100% - 56px);
  }

  .itshams-kb-search .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .itshams-kb-category-card .card-body,
  .itshams-kb-article-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .itshams-kb-count,
  .itshams-kb-open {
    grid-column: 2;
    justify-self: start;
  }

  .itshams-kb-article-content {
    padding: 22px 20px;
  }

  .itshams-kb-helpful,
  .itshams-kb-article-hero,
  .itshams-kb-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .itshams-kb-vote-form {
    flex-direction: column;
  }
}

/* ===== ITShams Knowledgebase Refresh ===== */
body.template-knowledgebase .itshams-kb-page {
  gap: 18px;
}

body.template-knowledgebase .itshams-kb-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  grid-template-areas:
    "copy search"
    "stats search";
  align-items: center;
  min-height: 210px;
  padding: 26px 28px;
  border: 1px solid rgba(186, 200, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 34, 79, 0.97), rgba(53, 69, 173, 0.9) 52%, rgba(22, 167, 189, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 48px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(39, 54, 133, 0.18);
}

body.template-knowledgebase .itshams-kb-hero::before {
  inset: -58px auto auto 36px;
  width: 170px;
  height: 170px;
  border: 30px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  background: transparent;
}

body.template-knowledgebase .itshams-kb-hero::after {
  inset: auto 34% -82px auto;
  width: 214px;
  height: 214px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  transform: none;
}

body.template-knowledgebase .itshams-kb-hero-content {
  grid-area: copy;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

body.template-knowledgebase .itshams-kb-hero-mark {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.55rem;
}

body.template-knowledgebase .itshams-kb-eyebrow {
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8fbfd;
}

body.template-knowledgebase .itshams-kb-hero h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 950;
}

body.template-knowledgebase .itshams-kb-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

body.template-knowledgebase .itshams-kb-search-form {
  grid-area: search;
}

body.template-knowledgebase .itshams-kb-search {
  padding: 10px;
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

body.template-knowledgebase .itshams-kb-search > i {
  background: #eef3ff;
}

body.template-knowledgebase .itshams-kb-search .btn {
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-accented));
  box-shadow: 0 12px 24px rgba(53, 69, 173, 0.18);
}

body.template-knowledgebase .itshams-kb-hero-stats {
  position: relative;
  z-index: 1;
  grid-area: stats;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.template-knowledgebase .itshams-kb-hero-stats span {
  min-width: 118px;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

body.template-knowledgebase .itshams-kb-hero-stats strong {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1.2;
}

body.template-knowledgebase .itshams-kb-hero-stats small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
}

body.template-knowledgebase .itshams-kb-section-head {
  padding: 2px 4px;
}

body.template-knowledgebase .itshams-kb-category-card,
body.template-knowledgebase .itshams-kb-list-card {
  border-color: #dfe7f7;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

body.template-knowledgebase .itshams-kb-category-card {
  position: relative;
}

body.template-knowledgebase .itshams-kb-category-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--itshams-cyan));
  opacity: 0;
  transition: opacity 0.18s ease;
}

body.template-knowledgebase .itshams-kb-category-card:hover::before {
  opacity: 1;
}

body.template-knowledgebase .itshams-kb-category-card .card-body {
  min-height: 132px;
  padding: 20px;
}

body.template-knowledgebase .itshams-kb-card-icon,
body.template-knowledgebase .itshams-kb-article-icon {
  border-color: #dfe7f7;
  border-radius: 8px;
  background: #eef3ff;
}

body.template-knowledgebase .itshams-kb-category-grid > [class*="col-"]:nth-child(2n) .itshams-kb-card-icon {
  background: #e9fbfd;
  color: #0e8fa5;
}

body.template-knowledgebase .itshams-kb-list-head {
  padding: 18px 20px;
  border-bottom-color: #edf2fa;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

body.template-knowledgebase .itshams-kb-article-item {
  min-height: 82px;
  padding: 16px 20px !important;
  border-color: #edf2fa !important;
}

body.template-knowledgebase .itshams-kb-article-copy small {
  max-width: 760px;
}

body.template-knowledgebase .sidebar .card {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
}

body.template-knowledgebase .sidebar .card-header {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2fa;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

body.template-knowledgebase .sidebar .card-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--itshams-ink);
  font-size: 0.96rem;
  font-weight: 950;
}

body.template-knowledgebase .sidebar .card-title > i:not(.card-minimise) {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

body.template-knowledgebase .sidebar .card-title .card-minimise {
  margin-inline-start: auto;
  color: var(--primary);
  font-size: 0.82rem;
}

body.template-knowledgebase .sidebar .list-group {
  padding: 8px;
  border: 0;
}

body.template-knowledgebase .sidebar .list-group-item {
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-accented);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.8;
}

body.template-knowledgebase .sidebar .list-group-item.active,
body.template-knowledgebase .sidebar .list-group-item:hover,
body.template-knowledgebase .sidebar .list-group-item:focus {
  border-color: #dfe7f7;
  background: #f8fbff;
  color: var(--primary);
}

body.template-knowledgebase .sidebar .card-body {
  padding: 12px 14px;
  color: var(--text-accented);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 2;
}

body.template-knowledgebase .sidebar .card-body a {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 991.98px) {
  body.template-knowledgebase .itshams-kb-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "search"
      "stats";
    align-items: stretch;
  }
}

@media (max-width: 767.98px) {
  body.template-knowledgebase .itshams-kb-hero {
    padding: 22px 18px;
  }

  body.template-knowledgebase .itshams-kb-hero-content {
    grid-template-columns: 1fr;
  }

  body.template-knowledgebase .itshams-kb-hero h1 {
    font-size: 1.28rem;
  }

  body.template-knowledgebase .itshams-kb-hero-stats span {
    flex: 1 1 calc(50% - 5px);
  }
}

/* ===== ITShams Knowledgebase Article Refresh ===== */
body.template-knowledgebasearticle .itshams-kb-page {
  gap: 18px;
}

body.template-knowledgebasearticle .itshams-kb-article-card,
body.template-knowledgebasearticle .itshams-kb-list-card {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.085);
}

body.template-knowledgebasearticle .itshams-kb-article-hero {
  position: relative;
  overflow: hidden;
  align-items: center;
  min-height: 172px;
  padding: 26px 28px;
  border-bottom: 0;
  background:
    linear-gradient(135deg, rgba(23, 34, 79, 0.98), rgba(53, 69, 173, 0.92) 54%, rgba(22, 167, 189, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 48px);
  color: #ffffff;
}

body.template-knowledgebasearticle .itshams-kb-article-hero::before {
  background: linear-gradient(90deg, var(--primary-accented), var(--itshams-cyan));
}

body.template-knowledgebasearticle .itshams-kb-article-hero::after {
  content: "";
  position: absolute;
  inset: auto 34% -94px auto;
  width: 224px;
  height: 224px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  pointer-events: none;
}

body.template-knowledgebasearticle .itshams-kb-article-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

body.template-knowledgebasearticle .itshams-kb-article-mark {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.45rem;
}

body.template-knowledgebasearticle .itshams-kb-eyebrow {
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8fbfd;
}

body.template-knowledgebasearticle .itshams-kb-article-hero h1 {
  max-width: 760px;
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 950;
  line-height: 1.85;
}

body.template-knowledgebasearticle .itshams-kb-article-meta {
  gap: 8px;
}

body.template-knowledgebasearticle .itshams-kb-article-meta li,
body.template-knowledgebasearticle .itshams-kb-tag-badge {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 900;
}

body.template-knowledgebasearticle .itshams-kb-tag-badge {
  border-color: rgba(196, 246, 251, 0.34);
  background: rgba(232, 251, 253, 0.16);
  color: #e8fbfd;
}

body.template-knowledgebasearticle .itshams-kb-print-btn {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

body.template-knowledgebasearticle .itshams-kb-print-btn:hover,
body.template-knowledgebasearticle .itshams-kb-print-btn:focus {
  background: #ffffff;
  color: var(--primary-accented);
}

body.template-knowledgebasearticle .itshams-kb-article-content {
  min-height: 238px;
  padding: 34px 32px;
  background:
    linear-gradient(180deg, #ffffff, #fbfdff);
  color: var(--text-accented);
}

body.template-knowledgebasearticle .itshams-kb-article-content > :first-child {
  margin-top: 0;
}

body.template-knowledgebasearticle .itshams-kb-article-content > :last-child {
  margin-bottom: 0;
}

body.template-knowledgebasearticle .itshams-kb-article-content img,
body.template-knowledgebasearticle .itshams-kb-article-content iframe,
body.template-knowledgebasearticle .itshams-kb-article-content video,
body.template-knowledgebasearticle .itshams-kb-article-content object,
body.template-knowledgebasearticle .itshams-kb-article-content embed {
  display: block;
  max-width: 100%;
  margin: 0 auto 18px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

body.template-knowledgebasearticle .itshams-kb-article-content iframe,
body.template-knowledgebasearticle .itshams-kb-article-content video {
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 280px;
  background: #0f172a;
}

body.template-knowledgebasearticle .itshams-kb-helpful {
  margin: 0 28px 28px;
  padding: 18px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

body.template-knowledgebasearticle .itshams-kb-helpful h2 {
  font-size: 1rem;
}

body.template-knowledgebasearticle .itshams-kb-vote-form .btn {
  min-width: 128px;
  border-radius: 8px;
}

body.template-knowledgebasearticle .itshams-kb-vote-form .btn-primary {
  box-shadow: 0 12px 26px rgba(53, 69, 173, 0.2);
}

body.template-knowledgebasearticle .itshams-kb-related-card {
  margin-top: 0;
}

body.template-knowledgebasearticle .itshams-kb-list-head,
body.template-knowledgebasearticle .itshams-kb-article-item {
  border-color: #edf2fa !important;
}

body.template-knowledgebasearticle .itshams-kb-card-icon,
body.template-knowledgebasearticle .itshams-kb-article-icon {
  border-color: #dfe7f7;
  border-radius: 8px;
  background: #eef3ff;
}

body.template-knowledgebasearticle .itshams-kb-actions {
  margin-top: 0;
}

body.template-knowledgebasearticle .itshams-kb-actions .btn {
  min-height: 40px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

body.template-knowledgebasearticle .sidebar .card {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
}

body.template-knowledgebasearticle .sidebar .card-header {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2fa;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

body.template-knowledgebasearticle .sidebar .card-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--itshams-ink);
  font-size: 0.96rem;
  font-weight: 950;
}

body.template-knowledgebasearticle .sidebar .card-title > i:not(.card-minimise) {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

body.template-knowledgebasearticle .sidebar .card-title .card-minimise {
  margin-inline-start: auto;
  color: var(--primary);
  font-size: 0.82rem;
}

body.template-knowledgebasearticle .sidebar .list-group {
  padding: 8px;
  border: 0;
}

body.template-knowledgebasearticle .sidebar .list-group-item {
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-accented);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.8;
}

body.template-knowledgebasearticle .sidebar .list-group-item.active,
body.template-knowledgebasearticle .sidebar .list-group-item:hover,
body.template-knowledgebasearticle .sidebar .list-group-item:focus {
  border-color: #dfe7f7;
  background: #f8fbff;
  color: var(--primary);
}

body.template-knowledgebasearticle .sidebar .card-body {
  padding: 12px 14px;
  color: var(--text-accented);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 2;
}

body.template-knowledgebasearticle .sidebar .card-body a {
  color: var(--primary);
  font-weight: 900;
}

body.template-knowledgebasearticle .sidebar .card[menuItemName="Tag Cloud"] .card-body,
body.template-knowledgebasearticle .sidebar .card[menuItemName="Knowledgebase Tags"] .card-body {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  line-height: 1.4;
}

body.template-knowledgebasearticle .sidebar .card[menuItemName="Tag Cloud"] .card-body a,
body.template-knowledgebasearticle .sidebar .card[menuItemName="Knowledgebase Tags"] .card-body a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #dfe7f7;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--primary);
  font-size: 0.78rem;
  line-height: 1.4;
}

body.template-knowledgebasearticle .sidebar .card[menuItemName="Tag Cloud"] .card-body a:hover,
body.template-knowledgebasearticle .sidebar .card[menuItemName="Tag Cloud"] .card-body a:focus,
body.template-knowledgebasearticle .sidebar .card[menuItemName="Knowledgebase Tags"] .card-body a:hover,
body.template-knowledgebasearticle .sidebar .card[menuItemName="Knowledgebase Tags"] .card-body a:focus {
  border-color: var(--primary-200);
  background: var(--primary-50);
  text-decoration: none;
}

@media (max-width: 767.98px) {
  body.template-knowledgebasearticle .itshams-kb-article-hero,
  body.template-knowledgebasearticle .itshams-kb-helpful {
    margin-right: 0;
    margin-left: 0;
    padding: 20px;
  }

  body.template-knowledgebasearticle .itshams-kb-article-heading {
    grid-template-columns: 1fr;
  }

  body.template-knowledgebasearticle .itshams-kb-article-hero h1 {
    font-size: 1.28rem;
  }

  body.template-knowledgebasearticle .itshams-kb-article-content {
    padding: 24px 20px;
  }

  body.template-knowledgebasearticle .itshams-kb-article-content iframe,
  body.template-knowledgebasearticle .itshams-kb-article-content video {
    min-height: 210px;
  }
}

/* ===== Nexus Premium Header ===== */
header.header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(216, 224, 238, 0.9);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
}

header.header::before {
  height: 4px;
  background: linear-gradient(90deg, #273685 0%, #3545ad 44%, #16a7bd 100%);
}

header.header .itshams-utility-bar {
  min-height: 36px;
  background: #081126;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #eaf1ff;
}

header.header .itshams-utility-bar .container > .d-flex {
  min-height: 36px;
  align-items: center;
  gap: 12px;
}

header.header .topbar .btn,
header.header .topbar .input-group-text {
  height: 30px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #eaf1ff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: none;
}

header.header .topbar .btn:hover,
header.header .topbar .btn:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

header.header .topbar .btn-active-client span {
  color: #ffffff;
}

header.header .topbar .btn-return-to-admin {
  background: rgba(22, 167, 189, 0.16);
  color: #ffffff;
}

header.header .itshams-brand-row {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 251, 255, 0.98));
}

header.header .itshams-header-container {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

header.header .navbar-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 62px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid rgba(216, 224, 238, 0.95);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

header.header .logo-img {
  width: auto;
  max-width: 236px;
  max-height: 54px;
}

header.header .itshams-header-search {
  margin-inline-start: auto !important;
  margin-inline-end: 0.25rem !important;
}

header.header .search {
  width: min(360px, 31vw);
  height: 46px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce5f3;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

header.header .search:focus-within {
  border-color: #8ea4f4;
  box-shadow: 0 0 0 4px rgba(69, 88, 200, 0.12), 0 14px 34px rgba(15, 23, 42, 0.08);
}

header.header .search .btn,
header.header .search .form-control {
  height: 44px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

header.header .search .btn {
  width: 46px;
  color: #667be4;
}

header.header .search .form-control {
  color: #17224f;
  font-weight: 700;
}

header.header .search .form-control::placeholder {
  color: #8b9ab3;
  font-weight: 600;
}

header.header .itshams-header-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 0;
}

header.header .toolbar .nav-link {
  width: 46px;
  height: 46px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 1px solid #dce5f3;
  border-radius: 50%;
  background: #ffffff;
  color: #273685 !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

header.header .toolbar .nav-link:hover,
header.header .toolbar .nav-link:focus {
  border-color: #bac8ff;
  background: #eef3ff;
  color: #3545ad !important;
}

header.header .toolbar .nav-link .badge {
  position: absolute;
  top: -7px;
  inset-inline-end: -5px;
  min-width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  background: #081126;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 0.72rem;
}

header.header .itshams-nav-row {
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(216, 224, 238, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

header.header .itshams-nav-container {
  min-height: 50px;
}

header.header .itshams-nav-collapse {
  align-items: center !important;
  justify-content: space-between;
  gap: 16px;
}

header.header .main-navbar-wrapper .navbar-nav {
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}

header.header .main-navbar-wrapper .navbar-nav > li {
  position: relative;
}

header.header .main-navbar-wrapper .navbar-nav > li > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px !important;
  border-radius: 8px;
  color: #26344d !important;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

header.header .main-navbar-wrapper .navbar-nav > li > a::after,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link::after {
  position: static;
  width: auto;
  height: auto;
  margin-inline-start: 4px;
  border: 0;
  background: transparent;
  transition: none;
}

header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a::after,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link::after {
  content: "\f107";
  display: inline-block;
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
  font-size: 0.78rem;
  font-weight: 900;
  color: #7b8aa5;
}

header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > a,
header.header .main-navbar-wrapper .navbar-nav > li.active > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
  background: #eef3ff;
  color: #273685 !important;
  box-shadow: inset 0 0 0 1px rgba(186, 200, 255, 0.95);
}

header.header .main-navbar-wrapper .navbar-nav > li.show > a::after,
header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link::after,
header.header .main-navbar-wrapper .navbar-nav > li > a:hover::after,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover::after {
  color: #16a7bd;
}

header.header .dropdown-menu {
  min-width: 248px;
  margin-top: 4px;
  padding: 10px;
  border: 1px solid rgba(216, 224, 238, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16);
}

header.header .dropdown-menu::after {
  content: "";
  position: absolute;
  top: -12px;
  inset-inline-start: -18px;
  width: calc(100% + 36px);
  height: 14px;
  background: transparent;
}

header.header .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -5px;
  inset-inline-start: 26px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-top: 1px solid rgba(216, 224, 238, 0.95);
  border-inline-start: 1px solid rgba(216, 224, 238, 0.95);
  transform: rotate(45deg);
}

header.header .dropdown-menu-right::before {
  inset-inline-start: auto;
  inset-inline-end: 26px;
}

header.header .dropdown-menu .dropdown-item {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border-radius: 8px;
  color: #26344d;
  font-weight: 800;
}

header.header .dropdown-menu a.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px !important;
  color: #26344d;
  line-height: 1.35;
  white-space: normal;
}

header.header .dropdown-menu li.dropdown-item:hover,
header.header .dropdown-menu li.dropdown-item:focus-within,
header.header .dropdown-menu a.dropdown-item:hover,
header.header .dropdown-menu a.dropdown-item:focus {
  background: #f1f5ff;
  color: #273685;
}

header.header .dropdown-menu .dropdown-divider {
  margin: 8px 4px;
  border-top-color: #e8edf7;
}

header.header .dropdown-menu .badge {
  margin-inline-start: auto;
  background: #e8fbfd;
  color: #0b7284;
}

.master-breadcrumb {
  background: rgba(239, 244, 253, 0.84);
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(216, 224, 238, 0.9);
}

@media (min-width: 1200px) {
  header.header .main-navbar-wrapper .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

@media (max-width: 1199.98px) {
  header.header .itshams-header-container {
    min-height: 74px;
  }

  header.header .navbar-brand {
    min-height: 54px;
    padding: 8px 12px;
  }

  header.header .logo-img {
    max-width: 190px;
    max-height: 46px;
  }

  header.header .itshams-nav-collapse {
    padding: 12px 0 16px;
  }

  header.header .main-navbar-wrapper .navbar-nav {
    width: 100%;
    align-items: stretch;
    gap: 6px;
    padding: 4px 0;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link {
    width: 100%;
    justify-content: space-between;
  }

  header.header .dropdown-menu {
    position: static !important;
    width: 100%;
    margin: 4px 0 8px;
    box-shadow: none;
    transform: none !important;
  }

  header.header .dropdown-menu::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  header.header .itshams-utility-bar .container > .d-flex {
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px 0;
  }

  header.header .topbar .active-client .input-group-text,
  header.header .topbar .btn-active-client span {
    max-width: 154px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  header.header .itshams-header-container {
    min-height: 68px;
    gap: 10px;
  }

  header.header .navbar-brand {
    min-height: 48px;
    padding: 7px 9px;
  }

  header.header .logo-img {
    max-width: 148px;
    max-height: 38px;
  }

  header.header .toolbar .nav-link {
    width: 42px;
    height: 42px;
  }
}

/* ===== Nexus Header Interaction Fixes ===== */
header.header .main-navbar-wrapper .navbar-nav > li > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > a,
header.header .main-navbar-wrapper .navbar-nav > li.active > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
  min-height: 38px;
  padding: 8px 14px !important;
  border: 1px solid transparent;
  box-sizing: border-box;
  transform: none !important;
}

header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > a,
header.header .main-navbar-wrapper .navbar-nav > li.active > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
  border-color: #bac8ff;
  box-shadow: none;
}

header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a::after,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link::after {
  width: 14px;
  margin-inline-start: 5px;
  text-align: center;
  flex: 0 0 14px;
}

header.header .dropdown-menu {
  min-width: 214px;
  margin-top: 3px;
  padding: 6px;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
}

header.header .dropdown-menu::after {
  top: -10px;
  height: 12px;
}

header.header .dropdown-menu::before {
  top: -5px;
  width: 10px;
  height: 10px;
}

header.header .dropdown-menu .dropdown-item {
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 750;
}

header.header .dropdown-menu a.dropdown-item {
  min-height: 34px;
  padding: 7px 10px !important;
  gap: 7px;
  line-height: 1.25;
}

header.header .dropdown-menu .dropdown-divider {
  margin: 5px 6px;
}

@media (max-width: 1199.98px) {
  header.header .main-navbar-wrapper .navbar-nav > li > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
    padding: 8px 12px !important;
  }
}

/* ===== Nexus Header Alignment Polish ===== */
header.header .navbar-brand,
header.header .navbar-brand:hover,
header.header .navbar-brand:focus {
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

header.header .logo-img {
  max-width: 220px;
  max-height: 52px;
  object-fit: contain;
}

header.header .itshams-header-container {
  min-height: 76px;
}

header.header .main-navbar-wrapper .navbar-nav > li > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > a,
header.header .main-navbar-wrapper .navbar-nav > li.active > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
  min-width: 96px;
  padding: 8px 18px !important;
  justify-content: center;
  text-align: center;
}

header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:focus,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > a,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:focus,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > .nav-link {
  position: relative;
  padding-inline-start: 28px !important;
  padding-inline-end: 28px !important;
}

header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a::after,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link::after {
  position: absolute;
  inset-inline-start: 10px;
  top: 50%;
  width: 12px;
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

@media (max-width: 1199.98px) {
  header.header .logo-img {
    max-width: 178px;
    max-height: 44px;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  header.header .logo-img {
    max-width: 142px;
    max-height: 38px;
  }
}

/* ===== Nexus Header Equal Menu Spacing ===== */
header.header .main-navbar-wrapper .navbar-nav > li > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > a,
header.header .main-navbar-wrapper .navbar-nav > li.active > a,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:focus,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:focus,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > .nav-link {
  min-width: 112px;
  padding: 8px 28px !important;
  justify-content: center;
  text-align: center;
}

header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a::after,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link::after {
  inset-inline-start: 11px;
}

@media (max-width: 1199.98px) {
  header.header .main-navbar-wrapper .navbar-nav > li > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > .nav-link {
    width: 100%;
    min-width: 0;
    padding: 8px 28px !important;
  }
}

/* ===== Nexus Header True Text Centering ===== */
header.header .main-navbar-wrapper .navbar-nav > li > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > a,
header.header .main-navbar-wrapper .navbar-nav > li.active > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
  width: 116px;
  min-width: 116px;
  max-width: 116px;
  padding: 8px 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  gap: 0;
}

header.header .main-navbar-wrapper .navbar-nav > li > a::after,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link::after {
  content: none !important;
  display: none !important;
}

header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a::after,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link::after {
  content: "\f107" !important;
  display: block !important;
  position: absolute;
  inset-inline-start: 10px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: 0;
  color: #7b8aa5;
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 12px;
  text-align: center;
  transform: translateY(-50%);
  pointer-events: none;
}

header.header .main-navbar-wrapper .navbar-nav > li > a .itshams-nav-label,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link .itshams-nav-label {
  display: block;
  width: 100%;
  overflow: hidden;
  color: inherit;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a .itshams-nav-label,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link .itshams-nav-label {
  padding-inline-start: 13px;
}

@media (max-width: 1199.98px) {
  header.header .main-navbar-wrapper .navbar-nav > li > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

/* ===== Nexus Header No Text Truncation ===== */
header.header .main-navbar-wrapper .navbar-nav > li > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > a,
header.header .main-navbar-wrapper .navbar-nav > li.active > a,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
  width: auto;
  min-width: 104px;
  max-width: none;
  padding: 8px 22px !important;
}

header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:focus,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > a,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:hover,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:focus,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > .nav-link {
  padding-inline-start: 30px !important;
  padding-inline-end: 30px !important;
}

header.header .main-navbar-wrapper .navbar-nav > li > a .itshams-nav-label,
header.header .main-navbar-wrapper .navbar-nav > li > .nav-link .itshams-nav-label,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a .itshams-nav-label,
header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link .itshams-nav-label {
  width: auto;
  min-width: 0;
  max-width: none;
  padding-inline-start: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

/* ===== Nexus Mobile Navigation ===== */
@media (max-width: 1199.98px) {
  header.header .itshams-brand-row {
    position: relative;
    z-index: 1041;
  }

  header.header .itshams-header-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  header.header .itshams-header-actions {
    margin-inline-start: 0;
  }

  header.header .itshams-mobile-menu-toggle[aria-expanded="true"] {
    border-color: #bac8ff;
    background: #273685;
    color: #ffffff !important;
  }

  header.header .itshams-mobile-menu-toggle[aria-expanded="true"] .fa-bars::before {
    content: "\f00d";
  }

  header.header .itshams-nav-row {
    border-top: 0;
    background: transparent;
    box-shadow: none;
  }

  header.header .itshams-nav-container {
    min-height: 0;
    padding-right: 12px;
    padding-left: 12px;
  }

  header.header .itshams-nav-collapse {
    position: relative;
    z-index: 1040;
    margin: 0 auto 12px;
    padding: 14px;
    border: 1px solid #dfe7f7;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.14);
    max-height: calc(100vh - 128px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  header.header .itshams-nav-collapse.collapse:not(.show):not(.collapsing) {
    display: none !important;
  }

  header.header .itshams-nav-collapse form.d-xl-none {
    margin-bottom: 12px;
  }

  header.header .itshams-nav-collapse .search {
    margin-bottom: 0 !important;
  }

  header.header .main-navbar-wrapper .navbar-nav {
    width: 100%;
    align-items: stretch;
    gap: 8px;
    padding: 0;
  }

  header.header .main-navbar-wrapper .itshams-account-nav {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #edf2fa;
  }

  header.header .main-navbar-wrapper .navbar-nav > li {
    width: 100%;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > .nav-link {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    display: flex !important;
    justify-content: space-between !important;
    padding: 11px 14px !important;
    border: 1px solid #edf2fa;
    border-radius: 8px;
    background: #ffffff;
    color: #26344d !important;
    text-align: right;
    box-shadow: none;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
    border-color: #bac8ff;
    background: #f8fbff;
    color: #273685 !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a .itshams-nav-label,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link .itshams-nav-label,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a .itshams-nav-label,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link .itshams-nav-label {
    flex: 1 1 auto;
    width: auto;
    text-align: right;
    white-space: normal;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link::after {
    content: "\f107" !important;
    position: static;
    inset: auto;
    width: 30px;
    height: 30px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    margin-inline-start: 10px;
    border-radius: 8px;
    background: transparent;
    color: #273685;
    line-height: 1;
    transform: none;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link::after {
    content: "\f106" !important;
    background: #273685;
    color: #ffffff;
  }

  header.header .dropdown-menu {
    position: static !important;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 7px 0 2px;
    padding: 8px;
    border: 1px solid #dfe7f7;
    border-radius: 8px;
    background: #f8fbff;
    box-shadow: none;
    transform: none !important;
  }

  header.header .dropdown.show > .dropdown-menu,
  header.header .dropdown-menu.show {
    display: block !important;
  }

  header.header .dropdown-menu::before,
  header.header .dropdown-menu::after {
    display: none;
  }

  header.header .dropdown-menu li.dropdown-item,
  header.header .dropdown-menu .dropdown-item {
    border-radius: 8px;
  }

  header.header .dropdown-menu a.dropdown-item {
    min-height: 42px;
    padding: 9px 11px !important;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #35425b;
    font-size: 0.86rem;
    font-weight: 850;
    text-align: right;
  }

  header.header .dropdown-menu li.dropdown-item:hover,
  header.header .dropdown-menu li.dropdown-item:focus-within,
  header.header .dropdown-menu a.dropdown-item:hover,
  header.header .dropdown-menu a.dropdown-item:focus {
    border-color: #dfe7f7;
    background: #ffffff;
    color: #273685;
  }
}

@media (max-width: 767.98px) {
  header.header .itshams-header-container {
    min-height: 66px;
    gap: 8px;
  }

  header.header .itshams-nav-container {
    padding-right: 10px;
    padding-left: 10px;
  }

  header.header .itshams-nav-collapse {
    max-height: calc(100vh - 112px);
    padding: 12px;
  }
}

/* ===== Nexus Mobile Navigation Compact Override ===== */
@media (max-width: 1199.98px) {
  header.header .itshams-nav-collapse {
    width: 100%;
    margin: 0 auto 10px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  }

  header.header .main-navbar-wrapper .navbar-nav {
    gap: 0;
  }

  header.header .main-navbar-wrapper .navbar-nav > li {
    margin: 0;
    border-bottom: 1px solid #edf2fa;
  }

  header.header .main-navbar-wrapper .navbar-nav > li:last-child {
    border-bottom: 0;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > .nav-link {
    min-height: 44px;
    padding: 10px 8px !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
    background: #f8fbff;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link::after {
    content: "";
    width: 9px;
    height: 9px;
    display: inline-block !important;
    flex: 0 0 9px;
    margin-inline-start: 12px;
    border: 0;
    border-bottom: 2px solid #667be4;
    border-inline-start: 2px solid #667be4;
    border-radius: 0;
    background: transparent;
    transform: rotate(-45deg);
  }

  header.header .dropdown-menu,
  header.header .dropdown.show > .dropdown-menu,
  header.header .dropdown-menu.show {
    display: block !important;
    margin: 0 0 8px;
    padding: 0 12px 8px 0;
    border: 0;
    border-inline-start: 0;
    border-inline-end: 2px solid #dfe7f7;
    border-radius: 0;
    background: transparent;
  }

  header.header .dropdown-menu li.dropdown-item,
  header.header .dropdown-menu .dropdown-item {
    margin: 0;
    background: transparent;
  }

  header.header .dropdown-menu a.dropdown-item {
    min-height: 36px;
    padding: 7px 10px !important;
    border: 0;
    border-radius: 8px;
    background: #f8fbff;
    color: #52617a;
    font-size: 0.82rem;
    line-height: 1.7;
  }

  header.header .dropdown-menu li.dropdown-item + li.dropdown-item {
    margin-top: 5px;
  }

  header.header .dropdown-menu a.dropdown-item:hover,
  header.header .dropdown-menu a.dropdown-item:focus {
    background: transparent;
    color: #273685;
  }

  header.header .main-navbar-wrapper .itshams-account-nav {
    margin-top: 6px;
    padding-top: 6px;
  }
}

/* ===== Nexus Mobile Navigation Final Polish ===== */
@media (max-width: 1199.98px) {
  header.header .itshams-nav-collapse {
    width: min(100%, 430px);
    margin: 0 auto 12px;
    padding: 12px;
    border: 1px solid #d9e4f7;
    border-radius: 8px;
    background:
      linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
  }

  header.header .itshams-nav-collapse.collapsing {
    display: block !important;
    overflow: hidden;
  }

  header.header .itshams-nav-collapse form.d-xl-none {
    margin-bottom: 10px;
  }

  header.header .main-navbar-wrapper .navbar-nav {
    gap: 0;
    row-gap: 0;
  }

  header.header .main-navbar-wrapper .navbar-nav > li {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid #edf2fa;
    border-radius: 0;
    background: transparent;
  }

  header.header .main-navbar-wrapper .navbar-nav > li + li {
    margin-top: 0 !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li:first-child {
    border-top: 1px solid #edf2fa;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.active,
  header.header .main-navbar-wrapper .navbar-nav > li.show {
    background: #f8fbff;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > .nav-link {
    height: auto !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 10px !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1f2b45 !important;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.6;
    box-shadow: none;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
    background: #f1f5ff;
    color: #273685 !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link::after {
    content: "" !important;
    position: static;
    inset: auto;
    width: 9px;
    height: 9px;
    display: inline-flex !important;
    flex: 0 0 9px;
    margin-inline-start: 12px;
    margin-inline-end: 4px;
    border: 0;
    border-inline-end: 2px solid #667be4;
    border-bottom: 2px solid #667be4;
    border-radius: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    line-height: 0;
    transform: rotate(45deg);
    transition: transform 0.18s ease, border-color 0.18s ease;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link::after {
    content: "" !important;
    background: transparent;
    border-color: #273685;
    transform: rotate(-135deg);
  }

  header.header .dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 7px 10px 9px;
    border: 0;
    border-top: 1px solid #e5ecfa;
    border-radius: 0;
    background: #f8fbff;
    box-shadow: none;
    transform: none !important;
  }

  header.header .dropdown.show > .dropdown-menu,
  header.header .dropdown-menu.show {
    display: grid !important;
    gap: 5px;
  }

  header.header .dropdown-menu li.dropdown-item,
  header.header .dropdown-menu .dropdown-item {
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
  }

  header.header .dropdown-menu a.dropdown-item {
    height: auto !important;
    min-height: 36px;
    margin: 0 !important;
    padding: 7px 10px !important;
    border: 1px solid #e5ecfa;
    border-radius: 8px;
    background: #ffffff;
    color: #52617a;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.7;
  }

  header.header .dropdown-menu li.dropdown-item + li.dropdown-item {
    margin-top: 0;
  }

  header.header .dropdown-menu a.dropdown-item:hover,
  header.header .dropdown-menu a.dropdown-item:focus {
    border-color: #bac8ff;
    background: #eef3ff;
    color: #273685;
  }

  header.header .main-navbar-wrapper .itshams-account-nav {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5ecfa;
  }
}

@media (max-width: 767.98px) {
  header.header .itshams-nav-collapse {
    width: calc(100% - 20px);
    max-height: calc(100vh - 118px);
  }
}

/* ===== Nexus Mobile Menu Hard Reset ===== */
@media (max-width: 1199.98px) {
  header.header .itshams-nav-row {
    padding: 0 !important;
    background: transparent !important;
  }

  header.header .itshams-nav-container {
    min-height: 0 !important;
    padding: 0 10px 10px !important;
  }

  header.header .itshams-nav-collapse {
    width: min(100%, 390px) !important;
    max-height: calc(100vh - 116px) !important;
    margin: 0 auto !important;
    padding: 8px !important;
    overflow-y: auto !important;
    border: 1px solid #dbe6f8 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12) !important;
  }

  header.header .itshams-nav-collapse.collapse:not(.show):not(.collapsing) {
    display: none !important;
  }

  header.header .itshams-nav-collapse form.d-xl-none {
    margin: 0 0 8px !important;
  }

  header.header .itshams-nav-collapse .search {
    height: 44px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
  }

  header.header .main-navbar-wrapper .navbar-nav,
  header.header .main-navbar-wrapper .itshams-primary-nav,
  header.header .main-navbar-wrapper .itshams-account-nav {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  header.header .main-navbar-wrapper .itshams-account-nav {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid #edf2fa !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li,
  header.header .main-navbar-wrapper .navbar-nav > li.d-block,
  header.header .main-navbar-wrapper .navbar-nav > li.no-collapse {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li + li {
    border-top: 1px solid #edf2fa !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > .nav-link {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #1f2b45 !important;
    direction: rtl !important;
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: right !important;
    box-shadow: none !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
    background: #f3f6ff !important;
    color: #273685 !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a .itshams-nav-label,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link .itshams-nav-label,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a .itshams-nav-label,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link .itshams-nav-label {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-align: right !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a::before,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link::before {
    content: none !important;
    display: none !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link::after {
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    display: block !important;
    flex: 0 0 8px !important;
    margin: 0 auto 0 4px !important;
    border: 0 !important;
    border-inline-end: 2px solid #667be4 !important;
    border-bottom: 2px solid #667be4 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    transform: rotate(45deg) !important;
    transition: transform 0.18s ease, border-color 0.18s ease !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link::after {
    border-color: #273685 !important;
    transform: rotate(-135deg) !important;
  }

  header.header .dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 6px 12px 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f8fbff !important;
    box-shadow: none !important;
    transform: none !important;
  }

  header.header .dropdown.show > .dropdown-menu,
  header.header .dropdown-menu.show {
    display: grid !important;
    gap: 5px !important;
  }

  header.header .dropdown-menu::before,
  header.header .dropdown-menu::after {
    display: none !important;
  }

  header.header .dropdown-menu li.dropdown-item,
  header.header .dropdown-menu .dropdown-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  header.header .dropdown-menu a.dropdown-item {
    height: 34px !important;
    min-height: 34px !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid #e5ecfa !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #52617a !important;
    direction: rtl !important;
    font-size: 0.82rem !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    text-align: right !important;
  }

  header.header .dropdown-menu a.dropdown-item:hover,
  header.header .dropdown-menu a.dropdown-item:focus {
    border-color: #bac8ff !important;
    background: #eef3ff !important;
    color: #273685 !important;
  }
}

/* ===== Nexus Mobile Menu App Polish ===== */
header.header .itshams-mobile-submenu-icon {
  display: none;
}

@media (max-width: 1199.98px) {
  header.header .itshams-mobile-menu-toggle {
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #d7e2f5 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #273685 !important;
    box-shadow: 0 10px 26px rgba(39, 54, 133, 0.08) !important;
  }

  header.header .itshams-mobile-menu-toggle[aria-expanded="true"] {
    border-color: #273685 !important;
    background: #273685 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(39, 54, 133, 0.24) !important;
  }

  header.header .itshams-mobile-menu-toggle[aria-expanded="true"] .fa-bars::before {
    content: "\f00d" !important;
  }

  header.header .itshams-nav-row {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  header.header .itshams-nav-container {
    min-height: 0 !important;
    padding: 0 10px 12px !important;
  }

  header.header .itshams-nav-collapse {
    width: min(100%, 390px) !important;
    max-height: calc(100vh - 116px) !important;
    margin: 0 auto !important;
    padding: 10px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    border: 1px solid #dbe6f8 !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.14) !important;
  }

  header.header .itshams-nav-collapse.collapsing {
    display: block !important;
    overflow: hidden !important;
  }

  header.header .itshams-nav-collapse.collapse:not(.show):not(.collapsing) {
    display: none !important;
  }

  header.header .itshams-nav-collapse form.d-xl-none {
    margin: 0 0 10px !important;
  }

  header.header .itshams-nav-collapse .search {
    height: 44px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid #d7e2f5 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  header.header .itshams-nav-collapse .search .btn,
  header.header .itshams-nav-collapse .search .form-control {
    height: 42px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  header.header .main-navbar-wrapper .navbar-nav,
  header.header .main-navbar-wrapper .itshams-primary-nav,
  header.header .main-navbar-wrapper .itshams-account-nav {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e2eaf8 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
  }

  header.header .main-navbar-wrapper .itshams-account-nav {
    margin-top: 8px !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li,
  header.header .main-navbar-wrapper .navbar-nav > li.d-block,
  header.header .main-navbar-wrapper .navbar-nav > li.no-collapse {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-bottom: 1px solid #eef2fa !important;
    border-radius: 0 !important;
    background: #ffffff !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li:last-child {
    border-bottom: 0 !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.active > .nav-link {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #1f2b45 !important;
    direction: rtl !important;
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: right !important;
    box-shadow: none !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > a,
  header.header .main-navbar-wrapper .navbar-nav > li.active > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:hover,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link:focus,
  header.header .main-navbar-wrapper .navbar-nav > li.show > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.active > .nav-link {
    background: #f4f7ff !important;
    color: #273685 !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a .itshams-nav-label,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link .itshams-nav-label,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a .itshams-nav-label,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link .itshams-nav-label {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-align: right !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link::after {
    content: none !important;
    display: none !important;
  }

  header.header .itshams-mobile-submenu-icon {
    position: relative !important;
    width: 26px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 26px !important;
    margin-inline-start: auto !important;
    border: 1px solid #dce5f8 !important;
    border-radius: 7px !important;
    background: #f2f6ff !important;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
  }

  header.header .itshams-mobile-submenu-icon::before,
  header.header .itshams-mobile-submenu-icon::after {
    content: "" !important;
    position: absolute !important;
    inset: 50% auto auto 50% !important;
    display: block !important;
    border-radius: 99px !important;
    background: #5267d9 !important;
    transform: translate(-50%, -50%) !important;
    transition: opacity 0.18s ease, background 0.18s ease !important;
  }

  header.header .itshams-mobile-submenu-icon::before {
    width: 10px !important;
    height: 2px !important;
  }

  header.header .itshams-mobile-submenu-icon::after {
    width: 2px !important;
    height: 10px !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a .itshams-mobile-submenu-icon,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link .itshams-mobile-submenu-icon {
    border-color: #273685 !important;
    background: #273685 !important;
    box-shadow: 0 8px 18px rgba(39, 54, 133, 0.2) !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a .itshams-mobile-submenu-icon::before,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link .itshams-mobile-submenu-icon::before {
    background: #ffffff !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > a .itshams-mobile-submenu-icon::after,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown.show > .nav-link .itshams-mobile-submenu-icon::after {
    opacity: 0 !important;
  }

  header.header .dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 6px 10px 10px !important;
    border: 0 !important;
    border-top: 1px solid #e7eefb !important;
    border-radius: 0 !important;
    background: #f8fbff !important;
    box-shadow: inset 0 8px 18px rgba(39, 54, 133, 0.04) !important;
    transform: none !important;
  }

  header.header .dropdown.show > .dropdown-menu,
  header.header .dropdown-menu.show {
    display: grid !important;
    gap: 4px !important;
  }

  header.header .dropdown-menu::before,
  header.header .dropdown-menu::after,
  header.header .dropdown-menu .dropdown-divider {
    display: none !important;
  }

  header.header .dropdown-menu li.dropdown-item,
  header.header .dropdown-menu .dropdown-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  header.header .dropdown-menu a.dropdown-item {
    height: 36px !important;
    min-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    overflow: hidden !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #52617a !important;
    direction: rtl !important;
    font-size: 0.82rem !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    text-align: right !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  header.header .dropdown-menu a.dropdown-item::before {
    content: "" !important;
    width: 6px !important;
    height: 6px !important;
    display: inline-block !important;
    flex: 0 0 6px !important;
    border-radius: 99px !important;
    background: #bac8ff !important;
  }

  header.header .dropdown-menu a.dropdown-item:hover,
  header.header .dropdown-menu a.dropdown-item:focus {
    border-color: #dbe6f8 !important;
    background: #ffffff !important;
    color: #273685 !important;
  }
}

@media (max-width: 575.98px) {
  header.header .itshams-nav-container {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  header.header .itshams-nav-collapse {
    width: 100% !important;
    max-height: calc(100vh - 108px) !important;
    padding: 8px !important;
  }

  header.header .main-navbar-wrapper .navbar-nav > li > a,
  header.header .main-navbar-wrapper .navbar-nav > li > .nav-link,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > a,
  header.header .main-navbar-wrapper .navbar-nav > li.dropdown > .nav-link {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }
}

/* ===== ITShams Upgrade Page ===== */
body.template-upgrade .primary-content {
  position: relative;
}

.itshams-upgrade-page {
  display: grid;
  gap: 16px;
}

.itshams-upgrade-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  overflow: hidden;
  padding: 24px 26px;
  border: 1px solid rgba(186, 200, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 34, 79, 0.97), rgba(53, 69, 173, 0.9) 50%, rgba(22, 167, 189, 0.78)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 48px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(39, 54, 133, 0.18);
}

.itshams-upgrade-hero::before {
  content: "";
  position: absolute;
  inset: -44px auto auto 34px;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
}

.itshams-upgrade-hero-icon,
.itshams-upgrade-hero > div:last-child {
  position: relative;
  z-index: 1;
}

.itshams-upgrade-hero-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.45rem;
}

.itshams-upgrade-eyebrow {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8fbfd;
  font-size: 0.82rem;
  font-weight: 950;
}

.itshams-upgrade-hero h1 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-upgrade-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
  line-height: 1.9;
}

body.template-upgrade .itshams-upgrade-card {
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

body.template-upgrade .itshams-upgrade-card > .card-body {
  padding: 22px;
}

.itshams-upgrade-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff, #f8fbff 70%, #eefcff),
    repeating-linear-gradient(90deg, rgba(39, 54, 133, 0.03) 0, rgba(39, 54, 133, 0.03) 1px, transparent 1px, transparent 40px);
}

.itshams-upgrade-current span,
.itshams-upgrade-package-label {
  display: inline-flex;
  margin-bottom: 5px;
  color: var(--text-lifted);
  font-size: 0.78rem;
  font-weight: 900;
}

.itshams-upgrade-current strong {
  display: block;
  color: var(--itshams-ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.8;
}

.itshams-upgrade-current small {
  direction: ltr;
  display: inline-flex;
  margin-top: 3px;
  color: var(--primary);
  font-weight: 900;
}

.itshams-upgrade-current i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  border: 1px solid var(--primary-100);
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1.15rem;
}

.itshams-upgrade-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 12px;
  color: var(--itshams-ink);
  font-size: 1rem;
  font-weight: 950;
}

.itshams-upgrade-section-title::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--itshams-cyan));
  box-shadow: 0 0 0 5px rgba(69, 88, 200, 0.1);
}

.itshams-upgrade-packages {
  display: grid;
  gap: 14px;
}

.itshams-upgrade-package {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.itshams-upgrade-package:hover {
  border-color: var(--primary-200);
  box-shadow: 0 20px 42px rgba(39, 54, 133, 0.12);
  transform: translateY(-1px);
}

.itshams-upgrade-package-main {
  min-width: 0;
}

.itshams-upgrade-package h2 {
  margin: 0 0 10px;
  color: var(--itshams-ink);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.8;
}

.itshams-upgrade-package-description {
  color: var(--text-accented);
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 2;
}

.itshams-upgrade-package-description br {
  content: "";
}

.itshams-upgrade-package-action {
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.itshams-upgrade-package-action form {
  width: 100%;
}

.itshams-upgrade-package-action .form-group {
  margin-bottom: 10px;
}

.itshams-upgrade-package-action select,
body.template-upgrade .upgrade select,
body.template-upgrade .upgrade .form-control {
  min-height: 42px;
  border: 1px solid #cfdaf0;
  border-radius: 8px;
  background-color: #ffffff;
  color: var(--itshams-ink);
  font-weight: 900;
}

.itshams-upgrade-package-action select:focus,
body.template-upgrade .upgrade .form-control:focus {
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px rgba(69, 88, 200, 0.1);
}

.itshams-upgrade-package-action .btn,
body.template-upgrade .upgrade .btn-primary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: var(--primary);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-accented));
  color: #ffffff !important;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(53, 69, 173, 0.2);
}

body.template-upgrade .upgrade table,
body.template-upgrade .upgrade .table,
body.template-upgrade .itshams-upgrade-card table,
body.template-upgrade .itshams-upgrade-card .table {
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: #ffffff;
}

body.template-upgrade .upgrade .table th,
body.template-upgrade .upgrade .table td,
body.template-upgrade .itshams-upgrade-card .table th,
body.template-upgrade .itshams-upgrade-card .table td {
  padding: 13px 14px;
  border-color: var(--border-muted);
  color: var(--text-accented);
  vertical-align: middle;
}

body.template-upgrade .sidebar .card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(186, 200, 255, 0.68);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.11);
}

body.template-upgrade .sidebar .card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 0;
  height: 106px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.22) 0 34px, transparent 35px),
    linear-gradient(135deg, rgba(23, 34, 79, 0.98), rgba(53, 69, 173, 0.92) 58%, rgba(22, 167, 189, 0.82));
}

body.template-upgrade .sidebar .card::after {
  content: "";
  position: absolute;
  inset: 16px auto auto 18px;
  z-index: 0;
  width: 74px;
  height: 74px;
  border: 18px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

body.template-upgrade .sidebar .card-header {
  position: relative;
  z-index: 1;
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 0;
  background: transparent;
}

body.template-upgrade .sidebar .card-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.7;
}

body.template-upgrade .sidebar .card-title::before {
  content: "\f0ec";
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.92rem;
}

body.template-upgrade .sidebar .card-title > i:not(.card-minimise) {
  display: none;
}

body.template-upgrade .sidebar .card-title .card-minimise {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
}

body.template-upgrade .sidebar .collapsable-card-body {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  border-radius: 8px 8px 0 0;
  background: #ffffff;
}

body.template-upgrade .sidebar .card-body {
  position: relative;
  padding: 18px 16px 16px;
  color: var(--text-accented);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 2;
}

body.template-upgrade .sidebar .card-body::before {
  content: "";
  position: absolute;
  inset: 0 16px auto 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 167, 189, 0.34), transparent);
}

body.template-upgrade .sidebar .card-body strong {
  display: block;
  margin: 4px 0 10px;
  padding: 10px 12px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  color: var(--itshams-ink);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.9;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

body.template-upgrade .sidebar .card-body strong + br,
body.template-upgrade .sidebar .card-body br + br {
  display: none;
}

body.template-upgrade .sidebar .card-footer {
  position: relative;
  z-index: 1;
  padding: 0 16px 16px;
  border: 0;
  background: #ffffff;
}

body.template-upgrade .sidebar .btn,
body.template-upgrade .sidebar .list-group-item {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 950;
}

body.template-upgrade .sidebar .btn {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-accented));
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(53, 69, 173, 0.2);
}

body.template-upgrade .sidebar .btn:hover,
body.template-upgrade .sidebar .btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(53, 69, 173, 0.26);
}

body.template-upgrade .sidebar .list-group {
  position: relative;
  z-index: 1;
  padding: 0 16px 16px;
  border: 0;
}

body.template-upgrade .sidebar .list-group-item {
  margin-top: 8px;
  border: 1px solid #dfe7f7;
  background: #f8fbff;
  color: var(--primary);
}

.itshams-upgrade-summary-page {
  display: grid;
  gap: 16px;
}

.itshams-upgrade-summary-hero {
  margin-bottom: 0;
}

.itshams-upgrade-summary-card {
  position: relative;
}

.itshams-upgrade-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--itshams-cyan));
}

.itshams-upgrade-summary-current {
  margin-bottom: 18px;
}

.itshams-upgrade-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.itshams-upgrade-summary-head span,
.itshams-upgrade-total-pill span {
  display: block;
  color: var(--text-lifted);
  font-size: 0.78rem;
  font-weight: 900;
}

.itshams-upgrade-summary-head h2 {
  margin: 4px 0 0;
  color: var(--itshams-ink);
  font-size: 1.16rem;
  font-weight: 950;
  line-height: 1.8;
}

.itshams-upgrade-total-pill {
  min-width: 210px;
  padding: 12px 16px;
  border: 1px solid rgba(22, 167, 189, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--itshams-cyan-soft), #ffffff);
  box-shadow: 0 14px 30px rgba(22, 167, 189, 0.1);
}

.itshams-upgrade-total-pill strong {
  display: block;
  margin-top: 5px;
  color: var(--primary);
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-upgrade-summary-table-wrap {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
}

body.template-upgrade .itshams-upgrade-summary-table {
  margin: 0;
  border: 0;
}

body.template-upgrade .itshams-upgrade-summary-table thead th {
  border: 0;
  background: linear-gradient(180deg, #f7faff, #eff5ff);
  color: var(--itshams-ink);
  font-size: 0.86rem;
  font-weight: 950;
}

body.template-upgrade .itshams-upgrade-summary-table tbody td {
  border-color: #eef2f8;
  background: #ffffff;
  font-weight: 850;
}

body.template-upgrade .itshams-upgrade-summary-table tbody tr:nth-child(even) td {
  background: #fbfcff;
}

.itshams-upgrade-change {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  line-height: 1.9;
}

.itshams-upgrade-change span {
  color: var(--text-accented);
}

.itshams-upgrade-change strong {
  color: var(--itshams-ink);
  font-weight: 950;
}

.itshams-upgrade-change i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.78rem;
}

.itshams-upgrade-price {
  color: var(--primary);
  font-weight: 950 !important;
}

body.template-upgrade .itshams-upgrade-summary-table .masspay-total td {
  background: #f8fbff;
  color: var(--text-accented);
  font-weight: 950;
}

body.template-upgrade .itshams-upgrade-summary-table .itshams-upgrade-discount td {
  color: var(--success-accented);
}

body.template-upgrade .itshams-upgrade-summary-table .itshams-upgrade-grand-total td {
  border-top: 1px solid rgba(22, 167, 189, 0.26);
  background: linear-gradient(135deg, #f1fffc, #f8fbff);
  color: var(--itshams-ink);
  font-size: 1rem;
}

body.template-upgrade .itshams-upgrade-summary-table .itshams-upgrade-grand-total td:last-child {
  color: var(--primary);
  font-size: 1.08rem;
}

.itshams-upgrade-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.itshams-upgrade-action-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff),
    repeating-linear-gradient(90deg, rgba(39, 54, 133, 0.025) 0, rgba(39, 54, 133, 0.025) 1px, transparent 1px, transparent 38px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.itshams-upgrade-action-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.itshams-upgrade-action-title i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--itshams-cyan));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(53, 69, 173, 0.16);
}

.itshams-upgrade-action-title h2 {
  margin: 0;
  color: var(--itshams-ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-upgrade-input-group .form-control,
.itshams-upgrade-payment-form .form-control,
.itshams-upgrade-payment-form .custom-select {
  min-height: 44px;
  border: 1px solid #cfdaf0;
  border-radius: 8px;
  background-color: #ffffff;
  color: var(--itshams-ink);
  font-weight: 850;
}

.itshams-upgrade-input-group .form-control {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

.itshams-upgrade-input-group .btn {
  min-height: 44px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  font-weight: 950;
}

.itshams-upgrade-input-group .btn-success {
  border-color: var(--success);
  background: linear-gradient(135deg, var(--success), var(--success-accented));
  box-shadow: 0 12px 24px rgba(0, 166, 62, 0.16);
}

.itshams-upgrade-input-group .btn-danger {
  border-color: var(--error);
  background: linear-gradient(135deg, var(--error), var(--error-accented));
  box-shadow: 0 12px 24px rgba(231, 0, 11, 0.14);
}

.itshams-upgrade-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

body.template-upgrade #btnOrderContinue {
  min-width: 150px;
  min-height: 44px;
  gap: 8px;
}

body.template-upgrade .alert {
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.9;
}

body.template-upgrade .sidebar .card-body a:not(.btn) {
  color: var(--primary);
  font-weight: 900;
}

@media (min-width: 992px) {
  body.template-upgrade .sidebar .card {
    position: sticky;
    top: 16px;
  }
}

@media (max-width: 991.98px) {
  .itshams-upgrade-package {
    grid-template-columns: 1fr;
  }

  .itshams-upgrade-package-action {
    padding: 12px;
  }

  .itshams-upgrade-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .itshams-upgrade-hero {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  body.template-upgrade .itshams-upgrade-card > .card-body {
    padding: 16px;
  }

  .itshams-upgrade-current {
    align-items: flex-start;
  }

  .itshams-upgrade-summary-head {
    align-items: stretch;
    flex-direction: column;
  }

  .itshams-upgrade-total-pill {
    min-width: 0;
  }

  .itshams-upgrade-input-group {
    display: grid;
    gap: 8px;
  }

  .itshams-upgrade-input-group .form-control,
  .itshams-upgrade-input-group .btn {
    width: 100%;
    border-radius: 8px;
  }

  .itshams-upgrade-submit,
  body.template-upgrade #btnOrderContinue {
    width: 100%;
  }
}

/* ===== ITShams Product Details Page ===== */
.itshams-product-detail-page {
  display: block;
}

.itshams-product-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(186, 200, 255, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 34, 79, 0.98), rgba(53, 69, 173, 0.9) 48%, rgba(22, 167, 189, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 48px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(39, 54, 133, 0.2);
}

.itshams-product-hero::before {
  content: "";
  position: absolute;
  inset: -52px auto auto 34px;
  width: 164px;
  height: 164px;
  border: 30px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
}

.itshams-product-hero::after {
  content: "";
  position: absolute;
  inset: auto 32% -80px auto;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.itshams-product-hero-icon,
.itshams-product-hero-copy,
.itshams-product-hero-actions {
  position: relative;
  z-index: 1;
}

.itshams-product-hero-icon {
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.65rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.itshams-product-eyebrow {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8fbfd;
  font-size: 0.82rem;
  font-weight: 950;
}

.itshams-product-hero h1 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 950;
  line-height: 1.75;
}

.itshams-product-hero p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.itshams-product-hero p span {
  direction: ltr;
  display: inline-flex;
  color: #ffffff;
}

.itshams-product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.itshams-product-hero-actions .btn,
.itshams-product-status {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 950;
  white-space: nowrap;
}

.itshams-product-status {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.itshams-product-hero-actions .btn-light {
  color: var(--primary-accented) !important;
  border-color: #ffffff;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.16);
}

.itshams-product-hero-actions .btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.46);
}

body.template-clientareaproductdetails .tab-content.margin-bottom > .tab-pane > .row,
body.template-clientareaproductdetails #tabOverview > .row {
  margin-right: -8px;
  margin-left: -8px;
}

body.template-clientareaproductdetails .tab-content.margin-bottom > .tab-pane > .row > [class*="col-"],
body.template-clientareaproductdetails #tabOverview > .row > [class*="col-"] {
  padding-right: 8px;
  padding-left: 8px;
}

body.template-clientareaproductdetails #tabOverview .card,
body.template-clientareaproductdetails #tabOverview .panel,
body.template-clientareaproductdetails #tabDownloads .card,
body.template-clientareaproductdetails #tabAddons .card,
body.template-clientareaproductdetails #tabChangepw .card,
body.template-clientareaproductdetails .product-details-tab-container,
body.template-clientareaproductdetails .sidebar .card {
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

body.template-clientareaproductdetails #tabOverview .card,
body.template-clientareaproductdetails #tabOverview .panel,
body.template-clientareaproductdetails #tabDownloads .card,
body.template-clientareaproductdetails #tabAddons .card,
body.template-clientareaproductdetails #tabChangepw .card {
  margin-bottom: 16px !important;
}

body.template-clientareaproductdetails .card-header,
body.template-clientareaproductdetails .panel-heading,
body.template-clientareaproductdetails .sidebar .card-header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-muted);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

body.template-clientareaproductdetails .card-title,
body.template-clientareaproductdetails .panel-title,
body.template-clientareaproductdetails .sidebar .card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--itshams-ink);
  font-size: 0.99rem;
  font-weight: 950;
}

body.template-clientareaproductdetails .card-body,
body.template-clientareaproductdetails .panel-body {
  padding: 20px;
}

body.template-clientareaproductdetails #cPanelPackagePanel .card-body,
body.template-clientareaproductdetails #PleskPackagePanel .card-body {
  min-height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.template-clientareaproductdetails .cpanel-package-details,
body.template-clientareaproductdetails .plesk-package-details {
  display: grid;
  gap: 6px;
  justify-items: center;
  margin-bottom: 16px;
}

body.template-clientareaproductdetails .cpanel-package-details em,
body.template-clientareaproductdetails .plesk-package-details em {
  color: var(--text-lifted);
  font-style: normal;
  font-weight: 850;
}

body.template-clientareaproductdetails .cpanel-package-details h4,
body.template-clientareaproductdetails .plesk-package-details h4 {
  color: var(--itshams-ink);
  font-size: 1.08rem;
  font-weight: 950;
}

body.template-clientareaproductdetails .cpanel-package-details a,
body.template-clientareaproductdetails .plesk-package-details a {
  direction: ltr;
  color: var(--primary);
  font-weight: 900;
}

body.template-clientareaproductdetails .cpanel-usage-stats .row,
body.template-clientareaproductdetails .plesk-usage-stats .row,
body.template-clientareaproductdetails #resourceusage .row {
  align-items: stretch;
}

body.template-clientareaproductdetails .cpanel-usage-stats .row > div,
body.template-clientareaproductdetails .plesk-usage-stats .row > div,
body.template-clientareaproductdetails #resourceusage .row .col-sm-6 {
  padding: 16px;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: #fbfcff;
}

body.template-clientareaproductdetails .cpanel-usage-stats strong,
body.template-clientareaproductdetails .plesk-usage-stats strong,
body.template-clientareaproductdetails #resourceusage h4 {
  color: var(--text-accented);
  font-size: 0.92rem;
  font-weight: 950;
}

body.template-clientareaproductdetails .usage-dial,
body.template-clientareaproductdetails .dial-usage {
  color: var(--primary) !important;
  font-weight: 950 !important;
}

body.template-clientareaproductdetails .limit-near {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary) !important;
  font-weight: 850;
}

body.template-clientareaproductdetails .cpanel-feature-row {
  justify-content: center;
  row-gap: 16px;
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a,
body.template-clientareaproductdetails .plesk-feature-row > div > a {
  min-height: 112px;
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 8px !important;
  padding: 14px 10px;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text-accented);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a,
body.template-clientareaproductdetails .plesk-feature-row > div > a,
body.template-clientareaproductdetails .cpanel-feature-row > div > a img,
body.template-clientareaproductdetails .plesk-feature-row > div > a img {
  isolation: isolate;
}

/* ===== Quick Shortcut Hover Cleanup ===== */
body.template-clientareaproductdetails .cpanel-feature-row > div > a::before,
body.template-clientareaproductdetails .plesk-feature-row > div > a::before,
body.template-clientareaproductdetails .cpanel-feature-row > div > a::after,
body.template-clientareaproductdetails .plesk-feature-row > div > a::after {
  display: none !important;
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a,
body.template-clientareaproductdetails .plesk-feature-row > div > a {
  background: #ffffff;
  color: var(--text-accented);
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a:hover,
body.template-clientareaproductdetails .cpanel-feature-row > div > a:focus,
body.template-clientareaproductdetails .plesk-feature-row > div > a:hover,
body.template-clientareaproductdetails .plesk-feature-row > div > a:focus {
  background: #f8fbff;
  border-color: var(--primary-200);
  color: var(--primary);
  box-shadow: 0 14px 30px rgba(39, 54, 133, 0.1);
  transform: none;
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a:hover img,
body.template-clientareaproductdetails .cpanel-feature-row > div > a:focus img,
body.template-clientareaproductdetails .plesk-feature-row > div > a:hover img,
body.template-clientareaproductdetails .plesk-feature-row > div > a:focus img {
  filter: drop-shadow(0 8px 14px rgba(39, 54, 133, 0.14));
  transform: scale(1.03);
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a::before,
body.template-clientareaproductdetails .plesk-feature-row > div > a::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(238, 243, 255, 0.96), rgba(255, 255, 255, 0.92) 56%, rgba(232, 251, 253, 0.72));
  transition: opacity 0.18s ease;
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a::after,
body.template-clientareaproductdetails .plesk-feature-row > div > a::after {
  content: "";
  position: absolute;
  inset: auto 14px 10px;
  height: 3px;
  opacity: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--itshams-cyan));
  transform: scaleX(0.35);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a:hover,
body.template-clientareaproductdetails .cpanel-feature-row > div > a:focus,
body.template-clientareaproductdetails .plesk-feature-row > div > a:hover,
body.template-clientareaproductdetails .plesk-feature-row > div > a:focus {
  background: #ffffff;
  border-color: var(--primary-200);
  color: var(--primary);
  box-shadow: 0 18px 36px rgba(39, 54, 133, 0.13);
  transform: translateY(-1px);
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a:hover::before,
body.template-clientareaproductdetails .cpanel-feature-row > div > a:focus::before,
body.template-clientareaproductdetails .plesk-feature-row > div > a:hover::before,
body.template-clientareaproductdetails .plesk-feature-row > div > a:focus::before,
body.template-clientareaproductdetails .cpanel-feature-row > div > a:hover::after,
body.template-clientareaproductdetails .cpanel-feature-row > div > a:focus::after,
body.template-clientareaproductdetails .plesk-feature-row > div > a:hover::after,
body.template-clientareaproductdetails .plesk-feature-row > div > a:focus::after {
  opacity: 1;
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a:hover::after,
body.template-clientareaproductdetails .cpanel-feature-row > div > a:focus::after,
body.template-clientareaproductdetails .plesk-feature-row > div > a:hover::after,
body.template-clientareaproductdetails .plesk-feature-row > div > a:focus::after {
  transform: scaleX(1);
}

body.template-clientareaproductdetails .cpanel-feature-row img,
body.template-clientareaproductdetails .plesk-feature-row img {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.12));
  transition: transform 0.18s ease, filter 0.18s ease;
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a:hover img,
body.template-clientareaproductdetails .cpanel-feature-row > div > a:focus img,
body.template-clientareaproductdetails .plesk-feature-row > div > a:hover img,
body.template-clientareaproductdetails .plesk-feature-row > div > a:focus img {
  filter: drop-shadow(0 12px 18px rgba(39, 54, 133, 0.18));
  transform: translateY(-2px) scale(1.04);
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a > :not(::before):not(::after),
body.template-clientareaproductdetails .plesk-feature-row > div > a > :not(::before):not(::after) {
  position: relative;
  z-index: 1;
}

body.template-clientareaproductdetails form .form-control,
body.template-clientareaproductdetails form .custom-select {
  min-height: 40px;
  border: 1px solid #dce5f3;
  border-radius: 8px;
  background-color: #ffffff;
  color: var(--text);
  font-weight: 800;
}

body.template-clientareaproductdetails form .form-control:focus,
body.template-clientareaproductdetails form .custom-select:focus {
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px rgba(69, 88, 200, 0.1);
}

body.template-clientareaproductdetails #tabOverview .card-body form,
body.template-clientareaproductdetails #tabOverview .panel-body form {
  width: 100%;
}

body.template-clientareaproductdetails #tabOverview .form-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

body.template-clientareaproductdetails #tabOverview .form-inline .form-control,
body.template-clientareaproductdetails #tabOverview .form-inline .custom-select,
body.template-clientareaproductdetails #tabOverview .form-inline .btn {
  margin: 0 !important;
}

body.template-clientareaproductdetails #tabOverview .input-group {
  overflow: hidden;
  border: 1px solid #dce5f3;
  border-radius: 8px;
  background: #ffffff;
}

body.template-clientareaproductdetails #tabOverview .input-group .form-control,
body.template-clientareaproductdetails #tabOverview .input-group .input-group-text,
body.template-clientareaproductdetails #tabOverview .input-group .btn {
  border: 0;
  box-shadow: none;
}

body.template-clientareaproductdetails #tabOverview table,
body.template-clientareaproductdetails #tabOverview .table {
  margin-bottom: 0;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  overflow: hidden;
}

body.template-clientareaproductdetails #tabOverview table td,
body.template-clientareaproductdetails #tabOverview table th,
body.template-clientareaproductdetails #tabOverview .table td,
body.template-clientareaproductdetails #tabOverview .table th {
  padding: 11px 12px;
  border-color: var(--border-muted);
}

body.template-clientareaproductdetails #tabOverview .card-body > .row:not(.cpanel-feature-row):not(.plesk-feature-row) {
  align-items: center;
}

body.template-clientareaproductdetails #tabOverview .card-body > .row:not(.cpanel-feature-row):not(.plesk-feature-row) + .row {
  margin-top: 10px;
}

body.template-clientareaproductdetails .btn {
  border-radius: 8px;
  font-weight: 900;
}

body.template-clientareaproductdetails .responsive-tabs-sm {
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 0;
  border: 0;
}

body.template-clientareaproductdetails .responsive-tabs-sm .nav-link {
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text-accented);
  font-weight: 900;
}

body.template-clientareaproductdetails .responsive-tabs-sm .nav-link.active,
body.template-clientareaproductdetails .responsive-tabs-sm .nav-link:hover,
body.template-clientareaproductdetails .responsive-tabs-sm .nav-link:focus {
  border-color: var(--primary-200);
  background: var(--primary-50);
  color: var(--primary);
}

body.template-clientareaproductdetails .responsive-tabs-sm-connector {
  display: none;
}

body.template-clientareaproductdetails .product-details-tab-container {
  margin-top: 12px;
  padding: 22px;
}

body.template-clientareaproductdetails .product-details-tab-container .row {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-muted);
}

body.template-clientareaproductdetails .product-details-tab-container .row:last-child {
  border-bottom: 0;
}

body.template-clientareaproductdetails .product-details-tab-container strong {
  color: var(--itshams-ink);
  font-weight: 950;
}

body.template-clientareaproductdetails .product-status {
  border-radius: 8px;
}

body.template-clientareaproductdetails div.product-details div.product-icon {
  min-height: 220px;
  justify-content: center;
  background: linear-gradient(180deg, #fbfcff, #eef3ff);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
}

body.template-clientareaproductdetails div.product-details div.product-icon h3 {
  margin: 0;
  color: var(--itshams-ink);
  font-weight: 950;
}

body.template-clientareaproductdetails div.product-details div.product-icon h4 {
  color: var(--text-lifted);
  font-size: 0.95rem;
  font-weight: 850;
}

body.template-clientareaproductdetails .product-status-text {
  border-radius: 0 0 8px 8px;
  font-weight: 950;
}

body.template-clientareaproductdetails .product-actions-wrapper {
  row-gap: 8px;
}

body.template-clientareaproductdetails .sidebar .card {
  margin-bottom: 14px;
}

body.template-clientareaproductdetails .sidebar .list-group-item {
  min-height: 44px;
  padding: 11px 16px;
  border-color: var(--border-muted);
  color: var(--text-accented);
  font-weight: 850;
}

body.template-clientareaproductdetails .sidebar .list-group-item.active,
body.template-clientareaproductdetails .sidebar .list-group-item:hover,
body.template-clientareaproductdetails .sidebar .list-group-item:focus {
  background: var(--primary-50);
  color: var(--primary);
}

body.template-clientareaproductdetails .sidebar .card-body {
  padding: 18px;
}

/* ===== Product Details Main Cards Refinement ===== */
body.template-clientareaproductdetails #cPanelPackagePanel,
body.template-clientareaproductdetails #PleskPackagePanel,
body.template-clientareaproductdetails #cPanelUsagePanel,
body.template-clientareaproductdetails #PleskUsagePanel {
  border-color: rgba(186, 200, 255, 0.72);
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.09);
}

body.template-clientareaproductdetails #cPanelPackagePanel .card-header,
body.template-clientareaproductdetails #PleskPackagePanel .card-header,
body.template-clientareaproductdetails #cPanelUsagePanel .card-header,
body.template-clientareaproductdetails #PleskUsagePanel .card-header {
  min-height: 56px;
  background:
    linear-gradient(180deg, #ffffff, #f7f9ff);
  border-bottom-color: #dfe7ff;
}

body.template-clientareaproductdetails #cPanelPackagePanel .card-header::before,
body.template-clientareaproductdetails #PleskPackagePanel .card-header::before,
body.template-clientareaproductdetails #cPanelUsagePanel .card-header::before,
body.template-clientareaproductdetails #PleskUsagePanel .card-header::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-inline-end: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--itshams-cyan));
  box-shadow: 0 0 0 5px rgba(69, 88, 200, 0.1);
}

body.template-clientareaproductdetails #cPanelPackagePanel .card-body,
body.template-clientareaproductdetails #PleskPackagePanel .card-body {
  min-height: 228px;
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  background:
    linear-gradient(135deg, rgba(238, 243, 255, 0.86), rgba(255, 255, 255, 0.96) 52%, rgba(232, 251, 253, 0.52)),
    repeating-linear-gradient(90deg, rgba(39, 54, 133, 0.035) 0, rgba(39, 54, 133, 0.035) 1px, transparent 1px, transparent 40px);
}

body.template-clientareaproductdetails #cPanelPackagePanel .card-body::before,
body.template-clientareaproductdetails #PleskPackagePanel .card-body::before {
  display: none;
}

body.template-clientareaproductdetails .itshams-service-panel-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(186, 200, 255, 0.85);
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary);
  font-size: 1.45rem;
  box-shadow: 0 16px 34px rgba(39, 54, 133, 0.12);
}

body.template-clientareaproductdetails #cPanelPackagePanel .cpanel-package-details,
body.template-clientareaproductdetails #PleskPackagePanel .plesk-package-details {
  margin-bottom: 18px;
}

body.template-clientareaproductdetails #cPanelPackagePanel .cpanel-package-details em,
body.template-clientareaproductdetails #PleskPackagePanel .plesk-package-details em {
  max-width: 100%;
  display: inline-flex;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-lifted);
  font-size: 0.83rem;
}

body.template-clientareaproductdetails #cPanelPackagePanel .cpanel-package-details h4,
body.template-clientareaproductdetails #PleskPackagePanel .plesk-package-details h4 {
  margin-top: 2px !important;
  font-size: 1.16rem;
  line-height: 1.6;
}

body.template-clientareaproductdetails #cPanelPackagePanel .cpanel-package-details a,
body.template-clientareaproductdetails #PleskPackagePanel .plesk-package-details a {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--primary);
}

body.template-clientareaproductdetails #cPanelPackagePanel p,
body.template-clientareaproductdetails #PleskPackagePanel p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

body.template-clientareaproductdetails #cPanelPackagePanel p .btn,
body.template-clientareaproductdetails #PleskPackagePanel p .btn {
  min-width: 126px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 8px 12px;
  border-radius: 8px;
}

body.template-clientareaproductdetails #cPanelPackagePanel p .btn-success,
body.template-clientareaproductdetails #PleskPackagePanel p .btn-success {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 26px rgba(53, 69, 173, 0.2);
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats,
body.template-clientareaproductdetails .plesk-usage-stats {
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats .row,
body.template-clientareaproductdetails .plesk-usage-stats .row {
  gap: 14px;
  margin: 0;
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats .row > div,
body.template-clientareaproductdetails .plesk-usage-stats .row > div {
  flex: 1 1 0;
  max-width: none;
  min-height: 172px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 16px;
  border-color: rgba(186, 200, 255, 0.7);
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 26px rgba(15, 23, 42, 0.045);
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats .row > div::before,
body.template-clientareaproductdetails .plesk-usage-stats .row > div::before {
  display: none;
}

body.template-clientareaproductdetails .itshams-usage-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1rem;
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats strong,
body.template-clientareaproductdetails .plesk-usage-stats strong {
  order: -1;
  color: var(--itshams-ink);
  font-size: 0.94rem;
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats br,
body.template-clientareaproductdetails .plesk-usage-stats br {
  display: none;
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats canvas,
body.template-clientareaproductdetails .plesk-usage-stats canvas {
  margin: 2px 0;
}

body.template-clientareaproductdetails .itshams-usage-meta {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

body.template-clientareaproductdetails .itshams-usage-meta span {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: #ffffff;
}

body.template-clientareaproductdetails .itshams-usage-meta small {
  color: var(--text-lifted);
  font-size: 0.72rem;
  font-weight: 850;
}

body.template-clientareaproductdetails .itshams-usage-meta b {
  direction: ltr;
  color: var(--itshams-ink);
  font-size: 0.86rem;
  font-weight: 950;
}

/* ===== Product Usage Full Width Layout ===== */
body.template-clientareaproductdetails #cPanelUsagePanel,
body.template-clientareaproductdetails #PleskUsagePanel {
  width: 100%;
}

body.template-clientareaproductdetails #cPanelUsagePanel .card-body,
body.template-clientareaproductdetails #PleskUsagePanel .card-body {
  padding: 24px;
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats .row,
body.template-clientareaproductdetails #PleskUsagePanel .plesk-usage-stats .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats .row > div,
body.template-clientareaproductdetails #PleskUsagePanel .plesk-usage-stats .row > div {
  min-height: 228px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "icon title"
    "gauge percent"
    "gauge meta";
  column-gap: 18px;
  row-gap: 10px;
  align-items: center;
  justify-items: stretch;
  padding: 22px;
}

body.template-clientareaproductdetails #cPanelUsagePanel .itshams-usage-icon,
body.template-clientareaproductdetails #PleskUsagePanel .itshams-usage-icon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  font-size: 1.08rem;
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats strong,
body.template-clientareaproductdetails #PleskUsagePanel .plesk-usage-stats strong {
  grid-area: title;
  justify-self: start;
  order: initial;
  font-size: 1rem;
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats canvas,
body.template-clientareaproductdetails #PleskUsagePanel .plesk-usage-stats canvas {
  grid-area: gauge;
  justify-self: center;
}

body.template-clientareaproductdetails #cPanelUsagePanel .usage-dial,
body.template-clientareaproductdetails #PleskUsagePanel .usage-dial {
  grid-area: gauge;
}

body.template-clientareaproductdetails .itshams-usage-percent {
  grid-area: percent;
  display: grid;
  gap: 4px;
  align-self: end;
  justify-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(186, 200, 255, 0.72);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
}

body.template-clientareaproductdetails .itshams-usage-percent b {
  direction: ltr;
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}

body.template-clientareaproductdetails .itshams-usage-percent small {
  color: var(--text-lifted);
  font-size: 0.78rem;
  font-weight: 850;
}

body.template-clientareaproductdetails #cPanelUsagePanel .itshams-usage-meta,
body.template-clientareaproductdetails #PleskUsagePanel .itshams-usage-meta {
  grid-area: meta;
  align-self: start;
  margin-top: 0;
}

body.template-clientareaproductdetails #cPanelUsagePanel .itshams-usage-meta span,
body.template-clientareaproductdetails #PleskUsagePanel .itshams-usage-meta span {
  min-height: 68px;
  align-content: center;
}

body.template-clientareaproductdetails #cPanelUsagePanel .itshams-usage-meta small,
body.template-clientareaproductdetails #PleskUsagePanel .itshams-usage-meta small {
  font-size: 0.76rem;
}

body.template-clientareaproductdetails #cPanelUsagePanel .itshams-usage-meta b,
body.template-clientareaproductdetails #PleskUsagePanel .itshams-usage-meta b {
  font-size: 0.94rem;
}

@media (max-width: 991.98px) {
  body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats .row,
  body.template-clientareaproductdetails #PleskUsagePanel .plesk-usage-stats .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats .row > div,
  body.template-clientareaproductdetails #PleskUsagePanel .plesk-usage-stats .row > div {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "title"
      "gauge"
      "percent"
      "meta";
    justify-items: center;
  }

  body.template-clientareaproductdetails .itshams-usage-percent {
    justify-items: center;
    text-align: center;
  }
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats .limit-near,
body.template-clientareaproductdetails .plesk-usage-stats .limit-near {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  background: #eef3ff;
}

/* ===== Usage Panel Header and Gauge Number Polish ===== */
body.template-clientareaproductdetails #cPanelUsagePanel .card-header,
body.template-clientareaproductdetails #PleskUsagePanel .card-header {
  justify-content: flex-start;
  gap: 10px;
}

body.template-clientareaproductdetails #cPanelUsagePanel .card-header::before,
body.template-clientareaproductdetails #PleskUsagePanel .card-header::before {
  flex: 0 0 9px;
  margin-inline-end: 0;
}

body.template-clientareaproductdetails #cPanelUsagePanel .card-title,
body.template-clientareaproductdetails #PleskUsagePanel .card-title {
  order: 2;
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats .row > div,
body.template-clientareaproductdetails #PleskUsagePanel .plesk-usage-stats .row > div {
  position: relative;
  grid-template-areas:
    "icon title"
    "gauge meta"
    "gauge meta";
}

body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats canvas,
body.template-clientareaproductdetails #PleskUsagePanel .plesk-usage-stats canvas {
  position: relative;
  z-index: 1;
}

body.template-clientareaproductdetails #cPanelUsagePanel .usage-dial,
body.template-clientareaproductdetails #PleskUsagePanel .usage-dial {
  z-index: 2;
  color: transparent !important;
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 950 !important;
}

body.template-clientareaproductdetails .itshams-usage-percent {
  grid-area: gauge;
  align-self: center;
  justify-self: center;
  z-index: 3;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
  text-align: center;
}

body.template-clientareaproductdetails .itshams-usage-percent b {
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1;
}

body.template-clientareaproductdetails .itshams-usage-percent small {
  display: none;
}

/* ===== Product Details Email and Billing Panels ===== */
body.template-clientareaproductdetails #cPanelQuickEmailPanel,
body.template-clientareaproductdetails #cPanelBillingOverviewPanel,
body.template-clientareaproductdetails #PleskBillingOverviewPanel {
  border-color: rgba(186, 200, 255, 0.72);
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
}

body.template-clientareaproductdetails #cPanelQuickEmailPanel .card-header,
body.template-clientareaproductdetails #cPanelBillingOverviewPanel .card-header,
body.template-clientareaproductdetails #PleskBillingOverviewPanel .card-header {
  justify-content: flex-start;
  gap: 10px;
  min-height: 56px;
  border-bottom-color: #dfe7ff;
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
}

body.template-clientareaproductdetails #cPanelQuickEmailPanel .card-header::before,
body.template-clientareaproductdetails #cPanelBillingOverviewPanel .card-header::before,
body.template-clientareaproductdetails #PleskBillingOverviewPanel .card-header::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--itshams-cyan));
  box-shadow: 0 0 0 5px rgba(69, 88, 200, 0.1);
}

body.template-clientareaproductdetails #cPanelQuickEmailPanel .card-body {
  padding: 22px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92) 62%, rgba(232, 251, 253, 0.5)),
    repeating-linear-gradient(90deg, rgba(39, 54, 133, 0.035) 0, rgba(39, 54, 133, 0.035) 1px, transparent 1px, transparent 42px);
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-quick-email-form-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(220px, 0.9fr) minmax(150px, 0.5fr);
  gap: 14px;
  align-items: end;
  margin: 0;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-quick-email-form-row > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-field {
  display: grid;
  gap: 8px;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-field label {
  margin: 0;
  color: var(--text-accented);
  font-size: 0.82rem;
  font-weight: 950;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group,
body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon {
  min-height: 46px;
  overflow: hidden;
  border: 1px solid #d8e3f5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045);
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group {
  direction: ltr;
  flex-wrap: nowrap;
  margin: 0 !important;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .form-control {
  direction: ltr;
  text-align: left;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .input-group-text {
  min-width: 150px;
  justify-content: center;
  border: 0;
  background: #eef3ff;
  color: var(--text-accented);
  font-weight: 900;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .input-group-text small {
  direction: ltr;
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline-start: 13px;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon i {
  color: var(--primary);
  font-size: 0.92rem;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .form-control {
  min-height: 46px;
  margin: 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .form-control:focus {
  box-shadow: none;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group:focus-within,
body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon:focus-within {
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px rgba(69, 88, 200, 0.1), 0 14px 28px rgba(39, 54, 133, 0.08);
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-submit {
  align-self: end;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-submit .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-accented));
  box-shadow: 0 16px 30px rgba(53, 69, 173, 0.22);
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel .itshams-billing-card-body,
body.template-clientareaproductdetails #PleskBillingOverviewPanel .itshams-billing-card-body {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.9) 64%, rgba(232, 251, 253, 0.42)),
    repeating-linear-gradient(90deg, rgba(39, 54, 133, 0.028) 0, rgba(39, 54, 133, 0.028) 1px, transparent 1px, transparent 42px);
}

body.template-clientareaproductdetails .itshams-billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

body.template-clientareaproductdetails .itshams-billing-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: auto;
  max-width: none;
  padding: 0;
}

body.template-clientareaproductdetails .itshams-billing-column > .row {
  min-height: 82px;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: center;
  gap: 7px;
  margin: 0;
  padding: 14px 15px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
}

body.template-clientareaproductdetails .itshams-billing-column > .row > [class*="col-"] {
  width: auto;
  max-width: none;
  flex: none;
  padding: 0;
  text-align: right !important;
}

body.template-clientareaproductdetails .itshams-billing-column > .row > [class*="col-"]:first-child {
  color: var(--text-lifted);
  font-size: 0.78rem;
  font-weight: 850;
}

body.template-clientareaproductdetails .itshams-billing-column > .row > [class*="col-"]:last-child {
  direction: rtl;
  color: var(--itshams-ink);
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1.8;
}

body.template-clientareaproductdetails #firstPaymentAmount,
body.template-clientareaproductdetails #recurringAmount {
  border-color: rgba(186, 200, 255, 0.82);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

body.template-clientareaproductdetails #paymentMethod {
  grid-column: span 2;
}

body.template-clientareaproductdetails #paymentMethod > [class*="col-"]:last-child {
  max-width: 100%;
}

@media (max-width: 991.98px) {
  body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-quick-email-form-row,
  body.template-clientareaproductdetails .itshams-billing-grid,
  body.template-clientareaproductdetails .itshams-billing-column {
    grid-template-columns: 1fr;
  }

  body.template-clientareaproductdetails #paymentMethod {
    grid-column: auto;
  }
}

@media (max-width: 575.98px) {
  body.template-clientareaproductdetails #frmCreateEmailAccount .input-group {
    display: grid;
  }

  body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .input-group-text {
    width: 100%;
    min-width: 0;
  }
}

/* ===== Email and Billing Layout Cleanup ===== */
body.template-clientareaproductdetails #cPanelQuickEmailPanel .card-body,
body.template-clientareaproductdetails #cPanelBillingOverviewPanel .itshams-billing-card-body,
body.template-clientareaproductdetails #PleskBillingOverviewPanel .itshams-billing-card-body {
  padding: 18px 22px;
  background: #ffffff;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-quick-email-form-row {
  direction: rtl;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.72fr) 150px;
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #f8fbff;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-field {
  min-height: 72px;
  align-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-field label {
  color: var(--text-lifted);
  font-size: 0.76rem;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group,
body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon {
  min-height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  direction: ltr;
  align-items: center;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .form-control {
  direction: ltr;
  text-align: left;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .input-group-addon,
body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .input-group-append {
  width: auto;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .input-group-text {
  min-width: 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: #eef3ff;
  color: var(--text-lifted);
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .input-group-text small {
  max-width: 138px;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon {
  direction: rtl;
  padding: 0;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon i {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eef3ff;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon .form-control {
  direction: ltr;
  text-align: right;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-submit {
  display: flex;
  align-items: stretch;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-submit .btn {
  min-height: 72px;
  width: 100%;
  box-shadow: 0 12px 24px rgba(53, 69, 173, 0.18);
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel .itshams-billing-grid,
body.template-clientareaproductdetails #PleskBillingOverviewPanel .itshams-billing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #f8fbff;
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel .itshams-billing-column,
body.template-clientareaproductdetails #PleskBillingOverviewPanel .itshams-billing-column {
  display: contents;
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel .itshams-billing-column > .row,
body.template-clientareaproductdetails #PleskBillingOverviewPanel .itshams-billing-column > .row {
  min-height: 76px;
  gap: 5px;
  padding: 13px 14px;
  background: #ffffff;
  box-shadow: none;
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel #firstPaymentAmount,
body.template-clientareaproductdetails #PleskBillingOverviewPanel #firstPaymentAmount {
  order: 1;
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel #recurringAmount,
body.template-clientareaproductdetails #PleskBillingOverviewPanel #recurringAmount {
  order: 2;
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel #billingCycle,
body.template-clientareaproductdetails #PleskBillingOverviewPanel #billingCycle {
  order: 3;
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel #registrationDate,
body.template-clientareaproductdetails #PleskBillingOverviewPanel #registrationDate {
  order: 4;
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel #nextDueDate,
body.template-clientareaproductdetails #PleskBillingOverviewPanel #nextDueDate {
  order: 5;
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel .itshams-billing-column > .row > [class*="col-"]:last-child,
body.template-clientareaproductdetails #PleskBillingOverviewPanel .itshams-billing-column > .row > [class*="col-"]:last-child {
  font-size: 0.92rem;
  line-height: 1.65;
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel #firstPaymentAmount,
body.template-clientareaproductdetails #cPanelBillingOverviewPanel #recurringAmount,
body.template-clientareaproductdetails #PleskBillingOverviewPanel #firstPaymentAmount,
body.template-clientareaproductdetails #PleskBillingOverviewPanel #recurringAmount {
  background: #ffffff;
}

body.template-clientareaproductdetails #cPanelBillingOverviewPanel #paymentMethod,
body.template-clientareaproductdetails #PleskBillingOverviewPanel #paymentMethod {
  order: 6;
  grid-column: span 3;
  min-height: 70px;
}

/* ===== Quick Email Inputs Visibility ===== */
body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-field {
  border-color: #d8e3f5;
  background: #ffffff;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group,
body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon {
  min-height: 42px;
  padding: 3px;
  border: 1px solid #bfcdf8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 6px 16px rgba(39, 54, 133, 0.055);
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group:focus-within,
body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon:focus-within {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(69, 88, 200, 0.12), 0 10px 22px rgba(39, 54, 133, 0.1);
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .form-control,
body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon .form-control {
  width: 100% !important;
  min-width: 0;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--itshams-ink) !important;
  font-weight: 900;
}

body.template-clientareaproductdetails #frmCreateEmailAccount #cpanel-email-prefix,
body.template-clientareaproductdetails #frmCreateEmailAccount #cpanel-email-password {
  display: block;
  width: 100% !important;
  min-width: 0;
  color: var(--itshams-ink) !important;
  -webkit-text-fill-color: var(--itshams-ink);
  opacity: 1;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .form-control::placeholder,
body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon .form-control::placeholder {
  color: #8fa0bd;
  opacity: 1;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .input-group .input-group-text {
  min-height: 32px;
  border: 1px solid #dfe7f7;
  background: #eef3ff;
}

body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-email-input-icon i {
  flex: 0 0 32px;
}

@media (max-width: 991.98px) {
  body.template-clientareaproductdetails #frmCreateEmailAccount .itshams-quick-email-form-row,
  body.template-clientareaproductdetails #cPanelBillingOverviewPanel .itshams-billing-grid,
  body.template-clientareaproductdetails #PleskBillingOverviewPanel .itshams-billing-grid {
    grid-template-columns: 1fr;
  }

  body.template-clientareaproductdetails #cPanelBillingOverviewPanel #paymentMethod,
  body.template-clientareaproductdetails #PleskBillingOverviewPanel #paymentMethod {
    grid-column: auto;
  }
}

/* ===== Quick Shortcut Final Hover State ===== */
body.template-clientareaproductdetails .cpanel-feature-row > div > a::before,
body.template-clientareaproductdetails .plesk-feature-row > div > a::before,
body.template-clientareaproductdetails .cpanel-feature-row > div > a::after,
body.template-clientareaproductdetails .plesk-feature-row > div > a::after {
  content: none !important;
  display: none !important;
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a:hover,
body.template-clientareaproductdetails .cpanel-feature-row > div > a:focus,
body.template-clientareaproductdetails .plesk-feature-row > div > a:hover,
body.template-clientareaproductdetails .plesk-feature-row > div > a:focus {
  background: #f8fbff;
  border-color: var(--primary-200);
  color: var(--primary);
  box-shadow: 0 14px 30px rgba(39, 54, 133, 0.1);
  transform: none;
}

body.template-clientareaproductdetails .cpanel-feature-row > div > a:hover img,
body.template-clientareaproductdetails .cpanel-feature-row > div > a:focus img,
body.template-clientareaproductdetails .plesk-feature-row > div > a:hover img,
body.template-clientareaproductdetails .plesk-feature-row > div > a:focus img {
  filter: drop-shadow(0 8px 14px rgba(39, 54, 133, 0.14));
  transform: scale(1.03);
}

@media (max-width: 575.98px) {
  body.template-clientareaproductdetails #cPanelUsagePanel .cpanel-usage-stats .row > div,
  body.template-clientareaproductdetails #PleskUsagePanel .plesk-usage-stats .row > div {
    grid-template-areas:
      "icon"
      "title"
      "gauge"
      "meta";
  }
}

@media (max-width: 1199.98px) {
  .itshams-product-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .itshams-product-hero-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .itshams-product-hero {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .itshams-product-hero-icon {
    width: 56px;
    height: 56px;
  }

  .itshams-product-hero h1 {
    font-size: 1.25rem;
  }

  .itshams-product-hero-actions .btn,
  .itshams-product-status {
    width: 100%;
  }

  body.template-clientareaproductdetails .card-body,
  body.template-clientareaproductdetails .panel-body,
  body.template-clientareaproductdetails .product-details-tab-container {
    padding: 16px;
  }
}

/* ===== ITShams Services List Page ===== */
body.template-clientareaproducts .primary-content {
  position: relative;
}

.itshams-services-page {
  display: block;
}

.itshams-services-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(186, 200, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 34, 79, 0.96), rgba(53, 69, 173, 0.9) 48%, rgba(22, 167, 189, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 48px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(39, 54, 133, 0.19);
}

.itshams-services-hero::before {
  content: "";
  position: absolute;
  inset: -38px auto auto 34px;
  width: 152px;
  height: 152px;
  border: 28px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
}

.itshams-services-hero::after {
  content: "";
  position: absolute;
  inset: auto 30% -70px auto;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.itshams-services-hero-copy,
.itshams-services-hero-actions {
  position: relative;
  z-index: 1;
}

.itshams-services-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8fbfd;
  font-size: 0.82rem;
  font-weight: 950;
}

.itshams-services-hero h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.48rem;
  font-weight: 950;
  line-height: 1.8;
}

.itshams-services-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  line-height: 1.9;
}

.itshams-services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.itshams-services-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.itshams-services-hero-actions .btn-light {
  border-color: #ffffff;
  color: var(--primary-accented) !important;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.16);
}

.itshams-services-hero-actions .btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.46);
}

.itshams-services-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.itshams-services-summary-item {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.itshams-services-summary-item i {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1.1rem;
}

.itshams-services-summary-item span {
  color: var(--text-lifted);
  font-size: 0.84rem;
  font-weight: 850;
}

.itshams-services-summary-item strong,
.itshams-services-summary-item a {
  color: var(--itshams-ink);
  font-size: 1.05rem;
  font-weight: 950;
}

.itshams-services-summary-item a:hover,
.itshams-services-summary-item a:focus {
  color: var(--primary);
}

.itshams-services-table-card {
  overflow: visible;
  padding: 16px;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

body.template-clientareaproducts .dataTables_wrapper .listtable {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

body.template-clientareaproducts .dataTables_wrapper .dataTables_filter {
  grid-column: 1;
  float: none;
  margin: 0;
}

body.template-clientareaproducts .dataTables_wrapper .dataTables_filter label {
  width: min(360px, 100%);
  margin: 0;
}

body.template-clientareaproducts .dataTables_wrapper .dataTables_filter label .form-control {
  height: 42px;
  width: 100% !important;
  padding: 9px 42px 9px 14px;
  border: 1px solid #dce5f3;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

body.template-clientareaproducts .dataTables_wrapper .dataTables_filter::after {
  right: auto;
  inset-inline-start: 15px;
  color: var(--primary);
}

body.template-clientareaproducts .dataTables_wrapper .dataTables_info {
  grid-column: 2;
  float: none;
  margin: 0;
  color: var(--text-lifted);
  font-weight: 800;
}

body.template-clientareaproducts .dataTables_wrapper .dataTables_length {
  float: none;
  display: flex;
  justify-content: flex-end;
  margin: 12px 0 0;
  color: var(--text-accented);
  font-weight: 850;
}

body.template-clientareaproducts .dataTables_wrapper .dataTables_length label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

body.template-clientareaproducts .dataTables_wrapper .dataTables_length select {
  height: 38px;
  min-width: 72px;
  border-color: #dce5f3;
  border-radius: 8px;
  color: var(--text);
}

body.template-clientareaproducts .dataTables_wrapper table.table-list {
  grid-column: 1 / -1;
  overflow: hidden;
  margin: 0 !important;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: #ffffff;
}

body.template-clientareaproducts .dataTables_wrapper table.table-list thead th {
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--border-muted);
  background: linear-gradient(180deg, #fbfcff, #f4f7fd);
  color: var(--text-accented);
  font-size: 0.88rem;
  font-weight: 950;
  white-space: nowrap;
}

body.template-clientareaproducts .dataTables_wrapper table.table-list tbody td {
  padding: 15px 16px;
  vertical-align: middle;
  border-top: 0;
  border-bottom: 1px solid var(--border-muted);
  color: var(--text-accented);
}

body.template-clientareaproducts .dataTables_wrapper table.table-list tbody tr {
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

body.template-clientareaproducts .dataTables_wrapper table.table-list tbody tr:hover {
  background: linear-gradient(90deg, rgba(238, 243, 255, 0.9), rgba(255, 255, 255, 0.96));
  cursor: pointer;
}

body.template-clientareaproducts #tableServicesList td:nth-child(2) strong {
  color: var(--itshams-ink);
  font-size: 0.96rem;
  font-weight: 950;
}

body.template-clientareaproducts #tableServicesList td:nth-child(2) a {
  display: inline-flex;
  margin-top: 4px;
  color: var(--primary);
  font-weight: 800;
}

body.template-clientareaproducts #tableServicesList td:nth-child(3) {
  color: var(--itshams-ink);
  font-weight: 900;
}

body.template-clientareaproducts #tableServicesList td:nth-child(3) small,
body.template-clientareaproducts #tableServicesList td:nth-child(4) {
  color: var(--text-lifted) !important;
  font-weight: 800;
}

body.template-clientareaproducts #tableServicesList td:first-child img {
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--border-muted);
}

body.template-clientareaproducts .label.status {
  min-width: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
}

body.template-clientareaproducts .dataTables_wrapper .dataTables_paginate {
  float: none;
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

body.template-clientareaproducts .dataTables_wrapper .pagination {
  gap: 6px;
  margin: 0;
}

body.template-clientareaproducts .dataTables_wrapper .pagination .page-link {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: #dce5f3;
  border-radius: 8px;
  color: var(--text-accented);
  font-weight: 900;
}

body.template-clientareaproducts .dataTables_wrapper .pagination .active .page-link,
body.template-clientareaproducts .dataTables_wrapper .pagination .page-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

body.template-clientareaproducts .sidebar .card {
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

body.template-clientareaproducts .sidebar .card-header {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border-bottom: 1px solid var(--border-muted);
}

body.template-clientareaproducts .sidebar .card-title {
  color: var(--itshams-ink);
  font-size: 0.98rem;
  font-weight: 950;
}

body.template-clientareaproducts .sidebar .list-group {
  border-radius: 0;
}

body.template-clientareaproducts .sidebar .list-group-item {
  min-height: 44px;
  padding: 11px 16px;
  border-color: var(--border-muted);
  color: var(--text-accented);
  font-weight: 850;
}

body.template-clientareaproducts .sidebar .list-group-item.active,
body.template-clientareaproducts .sidebar .list-group-item:hover,
body.template-clientareaproducts .sidebar .list-group-item:focus {
  background: var(--primary-50);
  border-color: var(--primary-100);
  color: var(--primary);
}

body.template-clientareaproducts .sidebar .badge {
  min-width: 25px;
  border-radius: 6px;
  background: #eef3ff;
  color: var(--primary);
}

@media (max-width: 1199.98px) {
  .itshams-services-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .itshams-services-hero-actions {
    justify-content: flex-start;
  }

  .itshams-services-summary {
    grid-template-columns: 1fr;
  }

  body.template-clientareaproducts .dataTables_wrapper .listtable {
    grid-template-columns: 1fr;
  }

  body.template-clientareaproducts .dataTables_wrapper .dataTables_filter,
  body.template-clientareaproducts .dataTables_wrapper .dataTables_info,
  body.template-clientareaproducts .dataTables_wrapper .dataTables_length {
    grid-column: auto;
  }
}

@media (max-width: 767.98px) {
  .itshams-services-hero {
    padding: 22px 18px;
  }

  .itshams-services-hero h1 {
    font-size: 1.28rem;
  }

  .itshams-services-hero-actions .btn {
    width: 100%;
  }

  .itshams-services-table-card {
    padding: 10px;
  }

  body.template-clientareaproducts .dataTables_wrapper table.table-list tbody td {
    padding: 12px;
  }
}

/* ===== ITShams Client Dashboard ===== */
.itshams-client-dashboard {
  position: relative;
  display: block;
}

.itshams-dashboard-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
  padding: 26px 28px;
  overflow: hidden;
  border: 1px solid rgba(186, 200, 255, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(39, 54, 133, 0.95), rgba(53, 69, 173, 0.9) 48%, rgba(22, 167, 189, 0.86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 44px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(39, 54, 133, 0.2);
}

.itshams-dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 16px auto auto 24px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.itshams-dashboard-hero::after {
  content: "";
  position: absolute;
  inset: auto 22% -52px auto;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
}

.itshams-dashboard-hero-main,
.itshams-dashboard-hero-actions {
  position: relative;
  z-index: 1;
}

.itshams-dashboard-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8fbfd;
  font-size: 0.82rem;
  font-weight: 900;
}

.itshams-dashboard-hero h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-dashboard-hero p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  line-height: 1.9;
}

.itshams-dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.itshams-dashboard-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.itshams-dashboard-hero-actions .btn-light {
  border-color: #ffffff;
  color: #273685 !important;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.16);
}

.itshams-dashboard-hero-actions .btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.46);
}

.itshams-dashboard-tiles {
  margin-bottom: 22px !important;
}

.itshams-dashboard-tiles .row {
  gap: 14px;
}

.itshams-dashboard-tiles .row > [class*="col-"] {
  flex: 1 1 180px;
  max-width: none;
  padding: 0;
}

.itshams-dashboard-tiles .tile {
  min-height: 126px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  gap: 8px 14px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.itshams-dashboard-tiles .tile:hover,
.itshams-dashboard-tiles .tile:focus {
  background: #ffffff;
  border-color: var(--primary-200);
  box-shadow: 0 22px 48px rgba(39, 54, 133, 0.14);
  transform: translateY(-2px);
}

.itshams-dashboard-tiles .tile i {
  position: static;
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 8px;
  color: var(--primary);
  font-size: 1.55rem;
}

.itshams-dashboard-tiles .tile:hover i,
.itshams-dashboard-tiles .tile:focus i {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--itshams-cyan));
  font-size: 1.55rem;
}

.itshams-dashboard-tiles .tile .stat {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: var(--primary);
  font-size: 2.15rem;
  font-weight: 950;
  line-height: 1.1;
}

.itshams-dashboard-tiles .tile .title {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  color: var(--text-accented);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: none;
}

.itshams-dashboard-tiles .tile .highlight {
  grid-column: 1 / -1;
  grid-row: 3;
  height: 3px;
  margin: 6px 0 0;
  border-radius: 999px;
}

.itshams-dashboard-panels .row {
  margin-right: -8px;
  margin-left: -8px;
}

.itshams-dashboard-panels .row > [class*="col-"] {
  padding-right: 8px;
  padding-left: 8px;
}

.itshams-dashboard-panels .card,
.itshams-dashboard-panels .mc-promo-manage,
.itshams-dashboard-panels .mc-promo-login,
body.template-clientareahome .sidebar .card {
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.itshams-dashboard-panels .card {
  margin-bottom: 16px;
}

.itshams-dashboard-panels .card-header,
body.template-clientareahome .sidebar .card-header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border-bottom: 1px solid var(--border-muted);
}

.itshams-dashboard-panels .card-title,
body.template-clientareahome .sidebar .card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--itshams-ink);
  font-size: 0.98rem;
  font-weight: 950;
}

.itshams-dashboard-panels .card-title i,
body.template-clientareahome .sidebar .card-title i {
  color: var(--primary);
}

.itshams-dashboard-panels .card-header .float-right {
  order: 2;
  margin-inline-start: auto;
}

.itshams-dashboard-panels .card-header .btn,
.itshams-dashboard-panels .card-footer .btn,
body.template-clientareahome .sidebar .card .btn {
  border-radius: 8px;
  font-weight: 900;
}

.itshams-dashboard-panels .card-body {
  padding: 18px;
  color: var(--text-accented);
  line-height: 1.95;
}

.itshams-dashboard-panels .card-body p {
  padding: 0;
  margin-bottom: 10px;
}

.itshams-dashboard-panels .list-group {
  max-height: 230px;
  border: 0 !important;
}

.itshams-dashboard-panels .list-group .list-group-item,
body.template-clientareahome .sidebar .list-group .list-group-item {
  padding: 11px 16px;
  border-right: 0;
  border-left: 0;
  border-color: var(--border-muted);
  color: var(--text-accented);
  font-weight: 800;
}

.itshams-dashboard-panels .list-group .list-group-item:hover,
.itshams-dashboard-panels .list-group .list-group-item:focus,
body.template-clientareahome .sidebar .list-group .list-group-item:hover,
body.template-clientareahome .sidebar .list-group .list-group-item:focus {
  background: var(--primary-50);
  color: var(--primary);
}

.itshams-dashboard-panels .card-footer {
  padding: 12px 16px;
  background: #fbfcff;
  border-top: 1px solid var(--border-muted);
}

.itshams-dashboard-panels .card-footer:empty {
  display: none;
}

.itshams-dashboard-panels table {
  margin-bottom: 0;
}

.itshams-dashboard-panels table td,
.itshams-dashboard-panels table th {
  padding: 10px 12px;
  border-color: var(--border-muted);
}

.itshams-dashboard-panels .badge {
  border-radius: 6px;
  font-weight: 900;
}

body.template-clientareahome .sidebar .card {
  margin-bottom: 14px;
}

body.template-clientareahome .sidebar .card-body {
  padding: 18px;
}

body.template-clientareahome .sidebar .card-footer {
  background: #fbfcff;
  border-top: 1px solid var(--border-muted);
}

/* ===== ITShams Support Tickets List ===== */
body.template-supportticketslist .primary-content {
  position: relative;
}

.itshams-tickets-page {
  display: block;
}

.itshams-tickets-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(186, 200, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 34, 79, 0.96), rgba(53, 69, 173, 0.9) 48%, rgba(22, 167, 189, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 48px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(39, 54, 133, 0.19);
}

.itshams-tickets-hero::before {
  content: "";
  position: absolute;
  inset: -38px auto auto 34px;
  width: 152px;
  height: 152px;
  border: 28px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
}

.itshams-tickets-hero::after {
  content: "";
  position: absolute;
  inset: auto 30% -70px auto;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.itshams-tickets-hero-copy,
.itshams-tickets-hero-actions {
  position: relative;
  z-index: 1;
}

.itshams-tickets-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8fbfd;
  font-size: 0.82rem;
  font-weight: 950;
}

.itshams-tickets-hero h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.48rem;
  font-weight: 950;
  line-height: 1.8;
}

.itshams-tickets-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  line-height: 1.9;
}

.itshams-tickets-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.itshams-tickets-hero-actions .btn,
.itshams-tickets-table-head .btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 950;
  white-space: nowrap;
}

.itshams-tickets-hero-actions .btn-light {
  border-color: #ffffff;
  color: var(--primary-accented) !important;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.16);
}

.itshams-tickets-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.itshams-tickets-summary-item {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.itshams-tickets-summary-item i {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1.1rem;
}

.itshams-tickets-summary-item span {
  color: var(--text-lifted);
  font-size: 0.84rem;
  font-weight: 850;
}

.itshams-tickets-summary-item strong {
  overflow: hidden;
  color: var(--itshams-ink);
  font-size: 1.05rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.itshams-tickets-table-card {
  overflow: visible;
  padding: 16px;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.itshams-tickets-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.itshams-tickets-table-head span {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--text-lifted);
  font-size: 0.78rem;
  font-weight: 900;
}

.itshams-tickets-table-head h2 {
  margin: 0;
  color: var(--itshams-ink);
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-tickets-table-head .btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-accented));
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(53, 69, 173, 0.2);
}

body.template-supportticketslist .dataTables_wrapper .listtable {
  display: grid;
  grid-template-columns: auto minmax(16px, 1fr) minmax(320px, 460px);
  grid-template-areas:
    "info spacer filter"
    "table table table";
  gap: 14px 18px;
  align-items: center;
  margin: 4px 0 14px;
}

body.template-supportticketslist .dataTables_wrapper .dataTables_filter {
  position: relative;
  grid-area: filter;
  justify-self: end;
  width: min(460px, 100%);
  float: none;
  margin: 0;
}

body.template-supportticketslist .dataTables_wrapper .dataTables_filter label {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  font-size: 0;
}

body.template-supportticketslist .dataTables_wrapper .dataTables_filter label::before {
  content: "\f002";
  position: absolute;
  inset-inline-start: 15px;
  top: 50%;
  color: var(--primary);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transform: translateY(-50%);
  pointer-events: none;
}

body.template-supportticketslist .dataTables_wrapper .dataTables_filter input,
body.template-supportticketslist .dataTables_wrapper .dataTables_filter input[type="search"],
body.template-supportticketslist .dataTables_wrapper .dataTables_filter .itshams-ticket-search-input {
  display: block;
  height: 42px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 9px 42px 9px 14px !important;
  border: 1px solid #dce5f3;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 850;
  text-align: right;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

body.template-supportticketslist .dataTables_wrapper .dataTables_filter input:focus,
body.template-supportticketslist .dataTables_wrapper .dataTables_filter .itshams-ticket-search-input:focus {
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px rgba(69, 88, 200, 0.1), 0 10px 24px rgba(15, 23, 42, 0.045);
}

body.template-supportticketslist .dataTables_wrapper .dataTables_filter input::placeholder {
  color: #8fa0bd;
  opacity: 1;
}

body.template-supportticketslist .dataTables_wrapper .dataTables_info {
  grid-area: info;
  justify-self: start;
  float: none;
  margin: 0;
  color: var(--text-lifted);
  font-weight: 800;
}

body.template-supportticketslist .dataTables_wrapper .dataTables_length {
  float: none;
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

body.template-supportticketslist .dataTables_wrapper .dataTables_length label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-lifted);
  font-weight: 800;
}

body.template-supportticketslist .dataTables_wrapper .dataTables_length select {
  min-width: 58px;
  height: 38px;
  border: 1px solid #dce5f3;
  border-radius: 8px;
  color: var(--itshams-ink);
  font-weight: 900;
}

body.template-supportticketslist .dataTables_wrapper table.table-list {
  grid-area: table;
  overflow: hidden;
  width: 100% !important;
  margin: 0 0 14px !important;
  border: 1px solid #dfe7f7;
  border-collapse: separate;
  border-radius: 8px;
  border-spacing: 0;
  background: #ffffff;
}

body.template-supportticketslist .dataTables_wrapper table.table-list thead th {
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #dfe7f7;
  background: linear-gradient(180deg, #f7faff, #eff5ff);
  color: var(--itshams-ink);
  font-size: 0.86rem;
  font-weight: 950;
  white-space: nowrap;
}

body.template-supportticketslist .dataTables_wrapper table.table-list tbody td {
  padding: 15px 16px;
  border-color: #eef2f8;
  color: var(--text-accented);
  font-weight: 800;
  vertical-align: middle;
}

body.template-supportticketslist .dataTables_wrapper table.table-list tbody tr {
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.template-supportticketslist .dataTables_wrapper table.table-list tbody tr:hover {
  background: #f8fbff;
  box-shadow: inset 3px 0 0 var(--itshams-cyan);
  transform: translateY(-1px);
}

body.template-supportticketslist #tableTicketsList td:first-child {
  width: 24%;
}

body.template-supportticketslist #tableTicketsList td:nth-child(2) {
  width: 42%;
}

.itshams-ticket-department {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-accented);
  font-weight: 900;
}

.itshams-ticket-department::before {
  content: "\f590";
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.82rem;
}

.itshams-ticket-link {
  display: grid;
  gap: 3px;
  padding-inline-start: 14px;
  border-inline-start: 3px solid #dfe7f7;
  color: var(--primary);
  line-height: 1.8;
}

.itshams-ticket-link:hover,
.itshams-ticket-link:focus {
  color: var(--primary-accented);
}

.itshams-ticket-link .ticket-number {
  color: var(--text-lifted);
  font-size: 0.78rem;
  font-weight: 950;
}

.itshams-ticket-link .ticket-subject {
  color: var(--primary);
  font-size: 0.94rem;
  font-weight: 900;
}

.itshams-ticket-link .ticket-subject.unread {
  color: var(--itshams-ink);
  font-weight: 950;
}

.itshams-ticket-date {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #fbfcff;
  color: var(--text-accented);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

body.template-supportticketslist .label.status {
  min-width: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.2;
}

body.template-supportticketslist .label.status.status-open,
body.template-supportticketslist .label.status.status-customer-reply {
  background: var(--success) !important;
  color: #ffffff;
}

body.template-supportticketslist .label.status.status-answered,
body.template-supportticketslist .label.status.status-in-progress {
  background: var(--info) !important;
  color: #ffffff;
}

body.template-supportticketslist .label.status.status-on-hold {
  background: var(--warning) !important;
  color: #ffffff;
}

body.template-supportticketslist .label.status.status-closed {
  background: #64748b !important;
  color: #ffffff;
}

body.template-supportticketslist #tableLoading {
  padding: 28px;
  color: var(--text-lifted);
  font-weight: 900;
}

body.template-supportticketslist .dataTables_wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "top top"
    "paginate length";
  gap: 14px 18px;
  align-items: center;
}

body.template-supportticketslist .dataTables_wrapper > .listtable {
  grid-area: top;
}

body.template-supportticketslist .dataTables_wrapper .dataTables_paginate {
  grid-area: paginate;
  justify-self: start;
  float: none;
  display: flex;
  justify-content: flex-start;
  margin: 0;
}

body.template-supportticketslist .dataTables_wrapper > .dataTables_length {
  grid-area: length;
  justify-self: end;
}

body.template-supportticketslist .dataTables_wrapper .pagination {
  gap: 4px;
  margin: 0;
}

body.template-supportticketslist .dataTables_wrapper .pagination .page-link {
  min-width: 36px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  color: var(--text-accented);
  font-weight: 900;
}

body.template-supportticketslist .dataTables_wrapper .pagination .active .page-link,
body.template-supportticketslist .dataTables_wrapper .pagination .page-link:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

body.template-supportticketslist .sidebar .card {
  overflow: hidden;
  border: 1px solid rgba(186, 200, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

body.template-supportticketslist .sidebar .card-header {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-muted);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

body.template-supportticketslist .sidebar .card-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--itshams-ink);
  font-size: 0.98rem;
  font-weight: 950;
}

body.template-supportticketslist .sidebar .card-title > i:not(.card-minimise) {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

body.template-supportticketslist .sidebar .card-title .card-minimise {
  margin-inline-start: auto;
  color: var(--primary);
  font-size: 0.82rem;
}

body.template-supportticketslist .sidebar .list-group {
  padding: 10px;
  border: 0;
}

body.template-supportticketslist .sidebar .list-group-item {
  margin-bottom: 7px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-accented);
  font-weight: 850;
}

body.template-supportticketslist .sidebar .list-group-item.active,
body.template-supportticketslist .sidebar .list-group-item:hover,
body.template-supportticketslist .sidebar .list-group-item:focus {
  border-color: #dfe7f7;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  color: var(--primary);
}

body.template-supportticketslist .sidebar-menu-item-wrapper {
  display: flex;
  align-items: center;
  gap: 9px;
}

body.template-supportticketslist .sidebar-menu-item-icon-wrapper {
  color: var(--primary);
}

body.template-supportticketslist .sidebar-menu-item-badge {
  margin-inline-start: auto;
}

body.template-supportticketslist .sidebar .badge {
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary);
  font-weight: 950;
}

/* ===== ITShams Submit Ticket Department Page ===== */
.itshams-submit-ticket-page {
  display: block;
}

.itshams-submit-ticket-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(186, 200, 255, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 34, 79, 0.98), rgba(53, 69, 173, 0.9) 54%, rgba(22, 167, 189, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 48px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(39, 54, 133, 0.2);
}

.itshams-submit-ticket-hero::before {
  content: "";
  position: absolute;
  inset: -58px auto auto 34px;
  width: 168px;
  height: 168px;
  border: 30px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.itshams-submit-ticket-hero::after {
  content: "";
  position: absolute;
  inset: auto 32% -82px auto;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.itshams-submit-ticket-hero-icon,
.itshams-submit-ticket-hero-copy {
  position: relative;
  z-index: 1;
}

.itshams-submit-ticket-hero-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.55rem;
}

.itshams-submit-ticket-hero-copy span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 950;
}

.itshams-submit-ticket-hero-copy h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1.55;
}

.itshams-submit-ticket-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 2;
}

.itshams-submit-ticket-card {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.itshams-submit-ticket-card > .card-body {
  padding: 20px;
}

.itshams-submit-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2fa;
}

.itshams-submit-ticket-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-lifted);
  font-size: 0.78rem;
  font-weight: 950;
}

.itshams-submit-ticket-head h2 {
  margin: 0;
  color: var(--itshams-ink);
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.6;
}

.itshams-submit-ticket-head strong {
  min-width: 48px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 950;
}

.itshams-submit-ticket-departments {
  display: grid;
  gap: 12px;
}

.itshams-submit-ticket-department-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  color: var(--itshams-ink);
  text-decoration: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.itshams-submit-ticket-department-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--itshams-cyan));
  opacity: 0;
  transition: opacity 0.18s ease;
}

.itshams-submit-ticket-department-card:hover,
.itshams-submit-ticket-department-card:focus {
  border-color: rgba(53, 69, 173, 0.34);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  color: var(--itshams-ink);
  transform: translateY(-1px);
}

.itshams-submit-ticket-department-card:hover::before,
.itshams-submit-ticket-department-card:focus::before {
  opacity: 1;
}

.itshams-submit-ticket-department-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #eef3ff;
  color: var(--primary);
  font-size: 1.1rem;
}

.itshams-submit-ticket-department-card:nth-child(2n) .itshams-submit-ticket-department-icon {
  background: #e9fbfd;
  color: #0e8fa5;
}

.itshams-submit-ticket-department-card:nth-child(3n) .itshams-submit-ticket-department-icon {
  background: #fff7e6;
  color: #b7791f;
}

.itshams-submit-ticket-department-copy {
  display: grid;
  gap: 5px;
}

.itshams-submit-ticket-department-copy strong {
  color: var(--itshams-ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-submit-ticket-department-copy small {
  color: var(--text-accented);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.9;
}

.itshams-submit-ticket-department-action {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f3f6ff;
  color: var(--primary);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.itshams-submit-ticket-department-card:hover .itshams-submit-ticket-department-action,
.itshams-submit-ticket-department-card:focus .itshams-submit-ticket-department-action {
  background: var(--primary);
  color: #ffffff;
  transform: translateX(-2px);
}

body.template-supportticketsubmit-stepone .sidebar .card {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
}

body.template-supportticketsubmit-stepone .sidebar .card-header {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2fa;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

body.template-supportticketsubmit-stepone .sidebar .card-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--itshams-ink);
  font-size: 0.96rem;
  font-weight: 950;
}

body.template-supportticketsubmit-stepone .sidebar .card-title > i:not(.card-minimise) {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

body.template-supportticketsubmit-stepone .sidebar .card-title .card-minimise {
  margin-inline-start: auto;
  color: var(--primary);
  font-size: 0.82rem;
}

body.template-supportticketsubmit-stepone .sidebar .list-group {
  padding: 8px;
  border: 0;
}

body.template-supportticketsubmit-stepone .sidebar .list-group-item {
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-accented);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.8;
}

body.template-supportticketsubmit-stepone .sidebar .list-group-item.active,
body.template-supportticketsubmit-stepone .sidebar .list-group-item:hover,
body.template-supportticketsubmit-stepone .sidebar .list-group-item:focus {
  border-color: #dfe7f7;
  background: #f8fbff;
  color: var(--primary);
}

/* ===== ITShams Submit Ticket Form Page ===== */
.itshams-submit-ticket-form-page {
  display: block;
}

.itshams-submit-ticket-form-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(186, 200, 255, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 34, 79, 0.98), rgba(53, 69, 173, 0.9) 54%, rgba(22, 167, 189, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 48px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(39, 54, 133, 0.2);
}

.itshams-submit-ticket-form-hero::before {
  content: "";
  position: absolute;
  inset: -58px auto auto 34px;
  width: 168px;
  height: 168px;
  border: 30px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.itshams-submit-ticket-form-hero::after {
  content: "";
  position: absolute;
  inset: auto 32% -82px auto;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.itshams-submit-ticket-form-hero-icon,
.itshams-submit-ticket-form-hero-copy {
  position: relative;
  z-index: 1;
}

.itshams-submit-ticket-form-hero-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.55rem;
}

.itshams-submit-ticket-form-hero-copy span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 950;
}

.itshams-submit-ticket-form-hero-copy h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1.55;
}

.itshams-submit-ticket-form-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 2;
}

.itshams-submit-ticket-form-card {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.itshams-submit-ticket-form-card > .card-body {
  padding: 20px;
}

.itshams-submit-ticket-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2fa;
}

.itshams-submit-ticket-form-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-lifted);
  font-size: 0.78rem;
  font-weight: 950;
}

.itshams-submit-ticket-form-head h2 {
  margin: 0;
  color: var(--itshams-ink);
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.6;
}

.itshams-submit-ticket-form-head strong {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--primary);
  font-size: 1rem;
}

.itshams-submit-ticket-section {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #edf2fa;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.itshams-submit-ticket-section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--itshams-ink);
  font-size: 0.92rem;
  font-weight: 950;
}

.itshams-submit-ticket-section-title i {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

.itshams-submit-ticket-fields {
  margin-right: -8px;
  margin-left: -8px;
}

.itshams-submit-ticket-fields > [class*="col-"] {
  padding-right: 8px;
  padding-left: 8px;
}

.itshams-submit-ticket-form-page .form-group {
  margin-bottom: 14px;
}

.itshams-submit-ticket-form-page label {
  margin-bottom: 7px;
  color: var(--text-accented);
  font-size: 0.82rem;
  font-weight: 900;
}

.itshams-submit-ticket-form-page .form-control,
.itshams-submit-ticket-form-page .custom-file-label {
  min-height: 42px;
  border-color: #d8e3f6;
  border-radius: 8px;
  background-color: #fbfdff;
  color: var(--itshams-ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.itshams-submit-ticket-form-page .form-control:focus,
.itshams-submit-ticket-form-page .custom-file-input:focus ~ .custom-file-label {
  border-color: rgba(53, 69, 173, 0.44);
  box-shadow: 0 0 0 3px rgba(53, 69, 173, 0.1);
}

.itshams-submit-ticket-form-page input[disabled] {
  background: #eef2f7;
  color: var(--text-accented);
}

.itshams-submit-ticket-message-section {
  padding-bottom: 18px;
}

.itshams-submit-ticket-form-page .markdown-editor,
.itshams-submit-ticket-form-page .CodeMirror,
.itshams-submit-ticket-form-page .editor-toolbar {
  border-color: #d8e3f6;
}

.itshams-submit-ticket-form-page .CodeMirror {
  min-height: 285px;
  border-radius: 0 0 8px 8px;
  color: var(--itshams-ink);
  font-size: 0.9rem;
}

.itshams-submit-ticket-form-page .editor-toolbar {
  border-radius: 8px 8px 0 0;
  background: #fbfdff;
}

.itshams-submit-ticket-upload-section .attachment-group {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.itshams-submit-ticket-upload-section .custom-file {
  min-width: 0;
}

.itshams-submit-ticket-upload-section .input-group-append {
  margin-right: 0;
}

.itshams-submit-ticket-upload-section #btnTicketAttachmentsAdd,
.itshams-submit-ticket-actions .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  font-weight: 950;
}

.itshams-submit-ticket-upload-section #btnTicketAttachmentsAdd {
  border-color: #d8e3f6;
  background: #ffffff;
  color: var(--itshams-ink);
}

.itshams-submit-ticket-file-note {
  margin-top: 8px;
  color: var(--text-lifted) !important;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.8;
}

.itshams-submit-ticket-form-page #customFieldsContainer:not(:empty) {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #edf2fa;
  border-radius: 8px;
  background: #ffffff;
}

.itshams-submit-ticket-form-page #autoAnswerSuggestions:not(.w-hidden) {
  margin-bottom: 18px;
}

.itshams-submit-ticket-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 4px;
}

.itshams-submit-ticket-actions .btn {
  min-width: 112px;
  padding: 10px 18px;
}

.itshams-submit-ticket-actions .btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-accented));
  box-shadow: 0 14px 28px rgba(53, 69, 173, 0.2);
}

body.template-supportticketsubmit-steptwo .sidebar .card {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
}

body.template-supportticketsubmit-steptwo .sidebar .card-header {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2fa;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

body.template-supportticketsubmit-steptwo .sidebar .card-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--itshams-ink);
  font-size: 0.96rem;
  font-weight: 950;
}

body.template-supportticketsubmit-steptwo .sidebar .card-title > i:not(.card-minimise) {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

body.template-supportticketsubmit-steptwo .sidebar .card-title .card-minimise {
  margin-inline-start: auto;
  color: var(--primary);
  font-size: 0.82rem;
}

body.template-supportticketsubmit-steptwo .sidebar .list-group {
  padding: 8px;
  border: 0;
}

body.template-supportticketsubmit-steptwo .sidebar .list-group-item {
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-accented);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.8;
}

body.template-supportticketsubmit-steptwo .sidebar .list-group-item.active,
body.template-supportticketsubmit-steptwo .sidebar .list-group-item:hover,
body.template-supportticketsubmit-steptwo .sidebar .list-group-item:focus {
  border-color: #dfe7f7;
  background: #f8fbff;
  color: var(--primary);
}

/* ===== ITShams Support Contracts Page ===== */
.itshams-support-contract-page {
  display: grid;
  gap: 16px;
}

.itshams-support-contract-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 24px 26px;
  border: 1px solid rgba(186, 200, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 34, 79, 0.97), rgba(53, 69, 173, 0.9) 52%, rgba(22, 167, 189, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 48px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(39, 54, 133, 0.18);
}

.itshams-support-contract-hero::before {
  content: "";
  position: absolute;
  inset: -58px auto auto 36px;
  width: 170px;
  height: 170px;
  border: 30px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
}

.itshams-support-contract-hero::after {
  content: "";
  position: absolute;
  inset: auto 31% -82px auto;
  width: 214px;
  height: 214px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
}

.itshams-support-contract-hero-icon,
.itshams-support-contract-hero-copy,
.itshams-support-contract-hero-actions {
  position: relative;
  z-index: 1;
}

.itshams-support-contract-hero-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.55rem;
}

.itshams-support-contract-hero-copy span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8fbfd;
  font-size: 0.82rem;
  font-weight: 950;
}

.itshams-support-contract-hero h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.48rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-support-contract-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  line-height: 1.9;
}

.itshams-support-contract-hero-actions {
  display: flex;
  justify-content: flex-end;
}

.itshams-support-contract-hero-actions .btn,
.itshams-support-contract-state .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-weight: 950;
  white-space: nowrap;
}

.itshams-support-contract-hero-actions .btn {
  border: 0;
  color: var(--primary);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.itshams-support-contract-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.itshams-support-contract-summary-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  min-height: 86px;
  padding: 16px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.055);
}

.itshams-support-contract-summary-card span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1.08rem;
}

.itshams-support-contract-summary-card:nth-child(2) span {
  background: #e9fbfd;
  color: #0e8fa5;
}

.itshams-support-contract-summary-card:nth-child(3) span {
  background: #fff7e6;
  color: #b7791f;
}

.itshams-support-contract-summary-card small {
  color: var(--text-accented);
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.7;
}

.itshams-support-contract-summary-card strong {
  color: var(--itshams-ink);
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-support-contract-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.itshams-support-contract-state-danger {
  border: 1px solid #ffd2d9;
  background: linear-gradient(135deg, #fff5f6, #ffffff);
}

.itshams-support-contract-state-success {
  border: 1px solid #bfeeda;
  background: linear-gradient(135deg, #f2fff9, #ffffff);
}

.itshams-support-contract-state-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.15rem;
}

.itshams-support-contract-state-danger .itshams-support-contract-state-icon {
  background: #ffe8ec;
  color: #d92d47;
}

.itshams-support-contract-state-success .itshams-support-contract-state-icon {
  background: #e4fff1;
  color: #16865a;
}

.itshams-support-contract-state strong {
  display: block;
  margin-bottom: 3px;
  color: var(--itshams-ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.8;
}

.itshams-support-contract-state p {
  margin: 0;
  color: var(--text-accented);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.9;
}

.itshams-support-contract-state .btn {
  border: 0;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.itshams-support-contract-depts,
.itshams-support-contract-table-depts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.itshams-support-contract-depts {
  margin-top: 9px;
}

.itshams-support-contract-depts span,
.itshams-support-contract-table-depts span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #dfe7f7;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.6;
}

.itshams-support-contract-panel {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.itshams-support-contract-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid #edf2fa;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.itshams-support-contract-panel-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-accented);
  font-size: 0.78rem;
  font-weight: 900;
}

.itshams-support-contract-panel-head h2 {
  margin: 0;
  color: var(--itshams-ink);
  font-size: 1.1rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-support-contract-panel-head > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1rem;
}

.itshams-support-contract-table-wrap {
  margin: 0;
}

.itshams-support-contract-table {
  margin: 0;
  color: var(--itshams-ink);
}

.itshams-support-contract-table thead th {
  padding: 13px 14px;
  border-top: 0;
  border-bottom: 1px solid #dbe6f7;
  background: #f3f7ff;
  color: var(--itshams-ink);
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
}

.itshams-support-contract-table tbody td {
  padding: 15px 14px;
  vertical-align: middle;
  border-top: 1px solid #edf2fa;
  color: var(--text-accented);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.8;
}

.itshams-support-contract-table tbody tr:first-child td {
  border-top: 0;
}

.itshams-support-contract-table tbody tr:hover td {
  background: #fbfdff;
}

.itshams-support-contract-table tbody tr.is-muted td {
  color: #7d8ba0;
}

.itshams-support-contract-table td strong {
  display: block;
  color: var(--itshams-ink);
  font-weight: 950;
}

.itshams-support-contract-table td small {
  display: block;
  margin-top: 3px;
  color: var(--text-lifted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.8;
}

.itshams-support-contract-id {
  display: inline-flex;
  min-width: 42px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 950;
}

.itshams-support-contract-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.6;
}

.itshams-support-contract-badge-success {
  background: #e4fff1;
  color: #16865a;
}

.itshams-support-contract-badge-warning {
  background: #fff7e6;
  color: #9a6700;
}

.itshams-support-contract-badge-danger {
  background: #ffe8ec;
  color: #d92d47;
}

.itshams-support-contract-badge-info {
  background: #e9fbfd;
  color: #0e8fa5;
}

.itshams-support-contract-badge-default {
  background: #eef2f7;
  color: #64748b;
}

.itshams-support-contract-empty {
  min-height: 124px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
}

.itshams-support-contract-empty span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

.itshams-support-contract-empty strong {
  color: var(--itshams-ink);
  font-size: 0.96rem;
  font-weight: 950;
}

.itshams-support-contract-empty small {
  color: var(--text-accented);
  font-size: 0.8rem;
  font-weight: 800;
}

.itshams-support-contract-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  color: var(--text-accented);
  font-size: 0.82rem;
  font-weight: 850;
}

.itshams-support-contract-note i,
.itshams-support-contract-note a {
  color: var(--primary);
}

body.template-support_contract_overview .sidebar .card {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
}

body.template-support_contract_overview .sidebar .card-header {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2fa;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

body.template-support_contract_overview .sidebar .card-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--itshams-ink);
  font-size: 0.96rem;
  font-weight: 950;
}

body.template-support_contract_overview .sidebar .card-title > i:not(.card-minimise) {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

body.template-support_contract_overview .sidebar .card-title .card-minimise {
  margin-inline-start: auto;
  color: var(--primary);
  font-size: 0.82rem;
}

body.template-support_contract_overview .sidebar .list-group {
  padding: 8px;
  border: 0;
}

body.template-support_contract_overview .sidebar .list-group-item {
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-accented);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.8;
}

body.template-support_contract_overview .sidebar .list-group-item.active,
body.template-support_contract_overview .sidebar .list-group-item:hover,
body.template-support_contract_overview .sidebar .list-group-item:focus {
  border-color: #dfe7f7;
  background: #f8fbff;
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .itshams-support-contract-hero,
  .itshams-support-contract-state {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .itshams-support-contract-hero-actions,
  .itshams-support-contract-state .btn {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .itshams-support-contract-hero-actions .btn,
  .itshams-support-contract-state .btn {
    width: 100%;
  }

  .itshams-support-contract-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .itshams-support-contract-hero {
    padding: 20px;
  }

  .itshams-support-contract-hero h1 {
    font-size: 1.18rem;
  }

  .itshams-support-contract-panel-head {
    padding: 16px;
  }

  .itshams-support-contract-table {
    min-width: 0;
  }

  .itshams-support-contract-table thead {
    display: none;
  }

  .itshams-support-contract-table,
  .itshams-support-contract-table tbody,
  .itshams-support-contract-table tr,
  .itshams-support-contract-table td {
    display: block;
    width: 100%;
  }

  .itshams-support-contract-table tbody tr {
    margin: 12px;
    overflow: hidden;
    border: 1px solid #dfe7f7;
    border-radius: 8px;
    background: #ffffff;
  }

  .itshams-support-contract-table tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid #edf2fa;
    text-align: left;
  }

  .itshams-support-contract-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 38%;
    color: var(--itshams-ink);
    font-weight: 950;
    text-align: right;
  }

  .itshams-support-contract-table-depts {
    justify-content: flex-end;
  }
}

/* ===== ITShams Ticket View ===== */
body.template-viewticket .primary-content {
  position: relative;
}

.itshams-ticket-view-page {
  display: grid;
  gap: 16px;
}

.itshams-ticket-view-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  padding: 24px 26px;
  border: 1px solid rgba(186, 200, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 34, 79, 0.96), rgba(53, 69, 173, 0.9) 48%, rgba(22, 167, 189, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 48px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(39, 54, 133, 0.19);
}

.itshams-ticket-view-hero::before {
  content: "";
  position: absolute;
  inset: -42px auto auto 34px;
  width: 158px;
  height: 158px;
  border: 28px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
}

.itshams-ticket-view-hero::after {
  content: "";
  position: absolute;
  inset: auto 30% -76px auto;
  width: 204px;
  height: 204px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.itshams-ticket-view-hero-copy,
.itshams-ticket-view-actions {
  position: relative;
  z-index: 1;
}

.itshams-ticket-view-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8fbfd;
  font-size: 0.82rem;
  font-weight: 950;
}

.itshams-ticket-view-hero h1 {
  direction: ltr;
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.52rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-ticket-view-hero p {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  line-height: 1.9;
}

.itshams-ticket-view-hero p strong {
  color: #ffffff;
  font-weight: 950;
}

.itshams-ticket-view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.itshams-ticket-view-actions .btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 950;
  white-space: nowrap;
}

.itshams-ticket-view-actions .btn-light {
  border-color: #ffffff;
  color: var(--primary-accented) !important;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.16);
}

.itshams-ticket-view-actions .btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.46);
}

.itshams-ticket-thread-card,
.itshams-ticket-reply-card,
body.template-viewticket .sidebar .card {
  overflow: hidden;
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.itshams-ticket-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #dfe7f7;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.itshams-ticket-thread-head span {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--text-lifted);
  font-size: 0.78rem;
  font-weight: 900;
}

.itshams-ticket-thread-head h2 {
  margin: 0;
  color: var(--itshams-ink);
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.8;
}

.itshams-ticket-thread-head > strong {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(22, 167, 189, 0.22);
  border-radius: 8px;
  background: var(--itshams-cyan-soft);
  color: var(--primary);
  font-weight: 950;
}

.itshams-ticket-replies {
  position: relative;
  padding: 18px;
}

.itshams-ticket-replies::before {
  content: "";
  position: absolute;
  inset: 26px 36px 26px auto;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-100), var(--itshams-cyan-soft));
}

.itshams-ticket-reply-wrap {
  position: relative;
  padding: 0 26px 16px 0;
}

.itshams-ticket-reply-wrap::before {
  content: "";
  position: absolute;
  inset: 15px 13px auto auto;
  width: 14px;
  height: 14px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-50);
}

.itshams-ticket-reply {
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
}

.itshams-ticket-reply-staff {
  border-color: rgba(22, 167, 189, 0.28);
  background: linear-gradient(180deg, #ffffff, #fbfffe);
}

.itshams-ticket-posted-by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f8;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  color: var(--text-lifted);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.8;
}

.itshams-ticket-posted-by .posted-by-name {
  color: var(--itshams-ink);
  font-weight: 950;
}

.itshams-ticket-posted-by .posted-on {
  direction: ltr;
  color: var(--primary);
  font-weight: 900;
}

.itshams-ticket-rating-slot {
  display: inline-flex;
  align-items: center;
  margin-inline-start: auto;
}

body.template-viewticket .requestor-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
}

.itshams-ticket-message {
  min-height: 0 !important;
  height: auto !important;
  padding: 18px 20px;
  color: var(--text-accented);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 2.25;
}

body.template-viewticket .ticket-reply .message {
  min-height: 0 !important;
  height: auto !important;
  padding: 18px 20px !important;
}

.itshams-ticket-message p:last-child {
  margin-bottom: 0;
}

.itshams-ticket-message hr {
  margin: 18px 0 10px;
  border-color: #eef2f8;
}

body.template-viewticket .ticket-reply .rating,
body.template-viewticket .ticket-reply .rating-done {
  direction: rtl;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 30px;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
}

body.template-viewticket .ticket-reply .rating .star,
body.template-viewticket .ticket-reply .rating-done .star {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0;
  overflow: visible !important;
  border: 0;
  background: none !important;
  color: transparent;
  font-size: 0;
  line-height: 1;
  text-indent: 0 !important;
}

body.template-viewticket .ticket-reply .rating .star {
  cursor: pointer;
}

body.template-viewticket .ticket-reply .rating .star::before,
body.template-viewticket .ticket-reply .rating-done .star::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  background: #c9d4e7;
  clip-path: polygon(50% 0%, 61% 34%, 97% 34%, 68% 55%, 79% 90%, 50% 68%, 21% 90%, 32% 55%, 3% 34%, 39% 34%);
  transition: background-color 0.16s ease, transform 0.16s ease;
}

body.template-viewticket .ticket-reply .rating .star:hover::before,
body.template-viewticket .ticket-reply .rating .star:hover ~ .star::before,
body.template-viewticket .ticket-reply .rating .star.active::before,
body.template-viewticket .ticket-reply .rating-done .star.active::before {
  background: #f5b642;
}

body.template-viewticket .ticket-reply .rating .star:hover::before {
  transform: translateY(-1px) scale(1.08);
}

body.template-viewticket .ticket-reply .rating-done .rated {
  margin-right: 7px;
  padding-right: 9px;
  border-right: 1px solid #e6edf8;
  color: var(--text-lifted);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.6;
  white-space: nowrap;
}

.itshams-ticket-ip {
  direction: ltr;
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #fbfcff;
  color: var(--text-lifted);
  font-size: 0.82rem;
  font-weight: 900;
}

.itshams-ticket-attachments {
  padding: 14px 18px;
  border-top: 1px solid #eef2f8;
  background: #fbfcff;
}

.itshams-ticket-attachments > strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--itshams-ink);
  font-weight: 950;
}

.itshams-ticket-attachments .attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.itshams-ticket-attachments .attachment-list a,
.itshams-ticket-attachments .attachment-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 900;
}

.itshams-ticket-attachments figure {
  margin: 0;
}

.itshams-ticket-reply-card {
  margin-bottom: 0;
}

.itshams-ticket-reply-card > .card-body {
  padding: 20px;
}

.itshams-ticket-reply-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.itshams-ticket-reply-card-head i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--itshams-cyan));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(53, 69, 173, 0.16);
}

.itshams-ticket-reply-card-head .card-title {
  margin: 0;
  color: var(--itshams-ink);
  font-size: 1.08rem;
  font-weight: 950;
}

body.template-viewticket #frmReply label {
  color: var(--text-accented);
  font-size: 0.84rem;
  font-weight: 900;
}

body.template-viewticket #frmReply .form-control,
body.template-viewticket #frmReply .custom-file-label {
  min-height: 42px;
  border: 1px solid #cfdaf0;
  border-radius: 8px;
  background-color: #ffffff;
  color: var(--itshams-ink);
  font-weight: 850;
}

body.template-viewticket #frmReply .form-control:focus,
body.template-viewticket #frmReply .custom-file-input:focus ~ .custom-file-label {
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px rgba(69, 88, 200, 0.1);
}

body.template-viewticket #frmReply input[disabled] {
  background: #eef2f8;
  color: var(--text-accented);
  opacity: 1;
}

body.template-viewticket #frmReply .markdown-editor,
body.template-viewticket #frmReply .CodeMirror,
body.template-viewticket #frmReply .editor-toolbar {
  border-color: #dfe7f7;
}

body.template-viewticket #frmReply .CodeMirror {
  min-height: 300px;
  border-radius: 0 0 8px 8px;
  color: var(--text);
  font-family: 'Vazirmatn', sans-serif;
}

body.template-viewticket #frmReply .editor-toolbar {
  border-radius: 8px 8px 0 0;
  background: #fbfcff;
}

.itshams-ticket-upload .attachment-group {
  overflow: hidden;
  border-radius: 8px;
}

.itshams-ticket-upload .input-group-append .btn {
  min-height: 42px;
  border-radius: 8px 0 0 8px;
  font-weight: 950;
}

.itshams-ticket-reply-submit {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.itshams-ticket-reply-submit .btn {
  min-width: 94px;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 950;
}

.itshams-ticket-reply-submit .btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-accented));
  box-shadow: 0 14px 28px rgba(53, 69, 173, 0.2);
}

body.template-viewticket .sidebar .card {
  margin-bottom: 14px;
}

body.template-viewticket .sidebar .card-header {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-muted);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

body.template-viewticket .sidebar .card-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--itshams-ink);
  font-size: 0.98rem;
  font-weight: 950;
}

body.template-viewticket .sidebar .card-title > i:not(.card-minimise) {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

body.template-viewticket .sidebar .card-title .card-minimise {
  margin-inline-start: auto;
  color: var(--primary);
  font-size: 0.82rem;
}

body.template-viewticket .sidebar .card-body {
  padding: 16px;
  color: var(--text-accented);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 2;
}

body.template-viewticket .sidebar .card-body strong,
body.template-viewticket .sidebar .card-body .label {
  font-weight: 950;
}

body.template-viewticket .sidebar .btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  font-weight: 950;
}

body.template-viewticket .sidebar .btn-primary,
body.template-viewticket .sidebar .btn-default:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff !important;
}

body.template-viewticket .sidebar .btn-danger {
  border: 0;
  background: linear-gradient(135deg, #f87171, var(--error));
  color: #ffffff !important;
}

body.template-viewticket .sidebar .card[menuItemName="Ticket Information"],
body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

body.template-viewticket .sidebar .card[menuItemName="Ticket Information"] .card-header,
body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .card-header {
  min-height: 62px;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2fa;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

body.template-viewticket .sidebar .card[menuItemName="Ticket Information"] .card-body,
body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .card-body {
  padding: 0;
  text-align: right;
}

body.template-viewticket .itshams-ticket-info-list {
  display: grid;
  gap: 0;
}

body.template-viewticket .itshams-ticket-info-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid #edf2fa;
  border-radius: 0;
  background: transparent;
}

body.template-viewticket .itshams-ticket-info-label {
  color: var(--text-lifted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.5;
}

body.template-viewticket .itshams-ticket-info-value {
  color: var(--itshams-ink);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

body.template-viewticket .itshams-ticket-info-value .label {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-inline-start: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--primary);
  font-size: 0.7rem;
  line-height: 1;
}

body.template-viewticket .sidebar .card[menuItemName="Ticket Information"] .card-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid #edf2fa;
  background: #fbfdff;
}

body.template-viewticket .sidebar .card[menuItemName="Ticket Information"] .card-footer::before,
body.template-viewticket .sidebar .card[menuItemName="Ticket Information"] .card-footer::after {
  content: none;
}

body.template-viewticket .sidebar .card[menuItemName="Ticket Information"] .card-footer .btn {
  width: 100%;
  margin: 0;
  min-height: 42px;
  padding: 9px 12px;
  white-space: nowrap;
}

body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .card-body {
  padding: 14px;
}

body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .card-body form,
body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .card-body .input-group {
  width: 100%;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
}

body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .input-group .form-control,
body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .card-body .form-control {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 8px 12px;
  border-color: #dfe7f7;
  border-radius: 8px !important;
  background: #fbfdff;
  color: var(--itshams-ink);
  font-size: 0.84rem;
  font-weight: 800;
}

body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .input-group-btn,
body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .input-group-append {
  width: 100%;
  display: block;
}

body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .btn {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border-color: #dfe7f7;
  background: #ffffff;
  color: var(--itshams-ink) !important;
}

body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .btn:hover,
body.template-viewticket .sidebar .card[menuItemName="CC Recipients"] .btn:focus {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff !important;
}

body.template-viewticket .sidebar .list-group {
  padding: 10px;
  border: 0;
}

body.template-viewticket .sidebar .list-group-item {
  margin-bottom: 7px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-accented);
  font-weight: 850;
}

body.template-viewticket .sidebar .list-group-item.active,
body.template-viewticket .sidebar .list-group-item:hover,
body.template-viewticket .sidebar .list-group-item:focus {
  border-color: #dfe7f7;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  color: var(--primary);
}

body.template-viewticket .sidebar .card[menuItemName="Ticket Information"] .list-group {
  display: grid !important;
  gap: 0;
  padding: 0;
  border: 0;
}

body.template-viewticket .sidebar .card[menuItemName="Ticket Information"] .list-group-item.itshams-ticket-info-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  margin: 0;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid #edf2fa;
  border-radius: 0;
  background: transparent;
  color: var(--itshams-ink);
}

body.template-viewticket .sidebar .card[menuItemName="Ticket Information"] .list-group-item.itshams-ticket-info-item:hover,
body.template-viewticket .sidebar .card[menuItemName="Ticket Information"] .list-group-item.itshams-ticket-info-item:focus {
  border-bottom-color: #d7e3f6;
  background: #f8fbff;
  color: var(--itshams-ink);
}

@media (max-width: 1199.98px) {
  .itshams-dashboard-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .itshams-dashboard-hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .itshams-tickets-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .itshams-tickets-hero-actions {
    justify-content: flex-start;
  }

  .itshams-tickets-summary {
    grid-template-columns: 1fr;
  }

  .itshams-ticket-view-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .itshams-ticket-view-actions {
    justify-content: flex-start;
  }

  body.template-supportticketslist .dataTables_wrapper .listtable {
    grid-template-columns: 1fr;
    grid-template-areas:
      "filter"
      "info"
      "table";
  }

  body.template-supportticketslist .dataTables_wrapper {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "paginate"
      "length";
  }

  body.template-supportticketslist .dataTables_wrapper .dataTables_filter,
  body.template-supportticketslist .dataTables_wrapper .dataTables_info,
  body.template-supportticketslist .dataTables_wrapper .dataTables_length {
    justify-self: stretch;
    justify-content: flex-start;
  }

  body.template-supportticketslist .dataTables_wrapper .dataTables_filter,
  body.template-supportticketslist .dataTables_wrapper .dataTables_filter label {
    width: 100%;
  }

  body.template-supportticketslist .dataTables_wrapper .dataTables_paginate,
  body.template-supportticketslist .dataTables_wrapper > .dataTables_length {
    justify-self: stretch;
  }
}

@media (max-width: 767.98px) {
  .itshams-dashboard-hero {
    padding: 22px 18px;
  }

  .itshams-dashboard-hero h1 {
    font-size: 1.28rem;
  }

  .itshams-dashboard-hero-actions .btn {
    width: 100%;
  }

  .itshams-dashboard-tiles .row {
    gap: 10px;
  }

  .itshams-dashboard-tiles .row > [class*="col-"] {
    flex-basis: calc(50% - 5px);
  }

  .itshams-dashboard-tiles .tile {
    min-height: 118px;
    padding: 14px;
  }

  .itshams-dashboard-tiles .tile i {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .itshams-dashboard-tiles .tile .stat {
    font-size: 1.75rem;
  }

  .itshams-tickets-hero {
    padding: 22px 18px;
  }

  .itshams-tickets-hero h1 {
    font-size: 1.28rem;
  }

  .itshams-tickets-hero-actions .btn,
  .itshams-tickets-table-head .btn {
    width: 100%;
  }

  .itshams-tickets-table-head {
    align-items: stretch;
    flex-direction: column;
  }

  .itshams-tickets-table-card {
    padding: 12px;
  }

  body.template-supportticketslist .dataTables_wrapper table.table-list tbody td {
    padding: 12px;
  }

  .itshams-submit-ticket-hero,
  .itshams-submit-ticket-department-card {
    grid-template-columns: 1fr;
  }

  .itshams-submit-ticket-hero {
    padding: 22px 18px;
  }

  .itshams-submit-ticket-hero h1 {
    font-size: 1.28rem;
  }

  .itshams-submit-ticket-card > .card-body {
    padding: 16px;
  }

  .itshams-submit-ticket-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .itshams-submit-ticket-department-card {
    min-height: 0;
  }

  .itshams-submit-ticket-department-action {
    width: 100%;
  }

  .itshams-submit-ticket-form-hero {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .itshams-submit-ticket-form-hero h1 {
    font-size: 1.28rem;
  }

  .itshams-submit-ticket-form-card > .card-body {
    padding: 16px;
  }

  .itshams-submit-ticket-form-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .itshams-submit-ticket-section {
    padding: 14px;
  }

  .itshams-submit-ticket-upload-section .attachment-group {
    flex-direction: column;
  }

  .itshams-submit-ticket-upload-section .input-group-append,
  .itshams-submit-ticket-upload-section #btnTicketAttachmentsAdd {
    width: 100%;
  }

  .itshams-submit-ticket-actions {
    flex-direction: column;
  }

  .itshams-submit-ticket-actions .btn {
    width: 100%;
  }

  .itshams-ticket-view-hero {
    padding: 22px 18px;
  }

  .itshams-ticket-view-hero h1 {
    font-size: 1.28rem;
  }

  .itshams-ticket-view-actions .btn {
    width: 100%;
  }

  .itshams-ticket-thread-head {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .itshams-ticket-thread-head > strong {
    width: 100%;
  }

  .itshams-ticket-replies {
    padding: 14px 12px;
  }

  .itshams-ticket-replies::before,
  .itshams-ticket-reply-wrap::before {
    display: none;
  }

  .itshams-ticket-reply-wrap {
    padding: 0 0 12px;
  }

  .itshams-ticket-message {
    padding: 16px;
  }

  .itshams-ticket-reply-card > .card-body {
    padding: 16px;
  }

  .itshams-ticket-reply-submit {
    flex-direction: column;
  }

  .itshams-ticket-reply-submit .btn {
    width: 100%;
  }
}

/* ===== ITShams Announcements ===== */
.itshams-announcements-page,
.itshams-announcement-view-page {
  display: grid;
  gap: 16px;
}

.itshams-announcements-hero,
.itshams-announcement-view-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 24px 26px;
  border: 1px solid rgba(186, 200, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 34, 79, 0.97), rgba(53, 69, 173, 0.9) 52%, rgba(22, 167, 189, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 48px);
  color: #ffffff;
  box-shadow: 0 22px 52px rgba(39, 54, 133, 0.18);
}

.itshams-announcements-hero::before,
.itshams-announcement-view-hero::before {
  content: "";
  position: absolute;
  inset: -58px auto auto 36px;
  width: 170px;
  height: 170px;
  border: 30px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
}

.itshams-announcements-hero::after,
.itshams-announcement-view-hero::after {
  content: "";
  position: absolute;
  inset: auto 31% -82px auto;
  width: 214px;
  height: 214px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
}

.itshams-announcements-hero-icon,
.itshams-announcements-hero-copy,
.itshams-announcements-hero-stat,
.itshams-announcement-view-hero-icon,
.itshams-announcement-view-hero-copy,
.itshams-announcement-view-share {
  position: relative;
  z-index: 1;
}

.itshams-announcements-hero-icon,
.itshams-announcement-view-hero-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.55rem;
}

.itshams-announcements-hero-copy > span,
.itshams-announcement-view-hero-copy > span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8fbfd;
  font-size: 0.82rem;
  font-weight: 950;
}

.itshams-announcements-hero h1,
.itshams-announcement-view-hero h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.48rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-announcements-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  line-height: 1.9;
}

.itshams-announcements-hero-stat {
  min-width: 128px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
}

.itshams-announcements-hero-stat small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
}

.itshams-announcements-hero-stat strong {
  display: block;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1.2;
}

.itshams-announcements-panel,
.itshams-announcement-view-card {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.itshams-announcements-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid #edf2fa;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.itshams-announcements-panel-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-accented);
  font-size: 0.78rem;
  font-weight: 900;
}

.itshams-announcements-panel-head h2 {
  margin: 0;
  color: var(--itshams-ink);
  font-size: 1.1rem;
  font-weight: 950;
  line-height: 1.7;
}

.itshams-announcements-panel-head > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 1rem;
}

.itshams-announcements-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.itshams-announcement-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.itshams-announcement-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--itshams-cyan));
  opacity: 0;
  transition: opacity 0.18s ease;
}

.itshams-announcement-card:hover {
  border-color: rgba(53, 69, 173, 0.34);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.itshams-announcement-card:hover::before {
  opacity: 1;
}

.itshams-announcement-card-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #eef3ff;
  color: var(--primary);
  font-size: 1.08rem;
}

.itshams-announcement-card:nth-child(2n) .itshams-announcement-card-icon {
  background: #e9fbfd;
  color: #0e8fa5;
}

.itshams-announcement-card-content {
  min-width: 0;
}

.itshams-announcement-card-meta,
.itshams-announcement-view-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.itshams-announcement-card-meta span,
.itshams-announcement-view-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #dfe7f7;
  border-radius: 999px;
  background: #f8fbff;
  color: var(--text-accented);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.6;
}

.itshams-announcement-view-meta span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
}

.itshams-announcement-card h3 {
  margin: 9px 0 10px;
  color: var(--itshams-ink);
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.8;
}

.itshams-announcement-card h3 a {
  color: inherit;
  text-decoration: none;
}

.itshams-announcement-card h3 a:hover,
.itshams-announcement-card h3 a:focus {
  color: var(--primary);
}

.itshams-announcement-excerpt {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #e3ecfb;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  color: var(--text-accented);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 2;
  box-shadow: inset 3px 0 0 var(--itshams-cyan);
}

.itshams-announcement-excerpt p,
.itshams-announcement-view-content p {
  margin: 0 0 1rem;
}

.itshams-announcement-excerpt p:last-child,
.itshams-announcement-view-content p:last-child {
  margin-bottom: 0;
}

.itshams-announcement-actions,
.itshams-announcement-view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.itshams-announcement-actions .btn,
.itshams-announcement-view-actions .btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  font-weight: 950;
}

.itshams-announcement-actions .btn-primary,
.itshams-announcement-view-actions .btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-accented));
  box-shadow: 0 14px 28px rgba(53, 69, 173, 0.18);
}

.itshams-announcements-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed #d8e3f6;
  border-radius: 8px;
  background: #fbfdff;
  text-align: center;
}

.itshams-announcements-empty span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

.itshams-announcements-empty strong {
  color: var(--itshams-ink);
  font-weight: 950;
}

.itshams-announcements-pagination {
  display: flex;
  justify-content: center;
}

.itshams-announcements-pagination .pagination {
  gap: 6px;
  margin: 0;
}

.itshams-announcements-pagination .page-link {
  min-width: 38px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e3f6;
  border-radius: 8px !important;
  color: var(--itshams-ink);
  font-weight: 900;
}

.itshams-announcements-pagination .page-item.active .page-link {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.itshams-announcement-view-share {
  display: flex;
  justify-content: flex-end;
}

.itshams-announcement-view-content {
  padding: 24px 26px;
  color: var(--itshams-ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 2.1;
}

.itshams-announcement-view-content h1,
.itshams-announcement-view-content h2,
.itshams-announcement-view-content h3,
.itshams-announcement-view-content h4 {
  color: var(--itshams-ink);
  font-weight: 950;
  line-height: 1.8;
}

.itshams-announcement-view-content a {
  color: var(--primary);
  font-weight: 900;
}

.itshams-announcement-social {
  padding: 16px 20px;
  border-top: 1px solid #edf2fa;
  background: #fbfdff;
}

.itshams-announcement-view-actions {
  justify-content: space-between;
}

body.template-announcements .sidebar .card,
body.template-viewannouncement .sidebar .card {
  overflow: hidden;
  border: 1px solid #dfe7f7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
}

body.template-announcements .sidebar .card-header,
body.template-viewannouncement .sidebar .card-header {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #edf2fa;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

body.template-announcements .sidebar .card-title,
body.template-viewannouncement .sidebar .card-title {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--itshams-ink);
  font-size: 0.96rem;
  font-weight: 950;
}

body.template-announcements .sidebar .card-title > i:not(.card-minimise),
body.template-viewannouncement .sidebar .card-title > i:not(.card-minimise) {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
}

body.template-announcements .sidebar .card-title .card-minimise,
body.template-viewannouncement .sidebar .card-title .card-minimise {
  margin-inline-start: auto;
  color: var(--primary);
  font-size: 0.82rem;
}

body.template-announcements .sidebar .card-body,
body.template-viewannouncement .sidebar .card-body {
  padding: 12px 14px;
  color: var(--text-accented);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 2;
}

body.template-announcements .sidebar .card-body a,
body.template-viewannouncement .sidebar .card-body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}

body.template-announcements .sidebar .card-body a:hover,
body.template-announcements .sidebar .card-body a:focus,
body.template-viewannouncement .sidebar .card-body a:hover,
body.template-viewannouncement .sidebar .card-body a:focus {
  color: var(--primary-accented);
}

body.template-announcements .sidebar .list-group,
body.template-viewannouncement .sidebar .list-group {
  padding: 8px;
  border: 0;
}

body.template-announcements .sidebar .list-group-item,
body.template-viewannouncement .sidebar .list-group-item {
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-accented);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.8;
}

body.template-announcements .sidebar .list-group-item.active,
body.template-announcements .sidebar .list-group-item:hover,
body.template-announcements .sidebar .list-group-item:focus,
body.template-viewannouncement .sidebar .list-group-item.active,
body.template-viewannouncement .sidebar .list-group-item:hover,
body.template-viewannouncement .sidebar .list-group-item:focus {
  border-color: #dfe7f7;
  background: #f8fbff;
  color: var(--primary);
}

body.template-announcements .sidebar a[href*="announcementsrss"],
body.template-announcements .sidebar a[href*="rss"],
body.template-viewannouncement .sidebar a[href*="announcementsrss"],
body.template-viewannouncement .sidebar a[href*="rss"] {
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 991.98px) {
  .itshams-announcements-hero,
  .itshams-announcement-view-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .itshams-announcements-hero-stat,
  .itshams-announcement-view-share {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

@media (max-width: 767.98px) {
  .itshams-announcements-hero,
  .itshams-announcement-view-hero {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .itshams-announcements-hero h1,
  .itshams-announcement-view-hero h1 {
    font-size: 1.28rem;
  }

  .itshams-announcement-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .itshams-announcement-actions,
  .itshams-announcement-view-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .itshams-announcement-actions .btn,
  .itshams-announcement-view-actions .btn {
    width: 100%;
  }

  .itshams-announcement-view-content {
    padding: 18px;
  }
}

/* ===== ITShams Register Page ===== */
body.template-clientregister #registration.itshams-register-page {
  max-width: 980px;
  margin: 0 auto;
  direction: rtl;
}

.itshams-register-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  padding: 26px 28px;
  overflow: hidden;
  border: 1px solid #c9e5f7;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 255, 255, 0.18) 0 70px, transparent 72px),
    linear-gradient(135deg, #28367f 0%, #3953b8 48%, #35bdd1 100%);
  color: #ffffff;
  box-shadow: 0 22px 55px rgba(33, 53, 127, 0.18);
}

.itshams-register-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: 38%;
  bottom: -86px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
  pointer-events: none;
}

.itshams-register-hero-copy,
.itshams-register-hero-icon {
  position: relative;
  z-index: 1;
}

.itshams-register-hero-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.76rem;
  font-weight: 950;
}

.itshams-register-hero-copy h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1.8;
}

.itshams-register-hero-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 2;
}

.itshams-register-hero-icon {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.75rem;
}

.itshams-register-card.card {
  overflow: hidden;
  border: 1px solid #dbe6f8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.075);
}

.itshams-register-card .card-body {
  padding: 24px !important;
}

.itshams-register-card .card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--itshams-ink, #172033);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.8;
}

.itshams-register-card .card-title > i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--primary);
  font-size: 0.95rem;
}

.itshams-register-card .card-title small {
  margin-inline-start: auto;
  color: var(--text-accented);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.itshams-register-form .form-group {
  margin-bottom: 16px;
}

.itshams-register-form .field,
.itshams-register-form .form-control {
  min-height: 44px;
  border: 1px solid #d7e2f3;
  border-radius: 8px;
  background-color: #fbfdff;
  color: var(--itshams-ink, #172033);
  font-weight: 800;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.itshams-register-form .field:focus,
.itshams-register-form .form-control:focus {
  border-color: #5771f2;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(79, 103, 240, 0.12);
}

.itshams-register-form .prepend-icon .field-icon {
  top: 0;
  width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6d7d96;
}

.itshams-register-form .field-help-text {
  display: block;
  margin-top: 7px;
  color: #6d7d96;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.9;
}

.itshams-register-form .is-invalid {
  border-color: #ef4444 !important;
  background: #fffafa;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.itshams-register-form .is-valid {
  border-color: #15a87b !important;
}

.itshams-register-mobile-feedback {
  min-height: 20px;
  margin-top: 6px;
  color: #dc2626;
  font-size: 0.76rem;
  font-weight: 850;
}

.itshams-register-form .accepttos {
  margin-inline-end: 6px;
}

.itshams-register-submit.btn {
  min-width: 142px;
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(44, 62, 180, 0.2);
}

@media (max-width: 767.98px) {
  body.template-clientregister #registration.itshams-register-page {
    max-width: 100%;
  }

  .itshams-register-hero {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .itshams-register-hero-icon {
    width: 58px;
    height: 58px;
    justify-self: start;
    font-size: 1.35rem;
  }

  .itshams-register-hero-copy h1 {
    font-size: 1.25rem;
  }

  .itshams-register-card .card-body {
    padding: 18px !important;
  }

  .itshams-register-card .card-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .itshams-register-card .card-title small {
    width: 100%;
    margin-inline-start: 50px;
  }
}
