/* 
 * Premium Gulf Identity Transformation for "Hossting"
 * Custom CSS for WHMCS Twenty-One Theme
 */


:root {
    /* Color Palette - Hossting Modern */
    --primary-teal: #004D40;
    --accent-gold: #C5A059;
    --tech-cyan: #00BFFF;
    --tech-magenta: #FF00FF;
    --bg-light: #F8F9FA;
    --bg-dark: #0B132B;
    --text-main: #1A2A44;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-premium: 0 10px 30px rgba(0,0,0,0.08);
}

body {
    font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
    color: var(--text-main);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Full Width Layout */
.container-full {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

/* Sahara-Inspired Sticky Header */
/* --- TOPBAR --- */
.topbar {
    background: #050a18;
    color: #cbd5e1;
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, var(--tech-cyan), var(--tech-magenta)) 1;
}
.topbar-left span, .topbar-right a {
    transition: color 0.3s;
}
.topbar-right a:hover {
    color: var(--tech-cyan) !important;
    text-decoration: none;
}

/* --- HEADER & NAVBAR --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(11, 19, 43, 0.06);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.navbar {
    padding: 15px 0;
}
/* Header logo — responsive (mobile / tablet / desktop). The old
   transform: scale(1.65) / scale(2.0) hack upscaled the raster logo
   (blurry) and overflowed past the hamburger on phones — removed. */
header.header .navbar-brand {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}
header.header .logo-img {
    max-height: 58px;          /* desktop */
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: none;
    transition: opacity 0.2s ease;
}
@media (max-width: 991.98px) {          /* tablet / collapsed navbar */
    header.header .logo-img { max-height: 48px; max-width: 200px; }
}
@media (max-width: 767px) {             /* phones */
    header.header .navbar-brand { margin-right: 0.5rem; }
    header.header .logo-img {
        max-height: 40px;
        max-width: 55vw;       /* never collide with the hamburger */
        transform: none;
    }
}
@media (max-width: 380px) {             /* small phones */
    header.header .logo-img { max-height: 34px; max-width: 50vw; }
}
[dir="rtl"] header.header .navbar-brand {
    margin-right: 0;
    margin-left: 0.5rem;
}
header.header .navbar-brand:hover .logo-img {
    opacity: 0.85;
    transform: none;
}

/* --- NAV LINKS --- */
.navbar-nav .nav-item {
    margin: 0 4px;
}
.navbar-nav .nav-link {
    color: var(--text-main) !important;
    font-weight: 800;
    font-size: 1rem;
    position: relative;
    padding: 10px 22px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover {
    color: var(--tech-cyan) !important;
    background: rgba(0, 191, 255, 0.05);
}
.navbar-nav .nav-item.active .nav-link {
    color: #fff !important;
    background: linear-gradient(135deg, var(--tech-cyan), var(--tech-magenta));
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.3);
}

/* --- SHOP BUTTON --- */
.btn-shop {
    background: linear-gradient(135deg, var(--tech-cyan), var(--tech-magenta));
    color: #fff !important;
    border-radius: 50px;
    padding: 12px 32px !important;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 10px 20px rgba(0, 191, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-shop:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 0, 255, 0.3);
    background: linear-gradient(135deg, var(--tech-magenta), var(--tech-cyan));
    color: #fff !important;
}

/* Custom Hero Section */
.hossting-hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 77, 64, 0.9), rgba(11, 19, 43, 0.8)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    border-bottom: 5px solid var(--accent-gold);
}

.hossting-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--tech-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hossting-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Service Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: #fff;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-title {
    color: var(--primary-teal);
    font-weight: 600;
}

.btn-outline-primary {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    color: #fff;
}

/* New Pricing Styles - Hossting Launch & Pro */
.hossting-plan-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    background: #fff;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.hossting-plan-card.launch {
    border-right: 5px solid #667eea;
}

.hossting-plan-card.pro {
    border-right: 5px solid #00b4db;
    transform: scale(1.05);
    z-index: 2;
}

.plan-header {
    padding: 30px;
    color: #fff;
    text-align: center;
}

