/* Byteholic Modern Tech Live Chat & Booking Modal */
#byteholic-chat-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 15px;
}

#byteholic-chat-overlay.active {
  opacity: 1;
  visibility: visible;
}

.byteholic-chat-card {
  width: 100%;
  max-width: 480px;
  background: #0b101d;
  border: 1px solid rgba(230, 43, 43, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(230, 43, 43, 0.15);
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

#byteholic-chat-overlay.active .byteholic-chat-card {
  transform: translateY(0) scale(1);
}

.byteholic-chat-header {
  background: linear-gradient(135deg, #0e1526 0%, #080c16 100%);
  padding: 18px 22px;
  border-bottom: 2px solid #e62b2b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.byteholic-chat-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.byteholic-chat-brand img {
  height: 32px;
  width: auto;
}

.byteholic-chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #10b981;
  font-weight: 500;
  margin-top: 2px;
}

.byteholic-chat-status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.byteholic-chat-status.is-offline {
  color: #f59e0b;
}

.byteholic-chat-status-dot.is-offline {
  background-color: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: pulse-amber 2.2s infinite;
}

@keyframes pulse-amber {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.byteholic-chat-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.byteholic-chat-close:hover {
  background: #e62b2b;
  color: #ffffff;
  border-color: #e62b2b;
  transform: rotate(90deg);
}

.byteholic-chat-body {
  padding: 22px;
  max-height: 75vh;
  overflow-y: auto;
}

.byteholic-msg-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 14px 16px;
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  position: relative;
}

.byteholic-chat-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.byteholic-chat-opt-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
  cursor: pointer;
}

.byteholic-chat-opt-btn.facebook {
  background: rgba(24, 119, 242, 0.1);
  border-color: rgba(24, 119, 242, 0.3);
  color: #1877f2;
}

.byteholic-chat-opt-btn.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
  transform: translateY(-2px);
}

.byteholic-chat-opt-btn.instagram {
  background: rgba(225, 48, 108, 0.1);
  border-color: rgba(225, 48, 108, 0.3);
  color: #e1306c;
}

.byteholic-chat-opt-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
  border-color: #e1306c;
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.35);
  transform: translateY(-2px);
}

.byteholic-chat-form {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
}

.byteholic-chat-form h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.byteholic-form-group {
  margin-bottom: 12px;
}

.byteholic-form-group input,
.byteholic-form-group select,
.byteholic-form-group textarea {
  width: 100%;
  background: #060910;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s ease;
}

.byteholic-form-group input:focus,
.byteholic-form-group select:focus,
.byteholic-form-group textarea:focus {
  border-color: #e62b2b;
  box-shadow: 0 0 10px rgba(230, 43, 43, 0.25);
}

