/*
Theme Name: Digit - Responsive WHMCS Client Area Template
Theme URI: http://www.whmcsdes.com
Description: Custom CSS File
Version: 8.9.0
Author: WHMCSdes
Author URI: http://whmcsdes.com
Tags: powerful, host
*/

/* Import Inter Font - Local Hosting (No external requests) */
@import url('../fonts/inter-local.css');

/* Custom Color Scheme */
:root {
  --main-gradient-color: #169258;
  --secondary-gradient-color: #169258;
}

/* Fix nav-tabs white background on hover */
.nav-tabs > li > a:hover,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:focus,
.nav-tabs-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
.nav-tabs-justified > .active > a:focus {
  background-color: rgba(0, 0, 0, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.0) !important;
  color: #fff !important;
}

/* Override all 3px border-radius with modern 1rem */
.panel,
.panel-default,
.panel-primary,
.panel-success,
.panel-info,
.panel-warning,
.panel-danger,
.btn,
.form-control,
.input-group-addon,
.input-group-btn > .btn,
.alert,
.well,
.modal-content,
.popover,
.tooltip,
.dropdown-menu,
.nav-tabs > li > a,
.nav-pills > li > a,
.badge,
.label,
.progress,
.progress-bar,
.list-group-item,
.thumbnail,
.media-object,
.breadcrumb,
.pagination > li > a,
.pagination > li > span,
.pager li > a,
.pager li > span,
#order-digit-of .product-info,
#order-digit-of .wdes-server-field-container,
#order-digit-of .panel-addon,
#order-digit-of .order-summary,
.wdes-panel,
.panel-wdes,
.wdes-block,
.wdes-inner-block,
.product-status,
.wdes-knb-block,
.ticket-reply,
.wdes-client-ticket,
.invoice-summary,
.wdes-table-mass,
.alert-wdes-info,
.wdes-block-board,
.wdes-panel-status.panel,
div.product-details-tab-container,
.tab-content.product-details-tab-container,
.marketing-email-optin,
div.credit-card,
.email-verification,
.tospanel,
.ticketfeedbackstaffcont,
.landing-page .pricing-item,
.landing-page.weebly .weebly-lite-plan,
.landing-page .panel-default,
.landing-page .content-block.faq .panel-collapse,
.landing-page.mail-services .product-options .item,
.landing-page.sitebuilder .pricing-table,
.product,
.product.clearfix {
  border-radius: 1rem !important;
}

/* Special cases for input groups and complex elements */
.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn {
  border-top-left-radius: 1rem !important;
  border-bottom-left-radius: 1rem !important;
}

.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn {
  border-top-right-radius: 1rem !important;
  border-bottom-right-radius: 1rem !important;
}

