/* ==========================================================================
   FARIDPUR FASTYCLOUD WHMCS THEME - CUSTOM USER OVERRIDES
   Place any personal customizations or overrides in this file.
   It will not be overwritten during core theme updates.
   ========================================================================== */

/* Example: Change primary color scheme */
/*
:root {
  --primary: #1b5eaf;
  --accent: #00d084;
}
*/

/* Custom WHMCS Client Area tweaks */
.table th {
  background-color: #f8fafc;
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}

.table td {
  vertical-align: middle;
  border-color: #f1f5f9;
}

.badge {
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-success {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #0c3366;
  font-weight: 700;
}

.btn-success:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #0c3366;
}

/* Custom Select & Form Field Enhancements */
select,
select.form-control,
.custom-select,
#order-standard_cart select,
#order-standard_cart .custom-select,
#order-standard_cart select.form-control,
#order-standard_cart .select-inline,
.card-sidebar select,
.sidebar select,
.panel-sidebar select,
#inputBillingcycle,
#inputCountry,
#registertld,
#transfertld,
#subdomaintld,
#incartsld,
select[name="currency"],
select[name="billingcycle"],
#modalChooseCurrency select {
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  line-height: 44px !important;
  padding: 0 38px 0 14px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 10px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  overflow: visible !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  display: block !important;
  width: 100% !important;
}

/* Button Hover State Fixes - Promo Button Scoped */
button[name="validatepromo"],
#btnValidatePromoCode,
.btn-validate,
.btn-apply-promo,
#order-standard_cart button[name="validatepromo"],
.view-cart-promotion-code button[type="submit"] {
  background-color: #1b5eaf !important;
  border-color: #1b5eaf !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  height: 46px !important;
  min-height: 46px !important;
  line-height: 44px !important;
  padding: 0 24px !important;
  border-radius: 6px !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

button[name="validatepromo"]:hover,
#btnValidatePromoCode:hover,
#order-standard_cart button[name="validatepromo"]:hover,
.view-cart-promotion-code button[type="submit"]:hover {
  background-color: #0c3366 !important;
  border-color: #0c3366 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 4px 14px rgba(12, 51, 102, 0.35) !important;
}

/* Prepend Icon Form Groups & Icon Alignment */
#order-standard_cart .prepend-icon,
.prepend-icon {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

#order-standard_cart .prepend-icon .field-icon,
.prepend-icon .field-icon {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 44px !important;
  height: 46px !important;
  line-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 4 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #64748b !important;
  background: transparent !important;
  border: none !important;
}

#order-standard_cart .prepend-icon .field-icon i,
.prepend-icon .field-icon i {
  font-size: 15px !important;
  color: #64748b !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

#order-standard_cart .prepend-icon:focus-within .field-icon i,
.prepend-icon:focus-within .field-icon i {
  color: #1b5eaf !important;
}

#order-standard_cart .prepend-icon label.field-icon ~ label.field-icon {
  display: none !important;
}
#order-standard_cart .prepend-icon label.field-icon.w-hidden + label.field-icon {
  display: flex !important;
}

#order-standard_cart .prepend-icon .field,
#order-standard_cart .prepend-icon input.form-control,
#order-standard_cart .prepend-icon input.field,
.prepend-icon .field,
.prepend-icon input.form-control {
  padding-left: 46px !important;
  padding-right: 14px !important;
  height: 46px !important;
}

#order-standard_cart .prepend-icon select.field,
#order-standard_cart .prepend-icon select.form-control,
#order-standard_cart .prepend-icon select,
.prepend-icon select,
.prepend-icon #inputCountry,
#order-standard_cart .prepend-icon #inputCountry,
select#inputCountry.field,
select#inputCountry {
  padding-left: 46px !important;
  padding-right: 38px !important;
  height: 46px !important;
}


/* International Telephone Input (Phone Number & Country Code) */
#order-standard_cart label[for="inputPhone"].field-icon,
.prepend-icon label[for="inputPhone"].field-icon,
#order-standard_cart label#inputPhoneIcon,
.prepend-icon:has(.intl-tel-input) > label.field-icon {
  display: none !important;
}

.intl-tel-input,
#order-standard_cart .intl-tel-input {
  display: block !important;
  width: 100% !important;
  position: relative !important;
}

.intl-tel-input .flag-container,
#order-standard_cart .intl-tel-input .flag-container {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  height: 46px !important;
}

.intl-tel-input .selected-flag,
#order-standard_cart .intl-tel-input .selected-flag {
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 8px 0 12px !important;
  gap: 6px !important;
  background-color: #f8fafc !important;
  border-right: 1px solid #cbd5e1 !important;
  border-radius: 8px 0 0 8px !important;
}

.intl-tel-input .selected-flag .iti-flag,
#order-standard_cart .intl-tel-input .selected-flag .iti-flag {
  vertical-align: middle !important;
}

.intl-tel-input .selected-flag .selected-dial-code,
#order-standard_cart .intl-tel-input .selected-flag .selected-dial-code {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  line-height: 1 !important;
  margin-left: 2px !important;
}

.intl-tel-input .selected-flag .iti-arrow,
#order-standard_cart .intl-tel-input .selected-flag .iti-arrow {
  margin-left: 5px !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
  margin-top: 0 !important;
}

.intl-tel-input .selected-flag .iti-arrow::after,
#order-standard_cart .intl-tel-input .selected-flag .iti-arrow::after {
  content: "\f0d7";
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", sans-serif;
  font-weight: 900;
  font-size: 11px;
  color: #64748b;
  display: inline-block;
  vertical-align: middle;
}

.intl-tel-input input[type="tel"],
#order-standard_cart .intl-tel-input input[type="tel"],
#order-standard_cart input#inputPhone,
input#inputPhone {
  padding-left: 95px !important;
  padding-right: 14px !important;
  height: 46px !important;
  line-height: 44px !important;
}

/* Modal Stacking & Remove Item / Empty Cart Popups */
.modal-backdrop,
div.modal-backdrop,
.modal-backdrop.fade.show,
.modal-backdrop.fade.in {
  z-index: 104000 !important;
  background-color: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  opacity: 1 !important;
}

.modal,
div.modal,
#modalRemoveItem,
#modalEmptyCart,
.modal-remove-item {
  z-index: 105000 !important;
}

body.modal-open .fasty-header,
body.modal-open .fasty-topbar,
body.modal-open header.fasty-header {
  z-index: 1000 !important;
}

.modal-remove-item .modal-dialog,
#modalRemoveItem .modal-dialog,
#modalEmptyCart .modal-dialog {
  max-width: 440px !important;
  width: 90% !important;
  margin: 15vh auto !important;
  z-index: 105001 !important;
  position: relative !important;
}

.modal-remove-item .modal-content,
#modalRemoveItem .modal-content,
#modalEmptyCart .modal-content {
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35) !important;
  background: #ffffff !important;
  overflow: hidden !important;
  padding: 8px 10px 20px 10px !important;
}

.modal-remove-item .modal-body,
#modalRemoveItem .modal-body,
#modalEmptyCart .modal-body {
  padding: 30px 24px 20px 24px !important;
  text-align: center !important;
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.modal-remove-item .close,
#modalRemoveItem .close,
#modalEmptyCart .close {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  font-size: 22px !important;
  color: #94a3b8 !important;
  opacity: 0.8 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  transition: color 0.2s !important;
  z-index: 10 !important;
}
.modal-remove-item .close:hover,
#modalRemoveItem .close:hover,
#modalEmptyCart .close:hover {
  color: #0f172a !important;
  opacity: 1 !important;
}

.modal-remove-item .modal-title,
#modalRemoveItem .modal-title,
#modalEmptyCart .modal-title {
  display: block !important;
  text-align: center !important;
  margin-bottom: 12px !important;
  border: none !important;
}

.modal-remove-item .modal-title i,
#modalRemoveItem .modal-title i,
#modalEmptyCart .modal-title i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  background: #fef2f2 !important;
  color: #ef4444 !important;
  font-size: 24px !important;
  margin: 0 auto 14px auto !important;
  padding: 0 !important;
}

.modal-remove-item .modal-title span,
#modalRemoveItem .modal-title span,
#modalEmptyCart .modal-title span {
  display: block !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.modal-remove-item .modal-footer,
#modalRemoveItem .modal-footer,
#modalEmptyCart .modal-footer {
  border-top: none !important;
  padding: 10px 24px 10px 24px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

.modal-remove-item .modal-footer .btn,
#modalRemoveItem .modal-footer .btn,
#modalEmptyCart .modal-footer .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 120px !important;
  height: 42px !important;
  line-height: 40px !important;
  padding: 0 20px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}

.modal-remove-item .modal-footer .btn-default,
#modalRemoveItem .modal-footer .btn-default,
#modalEmptyCart .modal-footer .btn-default {
  background-color: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}