.byteholic-form-submit {
  width: 100%;
  background: linear-gradient(135deg, #ff3b3b, #d01515);
  border: none;
  border-radius: 25px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(230, 43, 43, 0.3);
}

.byteholic-form-submit:hover {
  background: linear-gradient(135deg, #ff5252, #e01b1b);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(230, 43, 43, 0.45);
}

.byteholic-chat-success {
  display: none;
  text-align: center;
  padding: 20px;
}

.byteholic-chat-success i {
  font-size: 48px;
  color: #10b981;
  margin-bottom: 12px;
}

.byteholic-chat-success h4 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 8px;
}

.byteholic-chat-success p {
  color: #9ca3af;
  font-size: 14px;
}

/* Floating Live Chat Trigger Removed */
.byteholic-floating-chat-trigger { display: none !important; }

/* Universal ByteHolic Back to Top Button */
.scroll-up {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  z-index: 99999 !important;
  display: flex !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(20px) scale(0.8) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
}

.scroll-up.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

@media (max-width: 991px) {
  .scroll-up {
    bottom: 80px !important;
    right: 20px !important;
  }
}

.scroll-up a {
  background: #0b101d !important;
  border: 2px solid #e62b2b !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  width: 48px !important;
  text-align: center !important;
  font-size: 22px !important;
  border-radius: 50% !important;
  box-shadow: 0 10px 25px rgba(230, 43, 43, 0.45) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.scroll-up a:hover,
.scroll-up a:active {
  background: linear-gradient(135deg, #ff3b3b 0%, #d01515 100%) !important;
  color: #ffffff !important;
  border-color: #ff3b3b !important;
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 15px 35px rgba(230, 43, 43, 0.7) !important;
}

/* =========================================================
   Universal Proportional Accessibility Font Scaling (115% & 130%)
   ========================================================= */
body.font-lg {
  font-size: 115% !important;
}
body.font-lg .tf-hero-title { font-size: 70px !important; line-height: 1.15 !important; }
body.font-lg .tf-hero-desc { font-size: 19.5px !important; line-height: 1.85 !important; }
body.font-lg .tf-hero-tag { font-size: 15px !important; }
body.font-lg .tf-feature-text { font-size: 16px !important; }
body.font-lg .tf-section-title, 
body.font-lg h2.font-alt, 
body.font-lg .module-title { font-size: 40px !important; }
body.font-lg h3 { font-size: 22px !important; }
body.font-lg h4 { font-size: 18px !important; }
body.font-lg p, 
body.font-lg li, 
body.font-lg .panel-body, 
body.font-lg .footer p { font-size: 115% !important; line-height: 1.75 !important; }
body.font-lg .tf-card-body h4 { font-size: 18px !important; }
body.font-lg .tf-card-body p { font-size: 15.5px !important; }
body.font-lg .tf-service-card { min-height: 130px !important; height: auto !important; }

body.font-xl {
  font-size: 130% !important;
}
body.font-xl .tf-hero-title { font-size: 78px !important; line-height: 1.15 !important; }
body.font-xl .tf-hero-desc { font-size: 22px !important; line-height: 1.9 !important; }
body.font-xl .tf-hero-tag { font-size: 16.5px !important; }
body.font-xl .tf-feature-text { font-size: 18px !important; }
body.font-xl .tf-section-title, 
body.font-xl h2.font-alt, 
body.font-xl .module-title { font-size: 46px !important; }
body.font-xl h3 { font-size: 25px !important; }
body.font-xl h4 { font-size: 20px !important; }
body.font-xl p, 
body.font-xl li, 
body.font-xl .panel-body, 
body.font-xl .footer p { font-size: 130% !important; line-height: 1.8 !important; }
body.font-xl .tf-card-body h4 { font-size: 20px !important; }
body.font-xl .tf-card-body p { font-size: 17px !important; }
body.font-xl .tf-service-card { min-height: 140px !important; height: auto !important; }

@media (max-width: 768px) {
  body.font-lg .tf-hero-title { font-size: 38px !important; }
  body.font-xl .tf-hero-title { font-size: 42px !important; }
}

/* =========================================================
   Custom Native Date Picker White Calendar Icon & Dark Theme
   ========================================================= */
input[type="date"] {
  color-scheme: dark;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.5) !important;
  cursor: pointer !important;
  opacity: 0.95 !important;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease !important;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1 !important;
  transform: scale(1.1);
  filter: invert(1) brightness(1.8) drop-shadow(0 0 6px rgba(230, 43, 43, 0.9)) !important;
}

input[type="date"]::-webkit-inner-spin-button {
  display: none;
}

/* =========================================================
   Interactive Cost Estimator & Live Repair Tracker Styling
   ========================================================= */
.estimator-device-btn {
  background: #090e18 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #d1d5db !important;
  padding: 13px 16px !important;
  border-radius: 10px !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  text-align: left !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
}
.estimator-device-btn i {
  font-size: 18px !important;
  color: #e62b2b !important;
  width: 20px !important;
  text-align: center !important;
}
.estimator-device-btn:hover {
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}
.estimator-device-btn.active {
  background: rgba(230, 43, 43, 0.1) !important;
  border: 1px solid #e62b2b !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(230, 43, 43, 0.25) !important;
}

.estimator-service-item {
  background: #090e18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.estimator-service-item:hover {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.2);
}
.estimator-service-item.active {
  background: rgba(230, 43, 43, 0.1);
  border-color: #e62b2b;
}
.estimator-service-item input[type="radio"] {
  accent-color: #e62b2b;
  margin-right: 12px;
  width: 17px;
  height: 17px;
}

.tracker-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 35px 0 25px;
}
.tracker-stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}
.tracker-step-node {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}
.tracker-step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #090e18;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
}
.tracker-step-node.completed .tracker-step-circle {
  background: #28a745;
  border-color: #28a745;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(40, 167, 69, 0.5);
}
.tracker-step-node.active .tracker-step-circle {
  background: #e62b2b;
  border-color: #ff4d4d;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(230, 43, 43, 0.6);
  animation: pulseNode 2s infinite;
}
.tracker-step-label {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 600;
}
.tracker-step-node.active .tracker-step-label,
.tracker-step-node.completed .tracker-step-label {
  color: #ffffff;
}