.plan-header.launch {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.plan-header.pro {
    background: linear-gradient(135deg, #00b4db, #00838f);
}

.plan-badge {
    position: absolute;
    top: 15px;
    left: -35px;
    background: #e17055;
    color: #fff;
    padding: 5px 40px;
    font-size: 11px;
    font-weight: bold;
    transform: rotate(-45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0;
}

.plan-features {
    padding: 30px;
    background: #fff;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.95rem;
    color: #4a5568;
}

.plan-features li i {
    margin-left: 10px;
    width: 20px;
}

.feature-unavailable {
    color: #e53e3e !important;
    opacity: 0.7;
}

.btn-plan {
    margin-top: 25px;
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.wave-divider .shape-fill {
    fill: #FFFFFF;
}

/* Premium Pricing Cards */
.pricing-card {
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
}

.pricing-card:hover {
    border-color: var(--tech-cyan);
    box-shadow: var(--shadow-premium);
    transform: translateY(-5px);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-teal);
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 1rem;
    color: #888;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f9f9f9;
    color: #555;
}

.pricing-card ul li i {
    color: var(--tech-cyan);
    margin-right: 10px;
}

/* Domain Search Bar */
.domain-search-wrapper {
    background: var(--bg-dark);
    padding: 40px;
    border-radius: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
}

.domain-search-wrapper .form-control {
    height: 60px;
    border-radius: 30px;
    padding-left: 30px;
    font-size: 1.1rem;
}

.domain-search-wrapper .btn-primary {
    height: 60px;
    border-radius: 30px;
    padding: 0 40px;
    background: linear-gradient(to right, var(--tech-cyan), var(--tech-magenta));
    border: none;
    font-weight: 700;
    text-transform: uppercase;
}

/* Footer */
.footer {
    background: #050a18 !important;
    color: #fff !important;
    padding: 100px 0 40px;
    position: relative;
    border-top: none;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--tech-cyan), var(--tech-magenta), var(--accent-gold));
}

.footer h5 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--tech-cyan);
}