.modal-remove-item .modal-footer .btn-default:hover,
#modalRemoveItem .modal-footer .btn-default:hover,
#modalEmptyCart .modal-footer .btn-default:hover {
  background-color: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
}

.modal-remove-item .modal-footer .btn-primary,
#modalRemoveItem .modal-footer .btn-primary,
#modalEmptyCart .modal-footer .btn-primary {
  background-color: #dc2626 !important;
  border: 1px solid #dc2626 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25) !important;
}
.modal-remove-item .modal-footer .btn-primary:hover,
#modalRemoveItem .modal-footer .btn-primary:hover,
#modalEmptyCart .modal-footer .btn-primary:hover {
  background-color: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   Password Generator Modal & Button Styling
   ========================================================================== */
.generate-password {
  cursor: pointer !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  transition: all 0.2s ease !important;
}

.generate-password:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(27, 94, 175, 0.25) !important;
}

#modalGeneratePassword {
  z-index: 105000 !important;
}

#modalGeneratePassword .modal-dialog {
  max-width: 480px !important;
  margin: 1.75rem auto !important;
}

#modalGeneratePassword .modal-content {
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden !important;
}

#modalGeneratePassword .modal-header {
  background: var(--fc-primary, #1b5eaf) !important;
  color: #ffffff !important;
  padding: 16px 20px !important;
  border-bottom: none !important;
}

#modalGeneratePassword .modal-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

#modalGeneratePassword .modal-header .close {
  color: #ffffff !important;
  opacity: 0.85 !important;
  text-shadow: none !important;
  font-size: 24px !important;
  padding: 14px 18px !important;
  margin: -16px -20px -16px auto !important;
}

#modalGeneratePassword .modal-header .close:hover {
  opacity: 1 !important;
}

#modalGeneratePassword .modal-body {
  padding: 22px 20px !important;
  background-color: #ffffff !important;
}

#modalGeneratePassword .modal-body .form-group {
  margin-bottom: 14px !important;
}

#modalGeneratePassword .modal-body label {
  font-size: 14px !important;
  color: #334155 !important;
  margin-bottom: 0 !important;
}

#modalGeneratePassword input#inputGeneratePasswordLength {
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 6px !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  padding: 6px 12px !important;
}

#modalGeneratePassword input#inputGeneratePasswordOutput {
  height: 44px !important;
  min-height: 44px !important;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  color: #0f172a !important;
  background-color: #f8fafc !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
}

#modalGeneratePassword .modal-footer {
  padding: 14px 20px !important;
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

#modalGeneratePassword .modal-footer .btn {
  height: 40px !important;
  line-height: 38px !important;
  padding: 0 18px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

#modalGeneratePassword .modal-footer .btn-primary {
  background-color: var(--fc-primary, #1b5eaf) !important;
  border-color: var(--fc-primary, #1b5eaf) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   TLD CATEGORY FILTERS (Fix white text hide / unselected and active states)
   ========================================================================== */
:root {
  --bg-inverted: #1b5eaf;
}

.tld-filters,
body #order-standard_cart .tld-filters,
body #order-standard_cart .domain-pricing .tld-filters {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 16px 0 24px 0 !important;
  align-items: center !important;
}

/* Base / Unselected category badges */
.tld-filters a,
.tld-filters .badge,
.tld-filters a.badge,
.tld-filters a.badge-secondary,
body #order-standard_cart .tld-filters a,
body #order-standard_cart .tld-filters .badge,
body #order-standard_cart .domain-pricing .tld-filters .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #1e293b !important;
  background-color: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  margin: 0 !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

/* Hover state on unselected badges */
.tld-filters a:hover,
.tld-filters .badge:hover,
.tld-filters a.badge-secondary:hover,
body #order-standard_cart .tld-filters a:hover,
body #order-standard_cart .tld-filters .badge:hover,
body #order-standard_cart .domain-pricing .tld-filters .badge:hover {
  color: #0f172a !important;
  background-color: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  text-decoration: none !important;
}

/* Focus state */
.tld-filters a:focus,
.tld-filters .badge:focus,
body #order-standard_cart .tld-filters a:focus,
body #order-standard_cart .domain-pricing .tld-filters .badge:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(27, 94, 175, 0.25) !important;
}

/* ACTIVE / CLICKED STATE: rich deep brand blue background with bright white text */
.tld-filters a.badge-success,
.tld-filters .badge.badge-success,
.tld-filters a.active,
.tld-filters .badge.active,
body #order-standard_cart .tld-filters a.badge-success,
body #order-standard_cart .tld-filters .badge.badge-success,
body #order-standard_cart .tld-filters a.active,
body #order-standard_cart .domain-pricing .tld-filters .badge.badge-success,
body #order-standard_cart .domain-pricing .tld-filters .badge.active {
  color: #ffffff !important;
  background-color: #1b5eaf !important;
  border-color: #1b5eaf !important;
  box-shadow: 0 2px 8px rgba(27, 94, 175, 0.35) !important;
  text-decoration: none !important;
}

/* Active Hover state */
.tld-filters a.badge-success:hover,
.tld-filters .badge.badge-success:hover,
.tld-filters a.active:hover,
body #order-standard_cart .tld-filters a.badge-success:hover,
body #order-standard_cart .tld-filters .badge.badge-success:hover,
body #order-standard_cart .domain-pricing .tld-filters .badge.badge-success:hover {
  color: #ffffff !important;
  background-color: #155099 !important;
  border-color: #155099 !important;
}

/* ==========================================================================
   REDESIGNED 4-COLUMN FOOTER (Inspired by Putul Host screenshot layout)
   Retaining Faridpur Web Host's rich green palette and fonts
   ========================================================================== */
.fasty-footer.ph-footer-layout {
  background-color: #053225 !important;
  color: #cbd5e1;
  padding: 80px 0 35px 0;
  font-family: var(--font-body, 'Inter', sans-serif);
}

.ph-footer-bottom-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr 1.3fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

.ph-fb-col {
  display: flex;
  flex-direction: column;
}

.ph-fb-title {
  color: #ffffff !important;
  font-family: var(--font-heading, 'Outfit', 'Plus Jakarta Sans', sans-serif);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: -0.2px;
}

/* Decorative Green Underline Bar */
.ph-title-line {
  width: 32px;
  height: 3px;
  background: #00d084;
  border-radius: 2px;
  margin-bottom: 22px;
}

/* Column 1: Our Address */
.ph-brand-heading {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: -0.1px;
}

.ph-fb-text {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 18px 0;
}

.ph-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ph-footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 0;
  color: #e2e8f0;
}

.ph-footer-contact .contact-item i {
  color: #00d084;
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.ph-footer-contact .contact-item a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.ph-footer-contact .contact-item a:hover {
  color: #00d084;
}

.ph-footer-contact .contact-hours {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
}

/* Column 2: Payment Options */
.ph-payment-options {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-block;
  max-width: 100%;
}

.ph-payment-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Column 3: Social Links & Community */
.ph-social-text {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 16px;
}

.ph-social-links-compact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ph-soc-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none !important;
}

.ph-soc-btn:hover {
  background: #00d084;
  color: #053225 !important;
  border-color: #00d084;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 208, 132, 0.35);
}

.ph-direct-support-box {
  margin-top: 4px;
}

.ph-wa-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 50px;
  background: rgba(0, 208, 132, 0.12);
  border: 1px solid rgba(0, 208, 132, 0.3);
  color: #00d084 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ph-wa-help-btn:hover {
  background: #00d084;
  color: #053225 !important;
  box-shadow: 0 4px 14px rgba(0, 208, 132, 0.3);
}

/* Column 4: Company Links & Affiliate */
.ph-footer-links-small {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ph-footer-links-small li {
  margin-bottom: 11px;
}

.ph-footer-links-small a {
  color: #cbd5e1;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.ph-footer-links-small a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.ph-affiliate-li {
  margin-top: 18px !important;
}

.ph-affiliate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border-radius: 50px;
  background: #00d084;
  color: #053225 !important;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 208, 132, 0.3);
}

.ph-affiliate-btn:hover {
  background: #00b371;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 208, 132, 0.45);
}

/* Bottom Row */
.ph-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ph-copyright-text {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
}

.ph-copyright-text strong {
  color: #00d084;
  font-weight: 600;
}

.ph-bottom-policy-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}

.ph-bottom-policy-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ph-bottom-policy-links a:hover {
  color: #ffffff;
}

.ph-bottom-policy-links .sep {
  color: rgba(255, 255, 255, 0.2);
}