@keyframes pulseNode {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 43, 43, 0.7); }
  70% { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(230, 43, 43, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 43, 43, 0); }
}

/* =========================================================
   High-End Dark Tech Services Dropdown Menu (9 Categories)
   ========================================================= */
.navbar-custom .dropdown-menu.tf-services-dropdown {
  background: rgba(14, 20, 34, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-top: 2px solid #e62b2b !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  min-width: 280px !important;
  padding: 8px 0 !important;
  margin-top: 0 !important;
}

.navbar-custom .dropdown-menu.tf-services-dropdown > li > a {
  color: #d1d5db !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  padding: 9px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  transition: all 0.2s ease !important;
  border-bottom: none !important;
}

.navbar-custom .dropdown-menu.tf-services-dropdown > li > a i {
  color: #e62b2b !important;
  font-size: 15px !important;
  width: 18px !important;
  text-align: center !important;
  transition: transform 0.2s ease !important;
}

.navbar-custom .dropdown-menu.tf-services-dropdown > li > a:hover {
  background: rgba(230, 43, 43, 0.12) !important;
  color: #ffffff !important;
  padding-left: 24px !important;
}

.navbar-custom .dropdown-menu.tf-services-dropdown > li > a:hover i {
  transform: scale(1.15);
}

@media (min-width: 992px) {
  .navbar-custom .navbar-nav > li.dropdown:hover > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: fadeInDownMenu 0.25s ease forwards;
  }
}

@keyframes fadeInDownMenu {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Footer Mobile Bottom Dock Clearance */
@media (max-width: 767px) {
  .tf-unified-footer {
    padding-bottom: 160px !important;
  }
  .tf-unified-footer .widget {
    margin-bottom: 35px !important;
  }
  .tf-unified-footer .text-left,
  .tf-unified-footer .text-right,
  .tf-unified-footer .copyright {
    text-align: center !important;
  }
  .tf-unified-footer .col-sm-6.text-right {
    margin-top: 10px;
    text-align: center !important;
  }
}
/* Estimator Subcategory Buttons */
.estimator-subcat-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.estimator-subcat-btn {
  background: #090e18;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.estimator-subcat-btn i {
  color: #e62b2b;
  margin-right: 6px;
  font-size: 14px;
}
.estimator-subcat-btn:hover {
  background: #111827;
  border-color: rgba(230, 43, 43, 0.4);
  color: #ffffff;
}
.estimator-subcat-btn.active {
  background: linear-gradient(135deg, rgba(230, 43, 43, 0.25) 0%, rgba(230, 43, 43, 0.1) 100%) !important;
  border-color: #e62b2b !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(230, 43, 43, 0.3) !important;
}
.estimator-subcat-btn.active i {
  color: #ff3b3b !important;
}

/* Upgraded Footer Styles */
.footer-social-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #0e1422 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}
.footer-social-btn[aria-label="Facebook"] i,
.footer-social-btn .fa-facebook-official {
  color: #1877f2 !important;
  font-size: 16px !important;
}
.footer-social-btn[aria-label="Instagram"] i,
.footer-social-btn .fa-instagram {
  color: #e1306c !important;
  font-size: 16px !important;
}
.footer-social-btn[aria-label="Email"] i,
.footer-social-btn .fa-envelope {
  color: #e62b2b !important;
  font-size: 15px !important;
}
.footer-social-btn:hover {
  border-color: #e62b2b !important;
  box-shadow: 0 0 14px rgba(230, 43, 43, 0.6) !important;
  transform: translateY(-3px) !important;
}
.footer-social-btn:hover i {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(230, 43, 43, 0.8) !important;
}
.footer-nav-list a {
  display: inline-block;
  transition: all 0.2s ease !important;
}
.footer-nav-list a:hover {
  color: #e62b2b !important;
  transform: translateX(4px);
}

/* =========================================================
   Dark Cyberpunk Cookie & Privacy Preferences Modal Overrides
   ========================================================= */
#cookie-preferences-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(4, 6, 12, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 10001 !important;
  display: none;
  justify-content: center !important;
  align-items: center !important;
  font-family: 'Roboto Condensed', sans-serif !important;
}
.cookie-modal-content {
  background: #090e18 !important;
  border: 1px solid rgba(230, 43, 43, 0.4) !important;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(230, 43, 43, 0.25) !important;
  width: 580px !important;
  max-width: 92% !important;
  max-height: 90vh !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}