.footer-link {
    color: rgba(255, 255, 255, 0.6) !important;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.footer-link:hover {
    color: #fff !important;
    padding-right: 10px;
}

.trust-badges {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    opacity: 0.6;
}

.trust-badges i {
    font-size: 1.8rem;
    transition: opacity 0.3s;
}

.trust-badges i:hover {
    opacity: 1;
}

/* RTL Adjustments */
[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .section-title::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

/* Hero Carousel Slider */
.hossting-carousel .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hossting-carousel .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 77, 64, 0.7), rgba(11, 19, 43, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 15px;
}

.hossting-carousel h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hossting-carousel p {
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto 2rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid transparent;
}

.carousel-indicators .active {
    background-color: var(--tech-cyan);
    transform: scale(1.2);
}

/* Encouragement Ticker (Running Slider) */
.ticker-wrapper {
    background: var(--accent-gold);
    color: var(--primary-teal);
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
    padding-left: 100%;
}

.ticker-item {
    display: inline-block;
    padding: 0 50px;
}

.ticker-item i {
    margin-right: 10px;
    color: #fff;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

[dir="rtl"] .ticker-content {
    animation: ticker-rtl 30s linear infinite;
    padding-right: 100%;
    padding-left: 0;
}

@keyframes ticker-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* Mobile Adjustments for Slider */
@media (max-width: 768px) {
    .hossting-carousel .carousel-item {
        height: 450px;
    }
    .hossting-carousel h1 {
        font-size: 2rem;
    }
    .hossting-carousel p {
        font-size: 1rem;
    }
}

/* --- FULL WIDTH & STORE FIXES --- */

.hossting-carousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
    overflow: hidden;
}

.hossting-carousel .carousel-item {
    height: 650px !important;
}

section#main-body > div.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

.primary-content {
    padding: 0 !important;
}

/* Fix for raw code visibility in descriptions */
.product-description style, 
.product-description script,
.product-description code {
    display: none !important;
}

.product-description {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* WHMCS Utility Classes */
.w-hidden {
    display: none !important;
}

/* --- GLOBAL PREMIUM SIDEBAR (Matches Lagom Pro & Homepage) --- */
.sidebar .card-sidebar {
    background: #ffffff;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(11, 19, 43, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.sidebar .card-sidebar:hover {
    box-shadow: 0 25px 60px rgba(11, 19, 43, 0.12);
    transform: translateY(-4px);
}
.sidebar .card-header {
    background: transparent;
    padding: 30px 24px 15px;
    border-bottom: none;
}
.sidebar .card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bg-dark, #0B132B);
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 15px;
}
.sidebar .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold, #C5A059), var(--tech-cyan, #00BFFF));
    border-radius: 4px;
}
[dir="rtl"] .sidebar .card-title::after {
    left: auto;
    right: 0;
}
.sidebar .card-title i:not(.card-minimise) {
    color: var(--primary-teal, #004D40);
    margin-right: 14px;
    font-size: 1.3rem;
    background: rgba(0, 77, 64, 0.06);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}
[dir="rtl"] .sidebar .card-title i:not(.card-minimise) {
    margin-right: 0;
    margin-left: 14px;
}
.sidebar .card-title .card-minimise {
    color: #cbd5e1;
    font-size: 1rem;
    margin-top: 5px;
    margin-left: auto;
    cursor: pointer;
    transition: color 0.3s;
}
.sidebar .card-title .card-minimise:hover {
    color: var(--accent-gold, #C5A059);
}

.sidebar .list-group-flush {
    padding: 0 16px 20px;
}
.sidebar .list-group-flush .list-group-item {
    border: none;
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 8px;
    color: var(--text-main, #1A2A44);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: transparent;
}
.sidebar .list-group-flush .list-group-item:last-child {
    margin-bottom: 0;
}
.sidebar .list-group-flush .list-group-item i.sidebar-menu-item-icon,
.sidebar .list-group-flush .list-group-item > i:first-child {
    color: var(--accent-gold, #C5A059);
    font-size: 1.15rem;
    transition: all 0.3s ease;
    margin-right: 12px;
}
[dir="rtl"] .sidebar .list-group-flush .list-group-item i.sidebar-menu-item-icon,
[dir="rtl"] .sidebar .list-group-flush .list-group-item > i:first-child {
    margin-right: 0; margin-left: 12px;
}
.sidebar .list-group-flush .list-group-item:hover {
    background: rgba(0, 77, 64, 0.03);
    color: var(--primary-teal, #004D40);
    transform: translateX(6px);
    text-decoration: none;
}
[dir="rtl"] .sidebar .list-group-flush .list-group-item:hover {
    transform: translateX(-6px);
}
.sidebar .list-group-flush .list-group-item:hover i.sidebar-menu-item-icon,
.sidebar .list-group-flush .list-group-item:hover > i:first-child {
    color: var(--primary-teal, #004D40);
    transform: scale(1.1);
}
.sidebar .list-group-flush .list-group-item.active,
.sidebar .list-group-flush .list-group-item.active:hover {
    background: linear-gradient(135deg, var(--bg-dark, #0B132B), var(--primary-teal, #004D40));
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 77, 64, 0.3);
    transform: translateY(-2px);
}
.sidebar .list-group-flush .list-group-item.active i.sidebar-menu-item-icon,
.sidebar .list-group-flush .list-group-item.active > i:first-child {
    color: var(--accent-gold, #C5A059);
}

.sidebar .list-group-flush .list-group-item .badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 800;
}
.sidebar .list-group-flush .list-group-item:not(.active) .badge {
    background: rgba(0, 77, 64, 0.08);
    color: var(--primary-teal, #004D40);
}

.sidebar-menu-item-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}
.sidebar-menu-item-label {
    flex-grow: 1;
}
.sidebar-menu-item-badge {
    margin-left: auto;
}
[dir="rtl"] .sidebar-menu-item-badge {
    margin-left: 0; margin-right: auto;
}



/* ============================================================================
   HOSTTING — Dynadot-style RESKIN  (append to frontendpro/assets/frontend.css)
   Remaps the teal/purple theme to the Dynadot blue system. Reversible: delete
   everything between the RESKIN markers. v1.
   ========================================================================== */
/* ===== RESKIN-START ===== */
/* HOSTTING — Dynadot-style reskin v4. Direct selector overrides (reliable).
   Reversible: delete everything between the markers. */

/* ---- ROOT CAUSE of the recurring indigo (#4F46E5) ----
   The frontendpro addon styles buttons via `.fp-order .btn-primary{background:var(--fp-accent)!important}`
   — higher specificity AND !important, so every per-button override lost and the
   indigo kept reappearing (cart search, KB search, portal). Retarget the variable itself. */
:root,body,.fp-order,.fp-ca,.fp-cart,.fp-client-area{
  --fp-accent:#0096f7 !important;
  --fp-accent-hover:#0072bc !important;
  --fp-primary:#0096f7 !important}

/* ---- brand color ---- */
.text-primary,.text-info{color:#0096f7 !important}
.bg-primary,.bg-info{background-color:#0096f7 !important}
.border-primary,.border-info{border-color:#0096f7 !important}
a{color:#0072bc}
a:hover{color:#0262c7}
.navbar-nav .nav-link:hover{color:#0072bc !important;background:rgba(0,150,247,.06) !important}

/* ---- top bar + ticker -> navy (match demo #000f3e) ---- */
.topbar{background-color:#000f3e !important;background:#000f3e !important;color:rgba(255,255,255,.7) !important;border-bottom:1px solid rgba(255,255,255,.08) !important}
.ticker-wrapper{background:#0b1f6b !important}
.ticker-content,.ticker-item{color:#dbe7ff !important}

/* ---- HERO carousel: navy overlay ---- */
.hossting-carousel .carousel-overlay{
  background:linear-gradient(225deg,rgba(0,15,62,.92) 42%,rgba(8,46,168,.80) 100%) !important}
.hossting-hero{
  background:linear-gradient(135deg,rgba(0,15,62,.9),rgba(8,46,168,.8)),url('../img/hero.png') !important;
  background-size:cover !important;background-position:center !important}
.hossting-hero h1,.display-3{background:none !important;-webkit-text-fill-color:#fff !important;color:#fff !important;letter-spacing:-.01em}

/* ---- ALL gradient buttons -> Dynadot SOLID blue pill (match demo) ---- */
.btn-shop,.btn-shop:hover,
.navbar-nav .nav-item.active .nav-link,
.domain-search-wrapper .btn-primary,
.btn-primary,.btn-info,.fp-ca .primary-button{
  background:#0096f7 !important;background-image:none !important;
  border:none !important;color:#fff !important;border-radius:100px !important}
.btn-shop:hover,.btn-primary:hover,.domain-search-wrapper .btn-primary:hover{
  background:#0072bc !important;background-image:none !important;box-shadow:0 12px 26px rgba(0,150,247,.4) !important}
.btn{border-radius:100px !important}
.btn-outline-primary,.btn-outline-info{color:#0072bc !important;border-color:#0096f7 !important;border-radius:100px !important;background:transparent !important}
.btn-outline-primary:hover,.btn-outline-info:hover{background:#0096f7 !important;color:#fff !important}

/* ---- pricing card headers (hardcoded purple/teal) -> blue ---- */
.plan-header,.plan-header.launch,.plan-header.pro,.plan-header.business,
.plan-header.starter,.plan-header.enterprise,.plan-header.reseller,
.hossting-plan-card .plan-header{
  background:linear-gradient(135deg,#0262c7,#0096f7) !important;color:#fff !important}
.hossting-plan-card{border-radius:18px !important;border:1px solid #e6ebf2 !important;
  box-shadow:0 10px 28px rgba(3,18,66,.10) !important;overflow:hidden}
.hossting-plan-card.popular,.hossting-plan-card.featured{border-color:#0096f7 !important}
.plan-badge{background:#ffca2b !important;color:#7a5a00 !important}
.domain-search-wrapper{border-radius:20px !important}

/* ---- HEADER -> cohesive dark navy (like the demo's dark header) ---- */
#header.header,.header{background:linear-gradient(225deg,#000f3e 48.66%,#082ea8 100%) !important;box-shadow:0 2px 14px rgba(3,18,66,.25) !important;border:0 !important}
.main-nav,.navbar.main-nav{background:transparent !important}
/* real nav markup = a.dropdown-toggle (default #444 dark) -> bright white like the demo */
.main-nav .navbar-nav > li > a,
.main-nav a.dropdown-toggle,
.main-nav .nav-link,.navbar-nav .nav-link{color:#fff !important;font-weight:600}
.main-nav .navbar-nav > li > a:hover,
.main-nav a.dropdown-toggle:hover,
.main-nav .nav-link:hover{color:#63c2ff !important;background:transparent !important}
.main-nav .nav-item.active .nav-link,.main-nav .active > a{background:transparent !important;color:#63c2ff !important}
/* children stay dark on the white dropdown panel */
.main-nav .dropdown-menu a,.main-nav .dropdown-menu .dropdown-item > a{color:#2b3550 !important}
/* logo: transparent colourful emblem directly on the navy (no white chip) */
.navbar-brand{background:transparent !important;border-radius:0 !important;padding:0 !important;box-shadow:none !important;display:inline-flex !important;align-items:center}
.navbar-brand .logo-img{content:url('/templates/hosttingx/img/emblem.png') !important;filter:none !important;max-height:54px !important;width:auto !important}
/* brand word beside the emblem (now a real .brand-word element in header.tpl) */
.navbar-brand .brand-word{color:#fff !important;font-weight:800;font-size:1.35rem;font-family:'Cairo','Tajawal',sans-serif;margin-inline-start:12px;line-height:1;white-space:nowrap}
/* demo-style tools cluster: language · cart · login */
.hs-tools{display:flex !important;flex-direction:row !important;align-items:center;gap:10px}
.hs-tool{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:10px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.10);color:#fff !important;font-weight:700;font-size:.85rem;text-decoration:none;white-space:nowrap}
.hs-tool:hover{background:rgba(255,255,255,.22);color:#fff !important}
.hs-cart{width:44px;justify-content:center;padding:0;font-size:1.05rem}
.hs-login{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 20px;border-radius:100px !important;background:#0096f7 !important;border:1px solid #0096f7 !important;color:#fff !important;font-weight:700;font-size:.88rem;text-decoration:none}
.hs-login:hover{background:#0072bc !important;color:#fff !important}
.navbar-toggler{color:#fff !important;border-color:rgba(255,255,255,.3) !important}
.navbar-toggler .navbar-toggler-icon,.navbar-toggler i{color:#fff !important;filter:invert(1)}
/* dropdown menus on the dark header stay readable (white panels) */
.main-nav .dropdown-menu{background:#fff !important;border:1px solid #e6ebf2 !important}
.main-nav .dropdown-item{color:#263043 !important}
.main-nav .dropdown-item:hover{background:#ebf3ff !important;color:#0072bc !important}

/* ---- FOOTER polish -> clean navy multi-column ---- */
.footer,footer.footer{background:#031242 !important}
.footer .footer-bottom,.footer-bottom{background:transparent !important;border-color:rgba(255,255,255,.12) !important;color:#8ea3c4 !important}
.footer h4,.footer h5,.footer .widget-title,.footer .footer-heading{color:#fff !important;text-transform:uppercase;letter-spacing:.05em;font-size:.92rem;font-weight:700}
.footer::before{background:linear-gradient(to right,#0096f7,#0262c7) !important}
.footer a,.footer-link{color:#9fb3d1 !important}
.footer a:hover,.footer-link:hover{color:#63c2ff !important}
.footer .social-links a{color:#9fb3d1 !important} .footer .social-links a:hover{color:#63c2ff !important}

/* ---- match demo top: remove the extra ticker bar ---- */
.ticker-wrapper,.ticker-content{display:none !important}

/* ---- section headings were teal-green (var --primary-teal #004D40) -> demo navy #031242 ---- */
h2.display-4,.display-4,.section-title,.hossting-section-title{color:#031242 !important}

/* ---- RTL header flip (Arabic): emblem right, tools left ---- */
html[lang="ar"] .navbar.main-nav .container-fluid{direction:rtl !important}
html[lang="ar"] .navbar.main-nav .navbar-collapse{direction:rtl !important}
html[lang="ar"] .navbar.main-nav .navbar-nav.ml-auto{margin-left:0 !important;margin-right:auto !important}
html[lang="ar"] .topbar,html[lang="ar"] .topbar .container{direction:rtl !important}

/* ---- hero search tabs (demo component) ---- */
.hs-search-tabs{display:flex;gap:6px;justify-content:center;margin-bottom:14px;flex-wrap:wrap}
.hs-tab{padding:9px 22px;border-radius:100px;font-weight:700;font-size:.92rem;color:rgba(255,255,255,.82);background:transparent;border:1px solid transparent;cursor:pointer;font-family:inherit}
.hs-tab:hover{background:rgba(255,255,255,.14);color:#fff}
.hs-tab.active{background:#fff;color:#0262c7}
/* ---- hero stats row (demo component) ---- */
.hs-hero-stats{display:flex;gap:26px;justify-content:center;flex-wrap:wrap;margin-top:20px;color:rgba(255,255,255,.85);font-size:.93rem}
.hs-hero-stats b{color:#fff;font-weight:700}

/* ---- MEGA-MENU (hardcoded 6-item demo nav) ---- */
/* top-level = text only (no icons), like the demo */
.main-nav .navbar-nav > li > a::before{content:none !important}
/* demo dropdown panel: rounded, soft shadow, roomy items with inline emoji */
.main-nav .dropdown-menu{border-radius:12px !important;box-shadow:0 24px 60px rgba(3,18,66,.16) !important;padding:8px !important;min-width:252px;border:1px solid #e6ebf2 !important}
.main-nav .dropdown-menu .dropdown-item{color:#2b3550 !important;border-radius:8px;padding:9px 14px !important;font-weight:600;display:flex;align-items:center;gap:9px}
.main-nav .dropdown-menu .dropdown-item:hover,
.main-nav .dropdown-menu .dropdown-item:focus{background:#ebf3ff !important;color:#0072bc !important}
/* ---- chat widget: bottom-left to match the demo ---- */
.hchat{left:22px !important;right:auto !important}
.hchat-panel{left:0 !important;right:auto !important}
/* ---- FIX desktop freeze: theme's responsive nav-overflow JS thrashes layout ----
   scripts.min.js measures #nav innerHeight in a read/write loop, moving items into
   .collapsable-dropdown while the nav wraps to >1 line. Forcing a single line means
   the loop's (innerHeight grew) condition never triggers → 4661 recalcs → ~20. */
#nav.navbar-nav{flex-wrap:nowrap !important}
.main-nav .collapsable-dropdown{display:none !important}
/* ---- IBM Plex Sans Arabic (self-hosted; replaces Cairo/Tajawal) ---- */
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url('/templates/hosttingx/fonts/ipsa-400-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url('/templates/hosttingx/fonts/ipsa-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url('/templates/hosttingx/fonts/ipsa-500-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url('/templates/hosttingx/fonts/ipsa-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url('/templates/hosttingx/fonts/ipsa-600-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url('/templates/hosttingx/fonts/ipsa-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url('/templates/hosttingx/fonts/ipsa-700-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url('/templates/hosttingx/fonts/ipsa-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* apply site-wide. NOTE: deliberately NOT using *{} so FontAwesome's own
   font-family on .fas/.fab/.far/.fal stays intact (icons keep working). */
body,.main-nav,.navbar,.topbar,.footer,#hsx,.hchat,
h1,h2,h3,h4,h5,h6,p,label,
.btn,button,input,select,textarea,
.navbar-brand .brand-word,
#hsx h1,#hsx h2,#hsx h3,#hsx h4,
.main-nav .navbar-nav > li > a,.main-nav .dropdown-menu .dropdown-item{
  font-family:'IBM Plex Sans Arabic',system-ui,-apple-system,'Segoe UI',sans-serif !important}

/* ================= CLIENT PORTAL — bring it onto the brand =================
   Measured problems: the theme's --primary-teal (#004D40) drove the sidebar
   active item, panel icon tints and heading underlines; .btn-primary was
   indigo (#4F46E5); action buttons were green. All off-brand vs the blue site. */

/* 1) retire the teal variable itself -> brand blue (fixes icons/underlines wholesale).
      Section headings stay navy via the explicit rule further up (it uses !important). */
:root{--primary-teal:#0262c7 !important}

/* 2) sidebar active item: teal-green gradient + green shadow -> brand blue */
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus{
  background-color:#0262c7 !important;
  background-image:linear-gradient(135deg,#0b132b,#0262c7) !important;
  box-shadow:0 8px 20px rgba(0,150,247,.28) !important;
  border-color:transparent !important;color:#fff !important}

/* 3) primary buttons: indigo -> brand blue */
.btn-primary,.btn-primary:focus,.btn-primary:not(:disabled):not(.disabled).active{
  background:#0096f7 !important;background-image:none !important;
  border-color:#0096f7 !important;color:#fff !important}
.btn-primary:hover{background:#0072bc !important;border-color:#0072bc !important}

/* 4) green action buttons (order / edit / register) -> brand blue.
      Genuine status *badges* keep their colour (we only retarget .btn-*). */
.btn-success,.btn-success:focus{background:#0096f7 !important;background-image:none !important;border-color:#0096f7 !important;color:#fff !important}
.btn-success:hover{background:#0072bc !important;border-color:#0072bc !important}
.btn-outline-success{color:#0072bc !important;border-color:#0096f7 !important}
.btn-outline-success:hover{background:#0096f7 !important;color:#fff !important}

/* 5) portal cards/panels: match the homepage (rounded + soft shadow) */
#main-body .card,.sidebar .card,.sidebar .panel{
  border-radius:16px !important;border:1px solid #e6ebf2 !important;
  box-shadow:0 8px 26px rgba(3,18,66,.06) !important}

/* 6) stat tiles: one consistent brand accent instead of blue/green/red/orange */
#main-body .stat-card,#main-body .panel-stat,
#main-body .card .border-bottom,
#main-body [class*="border-success"],#main-body [class*="border-warning"],
#main-body [class*="border-danger"],#main-body [class*="border-info"]{
  border-bottom-color:#0096f7 !important}

/* 6b) stat-tile underlines were 4 different colours (cyan/green/red/gold) via
       div.highlight.bg-color-*  -> one consistent brand accent */
#main-body .highlight.bg-color-blue,
#main-body .highlight.bg-color-green,
#main-body .highlight.bg-color-red,
#main-body .highlight.bg-color-gold,
#main-body .highlight.bg-color-asbestos,
#main-body .highlight{background-color:#0096f7 !important}

/* 6c) small pill badges (gold #F0AD4E / cyan #5BC0DE / grey #7F8C8D) -> brand blue */
#main-body .btn.bg-color-gold,
#main-body .btn.bg-color-blue,
#main-body .btn.bg-color-asbestos,
#main-body .btn.bg-color-green,
#main-body .btn.bg-color-red{
  background-color:#0096f7 !important;border-color:#0096f7 !important;color:#fff !important}
#main-body .btn.bg-color-gold:hover,
#main-body .btn.bg-color-blue:hover,
#main-body .btn.bg-color-asbestos:hover,
#main-body .btn.bg-color-green:hover,
#main-body .btn.bg-color-red:hover{
  background-color:#0072bc !important;border-color:#0072bc !important;color:#fff !important}

/* 6d) tidy the dashboard tiles + cards (consistent rhythm) */
#main-body .tiles .card,#main-body .client-home-cards .card{
  border-radius:16px !important;border:1px solid #e6ebf2 !important;
  box-shadow:0 8px 26px rgba(3,18,66,.06) !important}
#main-body .client-home-cards .card{margin-bottom:20px}
#main-body .card .card-header,#main-body .card-title{color:#031242 !important;font-weight:700}

/* 6e) panel-header icon chips: hardcoded teal tint rgba(0,77,64,.06) -> brand blue
       (the --primary-teal override can't reach a literal rgba). Exclude the
       collapse chevron so it doesn't gain an unwanted chip. */
.card-header .card-title i:not(.card-minimise),
.sidebar .card-header i:not(.card-minimise){
  background-color:rgba(0,150,247,.08) !important;color:#0262c7 !important}

/* 6f) sidebar menu icons were gold #C5A059 -> brand blue */
.sidebar-menu-item-icon,.sidebar .sidebar-menu-item-icon{color:#0096f7 !important}

/* 6g) stray indigo (#4F46E5) icons -> brand blue */
.sidebar .fa-plus,#main-body .fa-plus{color:#0096f7 !important}

/* 6h) the big stat numbers were indigo #4F46E5 -> brand navy */
#main-body .tiles .stat,#main-body .stat{color:#031242 !important}

/* 6i) panel-title accent underline (pseudo-element, teal->blue gradient) -> all brand */
#main-body .card-header::after,#main-body .card-title::after,
.sidebar .card-header::after,.sidebar .card-title::after{
  background-image:linear-gradient(90deg,#0096f7,#0262c7) !important;
  background-color:#0096f7 !important}

/* ================= CART / ORDER FORM =================
   The order pages render the theme's global .sidebar AND the order form's own
   .cart-sidebar with identical content (Categories + Actions) = a duplicated
   column. Hide the order form's copy and let the branded theme sidebar serve. */
.cart-sidebar{display:none !important}

/* order-form colours were off-brand (indigo #4F46E5 buttons, yellow/orange
   banner + TLD tiles, multicolour category tags) -> brand blue */
#order-standard_cart .btn-primary,#order-standard_cart button[type=submit],
.domain-checker-container .btn,.domain-checker-container button{
  background:#0096f7 !important;background-image:none !important;border-color:#0096f7 !important;color:#fff !important}
#order-standard_cart .btn-primary:hover,.domain-checker-container .btn:hover{
  background:#0072bc !important;border-color:#0072bc !important}
/* the yellow/orange promo banner behind the domain search -> brand gradient */
.domain-checker-container,#order-standard_cart .domain-checker-container,
#order-standard_cart .header-lined.bg-warning,#order-standard_cart .bg-warning{
  background:linear-gradient(225deg,#000f3e 48.66%,#082ea8 100%) !important;
  background-image:linear-gradient(225deg,#000f3e 48.66%,#082ea8 100%) !important;
  color:#fff !important;border-radius:16px !important}
/* TLD price tiles: were blue/yellow/orange -> consistent brand accent */
#order-standard_cart .tld-item .tld-price,#order-standard_cart .domain-pricing .price,
#order-standard_cart .tld-item [class*="bg-"]{background:#0096f7 !important;color:#fff !important}
/* category filter tags -> brand tint instead of green/red/orange */
#order-standard_cart .tld-categories .badge,#order-standard_cart .tld-categories a,
#order-standard_cart .domain-category-filter .badge{
  background:#ebf3ff !important;color:#0262c7 !important;border:1px solid #cfe1f7 !important}
/* give the main column the space freed by the removed duplicate sidebar */
#order-standard_cart{max-width:100% !important}

/* TLD category FILTER chips were multicolour (green/orange/blue) -> uniform brand tint.
   NOTE: the .tld-sale-group promo badges (شائع / تخفيض / جديد) are deliberately left
   red/amber/green — that colour carries real meaning to shoppers. */
#main-body .tld-categories .badge,#main-body a.badge.badge-success,
#main-body a.badge.badge-secondary,.tld-categories a.badge{
  background:#ebf3ff !important;color:#0262c7 !important;border:1px solid #cfe1f7 !important}
#main-body .tld-categories .badge:hover,.tld-categories a.badge:hover{
  background:#0096f7 !important;color:#fff !important;border-color:#0096f7 !important}

/* yellow action button ("استكشف الباقات الآن") -> brand blue (scoped to the storefront) */
#main-body .btn-warning{background:#0096f7 !important;border-color:#0096f7 !important;color:#fff !important}
#main-body .btn-warning:hover{background:#0072bc !important;border-color:#0072bc !important}

/* 7) tables: cleaner, on-brand header */
#main-body table.datatable thead th,#main-body .table thead th{
  background:#f4f8fe !important;color:#031242 !important;
  border-bottom:2px solid #e6ebf2 !important;font-weight:700}
#main-body table.datatable,#main-body .table{border-radius:12px;overflow:hidden}
/* ===== RESKIN-END ===== */