/* Responsive Footer adjustments */
@media (max-width: 991px) {
  .ph-footer-bottom-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 575px) {
  .ph-footer-bottom-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ph-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .ph-bottom-policy-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   ULTRA-PROFESSIONAL FOOTER OVERHAUL (Grounding Card, Tool Chips, Modern Subfooter)
   ========================================================================== */

/* 1. Grounding & Local Cloud Ecosystem Card */
.fwh-pro-footer-card {
  margin-top: 35px;
  background: linear-gradient(135deg, rgba(6, 44, 34, 0.55) 0%, rgba(15, 23, 42, 0.7) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 18px;
  padding: 26px 30px;
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.fwh-pro-footer-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.55), 0 0 25px rgba(16, 185, 129, 0.08);
}

.fwh-pro-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fwh-pro-brand-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fwh-pro-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #10b981;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.fwh-pro-location-badge i {
  color: #34d399;
  font-size: 12px;
}

.fwh-pro-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 600;
}

.fwh-pro-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 600;
}

.fwh-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  animation: fwhPulseGlow 2s infinite ease-in-out;
}

@keyframes fwhPulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 4px #10b981;
    opacity: 0.9;
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 12px #34d399;
    opacity: 1;
  }
}

.fwh-pro-card-body {
  margin-bottom: 20px;
}

.fwh-pro-brand-title {
  color: #ffffff !important;
  font-family: var(--font-heading, 'Outfit', 'Plus Jakarta Sans', sans-serif);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  letter-spacing: -0.2px;
}

.fwh-pro-brand-title .en-sub {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
}

.fwh-pro-brand-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: #94a3b8;
  margin: 0 0 16px 0;
}

.fwh-pro-trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.fwh-tb-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.fwh-tb-item i {
  color: #10b981;
  font-size: 12.5px;
}

/* 2. Quick Services & Network Tools Ribbon */
.fwh-pro-services-ribbon {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.fwh-ribbon-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.fwh-ribbon-tag i {
  color: #10b981;
}

.fwh-chips-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 11px;
}

.fwh-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1 !important;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.fwh-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.fwh-chip-blue .fwh-chip-icon { color: #38bdf8; }
.fwh-chip-amber .fwh-chip-icon { color: #f59e0b; }
.fwh-chip-emerald .fwh-chip-icon { color: #10b981; }
.fwh-chip-purple .fwh-chip-icon { color: #c084fc; }
.fwh-chip-pink .fwh-chip-icon { color: #f472b6; }
.fwh-chip-green .fwh-chip-icon { color: #22c55e; }
.fwh-chip-cyan .fwh-chip-icon { color: #06b6d4; }
.fwh-chip-orange .fwh-chip-icon { color: #fb923c; }

.fwh-chip-item:hover {
  background: rgba(16, 185, 129, 0.14) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.2);
}

.fwh-chip-item:hover .fwh-chip-icon {
  transform: scale(1.15);
  transition: transform 0.2s ease;
}

/* 3. Bottom Row / Copyright & Policy Links */
.fwh-subfooter-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding: 24px 0 10px 0;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fwh-cr-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fwh-cr-text {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.fwh-cr-brand {
  color: #00d084;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fwh-cr-brand:hover {
  color: #34d399;
  text-decoration: underline;
}

.fwh-cr-tagline {
  font-size: 11.5px;
  color: #64748b;
  letter-spacing: 0.2px;
}

.fwh-legal-links-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.fwh-legal-link {
  color: #94a3b8 !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.fwh-legal-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06);
}

.fwh-legal-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
}

.fwh-status-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 600;
}

.fwh-status-link:hover {
  background: #10b981 !important;
  color: #053225 !important;
  border-color: #10b981 !important;
}

/* Responsive Footer rules */
@media (max-width: 991px) {
  .fwh-pro-footer-card {
    padding: 22px 20px;
  }
}

@media (max-width: 768px) {
  .fwh-pro-footer-card {
    padding: 18px 16px;
    border-radius: 14px;
    margin-top: 25px;
  }
  .fwh-pro-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .fwh-subfooter-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .fwh-cr-block {
    align-items: center;
  }
  .fwh-legal-links-block {
    justify-content: center;
    gap: 8px 12px;
  }
}

@media (max-width: 480px) {
  .fwh-chips-flex {
    gap: 7px;
  }
  .fwh-chip-item {
    padding: 6px 11px;
    font-size: 11.5px;
  }
}

/* ==========================================================================
   CUSTOM LEGAL & INFO PAGES (Terms, Privacy, Refund, About)
   ========================================================================== */
.ph-legal-wrapper {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  margin: 30px 0 60px 0;
  overflow: hidden;
}

.ph-legal-hero {
  background: linear-gradient(135deg, #053225 0%, #0c4a34 50%, #156649 100%);
  color: #ffffff;
  padding: 45px 40px;
  position: relative;
}

.ph-legal-hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.ph-legal-hero p {
  font-size: 16px;
  color: #a7f3d0;
  margin: 0;
  max-width: 700px;
}

.ph-legal-meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: #6ee7b7;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
}

.ph-legal-body {
  padding: 40px;
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
}

.ph-legal-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ph-legal-body h2:first-of-type {
  margin-top: 0;
}

.ph-legal-body h2 i {
  color: #00d084;
  font-size: 18px;
}

.ph-legal-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1e293b;
  margin: 20px 0 10px 0;
}

.ph-legal-body p {
  margin-bottom: 16px;
}

.ph-legal-body ul, .ph-legal-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.ph-legal-body li {
  margin-bottom: 8px;
}

.ph-legal-notice-box {
  background: #f0fdf4;
  border-left: 4px solid #00d084;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  color: #14532d;
  font-size: 14.5px;
}

/* About Us Specific Cards */
.ph-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.ph-about-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s ease;
}

.ph-about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.ph-about-card .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(0, 208, 132, 0.15);
  color: #053225;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.ph-about-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.ph-about-card p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   WHMCS Standard Cart - Domain Selection Layout Container Reset
   ========================================================================== */
#order-standard_cart .domain-selection-options,
body #order-standard_cart .domain-selection-options {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 18px 0 !important;
}

/* Domain Input Groups - Standard Visibility Control */
#order-standard_cart .domain-input-group {
  display: none;
  width: 100% !important;
  margin-top: 12px;
}

#order-standard_cart .domain-input-group.active {
  display: block !important;
}

/* ==========================================================================
   PutulHost Style 4-Step Checkout Progress Header (Responsive)
   ========================================================================== */
.ph-checkout-steps-wrap {
  margin: 10px auto 28px;
  max-width: 680px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.ph-checkout-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.ph-checkout-steps-bar {
  position: absolute;
  top: 14px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.ph-checkout-steps-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 33.33%;
  height: 100%;
  background: #059669;
  border-radius: 2px;
}

.ph-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 0 4px;
}

.ph-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ph-step-done .ph-step-num {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.ph-step-active .ph-step-num {
  background: #ffffff;
  border-color: #059669;
  border-width: 2.5px;
  color: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}

.ph-step-done {
  color: #059669;
  font-weight: 600;
}

.ph-step-active {
  color: #065f46;
  font-weight: 700;
}

.ph-step-line {
  display: none !important;
}

@media (max-width: 767px) {
  .ph-checkout-steps-wrap {
    padding: 0 4px;
    margin: 8px 0 20px;
    max-width: 100%;
  }
  .ph-checkout-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
  }
  .ph-checkout-steps-bar {
    top: 15px;
    left: 12.5%;
    right: 12.5%;
    width: 75%;
  }
  .ph-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
    padding: 0;
    background: transparent;
  }
  .ph-step-num {
    width: 30px;
    height: 30px;
    font-size: 12px;
    margin-bottom: 5px;
  }
  .ph-step-title {
    font-size: 11.5px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Category & Currency Sleek Top Bar
   ========================================================================== */
.ph-cart-top-bar-wrap {
  margin-bottom: 22px;
  width: 100%;
}

.ph-cart-top-bar {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.ph-top-item {
  flex: 1 1 200px;
  min-width: 0;
}

.ph-top-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.ph-top-label i {
  color: #059669;
  font-size: 12px;
}

.ph-top-select-wrap {
  position: relative;
  width: 100%;
}

.ph-top-select {
  width: 100% !important;
  height: 44px !important;
  line-height: 44px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  padding: 0 34px 0 12px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
}

.ph-top-select:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
}

.ph-top-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 11px;
  color: #94a3b8;
}

@media (max-width: 576px) {
  .ph-cart-top-bar {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }
  .ph-top-item {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* ==========================================================================
   Domain Option Cards (Responsive & Touch Ergonomic)
   ========================================================================== */
.ph-domain-tabs-row,
#order-standard_cart .domain-selection-options.ph-domain-tabs-row {
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  margin-bottom: 22px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.ph-domain-tab,
#order-standard_cart .domain-selection-options .option.ph-domain-tab {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  -webkit-box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  min-height: 52px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  user-select: none !important;
  margin: 0 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02) !important;
  overflow: hidden !important;
}

.ph-domain-tab:hover,
#order-standard_cart .domain-selection-options .option.ph-domain-tab:hover {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
}