.cookie-modal-header {
  padding: 18px 24px !important;
  background: #060910 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.cookie-modal-header h4 {
  margin: 0 !important;
  color: #ffffff !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}
.close-modal {
  background: none !important;
  border: none !important;
  font-size: 26px !important;
  cursor: pointer !important;
  color: #9ca3af !important;
  line-height: 1 !important;
  padding: 0 5px !important;
  transition: all 0.2s ease !important;
}
.close-modal:hover {
  color: #ff3b3b !important;
  text-shadow: 0 0 8px rgba(230, 43, 43, 0.8) !important;
}
.cookie-modal-body {
  padding: 24px !important;
  background: #090e18 !important;
  overflow-y: auto !important;
}
.cookie-modal-body > p {
  margin-bottom: 20px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #d1d5db !important;
  font-family: 'Roboto', sans-serif !important;
}
.cookie-category {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 16px 18px !important;
  margin-bottom: 15px !important;
  background: #0e1422 !important;
}
.cookie-category-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 8px !important;
}
.cookie-category-header h5 {
  margin: 0 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  display: flex !important;
  justify-content: space-between !important;
  width: 100% !important;
  align-items: center !important;
}
.cookie-category p {
  margin: 0 !important;
  font-size: 13.5px !important;
  color: #9ca3af !important;
  line-height: 1.5 !important;
  font-family: 'Roboto', sans-serif !important;
}
.always-active {
  background: rgba(230, 43, 43, 0.15) !important;
  border: 1px solid rgba(230, 43, 43, 0.4) !important;
  color: #ff4d4d !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  text-transform: uppercase !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  letter-spacing: 0.5px !important;
}
.cookie-modal-footer {
  padding: 16px 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  background: #060910 !important;
}
.cookie-modal-footer .cookie-btn-secondary {
  background: #0e1422 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #d1d5db !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.cookie-modal-footer .cookie-btn-secondary:hover {
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}
.cookie-modal-footer .cookie-btn-primary {
  background: linear-gradient(135deg, #e62b2b 0%, #b81b1b 100%) !important;
  border: none !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  box-shadow: 0 0 15px rgba(230, 43, 43, 0.35) !important;
  transition: all 0.2s ease !important;
}
.cookie-modal-footer .cookie-btn-primary:hover {
  background: linear-gradient(135deg, #ff3b3b 0%, #cc1e1e 100%) !important;
  box-shadow: 0 0 22px rgba(230, 43, 43, 0.6) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   FLOATING UTILITY BAR (RIGHT DOCK ON DESKTOP, HIDDEN ON MOBILE)
   ========================================================================== */
.tf-floating-utility-bar {
  position: fixed !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  padding: 8px !important;
  border-radius: 30px !important;
}

.tf-floating-utility-bar button {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  margin: 0 !important;
}

.tf-floating-utility-bar button:hover {
  transform: scale(1.1) !important;
  border-color: #e62b2b !important;
  color: #e62b2b !important;
}

@media (max-width: 991px) {
  .tf-floating-utility-bar {
    display: none !important;
  }
}


/* ==========================================================================
   BYTEHOLIC COOKIE BANNER, PREFERENCES MODAL & FONT SCALE STYLING
   ========================================================================== */
/* Font Scaling */
body.font-lg .module-title { font-size: 44px !important; }
body.font-lg p, body.font-lg li { font-size: 115% !important; line-height: 1.6 !important; }
body.font-xl .module-title { font-size: 50px !important; }
body.font-xl p, body.font-xl li { font-size: 130% !important; line-height: 1.6 !important; }

/* Fixed Bottom Floating Cookie Banner */
#cookie-banner {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999999 !important;
  background: rgba(14, 20, 34, 0.98) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 16px 20px !important;
  display: none;
}

#cookie-banner .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

#cookie-banner p {
  margin: 0 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #d1d5db !important;
  flex: 1 !important;
  min-width: 280px !important;
}

.cookie-btn {
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 9px 20px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #ff3b3b 0%, #d01515 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(230, 43, 43, 0.35) !important;
}

.cookie-btn-primary:hover {
  background: linear-gradient(135deg, #ff5252 0%, #e61c1c 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(230, 43, 43, 0.5) !important;
  color: #ffffff !important;
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Cookie Preferences Modal */
#cookie-preferences-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 9999999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 15px !important;
}

.cookie-modal-content {
  background: #0e1422 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 14px !important;
  width: 100% !important;
  max-width: 580px !important;
  padding: 24px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9) !important;
  color: #ffffff !important;
}

.cookie-modal-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 15px !important;
  margin-bottom: 20px !important;
}