/* Custom Background Gradient */
body {
  background: linear-gradient(to bottom right, #0f172a, #1e293b, #0f172a) !important;
  background-attachment: fixed !important;
}

/* Add 10% black transparent overlay to sidebar */
.wdes-sidebar {
  background-color: rgba(0, 0, 0, 0.2) !important;
}

/* Modern Footer Styling */
.modern-footer {
  background-color: rgba(0, 0, 0, 0.4) !important;
  padding: 3rem 1rem !important;
  border: none !important;
  border-left: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-container {
  max-width: 1280px !important;
  margin: 0 auto !important;
  position: relative !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.footer-section {
  margin-bottom: 1rem !important;
}

.footer-logo-placeholder {
  height: 2.5rem !important;
  width: auto !important;
  margin-bottom: 1rem !important;
  /* Placeholder for logo - user will add later */
}

.footer-description {
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.footer-heading {
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  margin-top: 0 !important;
}

.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links li {
  margin-bottom: 0.5rem !important;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.footer-links a:hover {
  color: #fff !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 2rem !important;
  padding-top: 2rem !important;
}

.footer-bottom-content {
  text-align: center !important;
}

.footer-bottom-content p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  margin: 0.25rem 0 !important;
}

.footer-org-number {
  font-size: 12px !important;
  margin-top: 0.5rem !important;
}

.back-to-top {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  background: var(--main-gradient-color) !important;
  color: #fff !important;
  padding: 0.5rem !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.back-to-top:hover {
  background: var(--secondary-gradient-color) !important;
  color: #fff !important;
}

.back-to-top i {
  font-size: 16px !important;
}

/* Modern Product Cards */
.modern-products {
  margin-top: 2rem !important;
}

.product-column {
  margin-bottom: 2rem !important;
  display: flex !important;
}

.modern-product-card {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 0 !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
}

.modern-product-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.product-header {
  text-align: center !important;
  padding: 2rem 1.5rem 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.product-icon {
  margin-bottom: 1rem !important;
}

.product-icon i {
  font-size: 3rem !important;
  color: var(--main-gradient-color) !important;
}

.product-name {
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.stock-info {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.875rem !important;
  margin-top: 0.5rem !important;
}

.product-pricing-modern {
  text-align: center !important;
  padding: 1.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.bundle-label,
.starting-from {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.875rem !important;
  margin-bottom: 0.5rem !important;
}

.price-main {
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-bottom: 0.5rem !important;
}

.price-cycle {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 1rem !important;
  margin-bottom: 0.5rem !important;
}

.setup-fee {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.875rem !important;
}

.product-features {
  padding: 1.5rem !important;
  flex-grow: 1 !important;
}

.product-description {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  margin-bottom: 1rem !important;
}

.feature-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.feature-item {
  display: flex !important;
  align-items: flex-start !important;
  margin-bottom: 0.75rem !important;
}

.feature-check {
  color: var(--main-gradient-color) !important;
  font-size: 1.5rem !important;
  margin-right: 0.75rem !important;
  margin-top: 0.125rem !important;
  flex-shrink: 0 !important;
}

.feature-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
}

.feature-label {
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.feature-value {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 15px !important;
}

.product-footer {
  padding: 1.5rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modern-order-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  padding: 0.875rem 1.5rem !important;
  background: var(--main-gradient-color) !important;
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.modern-order-btn:hover {
  background: var(--secondary-gradient-color) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3) !important;
}

.modern-order-btn i {
  font-size: 1rem !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .product-column {
    margin-bottom: 1.5rem !important;
  }
  
  .modern-product-card {
    max-width: 400px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 767px) {
  .product-header {
    padding: 1.5rem 1rem 0.75rem !important;
  }
  
  .product-icon i {
    font-size: 2.5rem !important;
  }
  
  .product-name {
    font-size: 1.25rem !important;
  }
  
  .price-main {
    font-size: 2rem !important;
  }
}

/* Modern Transparent Card Design - Replace solid backgrounds */

.whm-sidebar,

.wdes-clientarea-panel-block,
.client-home-panels .panel,
section#header,
section#footer,
.wdes-checkout,
.wdes-block,
.logout-con,
.wdes-panel,
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_length,
.panel-wdes,
.wdes-inner-block,
.product-status,
div.product-details div.product-icon,
.wdes-knb-block,
.ticket-reply,
.well,
.wdes-client-ticket,
.invoice-summary,
.wdes-table-mass .bg-info,
.wdes-table-mass .masspay-total td,
.alert-wdes-info,
.wdes-block-board,
.wdes-panel-status.panel,
.wdes-panel-status .list-group-item,
div.product-details-tab-container,
.tab-content.product-details-tab-container,
.marketing-email-optin,
div.credit-card,
.modal-content,
.email-verification,
.panel-warning,
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_length,
.tospanel,
.ticketfeedbackstaffcont,
.landing-page .pricing-item,
.landing-page.weebly .weebly-lite-plan,
.landing-page .panel-default,
#order-digit-of .product-info,
#order-digit-of .wdes-server-field-container,
#order-digit-of .panel-addon,
#order-digit-of .order-summary,
.landing-page .content-block.faq .panel-collapse,
.landing-page.mail-services .product-options .item,
.wdes-checkout,
.view-cart-tabs,
.view-cart-tabs .tab-content,
.landing-page.sitebuilder .pricing-table {
  background: rgba(0, 0, 0, 0.3) !important;
  border:0 !important;
}

.product-info p {
  line-height:15px !important;
  margin-top:20px !important;
}

/* Header specific transparency */
section#header {
  background: rgba(0, 0, 0, 0.2) !important;
  border-left: 0px solid rgba(255, 255, 255, 0.1) !important;
}

/* Footer specific transparency */
section#footer {
  background: rgba(0, 0, 0, 0.3) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Sidebar transparency enhancement */
.whm-sidebar {
  background: rgba(0, 0, 0, 0.4) !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Panel headers with slight transparency */

.wdes-panel .panel-heading,
.panel-warning .panel-heading,
.tospanel .panel-heading {
  background: rgba(0, 0, 0, 0.4) !important;
  border:0 !important;
}

/* Form controls with transparency */
.form-control,
.wdes-input-form,
input, select, textarea {
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Table styling with transparency */
.table-striped > tbody > tr:nth-of-type(odd),
.dataTables_wrapper .table-list > tbody > tr,
.wdes-table-mass tbody > tr > td {
  background: rgba(0, 0, 0, 0.2) !important;
}

/* Restore Font Awesome icon fonts FIRST - highest priority */
.fa, .fas, .far, .fab, .fal, .fad,
[class*="fa-"],
[class*="fas "], [class*="far "], [class*="fab "], [class*="fal "], [class*="fad "],
i, span.fa, span.fas, span.far, span.fab, span.fal, span.fad {
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Duotone", "FontAwesome" !important;
}

/* Apply Inter font to main text elements */
html, body {
  font-family: "Inter", sans-serif !important;
}

/* Replace both Karla and Montserrat with Inter - Target specific text elements */
p, h1, h2, h3, h4, h5, h6, span, div, a, li, td, th, 
button:not([class*="fa"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad),
input, select, textarea, label,
.wdes-sidebar .wdes-user-area-nav .panel ul li a,
.wdes-sidebar .wdes-user-area-nav .panel > a,
.whm-sidebar .panel-body,
.whm-sidebar .panel-sidebar > .panel-heading .panel-title,
.client-home-panels .panel > .panel-body,
.client-home-panels .panel > .panel-heading .panel-title,
.inner-announce-text,
.custom-desc,
.domainchecker-homepage-captcha p,
.announcement-single p,
.knb-article.kb-article-content,
.ticket-reply .message p,
form.header-search-frame,
.landing-page .hero h3,
.landing-page.ssl .standout p,
.landing-page.ssl .standout ul,
.landing-page .ssl-certs-all p,
.landing-page.ssl .browser-notice .wrapper,
.landing-page .content-block.image-standout p.lead.text-center,
.landing-page.sitelock p,
.landing-page.sitelock .feature-wrapper .content p,
.landing-page.ssl .what-is-ssl ul li,
.landing-page.ssl .ssl-benefits .col-md-2.col-sm-4,
.landing-page.ssl .browser-notice .wrapper,
.landing-page .ssl-certs-all p,
.landing-page.codeguard .content-block,
.landing-page.marketgoo .testimonials .testimonial,
.landing-page.nordvpn p,
#main-menu .wdes-custom-nav > .panel > a,
.wdes-collapse-bg ul li a,
a.wdes-livechat,
section#footer,
.block-knb h2,
.knb-article h2,
.wdes-submit,
.wdes-2nd-btn,
a.wdes-2nd-btn,
.btn-social,
.controls label,
.wdes-panel .panel-heading h3,
.logout-con,
.affiliate-stat,
.affiliate-referral-link h3,
.cpanel-package-details em,
.cpanel-package-details h4,
#tabOverview #cPanelPackagePanel p a,
#tabOverview #cPanelUsagePanel #diskUsage > strong,
#tabOverview #cPanelUsagePanel #bandwidthUsage > strong,
#tabOverview #cPanelExtrasPurchasePanel form.form-inline .btn,
#tabOverview .cpanel-feature-row a,
#tabOverview #cPanelBillingOverviewPanel .panel-body,
#tabOverview #cPanelConfigurableOptionsPanel .panel-body {
  font-family: "Inter", sans-serif !important;
}

/* Fix product feature alignment - left align instead of center */
.product-desc ul li,
.product-desc ul li .feature-value,
.product .product-desc ul li,
.product .product-desc ul li .feature-value {
  text-align: left !important;
}

.wdes-loading{
  background: linear-gradient(to bottom right, #0f172a, #1e293b, #0f172a) !important;
}

.modal-content, .panel-primary{background: linear-gradient(to bottom right, #0f172a, #1e293b, #0f172a) !important;}

/* Ensure menu items use Inter font (override Montserrat) */
#main-menu .wdes-custom-nav > .panel > a {
  font-family: "Inter", sans-serif, "Font Awesome 5 Pro" !important;
}

/* Force override ALL Raleway references with Inter */
* {
  font-family: "Inter", sans-serif !important;
}

/* Restore Font Awesome for icons only */
.fa, .fas, .far, .fab, .fal, .fad,
[class*="fa-"],
[class*="fas "], [class*="far "], [class*="fab "], [class*="fal "], [class*="fad "],
i.fa, i.fas, i.far, i.fab, i.fal, i.fad,
span.fa, span.fas, span.far, span.fab, span.fal, span.fad {
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Duotone", "FontAwesome" !important;
}

/* Order Form Rounded Corners Override - Update-safe */
#order-digit-of .products .product {
  border-radius: 1rem !important;
}

#order-digit-of .products .product header, #order-digit-of .products .product header i {
  border-radius: 1rem 1rem 0 0 !important;
  padding:10px !important;
  margin-bottom:0 !important;
}

.product-desc ul li{line-height:25px !important;}

#order-digit-of .products .product div.product-pricing{padding:10px !important;}

#order-digit-of .products .product {
  background: #242d3e !important;
}

.list-group .list-group-item{
  border-radius:0 !important;
}

#active-link::after{
  border-left: 20px solid transparent;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.status {
  border: 0;
  background-color: #242d3e;
}

table.table-list thead th, .dataTables_wrapper table.table-list thead th.sorting_asc, .dataTables_wrapper table.table-list thead th.sorting_desc {
  background-color: #242d3e !important;
  color: #fff;
}

.dataTables_wrapper table.table-list thead th {
  border-bottom: 0 !important;
  font-weight: 400;
}

/* DataTables Search Field Styling */
.dataTables_wrapper .dataTables_filter label .form-control {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  padding-left: 40px !important;
  background-image: none !important;
  position: relative !important;
}

.dataTables_wrapper .dataTables_filter label .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Add FontAwesome search icon */
.dataTables_wrapper .dataTables_filter label {
  position: relative !important;
}

.whm-sidebar .list-group .list-group-item {
  border-radius: 1em !important;
}

/* Modern Alert Styling */
.alert {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 1rem !important;
  color: #ffffff !important;
  padding: 20px !important;
  margin: 20px 0 !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.alert-warning {
  background: rgba(241, 196, 15, 0.15) !important;
  border-color: rgba(241, 196, 15, 0.3) !important;
  color: #f1c40f !important;
}

.alert-warning::before {
  content: "\f071";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  margin-right: 10px;
  font-size: 16px;
}

.alert-danger {
  background: rgba(231, 76, 60, 0.15) !important;
  border-color: rgba(231, 76, 60, 0.3) !important;
  color: #e74c3c !important;
}

.alert-danger::before {
  content: "\f06a";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  margin-right: 10px;
  font-size: 16px;
}

.alert-success {
  background: rgba(46, 204, 113, 0.15) !important;
  border-color: rgba(46, 204, 113, 0.3) !important;
  color: #2ecc71 !important;
}

.alert-success::before {
  content: "\f058";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  margin-right: 10px;
  font-size: 16px;
}

.alert-info {
  background: rgba(52, 152, 219, 0.15) !important;
  border-color: rgba(52, 152, 219, 0.3) !important;
  color: #3498db !important;
}

.alert-info::before {
  content: "\f05a";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  margin-right: 10px;
  font-size: 16px;
}

.dataTables_wrapper .dataTables_filter label::before {
  content: "\f002" !important;
  font-family: "Font Awesome 5 Pro", "FontAwesome" !important;
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  z-index: 10 !important;
  pointer-events: none !important;
}

/* Product Details Page Custom Styling */
.product-details-modern {
  margin-top: 2rem;
}

.product-header-card {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 1rem !important;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.product-info-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.product-icon-large .fa-stack {
  margin-bottom: 0;
}

.product-icon-large .status-active {
  color: #22c55e !important;
}

.product-icon-large .status-suspended {
  color: #ef4444 !important;
}

.product-icon-large .status-pending {
  color: #f59e0b !important;
}

.product-title-section h2.product-name {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  font-family: "Inter", sans-serif !important;
}

.product-title-section .product-group {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin: 0 0 1rem 0;
  font-family: "Inter", sans-serif !important;
}

.product-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: "Inter", sans-serif !important;
}

.product-status-badge.status-active {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.product-status-badge.status-suspended {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.product-status-badge.status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.whm-sidebar .panel-sidebar {
  border-radius: 0 !important;
}

.whm-sidebar .panel-sidebar > .panel-footer .btn-default {
  border: 0 !important;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.btn-product-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-family: "Inter", sans-serif !important;
  border: none;
  transition: all 0.3s ease;
}

.btn-product-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.billing-info-grid {
  margin-bottom: 2rem;
}

.billing-info-card {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 1rem !important;
  padding: 1.5rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.billing-info-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.billing-info-card.alert-card {
  border-color: rgba(239, 68, 68, 0.3) !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

.billing-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: var(--main-gradient-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.billing-icon i {
  color: #fff;
  font-size: 1.25rem;
}

.billing-content h4 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: "Inter", sans-serif !important;
}

.billing-content p {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  font-family: "Inter", sans-serif !important;
}

.hook-output-card {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 1rem !important;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.product-tabs-section {
  margin-top: 2rem;
}

.product-nav-tabs {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 1rem 1rem 0 0 !important;
  padding: 0.5rem;
  margin: 0;
  border-bottom: none !important;
}

.product-nav-tabs li {
  margin: 0;
}

.product-nav-tabs li a {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-radius: 0.5rem !important;
  margin: 0 0.25rem;
  padding: 0.75rem 1rem;
  font-family: "Inter", sans-serif !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.product-nav-tabs li a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.product-nav-tabs li.active a {
  background: var(--main-gradient-color) !important;
  color: #fff !important;
}

.product-nav-tabs li a i {
  margin-right: 0.5rem;
}

.product-tab-content {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 0 1rem 1rem !important;
  border-top: none !important;
}

.tab-content-card {
  padding: 2rem;
}

.server-info-grid,
.hosting-info-grid,
.config-options-grid,
.custom-fields-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.server-info-item,
.hosting-info-item,
.config-option-item,
.custom-field-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  gap: 1rem;
}

.server-info-item strong,
.hosting-info-item strong,
.config-option-item strong,
.custom-field-item strong {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Inter", sans-serif !important;
  font-weight: 500;
  min-width: 150px;
  flex-shrink: 0;
}

.server-info-item span,
.hosting-info-item span,
.config-option-item span,
.custom-field-item span {
  color: #fff;
  font-family: "Inter", sans-serif !important;
  text-align: right;
}

.hosting-info-item.nameservers {
  flex-direction: column;
  align-items: flex-start;
}

.nameserver-list {
  width: 100%;
  margin-top: 0.5rem;
}

.nameserver-list div {
  color: #fff;
  font-family: "Inter", sans-serif !important;
  margin-bottom: 0.25rem;
}

.ssl-status-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.domain-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.domain-actions .btn {
  border-radius: 0.5rem !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.module-client-area {
  border-radius: 0.5rem;
  overflow: hidden;
}

.resource-usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.usage-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
}

.usage-item h4 {
  color: #fff;
  font-family: "Inter", sans-serif !important;
  font-weight: 600;
  margin-bottom: 1rem;
}

.usage-chart {
  margin: 1rem 0;
}

.usage-item p {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Inter", sans-serif !important;
  margin: 0;
}

.last-updated {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6) !important;
  font-family: "Inter", sans-serif !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-header-card {
    padding: 1.5rem;
  }
  
  .product-info-main {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .product-actions {
    margin-top: 1rem;
  }
  
  .billing-info-card {
    padding: 1rem;
  }
  
  .server-info-item,
  .hosting-info-item,
  .config-option-item,
  .custom-field-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .server-info-item strong,
  .hosting-info-item strong,
  .config-option-item strong,
  .custom-field-item strong {
    min-width: auto;
  }
  
  .server-info-item span,
  .hosting-info-item span,
  .config-option-item span,
  .custom-field-item span {
    text-align: left;
  }
  
  .domain-actions {
    flex-direction: column;
  }
  
  .domain-actions .btn {
    justify-content: center;
  }
}

/* Enhanced Modern Product Details Styling */
.product-details-modern .product-header-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem !important;
    padding: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Ensure no conflicting border-radius from parent elements */
.product-details-modern .product-header-card * {
    border-radius: inherit;
}

.product-details-modern .service-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 3px solid;
}

.product-details-modern .service-icon-large.status-active {
    background: rgba(46, 204, 113, 0.2);
    border-color: #2ecc71;
}

.product-details-modern .service-icon-large.status-suspended {
    background: rgba(231, 76, 60, 0.2);
    border-color: #e74c3c;
}

.product-details-modern .service-icon-large.status-pending {
    background: rgba(241, 196, 15, 0.2);
    border-color: #f1c40f;
}

.product-details-modern .service-icon-large i {
    font-size: 32px;
    color: #ffffff;
}

.product-details-modern .product-name {
    color: #ffffff;
    font-size: 18px;
    margin: 15px 0 5px 0;
    font-weight: 600;
}

.product-details-modern .product-group {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0 0 15px 0;
    font-weight: 400;
}

.product-details-modern .product-status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 15px;
}

.product-details-modern .product-status-badge.status-active {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.product-details-modern .product-status-badge.status-suspended {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.product-details-modern .product-status-badge.status-pending {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.product-details-modern .status-active {
    color: #2ecc71 !important;
}

.product-details-modern .status-suspended {
    color: #e74c3c !important;
}

.product-details-modern .status-pending {
    color: #f1c40f !important;
}

/* Modern Billing Items - Clean Single Container */
.product-details-modern .billing-info-section {
    padding: 24px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
}

.product-details-modern .modern-billing-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 30px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-details-modern .product-status.product-status-pending {
  margin-top: 0 !important;
}



.product-details-modern .modern-billing-item.alert-item {
    border-bottom-color: rgba(231, 76, 60, 0.2);
}

.product-details-modern .modern-billing-item.alert-item .billing-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.product-details-modern .billing-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #149958, #1ebf73);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(20, 153, 88, 0.2);
}

.product-details-modern .billing-icon i {
    color: #ffffff;
    font-size: 16px;
}

.product-details-modern .billing-content {
    flex: 1;
}

.product-details-modern .billing-content h4 {
    color: #ffffff;
    font-size: 12px;
    margin: 0 0 5px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-details-modern .billing-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin: 0;
    font-weight: 500;
}

.product-details-modern .billing-info-card.alert-card {
    border-color: rgba(231, 76, 60, 0.3);
    background: rgba(231, 76, 60, 0.1);
}

.product-details-modern .billing-info-card.alert-card .billing-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Enhanced Product Actions */
.product-details-modern .product-actions {
    margin-top: 20px;
}

.product-details-modern .btn-product-action {
    margin-bottom: 10px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-details-modern .btn-product-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced Tab Content */
.product-details-modern .tab-content-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 30px;
    backdrop-filter: blur(10px);
}

/* Fix Bootstrap tabdrop dropdown styling - Override all nested containers */
.product-details-modern .row .col-xs-12 .product-nav-tabs .tabdrop,
.product-nav-tabs .tabdrop,
.nav-tabs .tabdrop {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.product-details-modern .row .col-xs-12 .product-nav-tabs .tabdrop .dropdown-toggle,
.product-nav-tabs .tabdrop .dropdown-toggle,
.nav-tabs .tabdrop .dropdown-toggle {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.product-details-modern .row .col-xs-12 .product-nav-tabs .tabdrop .dropdown-toggle:hover,
.product-nav-tabs .tabdrop .dropdown-toggle:hover,
.nav-tabs .tabdrop .dropdown-toggle:hover,
.product-details-modern .row .col-xs-12 .product-nav-tabs .tabdrop.open .dropdown-toggle,
.product-nav-tabs .tabdrop.open .dropdown-toggle,
.nav-tabs .tabdrop.open .dropdown-toggle {
    background: linear-gradient(135deg, #149958, #1ebf73) !important;
    color: #ffffff !important;
    border-color: #149958 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.product-details-modern .row .col-xs-12 .product-nav-tabs .tabdrop .dropdown-menu,
.product-nav-tabs .tabdrop .dropdown-menu,
.nav-tabs .tabdrop .dropdown-menu {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px) !important;
    margin-top: 5px !important;
    min-width: 180px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.product-details-modern .row .col-xs-12 .product-nav-tabs .tabdrop .dropdown-menu li a,
.product-nav-tabs .tabdrop .dropdown-menu li a,
.nav-tabs .tabdrop .dropdown-menu li a {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 10px 15px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.product-nav-tabs .tabdrop .dropdown-menu li a:hover,
.product-nav-tabs .tabdrop .dropdown-menu li.active a {
    background: linear-gradient(135deg, #149958, #1ebf73) !important;
    color: #ffffff !important;
}

.product-nav-tabs .tabdrop .dropdown-menu li a i {
    margin-right: 8px !important;
    width: 16px !important;
    text-align: center !important;
}

/* Fix caret styling */
.product-nav-tabs .tabdrop .caret {
    border-top-color: rgba(255, 255, 255, 0.8) !important;
    border-bottom-color: rgba(255, 255, 255, 0.8) !important;
}

.product-nav-tabs .tabdrop.open .caret,
.product-nav-tabs .tabdrop:hover .caret {
    border-top-color: #ffffff !important;
    border-bottom-color: #ffffff !important;
}

/* Hide the icon-align-justify if it's causing issues */
.product-nav-tabs .tabdrop .icon-align-justify {
    display: none !important;
}

/* Replace with FontAwesome icon */
.product-nav-tabs .tabdrop .dropdown-toggle::before {
    content: "\f0c9" !important;
    font-family: "Font Awesome 5 Pro" !important;
    margin-right: 8px !important;
}

/* Reset any Bootstrap styling conflicts from nested containers */
.product-details-modern .row {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.product-details-modern .row .col-xs-12 {
    background: none !important;
    border: none !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Ensure tabdrop has proper z-index */
.product-nav-tabs .tabdrop {
    position: relative !important;
    z-index: 1000 !important;
}

.product-nav-tabs .tabdrop .dropdown-menu {
    z-index: 1001 !important;
}

/* Modern Breadcrumb Styling */
.modern-breadcrumb-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 8px 16px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modern-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-right: 8px;
}

.breadcrumb-item:last-child {
    margin-right: 0;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.breadcrumb-link i {
    margin-right: 6px;
    font-size: 12px;
    width: 14px;
    text-align: center;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    margin: 0 8px;
}

.breadcrumb-current {
    display: flex;
    align-items: center;
    color: #1ebf73;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(30, 191, 115, 0.1);
    border: 1px solid rgba(30, 191, 115, 0.3);
    border-radius: 6px;
}

.breadcrumb-current i {
    margin-right: 6px;
    font-size: 12px;
    width: 14px;
    text-align: center;
}

/* Override old breadcrumb styling completely */
#active-link {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    color: inherit !important;
}

#active-link::before,
#active-link::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
}

/* Mobile responsive breadcrumb */
@media (max-width: 768px) {
    .modern-breadcrumb-wrapper {
        padding: 6px 12px;
        margin-bottom: 16px;
        position: relative !important;
        z-index: 20 !important;
        clear: both !important;
    }
    
    .modern-breadcrumb {
        font-size: 13px;
    }
    
    .breadcrumb-item {
        margin-right: 4px;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        padding: 4px 8px;
        font-size: 13px;
    }
    
    .breadcrumb-separator {
        margin: 0 4px;
        font-size: 9px;
    }
    
    /* Keep text visible on mobile but make it more compact */
    @media (max-width: 480px) {
        .breadcrumb-link,
        .breadcrumb-current {
            padding: 4px 6px;
            font-size: 12px;
        }
        
        .breadcrumb-link i,
        .breadcrumb-current i {
            font-size: 12px;
            margin-right: 4px;
        }
        
        .breadcrumb-separator {
            margin: 0 2px;
            font-size: 8px;
        }
    }
    
    /* Only hide text on extremely small screens (320px and below) */
    @media (max-width: 320px) {
        .breadcrumb-link span,
        .breadcrumb-current span {
            display: none;
        }
        
        .breadcrumb-link i,
        .breadcrumb-current i {
            margin-right: 0;
            font-size: 14px;
        }
        
        .breadcrumb-link,
        .breadcrumb-current {
            padding: 6px;
            min-width: 32px;
            justify-content: center;
        }
    }
}

/* Special styling for register breadcrumb */
.wdes-register-breadcrumb {
    background: rgba(30, 191, 115, 0.1);
    border-color: rgba(30, 191, 115, 0.3);
}

.wdes-register-breadcrumb .breadcrumb-link {
    color: rgba(30, 191, 115, 0.8);
}

.wdes-register-breadcrumb .breadcrumb-link:hover {
    color: #1ebf73;
    background: rgba(30, 191, 115, 0.2);
}

/* Fix Manage button styling from module output */
.product-details-modern .module-client-area .btn,
.product-details-modern .tab-content .btn {
    background: linear-gradient(135deg, #149958, #1ebf73) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin: 10px 5px !important;
}

.product-details-modern .module-client-area .btn:hover,
.product-details-modern .tab-content .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    background: linear-gradient(135deg, #0e7a44, #149958) !important;
}

/* Fix floating button issue */
.product-details-modern .module-client-area {
    clear: both;
    padding: 20px 0;
    text-align: center;
}

/* Make sure tab content is properly contained */
.product-details-modern .product-tab-content .tab-pane {
    min-height: 200px;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .product-details-modern .billing-info-section {
        padding: 20px !important;
        margin-top: 20px !important;
        background: rgba(0, 0, 0, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 1rem !important;
    }
    
    .product-details-modern .modern-billing-item {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        flex-direction: column;
        text-align: center;
        padding: 16px 0 !important;
        margin-bottom: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    
    .product-details-modern .modern-billing-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    
    .product-details-modern .modern-billing-item:first-child {
        padding-top: 0 !important;
    }
    
    .product-details-modern .billing-icon {
        margin-right: 0 !important;
        margin-bottom: 12px !important;
        width: 40px !important;
        height: 40px !important;
        background: linear-gradient(135deg, #149958, #1ebf73) !important;
        border-radius: 10px !important;
    }
    
    .product-details-modern .modern-billing-item.alert-item .billing-icon {
        background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    }
    
    .product-details-modern .product-header-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .product-details-modern .product-name {
        font-size: 16px;
    }
    
    /* Fix mobile sidebar positioning and visibility */
    .whm-sidebar {
        position: relative !important;
        z-index: 1 !important;
        margin-bottom: 20px !important;
    }
    
    /* Force proper mobile layout structure */
    .wdes-wrapper {
        display: block !important;
    }
    
    .wdes-content {
        width: 100% !important;
        min-width: 0 !important;
    }
    
    /* Ensure sidebar appears properly on mobile */
    .whm-sidebar {
        width: 100% !important;
        float: none !important;
        position: relative !important;
        margin: 0 0 20px 0 !important;
        display: block !important;
        clear: both !important;
    }
    
    /* Hide sidebar only on very small screens if absolutely needed */
    @media (max-width: 360px) {
        .whm-sidebar {
            display: none !important;
        }
    }
}