.ph-domain-tab.active,
.ph-domain-tab.option-selected,
#order-standard_cart .domain-selection-options .option.ph-domain-tab.active,
#order-standard_cart .domain-selection-options .option.ph-domain-tab.option-selected {
  border: 2px solid #059669 !important;
  border-top: 2px solid #059669 !important;
  border-right: 2px solid #059669 !important;
  border-bottom: 2px solid #059669 !important;
  border-left: 2px solid #059669 !important;
  border-radius: 12px !important;
  background: #f0fdf4 !important;
  background-color: #f0fdf4 !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12) !important;
  box-sizing: border-box !important;
}

.ph-domain-tab::before,
.ph-domain-tab::after,
.ph-domain-tab.active::before,
.ph-domain-tab.active::after,
.ph-domain-tab.option-selected::before,
.ph-domain-tab.option-selected::after {
  display: none !important;
  content: none !important;
}

.ph-domain-tab.active .ph-tab-label,
.ph-domain-tab.option-selected .ph-tab-label {
  color: #065f46 !important;
  font-weight: 700 !important;
}

.ph-tab-radio {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  border: 2px solid #cbd5e1 !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.ph-domain-tab.active .ph-tab-radio,
.ph-domain-tab.option-selected .ph-tab-radio {
  border-color: #059669 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}

.ph-domain-tab.active .ph-tab-radio::after,
.ph-domain-tab.option-selected .ph-tab-radio::after {
  content: '' !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: #059669 !important;
  display: block !important;
}

.ph-tab-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  flex: 1 !important;
}

/* Hide WHMCS iCheck wrapper inside domain tabs so custom radio circle shows cleanly */
.ph-domain-tab .iradio,
.ph-domain-tab .iradio_square-blue,
.ph-domain-tab .icheckbox,
.ph-domain-tab .icheckbox_square-blue,
.ph-domain-tab input[type="radio"] {
  display: none !important;
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

/* Ensure standard_cart domain input groups only show the active one */
#order-standard_cart .domain-input-group {
  display: none;
}

#order-standard_cart .domain-input-group.active {
  display: block !important;
}

/* Domain Search Bar */
.ph-domain-input-box {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 18px !important;
  margin-top: 14px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
}

.ph-domain-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.ph-domain-input-wrap {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.ph-domain-input-wrap input.form-control,
.ph-domain-input-wrap select.form-control {
  height: 50px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  background: #ffffff !important;
  color: #1e293b !important;
  box-shadow: none !important;
  width: 100% !important;
  display: block !important;
}

.ph-domain-input-wrap input.form-control:focus,
.ph-domain-input-wrap select.form-control:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
}

.ph-domain-tld-wrap {
  flex: 0 0 120px !important;
  width: 120px !important;
}

.ph-domain-tld-wrap select.form-control {
  height: 50px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 0 28px 0 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.ph-domain-tld-wrap select.form-control:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
}

.ph-domain-btn-wrap {
  flex: 0 0 auto !important;
}

.ph-btn-action {
  height: 50px !important;
  line-height: 50px !important;
  padding: 0 26px !important;
  border-radius: 10px !important;
  background-color: #059669 !important;
  border: 1px solid #059669 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25) !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.ph-btn-action:hover {
  background-color: #047857 !important;
  border-color: #047857 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35) !important;
  text-decoration: none !important;
}

.ph-btn-action * {
  color: #ffffff !important;
}

@media (max-width: 991px) {
  .ph-domain-tabs-row,
  #order-standard_cart .domain-selection-options.ph-domain-tabs-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }
  .ph-domain-tab,
  #order-standard_cart .domain-selection-options .option.ph-domain-tab {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    padding: 13px 16px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    flex: none !important;
  }
  .ph-tab-label {
    font-size: 14.5px !important;
  }
}

@media (max-width: 767px) {
  .ph-domain-input-box {
    padding: 14px !important;
  }
  .ph-domain-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .ph-domain-input-wrap {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  .ph-domain-tld-wrap {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  .ph-domain-btn-wrap {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  .ph-btn-action {
    width: 100% !important;
  }
  #order-standard_cart #btnPrimaryDomainContinue {
    width: 100% !important;
  }
}

/* ==========================================================================
   Full-Width & Symmetric Centering for Cart, Domain Options & Order Forms
   (Eliminates Left-Shift and Right-Side Blank Gap on Mobile)
   ========================================================================== */
#order-standard_cart {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#order-standard_cart > .row,
#order-standard_cart .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#order-standard_cart .cart-body {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

#order-standard_cart .cart-sidebar {
  display: none !important;
}

.main-body-wrapper .container.main-content-container {
  box-sizing: border-box !important;
}

.main-content-container > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

.main-content-container > .row > .col-12.primary-content,
.main-content-container > .row > .primary-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.sidebar-collapsed.ph-cart-top-bar-wrap,
.ph-cart-top-bar-wrap,
.ph-cart-top-bar,
#frmProductDomain,
.domain-selection-options,
.ph-domain-tabs-row,
.ph-domain-tab,
.ph-domain-input-box,
#order-standard_cart .domain-selection-options,
#order-standard_cart .domain-selection-options .option,
#order-standard_cart .field-container,
#order-standard_cart .sub-heading {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   Checkout Button Styling - Crisp High-Contrast White Text
   ========================================================================== */
#order-standard_cart #checkout,
#order-standard_cart .btn-checkout,
#checkout,
.btn-checkout,
a#checkout,
a.btn-checkout,
button#checkout {
  color: #ffffff !important;
  background-color: #059669 !important;
  border-color: #059669 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

#order-standard_cart #checkout *,
#order-standard_cart .btn-checkout *,
#checkout *,
.btn-checkout *,
a#checkout *,
a.btn-checkout * {
  color: #ffffff !important;
}

#order-standard_cart #checkout:hover,
#order-standard_cart .btn-checkout:hover,
#checkout:hover,
a#checkout:hover,
a.btn-checkout:hover,
#order-standard_cart #checkout:focus,
#checkout:focus {
  background-color: #047857 !important;
  border-color: #047857 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Footer Affiliate Button - Refined Hover & Placement
   ========================================================================== */
.ph-affiliate-wrap {
  margin-top: 14px;
}

.ph-affiliate-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #00d084 !important;
  color: #053225 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  padding: 7px 18px !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(0, 208, 132, 0.3) !important;
  transition: all 0.25s ease !important;
}

.ph-affiliate-btn:hover {
  background: #ffffff !important;
  color: #053225 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 208, 132, 0.45) !important;
  text-decoration: none !important;
}

/* ==========================================================================
   Registration Page Enhancements
   ========================================================================== */
.reg-nid-warning {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: #065f46;
  box-shadow: 0 2px 8px rgba(6, 95, 70, 0.05);
}

.reg-nid-warning i {
  color: #dc2626;
  font-size: 20px;
  flex-shrink: 0;
}

.reg-terms-box {
  background: #f0fdf4;
  border: 2px dashed #86efac;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  transition: all 0.2s ease;
}

.reg-terms-box:hover {
  background: #ecfdf5;
  border-color: #059669;
}

.toggle-password-visibility {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #94a3b8;
  z-index: 10;
  padding: 6px;
  transition: color 0.2s ease;
}

.toggle-password-visibility:hover {
  color: #0f172a;
}

/* ==========================================================================
   FARIDPUR WEB HOST - SAAS CLIENT PORTAL (PUTULHOST-STYLE LAYOUT)
   ========================================================================== */

/* Layout Shell */
.ph-portal-wrapper {
  display: flex;
  min-height: 100vh;
  background-color: #f8fafc;
  position: relative;
  width: 100%;
}

/* Left Sidebar */
.ph-portal-sidebar {
  width: 260px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  background: linear-gradient(180deg, #064e3b 0%, #053b2d 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ph-sidebar-brand {
  padding: 22px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  position: relative;
}

/* Sidebar collapse toggle â€” floating tab on right edge */
.ph-sidebar-collapse-btn {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  background: #ffffff;
  border: 2px solid #16a34a;
  color: #16a34a;
  width: 28px;
  height: 48px;
  border-radius: 0 10px 10px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 3px 0 10px rgba(22, 163, 74, 0.20);
  flex-shrink: 0;
  padding: 0;
  outline: none;
}

.ph-sidebar-collapse-btn:hover {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 3px 0 16px rgba(22, 163, 74, 0.40);
  right: -18px;
}

.ph-sidebar-collapse-btn:focus {
  outline: none;
  box-shadow: 3px 0 16px rgba(22, 163, 74, 0.40);
}

.ph-brand-mini-link {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #10b981;
  color: #ffffff;
  border-radius: 10px;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

.ph-brand-mini-link:hover {
  color: #ffffff;
  background: #059669;
}

.ph-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.ph-sidebar-logo {
  max-height: 36px;
  max-width: 180px;
  object-fit: contain;
}

.ph-logo-white-filter {
  filter: brightness(0) invert(1);
}

.ph-sidebar-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.ph-sidebar-nav::-webkit-scrollbar {
  width: 5px;
}
.ph-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.ph-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ph-nav-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a7f3d0;
  margin: 20px 0 6px 12px;
}

.ph-nav-item {
  margin-bottom: 3px;
}

.ph-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ph-nav-link:hover,
.ph-nav-item.active .ph-nav-link {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-weight: 600;
}

.ph-nav-icon {
  width: 18px;
  font-size: 15px;
  text-align: center;
  color: #6ee7b7;
}

.ph-nav-item.active .ph-nav-icon {
  color: #ffffff;
}

/* Profile Box at Bottom of Sidebar */
.ph-sidebar-profile-box {
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.ph-profile-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
  user-select: none;
}

.ph-profile-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ph-profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #064e3b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.ph-profile-info {
  flex: 1 1 auto;
  min-width: 0;
}