.cookie-modal-header h4 {
  margin: 0 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.close-modal {
  background: none !important;
  border: none !important;
  font-size: 24px !important;
  cursor: pointer !important;
  color: #9ca3af !important;
  transition: color 0.2s ease !important;
  line-height: 1 !important;
}

.close-modal:hover {
  color: #ffffff !important;
}

.cookie-modal-body > p {
  color: #9ca3af !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
}

.cookie-category {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

.cookie-category-header h5 {
  color: #ffffff !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.always-active {
  color: #e62b2b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  background: rgba(230, 43, 43, 0.1) !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
}

.cookie-modal-footer {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 18px !important;
  margin-top: 10px !important;
}


/* ==========================================================================
   BOTTOM-LEFT COOKIE SETTINGS BUTTON (MATCHING BACK-TO-TOP STYLE)
   ========================================================================== */
.cookie-settings-dock {
  position: fixed !important;
  bottom: 25px !important;
  left: 25px !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cookie-settings-dock button,
#cookie-settings-btn,
#cookieToggleBtn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #0e1422 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
}

.cookie-settings-dock button svg,
#cookie-settings-btn svg,
#cookieToggleBtn svg {
  width: 18px !important;
  height: 18px !important;
  fill: #ffffff !important;
  transition: fill 0.3s ease !important;
}

.cookie-settings-dock button:hover,
#cookie-settings-btn:hover,
#cookieToggleBtn:hover {
  background: #141c2e !important;
  border-color: #e62b2b !important;
  color: #e62b2b !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(230, 43, 43, 0.4), 0 0 15px rgba(230, 43, 43, 0.3) !important;
}

.cookie-settings-dock button:hover svg,
#cookie-settings-btn:hover svg,
#cookieToggleBtn:hover svg {
  fill: #e62b2b !important;
}

.tf-floating-utility-bar {
  display: none !important;
}


/* ==========================================================================
   COOKIE SETTINGS BUTTON (100% IDENTICAL VISUAL TO BACK-TO-TOP)
   ========================================================================== */
.cookie-settings-dock {
  position: fixed !important;
  bottom: 25px !important;
  left: 25px !important;
  z-index: 99990 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 991px) {
  .cookie-settings-dock {
    bottom: 80px !important;
    left: 20px !important;
  }
}

.cookie-settings-dock button,
#cookieToggleBtn {
  background: #0b101d !important;
  border: 2px solid #e62b2b !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  width: 48px !important;
  text-align: center !important;
  font-size: 20px !important;
  opacity: 1 !important;
  border-radius: 50% !important;
  box-shadow: 0 10px 25px rgba(230, 43, 43, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
}

.cookie-settings-dock button svg,
#cookieToggleBtn svg {
  width: 20px !important;
  height: 20px !important;
  fill: #ffffff !important;
  transition: all 0.3s ease !important;
}

.cookie-settings-dock button:hover,
.cookie-settings-dock button:active,
.cookie-settings-dock button:focus,
#cookieToggleBtn:hover,
#cookieToggleBtn:active,
#cookieToggleBtn:focus {
  background: linear-gradient(135deg, #ff3b3b 0%, #d01515 100%) !important;
  color: #ffffff !important;
  border-color: #ff3b3b !important;
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 15px 35px rgba(230, 43, 43, 0.7) !important;
}

.cookie-settings-dock button:hover svg,
#cookieToggleBtn:hover svg {
  fill: #ffffff !important;
}


/* ==========================================================================
   COOKIE PREFERENCES MODAL SWITCHES & STYLING
   ========================================================================== */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin: 0 !important;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .3s;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #e62b2b !important;
  border-color: #e62b2b !important;
  box-shadow: 0 0 10px rgba(230, 43, 43, 0.5) !important;
}

input:checked + .slider:before {
  transform: translateX(20px);
}