.ph-profile-name {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.ph-profile-balance {
  color: #34d399;
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 2px;
}

.ph-profile-arrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

.ph-profile-dropdown {
  min-width: 220px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  margin-bottom: 10px !important;
}

.ph-profile-dropdown .dropdown-item {
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
}

/* Content Canvas */
.ph-portal-content-area {
  margin-left: 260px;
  min-height: 100vh;
  background-color: #f8fafc;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: calc(100% - 260px);
  transition: margin-left 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ph-portal-canvas {
  padding: 28px 36px 60px;
  max-width: 1360px;
  width: 100%;
}

.ph-portal-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ph-portal-toggle-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.ph-portal-toggle-btn:hover {
  background: #f0fdf4;
  border-color: #059669;
  color: #059669;
}

.ph-portal-page-header {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.ph-portal-page-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

/* ==========================================================================
   DESKTOP SIDEBAR COLLAPSED / MINI MODE
   ========================================================================== */
@media (min-width: 992px) {
  .ph-sidebar-collapsed .ph-portal-sidebar {
    width: 72px !important;
  }
  .ph-sidebar-collapsed .ph-portal-content-area {
    margin-left: 72px !important;
    width: calc(100% - 72px) !important;
  }
  .ph-sidebar-collapsed .ph-brand-link {
    display: none !important;
  }
  .ph-sidebar-collapsed .ph-brand-mini-link {
    display: inline-flex !important;
  }
  .ph-sidebar-collapsed .ph-sidebar-brand {
    padding: 16px 8px !important;
    justify-content: center !important;
  }
  .ph-sidebar-collapsed .ph-sidebar-collapse-btn {
    display: inline-flex !important;
    background: #ffffff !important;
    color: #16a34a !important;
    right: -16px !important;
    border-color: #16a34a !important;
    border-radius: 0 10px 10px 0 !important;
  }
  .ph-sidebar-collapsed .ph-sidebar-collapse-btn:hover {
    background: #16a34a !important;
    color: #ffffff !important;
    right: -18px !important;
  }
  .ph-sidebar-collapsed .ph-nav-category {
    display: none !important;
  }
  .ph-sidebar-collapsed .ph-nav-text {
    display: none !important;
  }
  .ph-sidebar-collapsed .ph-nav-link {
    justify-content: center !important;
    padding: 12px 0 !important;
    position: relative;
    border-radius: 8px;
  }
  .ph-sidebar-collapsed .ph-nav-icon {
    margin: 0 !important;
    font-size: 18px !important;
  }
  .ph-sidebar-collapsed .ph-sidebar-profile-box {
    padding: 10px 6px !important;
  }
  .ph-sidebar-collapsed .ph-profile-card {
    padding: 6px !important;
    justify-content: center !important;
  }
  .ph-sidebar-collapsed .ph-profile-info,
  .ph-sidebar-collapsed .ph-profile-arrow {
    display: none !important;
  }
  /* Tooltip on mini icon hover */
  .ph-sidebar-collapsed .ph-nav-link[data-title]:hover::after {
    content: attr(data-title);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: #0f172a;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 1070;
    pointer-events: none;
    animation: fwhTooltipFadeIn 0.15s ease-out;
  }
  .ph-sidebar-collapsed .ph-nav-link[data-title]:hover::before {
    content: '';
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #0f172a;
    z-index: 1070;
    pointer-events: none;
  }
}

@keyframes fwhTooltipFadeIn {
  from { opacity: 0; transform: translateY(-50%) translateX(-4px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Dashboard Welcome */
.ph-welcome-heading {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.ph-welcome-name {
  color: #059669;
}

.ph-welcome-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* 4 Stat Cards */
.ph-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ph-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ph-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.ph-stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ph-stat-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ph-stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ph-icon-services {
  background: #eff6ff;
  color: #3b82f6;
}

.ph-icon-domains {
  background: #ecfdf5;
  color: #10b981;
}

.ph-icon-tickets {
  background: #f5f3ff;
  color: #8b5cf6;
}

.ph-icon-invoices {
  background: #fef2f2;
  color: #ef4444;
}

.ph-stat-title {
  font-size: 15px;
  font-weight: 600;
  color: #475569;
}

.ph-stat-count {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.ph-invoice-breakdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  font-weight: 600;
}

.ph-stat-line {
  height: 3px;
  border-radius: 2px;
  margin: 14px 0 10px;
  width: 100%;
}

.ph-line-services { background: #3b82f6; }
.ph-line-domains { background: #10b981; }
.ph-line-tickets { background: #8b5cf6; }
.ph-line-invoices { background: #ef4444; }

.ph-stat-action {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.ph-stat-action:hover {
  opacity: 0.85;
}

.ph-action-services { color: #3b82f6 !important; }
.ph-action-domains { color: #10b981 !important; }
.ph-action-tickets { color: #8b5cf6 !important; }
.ph-action-invoices { color: #ef4444 !important; }

/* Expiring Soon Cards */
.ph-expiring-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ph-expiring-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.ph-expiring-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.ph-expiring-title {
  font-size: 15px;
  font-weight: 700;
}

.ph-expiring-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.ph-expiring-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-expiring-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  text-decoration: none !important;
  color: #1e293b !important;
  transition: background 0.2s ease;
}

.ph-expiring-item:hover {
  background: #f0fdf4;
  border-color: #86efac;
}

.ph-exp-name {
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.ph-exp-meta {
  display: flex;
  align-items: center;
  font-size: 12.5px;
}

.ph-badge-days {
  padding: 4px 8px;
  font-weight: 600;
  border-radius: 6px;
}

.ph-expiring-empty {
  padding: 24px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

/* Quick Links Card */
.ph-quick-links-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.ph-quick-links-header {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
}

.ph-quick-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ph-quick-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  color: #334155 !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ph-quick-btn:hover {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(6, 95, 70, 0.08);
}

/* Floating Cart Button */
.ph-floating-cart-btn {
  position: fixed;
  right: 24px;
  bottom: 50%;
  transform: translateY(50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.45);
  z-index: 1030;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ph-floating-cart-btn:hover {
  transform: translateY(50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.6);
  color: #ffffff !important;
}

.ph-floating-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  padding: 0 4px;
}

/* Support PIN Modal Box */
.ph-support-pin-box {
  background: #f8fafc;
  border: 2px dashed #059669;
  border-radius: 12px;
  padding: 16px;
  display: inline-block;
  min-width: 160px;
}

.ph-pin-digits {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 6px;
  color: #059669;
  font-family: monospace;
}

/* Mobile Header & Responsive Drawer (<992px) */
.ph-mobile-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 18px;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.ph-mobile-toggle-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #1e293b;
  cursor: pointer;
  padding: 4px 8px;
}

.ph-mobile-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ph-mobile-cart-btn {
  position: relative;
  font-size: 18px;
  color: #1e293b;
  text-decoration: none;
}

.ph-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  font-size: 10px;
  border-radius: 10px;
}

.ph-mobile-user-dropdown {
  position: relative;
}

.ph-mobile-user-avatar {
  background: none;
  border: none;
  padding: 0;
  font-size: 22px;
  color: #005f59;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ph-mobile-user-avatar:hover,
.ph-mobile-user-avatar:focus,
.ph-mobile-user-avatar:active {
  color: #047857;
  outline: none;
  box-shadow: none;
}

.ph-mobile-user-initial {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #005f59;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ph-mobile-profile-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
  will-change: auto !important;
  min-width: 240px !important;
  max-width: min(280px, calc(100vw - 24px)) !important;
  width: max-content !important;
  border-radius: 14px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.18), 0 8px 10px -6px rgba(0, 0, 0, 0.08) !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  z-index: 1060 !important;
}

.ph-mobile-profile-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 11px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  transform: rotate(45deg);
  z-index: 1;
}

.ph-mobile-profile-menu .dropdown-header {
  padding: 10px 16px 6px;
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.ph-mobile-profile-menu .dropdown-item {
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ph-mobile-profile-menu .dropdown-item i {
  width: 18px;
  text-align: center;
  margin-right: 10px;
}

.ph-mobile-profile-menu .dropdown-item:hover,
.ph-mobile-profile-menu .dropdown-item:focus {
  background-color: #f1f5f9;
  color: #0f172a;
}

.ph-sidebar-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1035;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ph-sidebar-backdrop.show {
  display: block;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .ph-portal-sidebar {
    transform: translateX(-100%);
    width: 270px;
  }

  .ph-portal-sidebar.show {
    transform: translateX(0);
  }

  .ph-portal-content-area {
    margin-left: 0;
    width: 100%;
  }

  .ph-portal-canvas {
    padding: 18px 16px 40px;
  }

  .ph-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .ph-expiring-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Hide Sticky Floating Cart Button on Mobile & Tablet (Header already contains cart icon) */
@media (max-width: 991.98px) {
  .ph-floating-cart-btn,
  #phFloatingCart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 575.98px) {
  .ph-stat-grid {
    grid-template-columns: 1fr;
  }

  .ph-floating-cart-btn,
  #phFloatingCart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
/* Password Reset Field Wrap & Inside Eye Button */
.pw-field-wrap {
  position: relative;
  width: 100%;
}

.pw-eye-btn {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  cursor: pointer !important;
  color: #94a3b8 !important;
  background: transparent !important;
  border: none !important;
  font-size: 15px !important;
  z-index: 10 !important;
  padding: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
  border-radius: 6px !important;
}

.pw-eye-btn:hover,
.pw-eye-btn:focus {
  color: #059669 !important;
  background: rgba(5, 150, 105, 0.08) !important;
  outline: none !important;
}

/* Password Reset Actions Row */
.pw-actions-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.pw-card .btn-save-changes,
.btn-save-changes {
  flex: 2 !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  width: auto !important;
}

.pw-card .btn-save-changes:hover:not(:disabled),
.btn-save-changes:hover:not(:disabled) {
  background: linear-gradient(135deg, #047857 0%, #064e3b 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4) !important;
  color: #ffffff !important;
}

.pw-card .btn-save-changes:disabled,
.btn-save-changes:disabled {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

.pw-card .btn-cancel-reset,
.btn-cancel-reset {
  flex: 1 !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  color: #475569 !important;
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  width: auto !important;
}

.pw-card .btn-cancel-reset:hover,
.btn-cancel-reset:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 480px) {
  .pw-actions-row {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .pw-card .btn-save-changes,
  .pw-card .btn-cancel-reset,
  .btn-save-changes,
  .btn-cancel-reset {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
}

/* ==========================================================================
   PUTULHOST-STYLE CLIENT AREA PAGES (SERVICES, DOMAINS, INVOICES, DETAILS)
   ========================================================================== */

/* Page Header Accent */
.ph-portal-page-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.ph-portal-page-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 3.5px;
  background: #059669;
  border-radius: 2px;
}

/* Filter Bar & Top Actions */
.ph-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  margin-bottom: 18px;
}

.ph-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ph-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.ph-pill-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.ph-pill-btn.active {
  background: #064e3b;
  color: #ffffff !important;
  border-color: #064e3b;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.25);
}

.ph-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
}

.ph-pill-btn.active .ph-pill-count {
  background: #10b981;
  color: #ffffff;
}

.ph-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ph-btn-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  height: 38px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.ph-btn-order:hover {
  background: #f8fafc;
  border-color: #059669;
  color: #059669;
  transform: translateY(-1px);
}

.ph-search-wrap {
  position: relative;
  width: 220px;
}

.ph-search-input {
  width: 100%;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 6px 12px 6px 34px;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.ph-search-input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.ph-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 13px;
  pointer-events: none;
}

/* Card Table Shell */
.ph-table-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  margin-top: 14px;
}

table.ph-table {
  width: 100% !important;
  display: table !important;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

table.ph-table thead tr,
table.ph-table tbody tr {
  display: table-row !important;
}

table.ph-table thead th {
  display: table-cell !important;
  background: #f8fafc;
  padding: 14px 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
  border-top: none;
  white-space: nowrap;
}

table.ph-table tbody td {
  display: table-cell !important;
  padding: 16px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
  background: #ffffff;
}

table.ph-table tbody tr:last-child td {
  border-bottom: none;
}

table.ph-table tbody tr:hover td {
  background: #fafcfb;
}

/* Service Row Elements */
.ph-srv-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ph-srv-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid #a7f3d0;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #059669;
  flex-shrink: 0;
}

.ph-srv-meta {
  min-width: 0;
}

.ph-srv-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  line-height: 1.3;
}

.ph-srv-domain {
  font-size: 12.5px;
  font-weight: 600;
  color: #059669;
  margin-top: 2px;
  display: block;
  text-decoration: none !important;
}

.ph-srv-domain:hover {
  text-decoration: underline !important;
}

.ph-srv-price {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.ph-srv-cycle {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.ph-srv-date {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
}

.ph-badge-days {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: #ecfdf5;
  color: #059669;
  margin-top: 4px;
  white-space: nowrap;
}

.ph-badge-days.urgent {
  background: #fef2f2;
  color: #ef4444;
}

.ph-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.ph-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.ph-status-dot.active {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.ph-status-dot.cancelled,
.ph-status-dot.suspended,
.ph-status-dot.terminated {
  background: #94a3b8;
}

.ph-status-dot.pending {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.ph-btn-manage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #065f46;
  background: #ffffff;
  border: 1.5px solid #059669;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ph-btn-manage:hover {
  background: #059669;
  color: #ffffff !important;
}

.ph-btn-manage-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff !important;
  background: #059669;
  border: none;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ph-btn-manage-solid:hover {
  background: #047857;
  transform: translateY(-1px);
}

/* Invoices 5-Card Grid */
.ph-invoice-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.ph-inv-stat-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ph-inv-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.ph-inv-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ph-inv-stat-icon.total { background: #ecfdf5; color: #059669; }
.ph-inv-stat-icon.unpaid { background: #fef2f2; color: #ef4444; }
.ph-inv-stat-icon.paid { background: #ecfdf5; color: #10b981; }
.ph-inv-stat-icon.cancelled { background: #f1f5f9; color: #64748b; }
.ph-inv-stat-icon.refunded { background: #eff6ff; color: #3b82f6; }

.ph-inv-stat-meta {
  min-width: 0;
}

.ph-inv-stat-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 2px;
}

.ph-inv-stat-num {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Horizontal Sub-Tabs (Managing Service) */
.ph-subtabs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.ph-subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: none;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s;
}

.ph-subtab-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.ph-subtab-btn.active {
  background: #059669;
  color: #ffffff !important;
  font-weight: 700;
}

/* Managing Service 2-Column Layout */
.ph-service-detail-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
}

.ph-service-left-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ph-service-drive-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
}

.ph-service-h-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.ph-service-h-group {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ph-service-h-domain {
  font-size: 14px;
  font-weight: 600;
  color: #059669;
  margin-bottom: 20px;
}

.ph-service-badge-active {
  background: #10b981;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 30px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 16px;
  width: 100%;
}

.ph-auto-renew-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
}

.ph-btn-renewal-srv {
  width: 100%;
  height: 44px;
  background: #059669;
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.ph-btn-renewal-srv:hover {
  background: #047857;
  transform: translateY(-1px);
}

.ph-service-right-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 30px 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.ph-card-section-title {
  font-size: 15px;
  font-weight: 800;
  color: #059669;
  margin-bottom: 16px;
}

.ph-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
}

.ph-spec-label {
  color: #64748b;
  font-weight: 500;
}

.ph-spec-val {
  color: #0f172a;
  font-weight: 700;
}

.ph-btn-cpanel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #10b981;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 24px;
  text-decoration: none !important;
}

.ph-btn-cpanel:hover {
  background: #059669;
  transform: translateY(-1px);
}

/* Resource Usage Section */
.ph-resource-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: 28px 32px;
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.ph-resource-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #059669;
  margin-bottom: 24px;
}

.ph-gauge-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
}

.ph-gauge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ph-gauge-ring {
  width: 130px;
  height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ph-gauge-bg {
  fill: none;
  stroke: #f1f5f9;
  stroke-width: 8;
}

.ph-gauge-fill {
  fill: none;
  stroke: #10b981;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dasharray 0.8s ease;
}

.ph-gauge-percent {
  position: absolute;
  font-size: 26px;
  font-weight: 800;
  color: #059669;
}

.ph-gauge-label {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  margin-top: 10px;
}

/* Domain Details Layout */
.ph-domain-details-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

.ph-vtabs-menu {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ph-vtab-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none !important;
  transition: all 0.2s;
}

.ph-vtab-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.ph-vtab-link.active {
  background: #059669;
  color: #ffffff !important;
  font-weight: 700;
}

.ph-domain-hero-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ph-domain-3cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.ph-domain-action-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.ph-domain-action-icon {
  font-size: 26px;
  color: #059669;
  margin-bottom: 12px;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .ph-invoice-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .ph-service-detail-grid,
  .ph-domain-details-grid {
    grid-template-columns: 1fr;
  }
  .ph-domain-3cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ph-invoice-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ph-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .ph-actions-group {
    justify-content: space-between;
  }
  .ph-search-wrap {
    width: 100%;
  }
}

/* ==========================================================================
   TICKET MESSAGE FIELD & MARKDOWN RESIZER ENHANCEMENTS
   ========================================================================== */
.md-editor,
.md-editor > textarea,
.md-editor textarea.md-input,
textarea.markdown-editor,
#inputMessage {
  min-height: 240px !important;
  height: 260px !important;
  resize: vertical !important;
  overflow-y: auto !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.md-editor {
  overflow: visible !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  background-color: #fff !important;
}

.md-editor:focus-within {
  border-color: #005f59 !important;
  box-shadow: 0 0 0 3px rgba(0, 95, 89, 0.15) !important;
}

/* Ensure native resize handle is always visible and functional */
.md-editor > textarea::-webkit-resizer,
textarea.markdown-editor::-webkit-resizer,
#inputMessage::-webkit-resizer {
  display: block !important;
}

/* ==========================================================================
   TOP ANNOUNCEMENT NOTICE TICKER BAR (Header Marquee)
   ========================================================================== */
.fwh-top-ticker-bar {
  background: #16a34a !important; /* Vibrant Green */
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  position: relative !important;
  z-index: 1050 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  height: 38px !important;
  max-height: 38px !important;
  min-height: 38px !important;
  overflow: hidden !important;
  line-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.fwh-ticker-badge {
  background: #0f172a !important; /* Sleek dark navy/black badge */
  color: #ffffff !important;
  padding: 0 16px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  z-index: 10 !important;
  flex-shrink: 0 !important;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.25) !important;
  text-transform: uppercase !important;
}

.fwh-ticker-badge i {
  color: #22c55e !important;
  font-size: 13px !important;
  margin-right: 6px !important;
}

.fwh-ticker-marquee-wrap {
  flex: 1 !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  height: 38px !important;
  width: 100% !important;
  mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
}

.fwh-ticker-track {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  width: max-content !important;
  animation: fwhSeamlessMarquee 50s linear infinite !important;
  will-change: transform !important;
}

.fwh-ticker-marquee-wrap:hover .fwh-ticker-track {
  animation-play-state: paused !important;
}

.fwh-ticker-group {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.fwh-ticker-item {
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 0 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  transition: opacity 0.2s ease, color 0.2s ease !important;
}

.fwh-ticker-item:hover {
  text-decoration: underline !important;
  opacity: 0.95 !important;
  color: #fef08a !important;
}

.fwh-ticker-separator {
  color: #facc15 !important;
  font-size: 12px !important;
  margin-right: 6px !important;
  display: inline-block !important;
}

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

@media (max-width: 768px) {
  .fwh-top-ticker-bar {
    height: 34px !important;
    max-height: 34px !important;
    min-height: 34px !important;
    line-height: 34px !important;
  }
  .fwh-ticker-badge {
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }
  .fwh-ticker-marquee-wrap {
    height: 34px !important;
  }
  .fwh-ticker-item {
    font-size: 12px !important;
    padding: 0 14px !important;
  }
}

/* ==========================================================================
   Knowledgebase Single Article Styling & Hero Banner Fix
   ========================================================================== */
.kb-bilingual-article,
article .kb-bilingual-article,
.kb-article-body .kb-bilingual-article {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  line-height: 1.75 !important;
  color: #1e293b !important;
}

/* Force hero banner background gradient & styling */
.kb-bilingual-article > div:first-child,
article .kb-bilingual-article > div:first-child,
.kb-article-body .kb-bilingual-article > div:first-child,
.kb-article-hero {
  background-color: #0284c7 !important;
  background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  padding: 26px 30px !important;
  border-radius: 14px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.25) !important;
  display: block !important;
}

.kb-bilingual-article > div:first-child h2,
article .kb-bilingual-article > div:first-child h2,
.kb-article-body .kb-bilingual-article > div:first-child h2,
.kb-article-hero h2 {
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.kb-bilingual-article > div:first-child p,
article .kb-bilingual-article > div:first-child p,
.kb-article-body .kb-bilingual-article > div:first-child p,
.kb-article-hero p {
  color: #e0f2fe !important;
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.kb-bilingual-article code,
article .kb-bilingual-article code {
  background: #f1f5f9 !important;
  color: #0369a1 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.kb-bilingual-article pre,
article .kb-bilingual-article pre {
  background: #0f172a !important;
  color: #f8fafc !important;
  padding: 14px 18px !important;
  border-radius: 8px !important;
  overflow-x: auto !important;
}

/* ==========================================================================
   GLOBAL .btn-default & BACK BUTTON HOVER FIX
   Fixes the bug where .btn-default text turned white on a white/transparent
   background on hover. Provides sleek brand-blue hover with crisp white text.
   ========================================================================== */
.btn-default,
a.btn-default,
button.btn-default,
input[type="reset"].btn-default {
  color: #334155 !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
}

.btn-default:hover,
a.btn-default:hover,
button.btn-default:hover,
input[type="reset"].btn-default:hover,
.btn-default:focus,
a.btn-default:focus,
button.btn-default:focus,
.btn-default:active,
a.btn-default:active {
  color: #ffffff !important;
  background-color: #0284c7 !important;
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28) !important;
  transform: translateY(-1px) !important;
  text-decoration: none !important;
}

/* Specific styling for back buttons on announcement, knowledgebase, downloads etc. */
a.btn-default[href*="announcement"],
a.btn-default[href*="history.go"],
a.btn-default[href*="knowledgebase"],
.card + a.btn-default,
.btn-back {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 9px 24px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  margin-top: 15px !important;
  margin-bottom: 20px !important;
}

/* ==========================================================================
   KNOWLEDGEBASE PREVIOUS & NEXT ARTICLE NAVIGATION
   ========================================================================== */
.kb-article-nav-container {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.kb-nav-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 22px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.kb-nav-card:hover {
  border-color: #0284c7;
  background: #f8fafc;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.16);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.kb-nav-card.kb-nav-prev:hover {
  border-left: 4px solid #0284c7;
}

.kb-nav-card.kb-nav-next:hover {
  border-right: 4px solid #0284c7;
}

.kb-nav-card .kb-nav-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #0284c7;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.kb-nav-card.kb-nav-next .kb-nav-meta {
  justify-content: flex-end;
}

.kb-nav-card .kb-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kb-nav-card:hover .kb-nav-title {
  color: #0369a1;
}

.kb-nav-empty {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 13.5px;
}

/* ==========================================================================
   KNOWLEDGEBASE CATEGORY PAGINATION & LIVE FILTER
   ========================================================================== */
#kbArticlesCard {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

#kbArticlesCard .card-header {
  border-bottom: 1px solid #e2e8f0;
}

.kb-article-item {
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  padding: 16px 20px;
}

.kb-article-item:hover {
  background-color: #f8fafc !important;
  border-left-color: #0284c7;
  padding-left: 23px;
}

.kb-article-item .kb-item-title {
  font-size: 15.5px;
  font-weight: 600;
  color: #1e293b;
}

.kb-article-item:hover .kb-item-title {
  color: #0284c7;
}

#kbPaginationFooter {
  border-top: 1px solid #e2e8f0;
}

#kbPaginationNav .page-item .page-link {
  color: #475569;
  border-color: #cbd5e1;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 6px;
  margin: 0 3px;
  transition: all 0.15s ease;
}

#kbPaginationNav .page-item .page-link:hover {
  color: #0284c7;
  background-color: #f0f9ff;
  border-color: #bae6fd;
}

#kbPaginationNav .page-item.active .page-link {
  background-color: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

#kbPaginationNav .page-item.disabled .page-link {
  color: #94a3b8;
  background-color: #f1f5f9;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

/* ==========================================================================
   Package Card Period Selector & Badges (Matching Screenshot)
   ========================================================================== */
.card-top-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 16px !important;
  gap: 10px !important;
}

.badge-hosting-pill {
  display: inline-block !important;
  background-color: #ecfdf5 !important;
  color: #059669 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  letter-spacing: 0.5px !important;
  line-height: 1.4 !important;
}

.badge-spec-pill {
  display: inline-block !important;
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  margin-left: 4px !important;
  line-height: 1.4 !important;
}

.cycle-selector-dropdown {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23059669' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat right 12px center !important;
  padding: 6px 32px 6px 14px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #059669 !important;
  border: 2px solid #6ee7b7 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  height: auto !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.cycle-selector-dropdown:hover,
.cycle-selector-dropdown:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

.cycle-selector-dropdown option {
  color: #0f172a !important;
  font-weight: 600 !important;
  background: #ffffff !important;
  padding: 6px 10px !important;
}

.plan-pricing-box .plan-amount {
  font-size: 30px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  letter-spacing: -0.5px !important;
}

.plan-pricing-box .plan-period {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin-left: 4px !important;
}

/* ==========================================================================
   FARIDPUR FASTYCLOUD - COMPREHENSIVE SITE-WIDE MOBILE RESPONSIVENESS & TYPOGRAPHY
   Guarantees fluid scaling, balanced text-wrapping, and eliminates overflow
   ========================================================================== */

/* 1. Prevent Horizontal Viewport Overflow Site-Wide */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

/* 2. Hide Mega-Dropdown on Screens Below 992px to Prevent 860px Layout Bleed */
@media (max-width: 991px) {
  .tools-mega-dropdown,
  .nav-dropdown.tools-mega-dropdown,
  .fasty-nav .tools-mega-dropdown {
    display: none !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* 3. Global Responsive Typography & Heading Clamp (Tablets & Phones < 768px) */
@media (max-width: 768px) {
  /* Base HTML Headings */
  h1, .h1 {
    font-size: clamp(21px, 5.5vw, 26px) !important;
    line-height: 1.25 !important;
    text-wrap: balance !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }
  h2, .h2 {
    font-size: clamp(18px, 4.8vw, 22px) !important;
    line-height: 1.3 !important;
    text-wrap: balance !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }
  h3, .h3 {
    font-size: clamp(16px, 4vw, 19px) !important;
    line-height: 1.35 !important;
    overflow-wrap: break-word !important;
  }
  h4, .h4 {
    font-size: clamp(14.5px, 3.5vw, 17px) !important;
    line-height: 1.4 !important;
    overflow-wrap: break-word !important;
  }

  /* Homepage Headings */
  .hero-title {
    font-size: clamp(21px, 5.5vw, 26px) !important;
    line-height: 1.25 !important;
    text-wrap: balance !important;
    overflow-wrap: break-word !important;
    margin-bottom: 12px !important;
  }
  .hero-subtitle {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 22px !important;
  }
  .section-title {
    font-size: clamp(20px, 5vw, 24px) !important;
    line-height: 1.3 !important;
    text-wrap: balance !important;
    overflow-wrap: break-word !important;
  }
  .partners-main-title {
    font-size: clamp(18px, 4.5vw, 22px) !important;
    line-height: 1.25 !important;
    text-wrap: balance !important;
  }
  .domain-search-title {
    font-size: clamp(18px, 4.8vw, 21px) !important;
    line-height: 1.3 !important;
    text-wrap: balance !important;
  }
  .cta-title {
    font-size: clamp(19px, 5vw, 23px) !important;
    line-height: 1.3 !important;
    text-wrap: balance !important;
  }

  /* Web Hosting Landing Page */
  .wh-hero-title {
    font-size: clamp(20px, 5.5vw, 25px) !important;
    line-height: 1.25 !important;
    text-wrap: balance !important;
  }
  .wh-sec-title {
    font-size: clamp(19px, 4.8vw, 23px) !important;
    line-height: 1.3 !important;
    text-wrap: balance !important;
  }
  .wh-dark-title {
    font-size: clamp(19px, 4.8vw, 23px) !important;
    line-height: 1.3 !important;
    text-wrap: balance !important;
  }
  .wh-cta-title {
    font-size: clamp(18px, 4.5vw, 22px) !important;
    line-height: 1.3 !important;
  }

  /* eCommerce Cloud Hosting Page */
  .ecom-hero-title {
    font-size: clamp(20px, 5.5vw, 25px) !important;
    line-height: 1.25 !important;
    text-wrap: balance !important;
  }
  .ecom-landing-wrapper h2 {
    font-size: clamp(18px, 4.8vw, 22px) !important;
    line-height: 1.3 !important;
    text-wrap: balance !important;
  }

  /* Domain Reseller Page */
  .reseller-hero-box h1,
  .reseller-hero-title {
    font-size: clamp(20px, 5.2vw, 24px) !important;
    line-height: 1.25 !important;
    text-wrap: balance !important;
  }
  .reseller-why-section h2,
  .reseller-whmcs-integration-section h2,
  .reseller-section-heading,
  .reseller-whmcs-heading {
    font-size: clamp(19px, 4.8vw, 23px) !important;
    line-height: 1.3 !important;
    text-wrap: balance !important;
  }

  /* .BD Domain Page */
  .bd-hero-content h1 {
    font-size: clamp(20px, 5.2vw, 25px) !important;
    line-height: 1.25 !important;
    text-wrap: balance !important;
  }
  .bd-section-header h2 {
    font-size: clamp(19px, 4.8vw, 23px) !important;
    line-height: 1.3 !important;
    text-wrap: balance !important;
  }
  .bd-req-top h2 {
    font-size: clamp(18px, 4.5vw, 22px) !important;
    line-height: 1.3 !important;
    text-wrap: balance !important;
  }

  /* Tools Hub & All 24 Diagnostic Tool Templates */
  .tools-hub-title,
  .tool-hero h1,
  .tool-hero .tool-title,
  .dns-hero-heading,
  .ssl-hero-heading,
  .seo-hero-heading,
  .traceroute-title,
  .whois-hero-title {
    font-size: clamp(20px, 5.2vw, 25px) !important;
    line-height: 1.25 !important;
    text-wrap: balance !important;
    overflow-wrap: break-word !important;
  }
  .tools-seo-content h2,
  .tool-info-section h2,
  .tool-guide h2,
  .tool-article h2,
  .traceroute-wrapper h2 {
    font-size: clamp(18px, 4.8vw, 22px) !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-wrap: balance !important;
  }

  /* WHMCS Subpage & Portal Headers */
  .fasty-page-title {
    font-size: clamp(19px, 5vw, 23px) !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-wrap: balance !important;
  }
  .ph-portal-page-title {
    font-size: clamp(17px, 4.5vw, 20px) !important;
  }
  #order-standard_cart .header-lined h1,
  .cart-body .header-lined h1 {
    font-size: clamp(19px, 5vw, 23px) !important;
    line-height: 1.25 !important;
  }
  #order-standard_cart .order-summary h2 {
    font-size: 16px !important;
  }
}

/* 4. Fine-Tuned Typography for Standard Mobile Phones (< 480px) */
@media (max-width: 480px) {
  h1, .h1, .hero-title, .wh-hero-title, .ecom-hero-title {
    font-size: clamp(19px, 5.2vw, 23px) !important;
  }
  h2, .h2, .section-title, .wh-sec-title, .wh-dark-title {
    font-size: clamp(17px, 4.5vw, 20px) !important;
  }
  .partners-main-title {
    font-size: 18px !important;
  }
  .domain-search-title {
    font-size: 18px !important;
  }
  .cta-title, .wh-cta-title {
    font-size: 19px !important;
  }
  .tools-hub-title,
  .tool-hero h1,
  .tool-hero .tool-title,
  .dns-hero-heading,
  .ssl-hero-heading,
  .seo-hero-heading,
  .traceroute-title,
  .whois-hero-title {
    font-size: clamp(19px, 5vw, 22px) !important;
  }
  .tools-seo-content h2,
  .tool-info-section h2,
  .tool-guide h2,
  .tool-article h2,
  .traceroute-wrapper h2 {
    font-size: clamp(17px, 4.5vw, 20px) !important;
  }
  .fasty-page-title {
    font-size: clamp(18px, 4.8vw, 21px) !important;
  }
}

/* 5. Mobile Navbar Layout & Alignment (Prevents Right-Edge Clipping) */
@media (max-width: 767px) {
  .fasty-header .container {
    height: 60px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .brand-logo img {
    height: 28px !important;
    max-width: 135px !important;
    width: auto !important;
  }
  .header-actions {
    gap: 7px !important;
  }
  .btn-cart {
    width: 35px !important;
    height: 35px !important;
    font-size: 13.5px !important;
  }
  .btn-signin {
    padding: 5px 9px !important;
    font-size: 12px !important;
    border-radius: 16px !important;
    gap: 4px !important;
  }
  .mobile-nav-toggle {
    width: 35px !important;
    height: 35px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 360px) {
  .fasty-header .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .brand-logo img {
    height: 25px !important;
    max-width: 115px !important;
  }
  .header-actions {
    gap: 5px !important;
  }
  .btn-signin {
    padding: 4px 7px !important;
    font-size: 11px !important;
  }
}




/* Remove WHMCompleteSolution Branding */
p:has(a[href*="whmcs.com"]),
p:has(a[href*="WHMCompleteSolution"]),
a[href*="whmcs.com"][href*="WHMCompleteSolution"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
