/* ============================================================
   SMM PANEL THEME - MODERN REDESIGN
   A premium, catchy design for social media marketing panels
   ============================================================ */

/* ============================================================
   SECTION 1: CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================================ */

:root {
  /* Primary Gradient Palette - Orange */
  --primary-start: #ff6b00;
  --primary-end: #ff8c00;
  --primary-gradient: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
  --primary-color: #ff6b00;
  --primary-dark: #e66000;
  --primary-light: #ff9933;

  /* Accent Gradient - Orange */
  --accent-start: #ff6b00;
  --accent-end: #ff8c00;
  --accent-gradient: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);

  /* Status Colors */
  --success-color: #00d68f;
  --success-light: #e8fff5;
  --success-gradient: linear-gradient(135deg, #00d68f 0%, #00c853 100%);

  --warning-color: #ffaa00;
  --warning-light: #fff8e6;

  --danger-color: #ff3d71;
  --danger-light: #fff0f5;

  --info-color: #00b8d9;
  --info-light: #e6faff;

  /* Neutral Colors */
  --text-primary: #1a1f36;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --text-inverse: #ffffff;

  --bg-body: #0f172a;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbfc;
  --bg-input: #ffffff;
  --bg-navbar: #0f172a;

  --border-color: #334155;
  --border-light: #f3f4f6;
  --border-focus: var(--primary-color);

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-primary: 0 4px 14px 0 rgba(255, 107, 0, 0.39);
  --shadow-success: 0 4px 14px 0 rgba(0, 214, 143, 0.39);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 15px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 30px;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-tooltip: 1070;
  --z-notification: 1080;
}

/* ============================================================
   SECTION 2: BASE STYLES
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-inverse);
  background: #0f172a;
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Selection */
::selection {
  background-color: var(--primary-color);
  color: var(--text-inverse);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--primary-dark);
  text-decoration: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-semibold);
  color: #ffffff;
  margin-top: 0;
  line-height: var(--line-height-tight);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

/* Paragraphs */
p {
  margin-top: 0;
  margin-bottom: var(--space-md);
}

/* ============================================================
   SECTION 3: NAVIGATION BAR
   ============================================================ */

.navbar {
  border: none;
  margin-bottom: 0;
  min-height: auto;
}

.navbar-default {
  background: transparent;
  border: none;
  box-shadow: none;
}

.navbar-static-top {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: transparent;
}

/* Brand */
.navbar-default .navbar-brand {
  color: var(--text-inverse);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xl);
  padding: var(--space-md) var(--space-lg);
  height: auto;
  line-height: 1.5;
  transition: opacity var(--transition-fast);
}

.navbar-default .navbar-brand:hover {
  opacity: 0.8;
  color: var(--text-inverse);
}

.navbar-default .navbar-brand img {
  max-height: 36px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Nav Links */
.navbar-default .navbar-nav > li > a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  padding: 10px var(--space-md);
  border-radius: var(--radius-md);
  margin: 8px 4px;
  transition: all var(--transition-base);
  position: relative;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus {
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

/* Navbar Icons */
.navbar-icon {
  margin-right: var(--space-sm);
  font-size: var(--font-size-base);
}

/* Balance Badge */
.navbar .badge {
  background: var(--success-gradient);
  color: var(--text-inverse);
  font-weight: var(--font-weight-semibold);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-success);
  display: inline-block;
  line-height: 1;
}

/* Currency Dropdown */
.dropdown-currencies > a {
  display: flex !important;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile Toggle */
.navbar-toggle {
  border: none;
  background: transparent !important;
  padding: var(--space-md);
  margin: 8px var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.navbar-toggle:hover,
.navbar-toggle:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #ffffff;
  width: 22px;
  height: 2px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar {
  background-color: #ffffff;
}

/* Navbar Collapse Mobile */
.navbar-collapse {
  border-top: none;
  box-shadow: none;
}

/* Public Navbar - Horizontal Layout like Screenshot */
.navbar-public {
  background: #0f172a;
  padding: 10px 0;
}

.navbar-public .navbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-public .navbar-brand {
  padding: 10px 15px;
  color: #ff6b00 !important;
  font-size: 24px;
  font-weight: 400;
  float: none;
}

.navbar-public .navbar-brand img {
  max-height: 60px;
  width: auto;
}

.navbar-public .navbar-brand .brand-text {
  color: #ff6b00;
}

.navbar-public .navbar-toggle {
  margin-right: 0;
  float: none;
}

.navbar-public .navbar-center {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-public .navbar-center > li {
  float: none;
  display: inline-block;
}

.navbar-public .navbar-center > li > a {
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 20px;
  transition: color 0.2s ease;
}

.navbar-public .navbar-center > li > a:hover {
  color: #ff6b00;
  background: transparent;
}

/* Auth Buttons in Navbar */
.navbar-auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 30px;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.navbar-auth-buttons > li {
  float: none;
}

.btn-signin {
  display: inline-block;
  padding: 10px 28px;
  color: #ffffff !important;
  background: transparent;
  border: 2px solid #ffffff;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-signin:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
}

.btn-signup {
  display: inline-block;
  padding: 12px 30px;
  color: #ffffff !important;
  background: #ff6b00;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-signup:hover {
  background: #e66000;
  color: #ffffff !important;
}

/* Desktop Navbar Layout */
@media (min-width: 768px) {
  .navbar-public .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar-public .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    padding: 0;
  }

  .navbar-public .navbar-collapse.collapse {
    display: flex !important;
  }
}

/* Mobile Navbar */
@media (max-width: 767px) {
  .navbar-public {
    padding: 5px 0;
  }

  .navbar-public .navbar-header {
    width: 100%;
    float: none;
  }

  .navbar-public .navbar-brand {
    font-size: 20px;
    padding: 10px;
  }

  .navbar-public .navbar-toggle {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 9px 10px;
    margin: 8px 10px 8px 0;
  }

  .navbar-public .navbar-collapse {
    background: #1e293b;
    border-top: 1px solid #334155;
    margin-left: -15px;
    margin-right: -15px;
    padding: 0;
    max-height: none;
  }

  .navbar-public .navbar-collapse.in,
  .navbar-public .navbar-collapse.collapsing {
    display: block;
  }

  .navbar-public .navbar-center {
    flex-direction: column;
    width: 100%;
    float: none;
    margin: 0;
  }

  .navbar-public .navbar-center > li {
    display: block;
    width: 100%;
    float: none;
  }

  .navbar-public .navbar-center > li > a {
    display: block;
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #334155;
  }

  .navbar-public .navbar-center > li > a:hover {
    background: rgba(255, 107, 0, 0.1);
  }

  .navbar-auth-buttons {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    gap: 0;
    float: none;
    padding: 15px;
  }

  .navbar-auth-buttons > li {
    width: 100%;
    margin-bottom: 10px;
  }

  .navbar-auth-buttons > li:last-child {
    margin-bottom: 0;
  }

  .btn-signin,
  .btn-signup {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  .navbar-public .navbar-lang {
    float: none;
    padding: 10px 15px;
    border-top: 1px solid #334155;
  }

  .navbar-public .navbar-lang .dropdown-toggle {
    color: #ffffff;
    padding: 10px;
  }
}

/* RTL Navbar */
.rtl-navbar .navbar-icon {
  margin-right: 0;
  margin-left: var(--space-sm);
}

.rtl-navbar .navbar-nav {
  float: right;
}

.rtl-navbar .navbar-right {
  float: left;
}

.rtl-navbar .navbar-brand {
  float: right;
}

/* ============================================================
   SECTION 4: DROPDOWNS
   ============================================================ */

.dropdown-menu {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  margin-top: 4px;
}

.dropdown-menu > li > a {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background-color: rgba(255, 107, 0, 0.08);
  color: var(--primary-color);
}

.dropdown-menu > li.active > a,
.dropdown-menu > li.active > a:hover {
  background: var(--primary-gradient);
  color: var(--text-inverse);
}

.dropdown-menu .divider {
  margin: var(--space-sm) 0;
  background-color: var(--border-light);
  height: 1px;
}

.dropdown-max-height {
  max-height: 300px;
  overflow-y: auto;
}

.caret {
  border-top-color: currentColor;
  margin-left: 4px;
}

/* ============================================================
   SECTION 5: CARDS (.well)
   ============================================================ */

.well {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.well:hover {
  box-shadow: var(--shadow-md);
}

.well-lg {
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
}

.well-sm {
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

.well-float {
  float: left;
  width: 100%;
}

/* Border utilities for wells */
.border-solid {
  border: 1px solid #334155;
}

.border-rounded {
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

/* RTL Content */
.rtl-content {
  direction: rtl;
  text-align: right;
}

/* ============================================================
   SECTION 6: BUTTONS
   ============================================================ */

.btn {
  font-family: var(--font-family);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  line-height: 1.5;
  text-decoration: none;
  vertical-align: middle;
}

/* Button Ripple Effect */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.btn:active::after {
  transform: scale(2.5);
  opacity: 1;
  transition: transform 0s, opacity 0s;
}

/* Primary Button */
.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px 0 rgba(255, 107, 0, 0.39);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #e66000 0%, #ff6b00 100%);
  color: var(--text-inverse);
  box-shadow: 0 6px 20px 0 rgba(255, 107, 0, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Default Button */
.btn-default {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-default:hover,
.btn-default:focus {
  background: var(--bg-body);
  color: var(--primary-color);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

/* Success Button */
.btn-success {
  background: var(--success-gradient);
  color: var(--text-inverse);
  box-shadow: var(--shadow-success);
}

.btn-success:hover,
.btn-success:focus {
  background: linear-gradient(135deg, #00c17d 0%, #00b34a 100%);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(0, 214, 143, 0.5);
}

/* Danger Button */
.btn-danger {
  background: linear-gradient(135deg, var(--danger-color) 0%, #e6365c 100%);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px 0 rgba(255, 61, 113, 0.39);
}

.btn-danger:hover,
.btn-danger:focus {
  background: linear-gradient(135deg, #e6365c 0%, #cc2e52 100%);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

/* Warning Button */
.btn-warning {
  background: linear-gradient(135deg, var(--warning-color) 0%, #e69900 100%);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px 0 rgba(255, 170, 0, 0.39);
}

.btn-warning:hover,
.btn-warning:focus {
  background: linear-gradient(135deg, #e69900 0%, #cc8800 100%);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

/* Info Button */
.btn-info {
  background: linear-gradient(135deg, var(--info-color) 0%, #00a3c4 100%);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px 0 rgba(0, 184, 217, 0.39);
}

.btn-info:hover,
.btn-info:focus {
  background: linear-gradient(135deg, #00a3c4 0%, #008fb0 100%);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

/* Button Sizes */
.btn-xs {
  font-size: var(--font-size-xs);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.btn-sm {
  font-size: var(--font-size-xs);
  padding: 8px 14px;
}

.btn-lg {
  font-size: var(--font-size-base);
  padding: 14px 28px;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
  display: flex;
}

/* Disabled State */
.btn.disabled,
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Button Group */
.btn-group .btn {
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.btn-group .btn:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Input Group Buttons */
.input-group-btn .btn {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  height: 44px;
  border: 1px solid var(--border-color);
  border-left: none;
  padding: 10px 16px;
}

.input-group-btn .btn-default {
  background: var(--bg-body);
}

.input-group-btn .btn-default:hover {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  border-color: var(--primary-color);
}

/* ============================================================
   SECTION 7: FORMS
   ============================================================ */

.form-group {
  margin-bottom: var(--space-lg);
}

.control-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  color: #94a3b8;
}

.form-control {
  height: 44px;
  padding: 10px 14px;
  font-size: var(--font-size-sm);
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  width: 100%;
}

.form-control:hover {
  border-color: var(--text-muted);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
  outline: none;
}

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

/* Textarea */
textarea.form-control {
  height: auto;
  min-height: 120px;
  resize: vertical;
  padding: var(--space-md);
}

/* Select */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Readonly */
.form-control[readonly] {
  background-color: var(--bg-body);
  color: var(--text-secondary);
  cursor: default;
}

/* Input Group */
.input-group {
  display: flex;
  width: 100%;
}

.input-group .form-control {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  border-right: none;
  flex: 1;
}

.input-group .form-control:focus {
  z-index: 2;
  border-right: 1px solid var(--primary-color);
}

/* Checkbox and Radio */
.checkbox,
.radio {
  margin-bottom: var(--space-md);
  margin-top: 0;
}

.checkbox label,
.radio label {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  padding-left: 0;
  line-height: 1.5;
}

.checkbox input[type="checkbox"],
.radio input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  margin-top: 2px;
  accent-color: var(--primary-color);
  cursor: pointer;
  flex-shrink: 0;
}

/* Help Text */
.help-block {
  margin-top: var(--space-xs);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* RTL Forms */
.rtl-form {
  direction: rtl;
  text-align: right;
}

.rtl-form .control-label {
  text-align: right;
}

.rtl-form select.form-control {
  background-position: left 14px center;
  padding-left: 40px;
  padding-right: 14px;
}

.rtl-form .input-group .form-control {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-right: 1px solid var(--border-color);
  border-left: none;
}

.rtl-form .input-group-btn .btn {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  border-left: 1px solid var(--border-color);
  border-right: none;
}

/* Password field with helper */
.form-group__password {
  position: relative;
}

.forgot-password {
  position: absolute;
  right: 0;
  top: 0;
  font-size: var(--font-size-xs);
  color: var(--primary-color);
}

.rtl-form .forgot-password {
  right: auto;
  left: 0;
}

/* ============================================================
   SECTION 8: TABLES
   ============================================================ */

.table {
  background: transparent;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 0;
}

.table > thead > tr > th {
  background: linear-gradient(180deg, var(--bg-body) 0%, rgba(248, 250, 252, 0.8) 100%);
  border: none;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}

.table > tbody > tr > td {
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 16px;
  vertical-align: middle;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  transition: background-color var(--transition-fast);
}

/* Row Hover */
.table > tbody > tr {
  transition: all var(--transition-fast);
}

.table > tbody > tr:hover {
  background-color: rgba(255, 107, 0, 0.04);
}

.table > tbody > tr:hover > td {
  color: var(--text-primary);
}

/* Category Rows */
.table > tbody > tr[data-filter-table-category-id] > td,
.table > tbody > tr > td[colspan] {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(255, 140, 0, 0.08) 100%);
  color: var(--primary-dark);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

/* Striped */
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(248, 250, 252, 0.5);
}

.table-striped > tbody > tr:nth-of-type(odd):hover {
  background-color: rgba(255, 107, 0, 0.04);
}

/* Bordered */
.table-bordered {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td {
  border: 1px solid var(--border-light);
}

/* Responsive Table */
.table-responsive {
  border: none;
  border-radius: var(--radius-lg);
  margin-bottom: 0;
}

/* RTL Table */
.rtl-table {
  direction: rtl;
}

.rtl-table > thead > tr > th,
.rtl-table > tbody > tr > td {
  text-align: right;
}

/* No Wrap */
.nowrap {
  white-space: nowrap;
}

/* Width Utilities */
.width-40 {
  width: 40%;
  max-width: 400px;
}

.width-service-name {
  width: 35%;
  min-width: 200px;
}

/* ============================================================
   SECTION 9: TAB NAVIGATION (.nav-pills)
   ============================================================ */

.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: var(--space-lg);
  padding: 6px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  list-style: none;
}

.nav-pills > li {
  float: none;
  margin: 0;
}

.nav-pills > li > a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
  background: transparent;
}

.nav-pills > li > a:hover,
.nav-pills > li > a:focus {
  color: var(--primary-color);
  background-color: rgba(255, 107, 0, 0.08);
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  color: var(--text-inverse);
  background: var(--primary-gradient);
  box-shadow: var(--shadow-primary);
}

/* Dropdown in Nav Pills */
.nav-pills .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-pills .dropdown .btn {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  height: auto;
  padding: 8px 16px;
}

.nav-pills .dropdown .btn:hover {
  border-color: var(--primary-light);
  color: var(--primary-color);
}

/* Search in Nav Pills */
.nav-pills .search {
  margin-left: auto;
}

.nav-pills .search .input-group {
  min-width: 250px;
}

/* Pull Right in Nav */
.nav-pills .pull-right {
  margin-left: auto;
}

/* RTL Nav Pills */
.rtl-nav {
  direction: rtl;
}

.rtl-nav .search {
  margin-left: 0;
  margin-right: auto;
}

.rtl-nav .pull-right {
  margin-left: 0;
  margin-right: auto;
}

/* ============================================================
   SECTION 10: PAGINATION
   ============================================================ */

.pagination {
  display: flex;
  gap: 4px;
  margin: var(--space-lg) 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.pagination > li {
  margin: 0;
}

.pagination > li > a,
.pagination > li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  transition: all var(--transition-base);
  text-decoration: none;
}

.pagination > li > a:hover,
.pagination > li > a:focus {
  color: var(--primary-color);
  border-color: var(--primary-light);
  background-color: rgba(255, 107, 0, 0.08);
  z-index: 2;
}

.pagination > li.active > a,
.pagination > li.active > a:hover,
.pagination > li.active > a:focus,
.pagination > li.active > span {
  background: var(--primary-gradient);
  border-color: transparent;
  color: var(--text-inverse);
  box-shadow: var(--shadow-primary);
}

.pagination > li.disabled > a,
.pagination > li.disabled > a:hover {
  color: var(--text-muted);
  background-color: var(--bg-body);
  border-color: var(--border-light);
  cursor: not-allowed;
}

/* RTL Pagination */
.rtl-pagination {
  direction: rtl;
}

/* ============================================================
   SECTION 11: ALERTS
   ============================================================ */

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: none;
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
  position: relative;
  animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success Alert */
.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-left: 4px solid #10b981;
}

/* Danger Alert */
.alert-danger {
  background: rgba(220, 38, 38, 0.1);
  color: #ffffff;
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-left: 4px solid #dc2626;
}

/* Warning Alert */
.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 4px solid #f59e0b;
}

/* Info Alert */
.alert-info {
  background: rgba(59, 130, 246, 0.1);
  color: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-left: 4px solid #3b82f6;
}

/* Alert Heading */
.alert h4 {
  margin: 0 0 var(--space-xs) 0;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
}

/* Close Button */
.alert-dismissible,
.alert-dismissable {
  padding-right: 40px;
}

.alert-dismissible .close,
.alert-dismissable .close {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  padding: 0;
  background: none;
  border: none;
  font-size: var(--font-size-xl);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity var(--transition-fast);
  line-height: 1;
  color: inherit;
}

.alert-dismissible .close:hover,
.alert-dismissable .close:hover {
  opacity: 1;
}

/* RTL Alert */
.rtl-alert {
  direction: rtl;
  text-align: right;
  border-left: none;
  border-right: 4px solid;
  padding-right: 20px;
  padding-left: 40px;
}

.rtl-alert.alert-success { border-right-color: var(--success-color); }
.rtl-alert.alert-danger { border-right-color: var(--danger-color); }
.rtl-alert.alert-warning { border-right-color: var(--warning-color); }
.rtl-alert.alert-info { border-right-color: var(--info-color); }

.rtl-alert .close {
  right: auto;
  left: 16px;
}

/* Global Notification Wrapper */
#notify-wrapper {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: var(--z-notification);
  min-width: 300px;
  max-width: 400px;
}

#notify-wrapper.alert {
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================================
   SECTION 12: MODALS
   ============================================================ */

.modal-backdrop {
  background-color: rgba(26, 31, 54, 0.6);
}

.modal-backdrop.in {
  opacity: 1;
}

.modal-dialog {
  margin: var(--space-xl) auto;
}

.modal-content {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.modal-header {
  padding: 20px var(--space-xl);
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-body) 100%);
  position: relative;
}

.modal-header .close {
  margin: 0;
  padding: var(--space-sm);
  font-size: var(--font-size-xl);
  opacity: 0.5;
  transition: opacity var(--transition-fast);
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.modal-header .close:hover {
  opacity: 1;
}

.modal-title {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  margin: 0;
  padding-right: var(--space-xl);
}

.modal-body {
  padding: var(--space-xl);
}

.modal-footer {
  padding: 16px var(--space-xl);
  border-top: 1px solid var(--border-light);
  background: var(--bg-body);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
}

/* Modal Animation */
.modal.fade .modal-dialog {
  transform: translateY(-30px);
  transition: transform 0.2s ease-out;
}

.modal.in .modal-dialog {
  transform: translateY(0);
}

/* Modal Body Scroller */
.modal-body-scroller {
  max-height: 500px;
  overflow: auto;
  border-radius: var(--radius-md);
}

/* RTL Modal */
.modal-rtl .modal-header .close {
  right: auto;
  left: var(--space-lg);
}

.modal-rtl .modal-title {
  padding-right: 0;
  padding-left: var(--space-xl);
  text-align: right;
}

.modal-rtl .modal-footer {
  justify-content: flex-start;
}

/* ============================================================
   SECTION 13: BADGES & LABELS
   ============================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  color: var(--text-inverse);
}

.label {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-sm);
}

.label-default {
  background-color: var(--bg-body);
  color: var(--text-secondary);
}

.label-primary {
  background: var(--primary-gradient);
  color: var(--text-inverse);
}

.label-success {
  background: var(--success-light);
  color: #0d7a5f;
}

.label-warning {
  background: var(--warning-light);
  color: #8a6d00;
}

.label-danger {
  background: var(--danger-light);
  color: #c42b52;
}

.label-info {
  background: var(--info-light);
  color: #0d6986;
}

/* ============================================================
   SECTION 14: TOOLTIPS
   ============================================================ */

.tooltip {
  font-family: var(--font-family);
  font-size: var(--font-size-xs);
}

.tooltip.in {
  opacity: 1;
}

.tooltip-inner {
  background: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  box-shadow: var(--shadow-md);
  max-width: 250px;
}

.tooltip.top .tooltip-arrow {
  border-top-color: var(--text-primary);
}

.tooltip.bottom .tooltip-arrow {
  border-bottom-color: var(--text-primary);
}

.tooltip.left .tooltip-arrow {
  border-left-color: var(--text-primary);
}

.tooltip.right .tooltip-arrow {
  border-right-color: var(--text-primary);
}

/* ============================================================
   SECTION 15: TICKET/CHAT STYLING
   ============================================================ */

.titcket-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--border-light);
}

.ticket-message-block {
  margin-bottom: var(--space-lg);
}

.ticket-message {
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

/* User Messages (Right) */
.ticket-message-right .ticket-message {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  border-bottom-right-radius: var(--radius-sm);
}

.ticket-message-right .info {
  text-align: right;
  padding-top: var(--space-sm);
}

/* Support Messages (Left) */
.ticket-message-left .ticket-message {
  background: var(--bg-body);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: var(--radius-sm);
}

.ticket-message-left .info {
  padding-top: var(--space-sm);
}

.ticket-message .info strong {
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
}

.ticket-message .info .text-muted {
  font-size: var(--font-size-xs);
}

/* Message Links */
.ticket-message a {
  color: inherit;
  text-decoration: underline;
  opacity: 0.9;
}

.ticket-message a:hover {
  opacity: 1;
}

.ticket-message-right .ticket-message a {
  color: var(--text-inverse);
}

/* Reply Form Border */
.panel-border-top {
  padding-top: var(--space-lg);
  border-top: 2px solid var(--border-light);
  margin-top: var(--space-lg);
}

/* ============================================================
   SECTION 16: FAVORITES/STARS
   ============================================================ */

[data-favorite-service-id] {
  cursor: pointer;
  padding: var(--space-xs);
  transition: transform var(--transition-spring);
  display: inline-flex;
}

[data-favorite-service-id]:hover {
  transform: scale(1.2);
}

[data-favorite-service-id] .fa-star {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

[data-favorite-service-id]:hover .fa-star {
  color: var(--warning-color);
}

.favorite-active .fa-star,
[data-favorite-service-id].favorite-active .fa-star {
  color: var(--warning-color) !important;
  filter: drop-shadow(0 0 4px rgba(255, 170, 0, 0.5));
}

/* ============================================================
   SECTION 17: SPECIAL COMPONENTS
   ============================================================ */

/* API Documentation */
.well.api {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: var(--font-size-sm);
  background: #1a1f36;
  color: #e2e8f0;
  border: none;
}

.well.api pre {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  color: inherit;
}

/* Order Actions in Tables */
.order-actions {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

/* Price/Rate Display */
.table td .price,
.table td strong {
  color: var(--success-color);
  font-weight: var(--font-weight-semibold);
}

/* Service Name */
.service-name {
  font-weight: var(--font-weight-medium);
  max-width: 350px;
}

/* Pull Right Middle alignment */
.pull-right-middle {
  line-height: 40px;
}

/* ============================================================
   SECTION 18: ANIMATIONS
   ============================================================ */

/* Page Load Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container > .row,
.container-fluid > .row {
  animation: fadeInUp 0.4s ease both;
}

/* Staggered Animation */
.container > .row:nth-child(1),
.container-fluid > .row:nth-child(1) { animation-delay: 0s; }
.container > .row:nth-child(2),
.container-fluid > .row:nth-child(2) { animation-delay: 0.1s; }
.container > .row:nth-child(3),
.container-fluid > .row:nth-child(3) { animation-delay: 0.15s; }

/* Button Loading State */
.btn.loading {
  pointer-events: none;
  position: relative;
  color: transparent !important;
}

.btn.loading::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--border-light) 25%,
    var(--bg-body) 50%,
    var(--border-light) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================================
   SECTION 19: RESPONSIVE DESIGN
   ============================================================ */

/* Mobile - max 767px */
@media (max-width: 767px) {
  body {
    padding-top: 0;
  }

  .container,
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Cards */
  .well {
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
  }

  /* Nav Pills - Default mobile (vertical for public pages) */
  body:not(.has-sidebar) .nav-pills {
    flex-direction: column;
    padding: 6px;
  }

  body:not(.has-sidebar) .nav-pills > li {
    width: 100%;
  }

  body:not(.has-sidebar) .nav-pills > li > a {
    justify-content: center;
  }

  body:not(.has-sidebar) .nav-pills .search,
  body:not(.has-sidebar) .nav-pills .pull-right {
    margin-left: 0;
    margin-top: var(--space-sm);
    width: 100%;
  }

  body:not(.has-sidebar) .nav-pills .search .input-group {
    min-width: 100%;
  }

  /* Tables */
  .table > thead > tr > th,
  .table > tbody > tr > td {
    padding: 10px 12px;
    font-size: var(--font-size-xs);
  }

  /* Buttons */
  .btn {
    padding: 10px 16px;
  }

  .btn-block-mobile {
    width: 100%;
    margin-bottom: var(--space-sm);
  }

  /* Forms */
  .form-control {
    height: 48px;
    font-size: 16px; /* Prevent iOS zoom */
  }

  /* Modal */
  .modal-dialog {
    margin: var(--space-sm);
  }

  .modal-content {
    border-radius: var(--radius-lg);
  }

  /* Pagination */
  .pagination {
    flex-wrap: wrap;
  }

  .pagination > li > a {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
  }

  /* Navbar Mobile */
  .navbar-collapse {
    background: rgba(13, 13, 13, 0.95);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 0;
    padding: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar-nav {
    margin: 0;
  }

  .navbar-nav > li {
    margin: 4px 0;
  }

  .navbar-default .navbar-nav > li > a {
    margin: 2px 0;
  }

  /* Notification */
  #notify-wrapper {
    left: var(--space-md);
    right: var(--space-md);
    max-width: none;
    min-width: auto;
  }
}

/* Tablet - 768px to 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .nav-pills {
    flex-wrap: wrap;
  }

  .nav-pills .search {
    flex: 1;
    min-width: 200px;
  }
}

/* Large Screens - 1200px+ */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .table > thead > tr > th,
  .table > tbody > tr > td {
    padding: 16px 20px;
  }
}

/* ============================================================
   SECTION 20: RTL COMPLETE SUPPORT
   ============================================================ */

body.rtl,
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

/* RTL Floats */
.rtl .pull-right {
  float: left !important;
}

.rtl .pull-left {
  float: right !important;
}

/* RTL Navbar */
.rtl .navbar-brand {
  float: right;
}

.rtl .navbar-nav {
  float: right;
}

.rtl .navbar-right {
  float: left;
}

.rtl .navbar-left-block {
  float: right;
}

.rtl .navbar-right-block {
  float: left;
}

.rtl .navbar-icon {
  margin-left: var(--space-sm);
  margin-right: 0;
}

/* RTL Dropdown */
.rtl .dropdown-menu {
  right: 0;
  left: auto;
  text-align: right;
}

/* RTL Caret */
.rtl .caret {
  margin-left: 0;
  margin-right: 4px;
}

/* RTL Alert */
.rtl .alert-dismissible,
.rtl .alert-dismissable {
  padding-left: 40px;
  padding-right: 20px;
}

.rtl .alert-dismissible .close,
.rtl .alert-dismissable .close {
  right: auto;
  left: 16px;
}

/* RTL Col Offset */
.rtl .col-md-offset-1 { margin-left: 0; margin-right: 8.33333%; }
.rtl .col-md-offset-2 { margin-left: 0; margin-right: 16.66667%; }
.rtl .col-md-offset-8 { margin-left: 0; margin-right: 66.66667%; }

/* RTL Text Alignment */
.rtl .text-left { text-align: right; }
.rtl .text-right { text-align: left; }

/* RTL Ticket Messages */
.rtl .ticket-message-right .ticket-message {
  border-bottom-right-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-sm);
}

.rtl .ticket-message-left .ticket-message {
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-sm);
}

.rtl .ticket-message-right .info {
  text-align: left;
}

.rtl .ticket-message-left .info {
  text-align: right;
}

/* RTL Modal */
.rtl .modal-header {
  text-align: right;
}

.rtl .modal-header .close {
  float: left;
  right: auto;
  left: var(--space-lg);
}

.rtl .modal-footer {
  text-align: left;
}

/* RTL Search */
.rtl .rtl-search {
  float: left;
}

/* ============================================================
   SECTION 21: UTILITY CLASSES
   ============================================================ */

/* Spacing - Margin Top */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--space-sm) !important; }
.mt-2 { margin-top: var(--space-md) !important; }
.mt-3 { margin-top: var(--space-lg) !important; }
.mt-4 { margin-top: var(--space-xl) !important; }

/* Spacing - Margin Bottom */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-sm) !important; }
.mb-2 { margin-bottom: var(--space-md) !important; }
.mb-3 { margin-bottom: var(--space-lg) !important; }
.mb-4 { margin-bottom: var(--space-xl) !important; }

/* Spacing - Padding */
.p-0 { padding: 0 !important; }
.p-1 { padding: var(--space-sm) !important; }
.p-2 { padding: var(--space-md) !important; }
.p-3 { padding: var(--space-lg) !important; }
.p-4 { padding: var(--space-xl) !important; }

/* Text Colors */
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Font Weights */
.font-weight-normal { font-weight: var(--font-weight-normal) !important; }
.font-weight-medium { font-weight: var(--font-weight-medium) !important; }
.font-weight-semibold { font-weight: var(--font-weight-semibold) !important; }
.font-weight-bold { font-weight: var(--font-weight-bold) !important; }

/* Backgrounds */
.bg-gradient-primary { background: var(--primary-gradient) !important; }
.bg-gradient-success { background: var(--success-gradient) !important; }
.bg-light { background-color: var(--bg-body) !important; }
.bg-white { background-color: var(--bg-card) !important; }

/* Borders */
.border { border: 1px solid var(--border-color) !important; }
.border-0 { border: 0 !important; }
.rounded { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }

/* Shadows */
.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* Display */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }

/* Flexbox */
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.gap-1 { gap: var(--space-sm) !important; }
.gap-2 { gap: var(--space-md) !important; }
.gap-3 { gap: var(--space-lg) !important; }

/* Width */
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

/* Overflow */
.overflow-hidden { overflow: hidden !important; }
.overflow-auto { overflow: auto !important; }

/* Cursor */
.cursor-pointer { cursor: pointer !important; }

/* Transitions */
.transition-all { transition: all var(--transition-base) !important; }

/* Visibility */
.invisible { visibility: hidden !important; }
.visible { visibility: visible !important; }

/* ============================================================
   SECTION 22: NAVBAR DIVIDER
   ============================================================ */

.navbar-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #374151 20%, #374151 80%, transparent 100%);
  width: 100%;
}

/* ============================================================
   SECTION 23: SIGN IN PAGE STYLES
   ============================================================ */

.signin-hero-section {
  padding: 60px 0 80px 0;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.signin-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}

.signin-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 24px;
}

.signin-hero-title .text-orange {
  color: #ff6b00;
}

.signin-hero-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.btn-all-services {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  border: 2px solid #ffffff;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}

.btn-all-services:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Sign In Card */
.signin-card {
  background: #1e293b;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.signin-label {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.signin-input-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
}

.signin-input-icon {
  position: relative;
  width: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-right: none;
  border-radius: 8px 0 0 8px;
  flex-shrink: 0;
}

.signin-input-icon svg {
  stroke: #64748b;
}

.signin-input {
  height: 50px !important;
  padding: 10px 14px !important;
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  border-radius: 0 8px 8px 0 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  flex: 1;
}

.signin-input:focus {
  background: #0f172a !important;
  border-color: #ff6b00 !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15) !important;
  outline: none !important;
}

.signin-input::placeholder {
  color: #64748b;
}

.signin-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

/* Override Bootstrap checkbox completely */
.signin-checkbox.checkbox {
  margin: 0 !important;
  padding: 0 !important;
  min-height: auto !important;
}

.signin-checkbox.checkbox label {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  padding-left: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  position: relative !important;
  min-height: auto !important;
}

.signin-checkbox.checkbox input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  margin: 0 8px 0 0 !important;
  accent-color: #ff6b00;
  cursor: pointer;
  flex-shrink: 0 !important;
  position: static !important;
  float: none !important;
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
}

.signin-checkbox.checkbox label span {
  color: rgba(255, 255, 255, 0.8) !important;
  display: inline !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.signin-forgot {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.signin-forgot:hover {
  color: #ff6b00;
}

.btn-signin-submit {
  width: 100%;
  padding: 14px 24px;
  background: #ff6b00;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.btn-signin-submit:hover {
  background: #e66000;
}

.signin-google {
  margin-top: 0;
}

.btn-google-signin {
  width: 100%;
  padding: 14px 24px;
  background: transparent;
  border: 2px solid #ff6b00;
  border-radius: 6px;
  color: #ff6b00;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-google-signin:hover {
  background: rgba(255, 107, 0, 0.1);
}

.btn-google-signin svg {
  flex-shrink: 0;
}

/* Responsive Sign In */
@media (max-width: 991px) {
  .signin-hero-section {
    padding: 40px 0;
  }

  .signin-hero-left {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
    align-items: center;
  }

  .signin-hero-title {
    font-size: 32px;
  }

  .signin-hero-description {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .signin-hero-title {
    font-size: 28px;
  }

  .signin-card {
    padding: 24px;
  }

  .signin-options {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ============================================================
   SECTION 24: STATS SECTION
   ============================================================ */

.stats-section {
  background: #0a0f1a;
  padding: 50px 0;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  color: #ff6b00;
  font-weight: 500;
}

.btn-signup-large {
  display: inline-block;
  padding: 16px 48px;
  background: transparent;
  border: 2px solid #ffffff;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-signup-large:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ============================================================
   SECTION 25: HOW IT WORKS SECTION
   ============================================================ */

.how-it-works-section {
  background: #0f172a;
  padding: 60px 0 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 16px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: #ff6b00;
  margin: 0 auto 50px auto;
  border-radius: 2px;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #1e293b;
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: #ff6b00;
  box-shadow: 0 12px 24px rgba(255, 107, 0, 0.3);
}

.feature-card:hover .feature-icon svg {
  stroke: #ffffff;
}

.feature-card:hover .feature-title {
  color: #ffffff;
}

.feature-card:hover .feature-desc {
  color: rgba(255, 255, 255, 0.9);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.feature-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

/* Responsive Stats & Features */
@media (max-width: 991px) {
  .stats-row {
    justify-content: center;
    text-align: center;
  }

  .stat-item {
    text-align: center;
    flex: 0 0 calc(50% - 15px);
  }

  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .stats-section {
    padding: 40px 0;
  }

  .stats-row {
    flex-direction: column;
    gap: 24px;
  }

  .stat-item {
    flex: none;
    width: 100%;
  }

  .stat-number {
    font-size: 28px;
  }

  .btn-signup-large {
    width: 100%;
    text-align: center;
  }

  .how-it-works-section {
    padding: 40px 0 60px 0;
  }

  .features-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .feature-card {
    padding: 24px 20px;
  }
}

/* ============================================================
   SECTION 26: VIDEO SECTION
   ============================================================ */

.video-section {
  background: #0a0f1a;
  padding: 60px 0;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .video-section {
    padding: 40px 0;
  }

  .video-container {
    border-radius: 8px;
  }

  .video-container iframe {
    border-radius: 8px;
  }
}

/* ============================================================
   SECTION 27: OUR PLATFORMS SECTION
   ============================================================ */

.platforms-section {
  background: #0f172a;
  padding: 60px 0;
}

.platforms-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.platform-icon:hover {
  transform: scale(1.2);
}

.platform-icon svg {
  width: 24px;
  height: 24px;
}

/* ============================================================
   SECTION 27: SMM PANEL SERVICES SECTION
   ============================================================ */

.services-section {
  background: #0a0f1a;
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #1e293b;
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  background: #ff6b00;
}

.service-card:hover .service-title {
  color: #ffffff;
}

.service-card:hover .service-desc {
  color: rgba(255, 255, 255, 0.9);
}

.service-card:hover .service-icon svg {
  fill: #ffffff;
  stroke: #ffffff;
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.service-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
}

.service-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
}

/* Responsive Services Grid */
@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .services-section {
    padding: 50px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 24px 20px;
  }
}

/* ============================================================
   SECTION 28: USER FRIENDLY PANEL PROMO SECTION
   ============================================================ */

.panel-promo-section {
  background: #0a0f1a;
  padding: 80px 0;
  overflow: hidden;
}

.panel-promo-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}

.panel-promo-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 24px;
}

.panel-promo-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 32px;
}

.btn-register-now {
  display: inline-block;
  padding: 14px 36px;
  background: #ff6b00;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}

.btn-register-now:hover {
  background: #e66000;
  color: #ffffff;
  transform: translateY(-2px);
}

.panel-promo-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-illustration {
  position: relative;
  width: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Social Icons Grid Layout */
.social-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 400px;
  width: 100%;
}

.social-icon-box {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.social-icon-box:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.social-icon-box.facebook {
  background: #1877f2;
}

.social-icon-box.twitter {
  background: #1da1f2;
}

.social-icon-box.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon-box.linkedin {
  background: #0077b5;
}

.social-icon-box.snapchat {
  background: #fffc00;
}

.social-icon-box.tiktok {
  background: #000000;
  border: 2px solid #25f4ee;
}

.social-icon-box svg {
  width: 48px;
  height: 48px;
}

.social-icon-box.snapchat svg {
  fill: #000000;
}

/* Floating animation for individual icons */
.social-icon-box:nth-child(1) { animation: floatIcon 3s ease-in-out infinite; animation-delay: 0s; }
.social-icon-box:nth-child(2) { animation: floatIcon 3s ease-in-out infinite; animation-delay: 0.3s; }
.social-icon-box:nth-child(3) { animation: floatIcon 3s ease-in-out infinite; animation-delay: 0.6s; }
.social-icon-box:nth-child(4) { animation: floatIcon 3s ease-in-out infinite; animation-delay: 0.9s; }
.social-icon-box:nth-child(5) { animation: floatIcon 3s ease-in-out infinite; animation-delay: 1.2s; }
.social-icon-box:nth-child(6) { animation: floatIcon 3s ease-in-out infinite; animation-delay: 1.5s; }

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Platforms & Promo */
@media (max-width: 991px) {
  .panel-promo-content {
    padding-right: 0;
    text-align: center;
    align-items: center;
    margin-bottom: 40px;
  }

  .panel-promo-title {
    font-size: 28px;
  }

  .promo-illustration {
    min-height: 280px;
  }

  .social-icons-grid {
    max-width: 320px;
    gap: 16px;
  }

  .social-icon-box svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 767px) {
  .platforms-section {
    padding: 40px 0;
  }

  .platforms-icons {
    gap: 24px;
  }

  .panel-promo-section {
    padding: 50px 0;
  }

  .panel-promo-title {
    font-size: 24px;
  }

  .promo-illustration {
    min-height: 220px;
  }

  .social-icons-grid {
    max-width: 280px;
    gap: 12px;
  }

  .social-icon-box {
    border-radius: 16px;
  }

  .social-icon-box svg {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================
   SECTION 29: SITE FOOTER
   ============================================================ */

.site-footer {
  background: #0a0f1a;
  padding: 50px 0 0 0;
  margin-top: auto;
  margin-bottom: 0;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.site-footer .container {
  max-width: 100%;
  overflow-x: hidden;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-logo {
  max-height: 36px;
  width: auto;
}

.footer-site-name {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link.telegram {
  background: #1e293b;
  color: #ffffff;
}

.social-link.telegram:hover {
  background: #0088cc;
  color: #ffffff;
}

.social-link.youtube {
  background: #1e293b;
  color: #ff0000;
}

.social-link.youtube:hover {
  background: #ff0000;
  color: #ffffff;
}

.social-link.instagram {
  background: #1e293b;
  color: #ffffff;
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}

.social-link.twitter {
  background: #1e293b;
  color: #1da1f2;
}

.social-link.twitter:hover {
  background: #1da1f2;
  color: #ffffff;
}

.social-link.facebook {
  background: #1e293b;
  color: #1877f2;
}

.social-link.facebook:hover {
  background: #1877f2;
  color: #ffffff;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

/* Footer Columns */
.footer-column {
  margin-bottom: 30px;
}

.footer-column-title {
  color: #ff6b00;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* About Column */
.footer-about-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-show-more {
  background: transparent;
  border: none;
  color: #ff6b00;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.footer-show-more:hover {
  color: #ff8533;
}

/* Footer Links Lists */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-links-list li a:hover {
  color: #ff6b00;
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact-list li i {
  color: #ff6b00;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

.footer-contact-list li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-list li a:hover {
  color: #ff6b00;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #ff6b00;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

/* Responsive Footer */
@media (max-width: 991px) {
  .footer-column {
    margin-bottom: 25px;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 40px 0 0 0;
  }

  .footer-column {
    margin-bottom: 30px;
  }

  .footer-column-title {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .footer-about-text,
  .footer-links-list li a,
  .footer-contact-list li {
    font-size: 13px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    gap: 16px;
  }

  .footer-legal-links {
    order: 2;
  }

  .footer-social {
    order: 1;
  }

  .footer-copyright {
    order: 3;
    font-size: 12px;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ff6b00;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Responsive Footer */
@media (max-width: 767px) {
  .site-footer {
    padding: 40px 0 24px 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-links {
    gap: 24px;
  }
}

/* ============================================================
   SECTION 30: API PAGE STYLES
   ============================================================ */

.api-page {
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 200px);
}

.api-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.api-page-title i {
  color: #ff6b00;
}

/* API Info Table - Card Style */
.api-info-table {
  background: #1e293b;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 40px;
  border: 1px solid #334155;
}

.api-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.api-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.api-info-row:first-child {
  padding-top: 0;
}

.api-info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b00;
  font-size: 16px;
}

.api-info-content {
  flex: 1;
}

.api-info-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.api-info-value {
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
}

.api-info-value.api-url {
  color: #00b8d9;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 14px;
}

.api-info-value a {
  color: #ff6b00;
  text-decoration: none;
  font-weight: 600;
}

.api-info-value a:hover {
  text-decoration: underline;
}

/* API Method Card */
.api-method-card {
  background: #1e293b;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid #334155;
}

/* API Section Title */
.api-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.api-section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: #ff6b00;
  border-radius: 2px;
}

/* API Type Selector */
.api-type-selector {
  margin-bottom: 24px;
  max-width: 300px;
}

.api-type-selector .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  color: #ffffff;
  height: 44px;
  border-radius: 10px;
  padding: 0 16px;
}

.api-type-selector .form-control:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

/* API Parameters Table - Enhanced */
.api-params-table {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #334155;
}

.api-params-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 14px 20px;
  background: rgba(255, 107, 0, 0.08);
  border-bottom: 1px solid #334155;
}

.api-params-header .api-params-col {
  font-size: 12px;
  font-weight: 600;
  color: #ff6b00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.api-params-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}

.api-params-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.api-params-row:hover {
  background: rgba(255, 107, 0, 0.05);
}

.api-params-row:last-child {
  border-bottom: none;
}

.api-param-name {
  font-size: 13px;
  color: #ff6b00;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  background: rgba(255, 107, 0, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

.api-param-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
}

/* API Example Title */
.api-example-title {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* API Code Block - Enhanced with Header */
.api-code-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #334155;
  margin-bottom: 0;
}

.api-code-header {
  background: #0f172a;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
}

.api-code-label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.btn-copy-code {
  background: transparent;
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-code:hover {
  background: #334155;
  color: #ffffff;
}

.btn-copy-code.copied {
  background: rgba(0, 214, 143, 0.2);
  border-color: #00d68f;
  color: #00d68f;
}

.api-code-block {
  background: linear-gradient(135deg, #0d3320 0%, #052e16 100%);
  border-radius: 0;
  padding: 20px;
  margin-bottom: 0;
  overflow-x: auto;
}

.api-code-wrapper .api-code-block {
  border-radius: 0;
}

.api-code-block pre {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #4ade80;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* JSON Syntax Colors */
.api-code-block .json-key {
  color: #ff6b00;
}

.api-code-block .json-string {
  color: #4ade80;
}

.api-code-block .json-number {
  color: #60a5fa;
}

/* API Example Button */
.btn-api-example {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #ff6b00 0%, #e65c00 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-api-example:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
  color: #ffffff;
}

.btn-api-example i {
  font-size: 16px;
}

/* Responsive API Page */
@media (max-width: 767px) {
  .api-page {
    padding: 30px 0 60px 0;
  }

  .api-page-title {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .api-info-table {
    padding: 16px;
  }

  .api-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .api-method-card {
    padding: 20px;
  }

  .api-params-header,
  .api-params-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px;
  }

  .api-params-header .api-params-col:last-child {
    display: none;
  }

  .api-code-block {
    padding: 16px;
  }

  .api-code-block pre {
    font-size: 12px;
  }

  .api-section-title {
    font-size: 18px;
  }

  .btn-api-example {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Section 31: Services Page Styles
   ========================================================================== */

.services-page {
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 200px);
}

/* Services Toolbar */
.services-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

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

.toolbar-right {
  display: flex;
  align-items: center;
}

/* Filter Dropdown Button */
.btn-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #1e293b;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter:hover {
  background: #334155;
}

.btn-filter svg {
  width: 16px;
  height: 16px;
}

.btn-filter .caret {
  margin-left: 4px;
  border-top-color: #ffffff;
}

/* Currency Dropdown Button - Same as Filter */
.btn-currency {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #1e293b;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-currency:hover {
  background: #334155;
}

.btn-currency .caret {
  border-top-color: #ffffff;
  margin-left: 4px;
}

.btn-currency svg {
  stroke: #ffffff;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Filter Dropdown - Dark Style */
.filter-dropdown .dropdown-menu {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  min-width: 200px;
}

.filter-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #e2e8f0;
  font-size: 14px;
  transition: all 0.15s ease;
}

.filter-dropdown .dropdown-item:hover {
  background: #334155;
  color: #ff6b00;
}

.filter-dropdown .dropdown-item span {
  font-size: 14px;
}

/* Platform icons in filter dropdown */
.filter-dropdown .dropdown-item span.fab,
.filter-dropdown .dropdown-item span.fas {
  width: 20px;
  font-size: 16px;
  text-align: center;
}

.filter-dropdown .dropdown-item span.fa-instagram {
  color: #E4405F;
}

.filter-dropdown .dropdown-item span.fa-facebook {
  color: #1877F2;
}

.filter-dropdown .dropdown-item span.fa-youtube {
  color: #FF0000;
}

.filter-dropdown .dropdown-item span.fa-twitter {
  color: #1DA1F2;
}

.filter-dropdown .dropdown-item span.fa-telegram {
  color: #0088cc;
}

.filter-dropdown .dropdown-item span.fa-tiktok {
  color: #ffffff;
}

.filter-dropdown .dropdown-item span.fa-linkedin {
  color: #0A66C2;
}

.filter-dropdown .dropdown-item span.fa-spotify {
  color: #1DB954;
}

.filter-dropdown .dropdown-item span.fa-twitch {
  color: #9146FF;
}

.filter-dropdown .dropdown-item span.fa-discord {
  color: #5865F2;
}

.filter-dropdown .dropdown-item span.fa-snapchat {
  color: #FFFC00;
}

.filter-dropdown .dropdown-item span.fa-pinterest {
  color: #E60023;
}

.filter-dropdown .dropdown-item span.fa-threads {
  color: #ffffff;
}

.filter-dropdown .dropdown-item span.fa-reddit {
  color: #FF4500;
}

.filter-dropdown .dropdown-item span.fa-vk {
  color: #0077FF;
}

.filter-dropdown .dropdown-item span.fa-whatsapp {
  color: #25D366;
}

.filter-dropdown .dropdown-item span.fa-soundcloud {
  color: #FF5500;
}

.filter-dropdown .dropdown-item span.fa-cloud {
  color: #1185FE;
}

.filter-dropdown .dropdown-item span.fa-tumblr {
  color: #35465C;
}

.filter-dropdown .dropdown-item span.fa-medium {
  color: #00AB6C;
}

.filter-dropdown .dropdown-item span.fa-video {
  color: #53FC18;
}

.filter-dropdown .dropdown-item span.fa-github {
  color: #ffffff;
}

.filter-dropdown .dropdown-item span.fa-behance {
  color: #1769FF;
}

.filter-dropdown .dropdown-item span.fa-quora {
  color: #B92B27;
}

.filter-dropdown .dropdown-item span.fa-play-circle {
  color: #85C742;
}

.filter-dropdown .dropdown-item span.fa-chart-line {
  color: #3498db;
}

.filter-dropdown .dropdown-item span.fa-globe {
  color: #27ae60;
}

.filter-dropdown .dropdown-item span.fa-android {
  color: #3DDC84;
}

.filter-dropdown .dropdown-item span.fa-star {
  color: #FFD700;
}

/* Dropdown headers */
.filter-dropdown .dropdown-header {
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  background: transparent;
  border: none;
}

.filter-dropdown .dropdown-header:first-child {
  margin-top: 0;
}

.filter-dropdown .dropdown-item.active span.fab,
.filter-dropdown .dropdown-item.active span.fas {
  color: #ffffff;
}

/* Platform Filter Icons */
.platform-filter-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  margin-bottom: 10px;
}

/* Platform Filter Icons in New Order Page */
.col-lg-8 .platform-filter-icons {
  background: #1e293b;
  padding: 20px 24px;
  margin-bottom: 0;
  border-left: 1px solid #334155;
  border-right: 1px solid #334155;
  border-bottom: none;
  border-top: none;
}

.platform-filter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.platform-filter-icon svg {
  width: 22px;
  height: 22px;
}

.platform-filter-icon:hover {
  transform: scale(1.1);
  border-color: #ff6b00;
}

.platform-filter-icon.active {
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.platform-filter-icon[data-filter-platform="all"] svg {
  fill: #64748b;
}

.platform-filter-icon[data-filter-platform="tiktok"] svg,
.platform-filter-icon[data-filter-platform="threads"] svg {
  fill: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
  .platform-filter-icons {
    display: none;
  }
}

/* Currency Dropdown - Dark Style (same as Filter) */
.currency-dropdown .dropdown-menu {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  min-width: 180px;
}

.currency-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #e2e8f0;
  font-size: 14px;
  transition: all 0.15s ease;
}

.currency-dropdown .dropdown-item:hover {
  background: #334155;
  color: #ff6b00;
}

.currency-dropdown .dropdown-item.active {
  background: #ff6b00;
  color: #ffffff;
}

.currency-dropdown .dropdown-item span {
  font-size: 14px;
}

.category-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
}

/* Services page filter bar - Dark theme search input */
.services-filter-bar .filter-search .form-control,
.filter-search .form-control,
.filter-search input.form-control {
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  color: #ffffff !important;
  height: 44px;
  border-radius: 8px 0 0 8px;
}

.services-filter-bar .filter-search .form-control::placeholder,
.filter-search .form-control::placeholder {
  color: #64748b !important;
}

.services-filter-bar .filter-search .form-control:focus,
.filter-search .form-control:focus {
  border-color: #ff6b00 !important;
  box-shadow: none !important;
}

/* Search button alignment fix */
.services-filter-bar .filter-search .input-group-btn .btn,
.filter-search .input-group-btn .btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  height: 44px;
  border-radius: 0 8px 8px 0 !important;
  background: #ff6b00 !important;
  border: 1px solid #ff6b00 !important;
  color: #ffffff !important;
}

.services-filter-bar .filter-search .input-group-btn .btn:hover,
.filter-search .input-group-btn .btn:hover {
  background: #e65c00 !important;
  border-color: #e65c00 !important;
}

.services-filter-bar .filter-search .input-group-btn .btn i,
.filter-search .input-group-btn .btn i {
  line-height: 1;
  vertical-align: middle;
}

/* Search Box */
.search-box {
  display: flex;
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.search-input {
  padding: 12px 16px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #e2e8f0;
  background: transparent;
  width: 250px;
}

.search-input::placeholder {
  color: #64748b;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: #ff6b00;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-btn:hover {
  background: #e65c00;
}

.search-btn svg {
  color: #ffffff;
}

/* Services Table Wrapper */
.services-table-wrapper {
  background: #1e293b;
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Services Table */
.services-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.services-table thead {
  background: #0f172a;
}

.services-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border-bottom: 1px solid #334155;
}

.services-table thead th.th-fav {
  width: 40px;
  padding-left: 16px;
}

.services-table thead th.th-id {
  width: 70px;
}

.services-table thead th.th-service {
  min-width: 200px;
}

.services-table thead th.th-rate,
.services-table thead th.th-min,
.services-table thead th.th-max {
  width: 100px;
  text-align: center;
}

.services-table thead th.th-time {
  width: 120px;
  text-align: center;
}

.services-table thead th.th-desc {
  min-width: 200px;
}

/* Category Row */
.services-table .category-row {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
}

.services-table .category-row td {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.services-table .category-row .category-name {
  margin-left: 8px;
}

.services-table .category-row span[class^="fa"],
.services-table .category-row span[class*=" fa"] {
  margin-right: 4px;
}

.services-table .category-row .category-icon-img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

/* Service Row */
.services-table .service-row {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  transition: background 0.15s ease;
}

.services-table .service-row:hover {
  background: #334155;
}

.services-table .service-row td {
  padding: 14px 20px;
  font-size: 14px;
  color: #e2e8f0;
  vertical-align: middle;
}

.services-table .service-row .td-fav {
  padding-left: 16px;
}

.services-table .service-row .td-fav span {
  cursor: pointer;
  color: #64748b;
  font-size: 16px;
  transition: color 0.2s ease;
}

.services-table .service-row .td-fav span:hover,
.services-table .service-row .td-fav span.favorite-active {
  color: #ff6b00;
}

.services-table .service-row .td-id {
  font-weight: 600;
  color: #ff6b00;
}

.services-table .service-row .td-service {
  font-weight: 500;
  color: #ffffff;
}

.services-table .service-row .td-rate {
  text-align: center;
  font-weight: 600;
  color: #00d68f;
}

.services-table .service-row .td-rate .rate-symbol {
  font-weight: 700;
  margin-right: 1px;
}

.services-table .service-row .td-rate .rate-value {
  font-weight: 600;
}

.services-table .service-row .td-min,
.services-table .service-row .td-max {
  text-align: center;
  color: #94a3b8;
}

.services-table .service-row .td-time {
  text-align: center;
  color: #94a3b8;
}

.services-table .service-row .td-desc {
  color: #94a3b8;
  font-size: 13px;
  max-width: 300px;
}

/* Mobile Service Description Row */
.service-desc-mobile {
  display: none;
}

.service-desc-mobile td {
  padding: 12px 20px !important;
  background: #0f172a;
  color: #94a3b8 !important;
  font-size: 13px !important;
  border-bottom: 1px solid #334155;
}

/* RTL Support for Services Table */
.services-table.rtl-table thead th {
  text-align: right;
}

.services-table.rtl-table .td-rate,
.services-table.rtl-table .td-min,
.services-table.rtl-table .td-max,
.services-table.rtl-table .td-time {
  text-align: center;
}

.services-table.rtl-table thead th.th-rate,
.services-table.rtl-table thead th.th-min,
.services-table.rtl-table thead th.th-max,
.services-table.rtl-table thead th.th-time {
  text-align: center;
}

/* Responsive Services Page */
@media (max-width: 991px) {
  .services-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-left {
    justify-content: flex-start;
  }

  .toolbar-right {
    width: 100%;
  }

  .search-box {
    width: 100%;
  }

  .search-input {
    width: 100%;
  }

  /* Description column stays visible - compact button for mobile */
  .services-table thead th.th-desc {
    width: auto;
    min-width: 50px;
  }

  .btn-view-desc {
    padding: 4px 10px;
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .services-page {
    padding: 20px 0 60px 0;
  }

  .services-page .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .toolbar-left {
    flex-wrap: wrap;
  }

  .services-table-wrapper {
    border-radius: 10px;
    margin-left: -3px;
    margin-right: -3px;
  }

  /* Compact table for mobile - show ALL important columns */
  .services-table thead th {
    padding: 10px 5px;
    font-size: 9px;
    letter-spacing: 0;
  }

  .services-table .category-row td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .services-table .service-row td {
    padding: 10px 5px;
    font-size: 11px;
  }

  .services-table .service-row .td-service {
    max-width: 100px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    font-size: 11px;
  }

  /* Hide only favorite and time on mobile to save space */
  .services-table thead th.th-time,
  .services-table .service-row .td-time {
    display: none;
  }

  /* Description column styling for mobile */
  .services-table thead th.th-desc {
    min-width: 45px;
    padding: 10px 4px;
  }

  .services-table .service-row .td-desc {
    padding: 10px 4px;
  }

  .services-table .td-desc .btn-view-desc {
    padding: 4px 8px;
    font-size: 9px;
    border-radius: 4px;
  }

  .services-table thead th.th-service {
    min-width: 80px;
  }

  .services-table thead th.th-id {
    width: 35px;
  }

  /* Keep Rate, Min, Max visible - compact sizing */
  .services-table thead th.th-rate,
  .services-table thead th.th-min,
  .services-table thead th.th-max {
    width: auto;
    min-width: 40px;
    padding: 10px 4px;
  }

  .services-table .service-row .td-rate,
  .services-table .service-row .td-min,
  .services-table .service-row .td-max {
    padding: 10px 4px;
    font-size: 10px;
  }

  .services-table .service-row .td-rate {
    font-weight: 700;
    color: #00d68f;
  }

  /* Hide favorite on mobile to save space for important columns */
  .services-table thead th.th-fav,
  .services-table .service-row .td-fav {
    display: none;
  }

  .btn-filter,
  .btn-currency {
    padding: 8px 10px;
    font-size: 11px;
  }

  .btn-filter svg,
  .btn-currency svg {
    width: 14px;
    height: 14px;
  }

  .search-input {
    padding: 8px 10px;
    font-size: 12px;
    width: 100%;
  }

  .search-btn {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .services-page .container {
    padding-left: 5px;
    padding-right: 5px;
  }

  .services-table thead th {
    padding: 8px 3px;
    font-size: 8px;
  }

  .services-table .service-row td {
    padding: 8px 3px;
    font-size: 10px;
  }

  .services-table thead th.th-id {
    width: 28px;
  }

  .services-table .service-row .td-id {
    font-size: 10px;
  }

  .services-table .service-row .td-service {
    max-width: 75px;
    font-size: 10px;
    line-height: 1.2;
  }

  .services-table thead th.th-service {
    min-width: 60px;
  }

  .services-table thead th.th-rate,
  .services-table thead th.th-min,
  .services-table thead th.th-max {
    min-width: 35px;
    padding: 8px 2px;
  }

  .services-table .service-row .td-rate,
  .services-table .service-row .td-min,
  .services-table .service-row .td-max {
    padding: 8px 2px;
    font-size: 9px;
  }

  .services-table .category-row td {
    padding: 8px 6px;
    font-size: 11px;
  }

  /* Description column for 480px */
  .services-table thead th.th-desc {
    min-width: 38px;
    padding: 8px 2px;
  }

  .services-table .td-desc .btn-view-desc {
    padding: 3px 6px;
    font-size: 8px;
  }

  .toolbar-left {
    gap: 6px;
  }

  .btn-filter,
  .btn-currency {
    padding: 6px 8px;
    font-size: 10px;
    gap: 3px;
  }

  /* Hide button text on small screens, show only icon */
  .btn-filter span:not(.caret),
  .btn-currency span:not(.caret) {
    display: none;
  }

  .btn-filter svg,
  .btn-currency svg {
    width: 14px;
    height: 14px;
  }

  .search-box {
    flex: 1;
  }

  .search-input {
    padding: 6px 8px;
    font-size: 11px;
    min-width: 0;
  }

  .search-btn {
    padding: 6px 8px;
  }

  .search-btn svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 360px) {
  .services-table thead th {
    padding: 6px 2px;
    font-size: 7px;
  }

  .services-table .service-row td {
    padding: 6px 2px;
    font-size: 9px;
  }

  .services-table thead th.th-id {
    width: 24px;
  }

  .services-table .service-row .td-service {
    max-width: 60px;
    font-size: 9px;
  }

  .services-table thead th.th-service {
    min-width: 50px;
  }

  .services-table thead th.th-rate,
  .services-table thead th.th-min,
  .services-table thead th.th-max {
    min-width: 30px;
    padding: 6px 1px;
  }

  .services-table .service-row .td-rate,
  .services-table .service-row .td-min,
  .services-table .service-row .td-max {
    padding: 6px 1px;
    font-size: 8px;
  }

  .services-table .category-row td {
    padding: 6px 4px;
    font-size: 10px;
  }

  .services-table .category-row .category-name {
    margin-left: 4px;
  }

  /* Description column for 360px */
  .services-table thead th.th-desc {
    min-width: 28px;
    padding: 6px 1px;
    font-size: 6px;
  }

  .services-table .service-row .td-desc {
    padding: 6px 1px;
  }

  .services-table .td-desc .btn-view-desc {
    padding: 3px 5px;
    font-size: 7px;
    border-radius: 3px;
  }
}

/* View Description Button */
.btn-view-desc {
  display: inline-block;
  padding: 6px 16px;
  background: #ff6b00;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-view-desc:hover {
  background: #e65c00;
  transform: translateY(-1px);
}

.btn-view-desc:active {
  transform: translateY(0);
}

/* Service Description Modal */
.service-desc-modal {
  background: #1e293b;
  border: none;
  border-radius: 16px;
}

.service-desc-modal .modal-header {
  background: #0f172a;
  border-bottom: 1px solid #334155;
  border-radius: 16px 16px 0 0;
  padding: 20px 24px;
}

.service-desc-modal .modal-header .close {
  color: #ffffff;
  opacity: 0.7;
  font-size: 28px;
  margin-top: -4px;
}

.service-desc-modal .modal-header .close:hover {
  opacity: 1;
  color: #ff6b00;
}

.service-desc-modal .modal-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

.service-desc-modal .modal-body {
  padding: 24px;
  background: #1e293b;
  border-radius: 0 0 16px 16px;
}

.service-desc-content {
  color: #e2e8f0 !important;
  font-size: 14px;
  line-height: 1.7;
}

/* Force all text elements inside description to be visible */
.service-desc-content,
.service-desc-content * {
  color: #e2e8f0 !important;
}

.service-desc-content p {
  margin-bottom: 12px;
  color: #e2e8f0 !important;
}

.service-desc-content ul,
.service-desc-content ol {
  margin-bottom: 12px;
  padding-left: 20px;
  color: #e2e8f0 !important;
}

.service-desc-content li {
  margin-bottom: 6px;
  color: #e2e8f0 !important;
}

.service-desc-content span,
.service-desc-content div,
.service-desc-content strong,
.service-desc-content b,
.service-desc-content em,
.service-desc-content i {
  color: #e2e8f0 !important;
}

/* Highlight links (click here) in modal */
.service-desc-content a {
  color: #ff6b00 !important;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.service-desc-content a:hover {
  color: #ff8533 !important;
  text-decoration: underline;
}

/* Service Modal Enhanced Styles */
.service-modal-name {
  color: #ff6b00;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #334155;
}

.service-details-grid {
  margin-bottom: 20px;
}

.service-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #334155;
}

.service-detail-row:last-child {
  border-bottom: none;
}

.service-detail-label {
  color: #94a3b8;
  font-size: 14px;
}

.service-detail-value {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.service-desc-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #334155;
}

.service-desc-title {
  color: #94a3b8;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.no-description {
  color: #64748b;
  font-style: italic;
}

.service-modal-footer {
  margin-top: 24px;
  text-align: center;
}

.btn-place-order {
  display: inline-block;
  background: #ff6b00;
  color: #ffffff !important;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-place-order:hover {
  background: #e65c00;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-place-order i {
  margin-right: 8px;
}

/* ==========================================================================
   Section 32: Sign Up Page Styles
   ========================================================================== */

.signup-hero-section {
  padding: 60px 0 80px 0;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.signup-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}

.signup-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 24px;
}

.signup-hero-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

/* Sign Up Card */
.signup-card {
  background: #1e293b;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.signup-label {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.signup-input-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
}

.signup-input-icon {
  position: relative;
  width: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-right: none;
  border-radius: 8px 0 0 8px;
  flex-shrink: 0;
}

.signup-input-icon svg {
  stroke: #64748b;
}

.signup-input {
  height: 50px !important;
  padding: 10px 14px !important;
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  border-radius: 0 8px 8px 0 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  flex: 1;
}

.signup-input:focus {
  background: #0f172a !important;
  border-color: #ff6b00 !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15) !important;
  outline: none !important;
}

.signup-input::placeholder {
  color: #64748b;
}

/* Signup Checkbox */
.signup-checkbox.checkbox {
  margin: 0 !important;
  padding: 0 !important;
  min-height: auto !important;
}

.signup-checkbox.checkbox label {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  padding-left: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  position: relative !important;
  min-height: auto !important;
}

.signup-checkbox.checkbox input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  margin: 0 8px 0 0 !important;
  accent-color: #ff6b00;
  cursor: pointer;
  flex-shrink: 0 !important;
  position: static !important;
  float: none !important;
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
}

.signup-checkbox .terms-link {
  color: #ff6b00;
  text-decoration: none;
  margin-right: 4px;
}

.signup-checkbox .terms-link:hover {
  text-decoration: underline;
}

.btn-signup-submit {
  width: 100%;
  padding: 14px 24px;
  background: #ff6b00;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.btn-signup-submit:hover {
  background: #e66000;
}

.signup-google {
  margin-top: 0;
}

.btn-google-signup {
  width: 100%;
  padding: 14px 24px;
  background: transparent;
  border: 2px solid #ff6b00;
  border-radius: 6px;
  color: #ff6b00;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-google-signup:hover {
  background: rgba(255, 107, 0, 0.1);
}

.btn-google-signup svg {
  flex-shrink: 0;
}

.signup-footer-link {
  text-align: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.signup-footer-link a {
  color: #ff6b00;
  text-decoration: none;
}

.signup-footer-link a:hover {
  text-decoration: underline;
}

/* Responsive Sign Up */
@media (max-width: 991px) {
  .signup-hero-section {
    padding: 40px 0;
  }

  .signup-hero-left {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
    align-items: center;
  }

  .signup-hero-title {
    font-size: 32px;
  }

  .signup-hero-description {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .signup-hero-title {
    font-size: 28px;
  }

  .signup-card {
    padding: 24px;
  }
}

/* ==========================================================================
   Section 33: Sidebar Layout for Logged-in Users
   ========================================================================== */

/* Sidebar Variables */
:root {
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 70px;
  --sidebar-bg: #0f172a;
  --sidebar-border: #1e293b;
  --topbar-height: 60px;
}

/* Body with sidebar */
body.has-sidebar {
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  /* Override card background for dark theme in logged-in area */
  --bg-card: #1e293b;
  --bg-card-hover: #2d3748;
}

/* Sidebar Container */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  display: flex;
  flex-direction: column;
  z-index: 1040;
  transition: transform 0.3s ease, width 0.3s ease;
}

/* Sidebar Header */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--sidebar-border);
  min-height: 70px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sidebar-brand img {
  max-height: 60px;
  width: auto;
}

.sidebar-brand .brand-text {
  color: #ff6b00;
  font-size: 20px;
  font-weight: 700;
}

.sidebar-close {
  display: none;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sidebar-close:hover {
  background: #1e293b;
  color: #ffffff;
}

/* Sidebar Navigation */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 12px;
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent;
}

/* Sidebar scrollbar styling */
.sidebar-nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-item {
  margin-bottom: 4px;
  order: 10; /* Default order for all items */
}

/* Move Add funds to the top */
.sidebar-item:has(.sidebar-text:is([data-menu*="add"], [data-menu*="fund"])),
.sidebar-item:has(.sidebar-link[href*="addfunds"]) {
  order: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.sidebar-link:hover {
  background: #1e293b;
  color: #ffffff;
}

.sidebar-item.active .sidebar-link {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 14px;
  color: #94a3b8;
  flex-shrink: 0;
}

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

.sidebar-link:hover .sidebar-icon {
  color: #ffffff;
}

.sidebar-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--sidebar-border);
}

.sidebar-balance {
  background: #1e293b;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.balance-label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.balance-amount {
  font-size: 20px;
  font-weight: 700;
  color: #00d68f;
}

.sidebar-footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.sidebar-footer-link:hover {
  background: #1e293b;
  color: #ffffff;
}

.sidebar-footer-link.active {
  color: #ff6b00;
}

/* Sidebar language selector */
.sidebar-language {
  padding: 12px 16px;
  border-top: 1px solid #334155;
}

.sidebar-language .language-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.sidebar-language .language-select-btn {
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
}

.sidebar-language .language-select-btn:hover,
.sidebar-language .language-select-btn:focus {
  background: #1e293b;
  border-color: #475569;
}

.sidebar-language .language-select-btn i {
  color: #64748b;
  font-size: 14px;
}

.sidebar-language .language-select-btn .caret {
  margin-left: auto;
}

.sidebar-language .dropdown-menu,
.sidebar-language-menu {
  background: #1e293b;
  border: 1px solid #334155;
  width: 100%;
  border-radius: 6px;
  min-width: unset;
  bottom: 100%;
  top: auto;
  margin-bottom: 4px;
  padding: 4px 0;
  max-height: 250px;
  overflow-y: auto;
}

.sidebar-language .dropdown-menu li,
.sidebar-language-menu li {
  list-style: none;
}

.sidebar-language .dropdown-menu a,
.sidebar-language-menu a,
.sidebar-lang-option a {
  color: #e2e8f0;
  padding: 8px 12px;
  display: block;
  font-size: 13px;
  transition: all 0.15s ease;
}

.sidebar-language .dropdown-menu a:hover,
.sidebar-language-menu a:hover,
.sidebar-lang-option a:hover {
  background: #334155;
  color: #ff6b00;
}

.sidebar-lang-option.active a,
.sidebar-language .dropdown-menu li.active a {
  background: #334155;
  color: #ff6b00;
}

/* Sidebar currency selector */
.sidebar-currency {
  padding: 12px 16px;
  border-top: 1px solid #334155;
}

.sidebar-currency .currency-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.sidebar-currency .currency-select-btn {
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
}

.sidebar-currency .currency-select-btn:hover {
  background: #1e293b;
  border-color: #475569;
}

.sidebar-currency .dropdown-menu {
  background: #1e293b;
  border: 1px solid #334155;
  width: 100%;
  border-radius: 6px;
  min-width: unset;
  bottom: 100%;
  top: auto;
  margin-bottom: 4px;
}

.sidebar-currency .dropdown-menu a {
  color: #e2e8f0;
  padding: 8px 12px;
  display: block;
}

.sidebar-currency .dropdown-menu a:hover {
  background: #334155;
  color: #ff6b00;
}

.sidebar-currency .dropdown-menu a.active {
  background: #334155;
  color: #ff6b00;
}

.sidebar-footer-link i {
  width: 18px;
  font-size: 14px;
}

/* Sidebar Overlay */
.sidebar-overlay {
  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;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Top Bar (Mobile Header) */
.topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  background: var(--sidebar-bg);
  border-bottom: 1px solid var(--sidebar-border);
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 1030;
}

.topbar-toggle {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.topbar-toggle:hover {
  background: #1e293b;
}

.topbar-brand {
  display: flex;
  align-items: center;
}

.topbar-brand img {
  max-height: 30px;
  width: auto;
}

.topbar-balance {
  display: none;
}

/* Topbar Language Dropdown */
.topbar-language {
  position: relative;
}

.topbar-language-btn {
  background: transparent;
  border: 1px solid #334155;
  color: #e2e8f0;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topbar-language-btn:hover,
.topbar-language-btn:focus {
  background: #1e293b;
  border-color: #475569;
}

.topbar-language-btn i {
  color: #64748b;
  font-size: 14px;
}

.topbar-language-menu {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  min-width: 160px;
  padding: 4px 0;
  max-height: 300px;
  overflow-y: auto;
  right: 0;
  left: auto;
}

.topbar-language-menu li {
  list-style: none;
}

.topbar-lang-option a {
  color: #e2e8f0;
  padding: 8px 12px;
  display: block;
  font-size: 13px;
  transition: all 0.15s ease;
}

.topbar-lang-option a:hover {
  background: #334155;
  color: #ff6b00;
}

.topbar-lang-option.active a {
  background: #334155;
  color: #ff6b00;
}

/* Main Content Area */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  background: #0f172a;
  transition: margin-left 0.3s ease;
  overflow-x: hidden;
  width: calc(100% - var(--sidebar-width));
  max-width: calc(100% - var(--sidebar-width));
  box-sizing: border-box;
}

.main-content .container {
  max-width: 100%;
  overflow-x: hidden;
}

/* Footer is now inside main-content for logged-in users - no margin needed */

/* Responsive Sidebar - Tablet and below */
@media (max-width: 991px) {
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .topbar {
    display: flex;
  }

  .main-content {
    margin-left: 0;
    padding-top: var(--topbar-height);
    width: 100%;
    max-width: 100%;
  }

  .sidebar-overlay.active {
    display: block;
  }

  /* Adjust page content padding */
  .main-content .container,
  .main-content .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Mobile specific - 767px and below */
@media (max-width: 767px) {
  :root {
    --topbar-height: 56px;
  }

  .sidebar {
    width: 260px;
  }

  .sidebar-header {
    padding: 16px;
    min-height: 60px;
  }

  .sidebar-brand img {
    max-height: 40px;
  }

  .sidebar-brand .brand-text {
    font-size: 18px;
  }

  .sidebar-nav {
    padding: 12px 10px;
  }

  .sidebar-link {
    padding: 10px 14px;
    font-size: 13px;
    gap: 10px;
  }

  .sidebar-icon {
    width: 18px;
    height: 18px;
    font-size: 14px;
  }

  .sidebar-footer {
    padding: 12px;
  }

  .sidebar-balance {
    padding: 12px;
    border-radius: 10px;
  }

  .balance-label {
    font-size: 11px;
  }

  .balance-amount {
    font-size: 18px;
  }

  .sidebar-footer-link {
    padding: 8px 10px;
    font-size: 12px;
  }

  .topbar {
    padding: 0 12px;
  }

  .topbar-toggle {
    padding: 6px;
  }

  .topbar-toggle svg {
    width: 22px;
    height: 22px;
  }

  .topbar-brand img {
    max-height: 26px;
  }

  .topbar-balance .badge {
    padding: 5px 10px;
    font-size: 12px;
  }

  /* Main content adjustments */
  .main-content {
    min-height: calc(100vh - var(--topbar-height));
  }

  .main-content .services-page,
  .main-content .api-page {
    padding-top: 20px;
  }
}

/* Extra small devices - 480px and below */
@media (max-width: 480px) {
  .sidebar {
    width: 100%;
    max-width: 280px;
  }

  .sidebar-header {
    padding: 14px;
  }

  .sidebar-link {
    padding: 10px 12px;
    font-size: 13px;
  }

  .topbar {
    padding: 0 10px;
  }

  .topbar-brand {
    flex: 1;
    justify-content: center;
    margin: 0 10px;
  }

  .topbar-brand img {
    max-height: 24px;
  }

  .topbar-balance .badge {
    padding: 4px 8px;
    font-size: 11px;
  }
}

/* Very small devices - 360px and below */
@media (max-width: 360px) {
  .sidebar {
    width: 100%;
    max-width: 260px;
  }

  .sidebar-brand .brand-text {
    font-size: 16px;
  }

  .sidebar-link {
    padding: 9px 10px;
    font-size: 12px;
  }

  .sidebar-icon {
    width: 16px;
    height: 16px;
    font-size: 13px;
  }

  .balance-amount {
    font-size: 16px;
  }

  .topbar-balance .badge {
    padding: 4px 6px;
    font-size: 10px;
  }
}

/* RTL Sidebar Support */
.rtl-sidebar {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid var(--sidebar-border);
}

.rtl-sidebar ~ .main-content {
  margin-left: 0;
  margin-right: var(--sidebar-width);
}

/* RTL footer handled inside main-content */

@media (max-width: 991px) {
  .rtl-sidebar {
    transform: translateX(100%);
  }

  .rtl-sidebar.open {
    transform: translateX(0);
  }

  .rtl-sidebar ~ .main-content {
    margin-right: 0;
  }

}

/* Fix content pages inside main-content */
body.has-sidebar .services-page,
body.has-sidebar .api-page {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 991px) {
  body.has-sidebar .services-page .container,
  body.has-sidebar .api-page .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 767px) {
  body.has-sidebar .services-page .container,
  body.has-sidebar .api-page .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ==========================================================================
   Section 34: Add Funds Page Styles
   ========================================================================== */

.addfunds-page {
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 200px);
}

.addfunds-page .page-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.addfunds-page .page-title i {
  color: #ff6b00;
  font-size: 24px;
}

/* Add Funds Form Card */
.addfunds-form-card {
  background: #1e293b;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #334155;
  margin-bottom: 30px;
}

.addfunds-form-card .card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #334155;
}

.addfunds-form-card .card-header-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.addfunds-form-card .card-header-text h2 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.addfunds-form-card .card-header-text p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

/* Form Styling */
.addfunds-form-card .form-group {
  margin-bottom: 24px;
}

.addfunds-form-card .form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 10px;
}

.addfunds-form-card .form-label i {
  color: #ff6b00;
  font-size: 14px;
}

.addfunds-form-card .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  color: #ffffff;
  padding: 14px 16px;
  font-size: 15px;
  transition: all 0.2s ease;
  height: auto;
}

.addfunds-form-card .form-control:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
  outline: none;
  background: #0f172a;
}

.addfunds-form-card select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Amount Input with Currency Symbol */
.amount-input-wrapper {
  position: relative;
}

.amount-input-wrapper .amount-currency {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff6b00;
  font-size: 18px;
  font-weight: 600;
}

.amount-input-wrapper .amount-input {
  padding-left: 40px;
  font-size: 18px;
  font-weight: 500;
}

/* Submit Button */
.btn-addfunds-submit {
  width: 100%;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  margin-top: 10px;
}

.btn-addfunds-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.btn-addfunds-submit:active {
  transform: translateY(0);
}

.btn-addfunds-submit i {
  font-size: 14px;
}

/* Info Cards */
.addfunds-info-card {
  background: #1e293b;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #334155;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.addfunds-info-card:hover {
  border-color: #475569;
  transform: translateY(-2px);
}

.addfunds-info-card .info-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b00;
  font-size: 20px;
  margin-bottom: 16px;
}

.addfunds-info-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.addfunds-info-card p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* Alerts */
.addfunds-form-card .alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  border: none;
}

.addfunds-form-card .alert-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.addfunds-form-card .alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.addfunds-form-card .alert i {
  font-size: 18px;
}

.addfunds-form-card .alert span {
  flex: 1;
  font-size: 14px;
}

.addfunds-form-card .alert-close {
  background: none;
  border: none;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
}

.addfunds-form-card .alert-close:hover {
  opacity: 1;
}

/* External Content */
.addfunds-external-content {
  background: #1e293b !important;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #334155;
  margin-bottom: 30px;
}

.addfunds-external-content,
.addfunds-external-content *,
.addfunds-external-content div,
.addfunds-external-content span,
.addfunds-external-content p,
.addfunds-external-content li,
.addfunds-external-content td,
.addfunds-external-content th,
.addfunds-external-content label {
  color: #e2e8f0 !important;
}

.addfunds-external-content h1,
.addfunds-external-content h2,
.addfunds-external-content h3,
.addfunds-external-content h4,
.addfunds-external-content h5,
.addfunds-external-content h6 {
  color: #ffffff !important;
}

.addfunds-external-content strong,
.addfunds-external-content b {
  color: #ffffff !important;
}

.addfunds-external-content a {
  color: #ff6b00 !important;
}

.addfunds-external-content a:hover {
  color: #ff8533 !important;
}

/* Force background color override for nested elements */
.addfunds-external-content .well {
  background: #1e293b !important;
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}

.addfunds-external-content .well * {
  color: #e2e8f0 !important;
}

.addfunds-external-content .panel-body,
.addfunds-external-content .border-rounded,
.addfunds-external-content .border-solid,
.addfunds-external-content [class*="panel"],
.addfunds-external-content [class*="border"] {
  background: #1e293b !important;
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
}

.addfunds-external-content .panel-body *,
.addfunds-external-content .border-rounded *,
.addfunds-external-content .border-solid *,
.addfunds-external-content [class*="panel"] *,
.addfunds-external-content [class*="border"] * {
  color: #e2e8f0 !important;
}

.addfunds-external-content [class*="bg-"],
.addfunds-external-content div[style*="background"] {
  background: #1e293b !important;
  background-color: #1e293b !important;
}

/* Force all text elements to be visible */
.addfunds-external-content p,
.addfunds-external-content span,
.addfunds-external-content div,
.addfunds-external-content li,
.addfunds-external-content td,
.addfunds-external-content th {
  color: #e2e8f0 !important;
}

/* Target elements with inline styles */
.addfunds-external-content p[style],
.addfunds-external-content h3[style],
.addfunds-external-content h1[style],
.addfunds-external-content h2[style],
.addfunds-external-content h4[style],
.addfunds-external-content h5[style],
.addfunds-external-content h6[style],
.addfunds-external-content span[style],
.addfunds-external-content div[style] {
  color: #e2e8f0 !important;
  background-color: transparent !important;
}

/* Target strong tags specifically */
.addfunds-external-content strong,
.addfunds-external-content b,
.addfunds-external-content p strong,
.addfunds-external-content h3 strong {
  color: #ffffff !important;
}

/* Payment History */
.addfunds-history {
  background: #1e293b;
  border-radius: 16px;
  border: 1px solid #334155;
  overflow: hidden;
  margin-top: 40px;
}

.addfunds-history .history-header {
  padding: 24px 30px;
  border-bottom: 1px solid #334155;
}

.addfunds-history .history-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.addfunds-history .history-header h2 i {
  color: #ff6b00;
}

.history-table-wrapper {
  overflow-x: auto;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table thead th {
  background: #0f172a;
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.history-table thead th i {
  color: #64748b;
  margin-right: 6px;
}

.history-table tbody tr {
  border-bottom: 1px solid #334155;
  transition: background 0.2s ease;
}

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

.history-table tbody tr:hover {
  background: rgba(255, 107, 0, 0.03);
}

.history-table tbody td {
  padding: 18px 20px;
  font-size: 14px;
  color: #e2e8f0;
}

.history-table .td-id {
  font-weight: 600;
  color: #ff6b00;
}

.history-table .td-date {
  color: #94a3b8;
}

.history-table .td-method {
  font-weight: 500;
}

.history-table .td-amount {
  font-weight: 600;
  color: #22c55e;
}

.history-table .td-action {
  text-align: right;
}

.btn-invoice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.1);
  color: #ff6b00;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-invoice:hover {
  background: #ff6b00;
  color: #ffffff;
  text-decoration: none;
}

/* Pagination */
.history-pagination {
  padding: 20px 30px;
  border-top: 1px solid #334155;
  display: flex;
  justify-content: center;
}

.history-pagination .pagination {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-pagination .pagination li .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.history-pagination .pagination li .page-link:hover {
  background: #334155;
  color: #ffffff;
}

.history-pagination .pagination li.active .page-link {
  background: #ff6b00;
  border-color: #ff6b00;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
  .addfunds-page .page-title {
    font-size: 24px;
  }

  .addfunds-form-card {
    padding: 24px;
  }

  .addfunds-info-card {
    padding: 20px;
  }
}

@media (max-width: 767px) {
  .addfunds-page {
    padding: 15px 0 60px 0;
  }

  .addfunds-page .page-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .addfunds-form-card {
    padding: 20px;
    border-radius: 12px;
  }

  .addfunds-form-card .card-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .addfunds-form-card .card-header-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .history-table thead th,
  .history-table tbody td {
    padding: 14px 16px;
  }

  .history-table thead th:first-child,
  .history-table tbody td:first-child {
    padding-left: 20px;
  }
}

/* Main content top margin for logged-in pages */
body.has-sidebar .main-content > .container:first-of-type {
  padding-top: 40px;
}

/* Custom Select Dropdowns (SlimSelect) - Dark Theme */
body.has-sidebar .ss-main {
  width: 100%;
}

body.has-sidebar .ss-main .ss-single-selected {
  height: 50px;
  padding: 10px 40px 10px 14px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
}

body.has-sidebar .ss-main .ss-single-selected:hover {
  border-color: #475569;
}

body.has-sidebar .ss-main .ss-single-selected.ss-open-below,
body.has-sidebar .ss-main .ss-single-selected.ss-open-above {
  border-color: #ff6b00;
}

body.has-sidebar .ss-main .ss-single-selected .ss-arrow span {
  border-color: #94a3b8 transparent transparent transparent;
}

body.has-sidebar .ss-main .ss-content {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  margin-top: 4px;
}

body.has-sidebar .ss-main .ss-content .ss-search {
  padding: 8px;
}

body.has-sidebar .ss-main .ss-content .ss-search input {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 14px;
}

body.has-sidebar .ss-main .ss-content .ss-search input:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
  outline: none;
}

body.has-sidebar .ss-main .ss-content .ss-search input::placeholder {
  color: #64748b;
}

body.has-sidebar .ss-main .ss-content .ss-list {
  max-height: 300px;
}

body.has-sidebar .ss-main .ss-content .ss-list .ss-option {
  padding: 12px 14px;
  color: #e2e8f0;
  font-size: 14px;
  transition: all 0.15s ease;
}

body.has-sidebar .ss-main .ss-content .ss-list .ss-option:hover {
  background: #334155;
  color: #ff6b00;
}

body.has-sidebar .ss-main .ss-content .ss-list .ss-option.ss-highlighted {
  background: #334155;
  color: #ff6b00;
}

body.has-sidebar .ss-main .ss-content .ss-list .ss-option.ss-selected {
  background: #ff6b00;
  color: #ffffff;
}

body.has-sidebar .ss-main .ss-content .ss-list .ss-optgroup-label {
  background: #0f172a;
  color: #ffffff;
  font-weight: 600;
  padding: 10px 14px;
  font-size: 13px;
}

/* Add Funds form card styling */
body.has-sidebar .well {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.has-sidebar .well .form-group {
  margin-bottom: 24px;
}

body.has-sidebar .well .control-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

body.has-sidebar .well .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  color: #ffffff;
  height: 50px;
  border-radius: 8px;
  font-size: 14px;
}

body.has-sidebar .well .form-control:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

body.has-sidebar .well .form-control::placeholder {
  color: #64748b;
}

body.has-sidebar .well select.form-control {
  background-color: #0f172a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  color: #ffffff;
}

/* Native Select Dropdown Options - Dark Theme */
body.has-sidebar .well select.form-control option {
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
  padding: 12px 14px;
}

body.has-sidebar .well select.form-control option:hover,
body.has-sidebar .well select.form-control option:focus {
  background-color: #334155 !important;
  color: #ff6b00 !important;
}

body.has-sidebar .well select.form-control option:checked,
body.has-sidebar .well select.form-control option[selected] {
  background: linear-gradient(0deg, #ff6b00 0%, #ff6b00 100%) !important;
  background-color: #ff6b00 !important;
  color: #ffffff !important;
}

body.has-sidebar .well select.form-control optgroup {
  background-color: #0f172a !important;
  color: #ff6b00 !important;
  font-weight: 600;
  font-style: normal;
}

/* Firefox specific select styling */
@-moz-document url-prefix() {
  body.has-sidebar .well select.form-control option {
    background-color: #1e293b !important;
    color: #e2e8f0 !important;
  }

  body.has-sidebar .well select.form-control option:hover {
    background-color: #ff6b00 !important;
    color: #ffffff !important;
  }

  body.has-sidebar .well select.form-control optgroup {
    background-color: #0f172a !important;
    color: #ff6b00 !important;
  }
}

/* General form select outside .well */
body.has-sidebar select.form-control {
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid #334155;
}

body.has-sidebar select.form-control option {
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
}

body.has-sidebar select.form-control option:checked {
  background-color: #ff6b00 !important;
  color: #ffffff !important;
}

body.has-sidebar select.form-control optgroup {
  background-color: #0f172a !important;
  color: #ff6b00 !important;
  font-weight: 600;
}

body.has-sidebar .well .btn-primary {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
}

/* Add Funds table styling */
body.has-sidebar .well .table {
  background: transparent;
  margin-bottom: 0;
}

body.has-sidebar .well .table thead th {
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border-bottom: 1px solid #334155;
  white-space: nowrap;
}

body.has-sidebar .well .table tbody tr {
  border-bottom: 1px solid #334155;
}

body.has-sidebar .well .table tbody td {
  color: #e2e8f0;
  padding: 14px 16px;
  font-size: 14px;
  vertical-align: middle;
  border-bottom: 1px solid #334155;
}

body.has-sidebar .well .table tbody tr:hover {
  background: #334155;
}

body.has-sidebar .well .table tbody td a {
  color: #ff6b00;
  font-weight: 500;
}

body.has-sidebar .well .table tbody td a:hover {
  color: #ff8533;
  text-decoration: underline;
}

/* Service Description Panel (New Order Page) */
#service_description .panel-body {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 16px 20px;
  color: #e2e8f0 !important;
  font-size: 14px;
  line-height: 1.7;
}

#service_description .panel-body * {
  color: #e2e8f0 !important;
}

#service_description .panel-body a {
  color: #ff6b00 !important;
  text-decoration: underline;
}

#service_description .panel-body a:hover {
  color: #ff8533 !important;
}

#service_description .panel-body strong,
#service_description .panel-body b {
  color: #ffffff !important;
  font-weight: 600;
}

#service_description .panel-body ul,
#service_description .panel-body ol {
  padding-left: 20px;
  margin: 10px 0;
}

#service_description .panel-body li {
  margin-bottom: 6px;
}

#service_description .panel-body br {
  display: block;
  margin-bottom: 8px;
  content: "";
}

/* Responsive Add Funds Page */
@media (max-width: 991px) {
  body.has-sidebar .col-md-8.col-md-offset-2 {
    width: 100%;
    margin-left: 0;
  }

  body.has-sidebar .well {
    padding: 24px;
    border-radius: 12px;
  }
}

@media (max-width: 767px) {
  body.has-sidebar .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.has-sidebar .well {
    padding: 20px;
    border-radius: 10px;
  }

  body.has-sidebar .well .form-control {
    height: 48px;
    font-size: 16px; /* Prevent iOS zoom */
  }

  body.has-sidebar .well .btn-primary {
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Mobile responsive category/service dropdowns */
  body.has-sidebar .well select.form-control {
    white-space: normal;
    word-wrap: break-word;
    height: auto;
    min-height: 48px;
    padding: 12px 40px 12px 14px;
    line-height: 1.4;
  }

  /* Custom select dropdown wrapper (for searchable selects) */
  body.has-sidebar .well .ss-main {
    width: 100% !important;
  }

  body.has-sidebar .well .ss-main .ss-single-selected {
    height: auto !important;
    min-height: 48px !important;
    padding: 12px 40px 12px 14px !important;
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    border-radius: 8px !important;
    color: #ffffff !important;
  }

  body.has-sidebar .well .ss-main .ss-content {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 8px !important;
    max-height: 250px !important;
  }

  body.has-sidebar .well .ss-main .ss-content .ss-list .ss-option {
    padding: 12px 14px !important;
    color: #e2e8f0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    line-height: 1.4 !important;
  }

  body.has-sidebar .well .ss-main .ss-content .ss-list .ss-option:hover,
  body.has-sidebar .well .ss-main .ss-content .ss-list .ss-option.ss-highlighted {
    background: #334155 !important;
    color: #ff6b00 !important;
  }

  body.has-sidebar .well .ss-main .ss-content .ss-search input {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
  }

  /* Mobile table responsiveness */
  body.has-sidebar .well .table-responsive {
    border: none;
    margin: 0 -20px;
    padding: 0 20px;
    overflow-x: auto;
  }

  body.has-sidebar .well .table thead th {
    padding: 12px 10px;
    font-size: 11px;
  }

  body.has-sidebar .well .table tbody td {
    padding: 12px 10px;
    font-size: 13px;
  }

  body.has-sidebar .well .table thead th:first-child,
  body.has-sidebar .well .table tbody td:first-child {
    padding-left: 12px;
  }

  body.has-sidebar .well .table thead th:last-child,
  body.has-sidebar .well .table tbody td:last-child {
    padding-right: 12px;
  }
}

@media (max-width: 480px) {
  body.has-sidebar .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  body.has-sidebar .well {
    padding: 16px;
    border-radius: 8px;
  }

  body.has-sidebar .well .control-label {
    font-size: 13px;
  }

  body.has-sidebar .well .form-control {
    height: 46px;
  }

  body.has-sidebar .well .btn-primary {
    padding: 11px 16px;
    font-size: 13px;
  }

  body.has-sidebar .well .table thead th {
    padding: 10px 6px;
    font-size: 10px;
  }

  body.has-sidebar .well .table tbody td {
    padding: 10px 6px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  body.has-sidebar .well {
    padding: 14px;
  }

  body.has-sidebar .well .table thead th {
    padding: 8px 4px;
    font-size: 9px;
  }

  body.has-sidebar .well .table tbody td {
    padding: 8px 4px;
    font-size: 11px;
  }
}

/* ==========================================================================
   Section 36: Orders Page Styles
   ========================================================================== */

/* Orders page container */
body.has-sidebar .container-fluid {
  padding: 0 20px;
}

/* Orders Nav Pills - Status Tabs */
body.has-sidebar .nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  margin-top: 40px;
  padding: 12px 16px;
  background: #1e293b;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #334155;
  list-style: none;
  align-items: center;
}

body.has-sidebar .nav-pills > li {
  float: none;
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

body.has-sidebar .nav-pills > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #94a3b8;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: transparent;
  text-decoration: none;
}

body.has-sidebar .nav-pills > li > a:hover,
body.has-sidebar .nav-pills > li > a:focus {
  color: #ffffff;
  background-color: #334155;
}

body.has-sidebar .nav-pills > li.active > a,
body.has-sidebar .nav-pills > li.active > a:hover,
body.has-sidebar .nav-pills > li.active > a:focus {
  color: #ffffff;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

/* Orders Search Box in Nav Pills */
body.has-sidebar .nav-pills > li.search {
  flex-basis: 100%;
  margin-left: 0;
  margin-top: 8px;
  order: 99;
}

body.has-sidebar .nav-pills > li.search .input-group {
  display: flex;
  width: 100%;
}

body.has-sidebar .nav-pills > li.search .input-group-btn {
  flex-shrink: 0;
  width: auto;
}

body.has-sidebar .nav-pills > li.search .input-group-btn .btn {
  position: relative;
}

body.has-sidebar .nav-pills > li.search .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  border-right: none;
  color: #ffffff;
  height: 42px;
  border-radius: 8px 0 0 8px;
  font-size: 14px;
  padding: 10px 14px;
  flex: 1;
  min-width: 0;
}

body.has-sidebar .nav-pills > li.search .form-control:focus {
  border-color: #ff6b00;
  box-shadow: none;
}

body.has-sidebar .nav-pills > li.search .form-control::placeholder {
  color: #64748b;
}

body.has-sidebar .nav-pills > li.search .input-group-btn .btn {
  background: #ff6b00;
  border: none;
  color: #ffffff;
  height: 42px;
  border-radius: 0 8px 8px 0;
  padding: 10px 16px;
  transition: background 0.2s ease;
}

body.has-sidebar .nav-pills > li.search .input-group-btn .btn:hover {
  background: #e65c00;
}

/* Orders Table Wrapper */
body.has-sidebar .well.well-float {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Orders Table */
body.has-sidebar .well.well-float .table {
  margin-bottom: 0;
  background: transparent;
}

body.has-sidebar .well.well-float .table thead th {
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 14px;
  border-bottom: 1px solid #334155;
  white-space: nowrap;
}

body.has-sidebar .well.well-float .table tbody tr {
  border-bottom: 1px solid #334155;
  transition: background 0.15s ease;
}

body.has-sidebar .well.well-float .table tbody tr:hover {
  background: #334155;
}

body.has-sidebar .well.well-float .table tbody tr:last-child {
  border-bottom: none;
}

body.has-sidebar .well.well-float .table tbody td {
  color: #e2e8f0;
  padding: 14px;
  font-size: 13px;
  vertical-align: middle;
  border-bottom: none;
}

/* Order ID column */
body.has-sidebar .well.well-float .table tbody td:first-child {
  font-weight: 600;
  color: #ff6b00;
}

/* Link column - word break for long URLs */
body.has-sidebar .well.well-float .table tbody td.width-40 {
  max-width: 250px;
  word-break: break-all;
  color: #94a3b8;
  font-size: 12px;
}

/* Order details link icon */
body.has-sidebar .well.well-float .table tbody td a {
  color: #ff6b00;
  margin-left: 8px;
}

body.has-sidebar .well.well-float .table tbody td a:hover {
  color: #ff8533;
}

/* Order Actions Buttons */
body.has-sidebar .order-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

body.has-sidebar .order-actions .btn-xs {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
}

body.has-sidebar .order-actions .btn-primary {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
  border: none;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

body.has-sidebar .order-actions .btn-primary:hover {
  background: linear-gradient(135deg, #e65c00 0%, #ff6b00 100%);
}

body.has-sidebar .order-actions .btn-default {
  background: #334155;
  border: 1px solid #475569;
  color: #e2e8f0;
}

body.has-sidebar .order-actions .btn-default:hover {
  background: #475569;
  color: #ffffff;
}

/* Orders Pagination */
body.has-sidebar .pagination {
  display: flex;
  gap: 6px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

body.has-sidebar .pagination > li > a,
body.has-sidebar .pagination > li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  text-decoration: none;
}

body.has-sidebar .pagination > li > a:hover,
body.has-sidebar .pagination > li > a:focus {
  color: #ff6b00;
  border-color: #ff6b00;
  background-color: rgba(255, 107, 0, 0.1);
}

body.has-sidebar .pagination > li.active > a,
body.has-sidebar .pagination > li.active > a:hover,
body.has-sidebar .pagination > li.active > a:focus {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

/* Order Details Modal */
body.has-sidebar .modal-content {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
}

body.has-sidebar .modal-header {
  background: #0f172a;
  border-bottom: 1px solid #334155;
  border-radius: 16px 16px 0 0;
  padding: 20px 24px;
}

body.has-sidebar .modal-header .close {
  color: #94a3b8;
  opacity: 1;
  font-size: 28px;
  text-shadow: none;
}

body.has-sidebar .modal-header .close:hover {
  color: #ff6b00;
}

body.has-sidebar .modal-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

body.has-sidebar .modal-body {
  padding: 24px;
}

body.has-sidebar .modal-body .form-group label {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

body.has-sidebar .modal-body .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  border-radius: 8px;
}

body.has-sidebar .modal-body .form-control:disabled {
  background: #0f172a;
  color: #94a3b8;
  opacity: 1;
}

body.has-sidebar .modal-body textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Responsive Orders Page */
@media (max-width: 991px) {
  body.has-sidebar .nav-pills {
    margin-top: 30px;
    gap: 6px;
  }

  body.has-sidebar .nav-pills > li > a {
    padding: 8px 14px;
    font-size: 13px;
  }

  body.has-sidebar .nav-pills > li.search .form-control {
    height: 38px;
  }

  body.has-sidebar .nav-pills > li.search .input-group-btn .btn {
    height: 38px;
  }
}

@media (max-width: 767px) {
  body.has-sidebar .container-fluid {
    padding: 0 8px;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* Nav Pills - Tabs horizontal, search below */
  body.has-sidebar .nav-pills {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 5px;
    padding: 8px;
    border-radius: 10px;
    margin-top: 16px;
    overflow: visible;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Override Bootstrap float that breaks flexbox */
  body.has-sidebar .nav-pills > li.pull-right,
  body.has-sidebar .nav-pills > li.search.pull-right {
    float: none !important;
  }

  /* All tab items - force horizontal inline display */
  body.has-sidebar .nav-pills > li {
    float: none !important;
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  /* Tab items - stay in one row, wrap naturally */
  body.has-sidebar .nav-pills > li:not(.search) {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  body.has-sidebar .nav-pills > li > a {
    padding: 6px 8px;
    font-size: 9px;
    gap: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: nowrap;
    border-radius: 6px;
  }

  /* Hide badge on mobile */
  body.has-sidebar .nav-pills > li > a .badge {
    display: none;
  }

  /* Search - full width below tabs */
  body.has-sidebar .nav-pills > li.search {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    margin-left: 0 !important;
    margin-top: 8px !important;
    order: 99;
    box-sizing: border-box;
    display: block !important;
  }

  body.has-sidebar .nav-pills > li.search form {
    width: 100% !important;
    display: block !important;
  }

  body.has-sidebar .nav-pills > li.search .input-group {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap;
    box-sizing: border-box;
  }

  body.has-sidebar .nav-pills > li.search .form-control {
    height: 40px;
    font-size: 14px;
    padding: 8px 12px;
    flex: 1 1 auto !important;
    min-width: 0;
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 8px 0 0 8px !important;
  }

  body.has-sidebar .nav-pills > li.search .input-group-btn {
    flex: 0 0 auto;
    width: auto !important;
  }

  body.has-sidebar .nav-pills > li.search .input-group-btn .btn {
    height: 40px;
    padding: 8px 14px;
    border-radius: 0 8px 8px 0 !important;
  }

  /* Orders Table - Contained within viewport, horizontally scrollable */
  body.has-sidebar .well.well-float {
    border-radius: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.has-sidebar .well.well-float .table {
    min-width: 800px;
  }

  body.has-sidebar .well.well-float .table thead th {
    padding: 12px 10px;
    font-size: 10px;
  }

  body.has-sidebar .well.well-float .table tbody td {
    padding: 12px 10px;
    font-size: 12px;
  }

  body.has-sidebar .pagination > li > a {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  body.has-sidebar .container-fluid {
    padding: 0 6px;
  }

  body.has-sidebar .nav-pills {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    padding: 6px;
    margin-top: 12px;
    gap: 4px;
  }

  /* Override Bootstrap float - force horizontal */
  body.has-sidebar .nav-pills > li {
    float: none !important;
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  /* Compact tabs for smaller screens */
  body.has-sidebar .nav-pills > li > a {
    padding: 5px 6px;
    font-size: 8px;
    gap: 2px;
    border-radius: 5px;
  }

  /* Search takes full width on new row */
  body.has-sidebar .nav-pills > li.search {
    flex: 1 1 100% !important;
    width: 100% !important;
    margin-top: 6px !important;
    display: block !important;
  }

  body.has-sidebar .nav-pills > li.search form {
    width: 100% !important;
  }

  body.has-sidebar .nav-pills > li.search .input-group {
    width: 100% !important;
    display: flex !important;
  }

  body.has-sidebar .nav-pills > li.search .form-control {
    height: 36px;
    font-size: 14px;
    padding: 6px 10px;
    flex: 1 1 auto !important;
    width: 100% !important;
  }

  body.has-sidebar .nav-pills > li.search .input-group-btn .btn {
    height: 36px;
    padding: 6px 12px;
  }

  body.has-sidebar .well.well-float .table thead th {
    padding: 10px 8px;
    font-size: 9px;
  }

  body.has-sidebar .well.well-float .table tbody td {
    padding: 10px 8px;
    font-size: 11px;
  }

  body.has-sidebar .order-actions .btn-xs {
    padding: 4px 8px;
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  body.has-sidebar .container-fluid {
    padding: 0 4px;
  }

  body.has-sidebar .nav-pills {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    padding: 5px;
    margin-top: 10px;
    gap: 3px;
  }

  /* Override Bootstrap float - force horizontal */
  body.has-sidebar .nav-pills > li {
    float: none !important;
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  body.has-sidebar .nav-pills > li > a {
    padding: 4px 5px;
    font-size: 7px;
    border-radius: 4px;
  }

  /* Search takes full width on new row */
  body.has-sidebar .nav-pills > li.search {
    flex: 1 1 100% !important;
    width: 100% !important;
    display: block !important;
    margin-top: 5px !important;
  }

  body.has-sidebar .nav-pills > li.search form {
    width: 100% !important;
  }

  body.has-sidebar .nav-pills > li.search .input-group {
    width: 100% !important;
    display: flex !important;
  }

  body.has-sidebar .nav-pills > li.search .form-control {
    flex: 1 1 auto !important;
    width: 100% !important;
  }

  body.has-sidebar .nav-pills > li.search .form-control {
    height: 32px;
    padding: 5px 6px;
  }

  body.has-sidebar .nav-pills > li.search .input-group-btn .btn {
    height: 32px;
    padding: 5px 8px;
  }
}

/* ==========================================================================
   Section 35: Sticky Footer
   ========================================================================== */

/* Wrapper for sticky footer layout */
html {
  height: 100%;
}

/* For non-logged in users (no sidebar) */
body:not(.has-sidebar) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body:not(.has-sidebar) > .navbar-public {
  flex-shrink: 0;
}

body:not(.has-sidebar) > .container,
body:not(.has-sidebar) > .container-fluid,
body:not(.has-sidebar) > section,
body:not(.has-sidebar) > div:not(.site-footer):not(#notify-wrapper):not(.sidebar-overlay) {
  flex: 1 0 auto;
}

body:not(.has-sidebar) > .site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* Logged in users with sidebar */
body.has-sidebar {
  display: block;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Main content uses flex column for sticky footer */
body.has-sidebar .main-content {
  display: flex;
  flex-direction: column;
}

/* Content areas grow to fill space */
body.has-sidebar .main-content > .container,
body.has-sidebar .main-content > .container-fluid,
body.has-sidebar .main-content > section,
body.has-sidebar .main-content > div:not(.site-footer) {
  flex: 1 0 auto;
}

/* Footer stays at bottom inside main-content */
body.has-sidebar .main-content > .site-footer {
  flex-shrink: 0;
  margin-top: auto;
  margin-left: 0;
  width: 100%;
}

/* Fix for mobile sidebar layout */
@media (max-width: 991px) {
  body.has-sidebar .main-content {
    min-height: calc(100vh - var(--topbar-height));
  }
}

/* ==========================================================================
   New Order Page - Redesigned Layout
   ========================================================================== */

/* Header Bar */
.neworder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  padding: 16px 24px;
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
}

.neworder-header-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.neworder-header-title i {
  font-size: 18px;
}

.neworder-filter-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.neworder-filter-btn:hover,
.neworder-filter-btn:focus {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.neworder-filter-btn i {
  margin-left: 6px;
  font-size: 10px;
}

/* Order Form Card */
.neworder-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 24px;
}

/* Dark theme for all form inputs in new order card */
.neworder-card .form-control {
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  color: #ffffff !important;
  height: 48px;
  border-radius: 8px;
  font-size: 14px;
}

.neworder-card .form-control::placeholder {
  color: #64748b;
}

.neworder-card .form-control:focus {
  border-color: #ff6b00 !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15) !important;
}

/* Labels inside new order card */
.neworder-card .control-label,
.neworder-card label {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

/* Help text (Min/Max info) */
.neworder-card .help-block {
  color: #64748b;
  font-size: 12px;
  margin-top: 6px;
}

/* Search Wrapper */
.neworder-search-wrapper {
  position: relative;
}

.neworder-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 14px;
}

.neworder-search-input {
  padding-left: 44px !important;
  height: 48px !important;
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 14px !important;
}

.neworder-search-input::placeholder {
  color: #64748b;
}

.neworder-search-input:focus {
  border-color: #ff6b00 !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15) !important;
}

/* Labels */
.neworder-label {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Description Box */
.neworder-description-box {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 16px;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
}

/* Charge Input */
.neworder-charge-input {
  height: 48px !important;
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  border-radius: 8px !important;
  color: #00d68f !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

/* Terms */
.neworder-terms {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.neworder-terms input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ff6b00;
}

.neworder-terms a {
  color: #ff6b00;
  text-decoration: none;
}

.neworder-terms a:hover {
  text-decoration: underline;
}

/* Submit Button */
.neworder-submit-btn {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-top: 16px;
  transition: all 0.2s ease;
}

.neworder-submit-btn:hover {
  background: linear-gradient(135deg, #e65c00 0%, #ff6b00 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

/* Platform Filter Dropdown */
.platform-filter-dropdown {
  margin-bottom: 0;
}

.platform-filter-dropdown .dropdown {
  display: inline-block;
}

.platform-dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  min-width: 200px;
  max-height: 400px;
  overflow-y: auto;
}

.platform-dropdown-menu li {
  list-style: none;
}

.platform-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.platform-dropdown-menu .dropdown-item:hover {
  background: rgba(255, 107, 0, 0.1);
  color: #ffffff;
}

.platform-dropdown-menu .dropdown-item.active {
  background: rgba(255, 107, 0, 0.15);
  color: #ff6b00;
  font-weight: 600;
}

.platform-dropdown-menu .dropdown-item i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

/* ==========================================================================
   Order Process Guide Sidebar
   ========================================================================== */

.order-guide-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.order-guide-title {
  color: #ff6b00;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 24px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-guide-title i {
  font-size: 20px;
}

.order-guide-step {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #334155;
}

.order-guide-step:last-of-type {
  border-bottom: none;
  margin-bottom: 16px;
  padding-bottom: 0;
}

.order-guide-step-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 107, 0, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b00;
  font-size: 14px;
}

.order-guide-step-content {
  flex: 1;
}

.order-guide-step-title {
  color: #ff6b00;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.order-guide-step-content p {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.order-guide-step-content a {
  color: #ff6b00;
  text-decoration: none;
  font-weight: 500;
}

.order-guide-step-content a:hover {
  text-decoration: underline;
}

.order-guide-support {
  background: rgba(255, 107, 0, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 13px;
  margin-top: 16px;
}

.order-guide-support i {
  color: #ff6b00;
  font-size: 16px;
}

/* Responsive for Order Page */
@media (max-width: 991px) {
  .order-guide-card {
    margin-top: 24px;
    position: static;
  }
}

@media (max-width: 768px) {
  .neworder-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px;
  }

  .neworder-header-title {
    font-size: 14px;
  }

  .neworder-card {
    padding: 16px;
  }

  .order-guide-step {
    flex-direction: column;
    gap: 12px;
  }

  .order-guide-step-icon {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* ==========================================================================
   Platform Icon Row - Services Page
   ========================================================================== */

.category-icon-row {
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.category-icon-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-icon-scroll::-webkit-scrollbar {
  display: none;
}

.category-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  min-width: 60px;
}

.category-icon-btn:hover {
  background: rgba(255, 107, 0, 0.1);
  border-color: rgba(255, 107, 0, 0.3);
}

.category-icon-btn.active {
  background: rgba(255, 107, 0, 0.15);
  border-color: #ff6b00;
}

.category-icon-btn.active .category-icon-circle {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.category-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--text-light);
  font-size: 18px;
  transition: all 0.2s ease;
}

.category-icon-circle.favorites {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  border-color: transparent;
  color: #fff;
}

.category-icon-label {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  white-space: nowrap;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-icon-btn.active .category-icon-label {
  color: #ff6b00;
  font-weight: 600;
}

/* Responsive adjustments for platform icons */
@media (max-width: 768px) {
  .category-icon-btn {
    padding: 6px 8px;
    min-width: 50px;
  }

  .category-icon-circle {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .category-icon-label {
    font-size: 10px;
    max-width: 55px;
  }
}

@media (max-width: 480px) {
  .category-icon-btn {
    padding: 4px 6px;
    min-width: 45px;
  }

  .category-icon-circle {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .category-icon-label {
    font-size: 9px;
    max-width: 45px;
  }
}

/* ========================================
   FAQ Section Styles
   ======================================== */

/* FAQ Section Container */
.faq-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.faq-subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 16px;
  margin-bottom: 50px;
}

/* FAQ Grid */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Two column layout using flexbox wrapping */
@media (min-width: 768px) {
  .faq-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .faq-item {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

/* FAQ Item */
.faq-item {
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.faq-item:hover {
  border-color: #ff6b00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.15);
}

.faq-item.active {
  border-color: #ff6b00;
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.15);
}

/* FAQ Question Button */
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #e2e8f0;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #ff6b00;
}

.faq-question span:first-child {
  flex: 1;
}

/* FAQ Icon */
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.faq-icon svg {
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon svg {
  transform: rotate(45deg);
  stroke: #ff6b00;
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px 24px;
}

.faq-answer p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
  .faq-section {
    padding: 60px 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq-subtitle {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 50px 0;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 15px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
  }

  .faq-answer p {
    font-size: 13px;
  }

  .faq-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 40px 0;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
    gap: 12px;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-icon svg {
    width: 18px;
    height: 18px;
  }

  .faq-item.active .faq-answer {
    padding: 0 16px 16px 16px;
  }

  .faq-answer p {
    font-size: 13px;
    line-height: 1.6;
  }

  .faq-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }
}

/* ========================================
   Dedicated FAQ Page Styles
   ======================================== */

.faq-page {
  background: #0f172a;
  min-height: 100vh;
  padding: 60px 0 80px;
}

/* Unified FAQ Container - Dark theme */
.faq-container {
  background: #1e293b;
  border-radius: 16px;
  border: 1px solid #334155;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 50px;
  margin-bottom: 40px;
}

.faq-header-unified {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 2px solid #334155;
  margin-bottom: 30px;
}

.faq-title-unified {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.faq-subtitle-unified {
  font-size: 16px;
  color: #94a3b8;
  margin: 0;
  font-weight: 400;
}

.faq-intro-unified {
  background: #0f172a;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 35px;
  border-left: 4px solid #ff6b00;
  border: 1px solid #334155;
  border-left: 4px solid #ff6b00;
}

.faq-intro-unified p {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0;
}

.faq-section-unified {
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid #334155;
}

.faq-section-unified:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-section-title-unified {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #ff6b00;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-section-title-unified .section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border-radius: 8px;
  flex-shrink: 0;
}

.faq-section-title-unified .section-icon i {
  color: #ffffff;
  font-size: 16px;
}

.faq-section-content {
  color: #94a3b8;
}

.faq-subsection-title {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 20px 0 15px 0;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.faq-list li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: #94a3b8;
  line-height: 1.6;
  font-size: 15px;
}

.faq-list li:before {
  content: "•";
  position: absolute;
  left: 10px;
  color: #ff6b00;
  font-weight: 700;
  font-size: 20px;
}

.faq-list li strong {
  color: #ffffff;
  font-weight: 600;
}

.faq-qa {
  margin-bottom: 25px;
}

.faq-question-unified {
  font-size: 17px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0 0 10px 0;
}

.faq-container p {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 15px;
  margin: 0 0 10px 0;
}

.faq-container a {
  color: #ff8533;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.faq-container a:hover {
  color: #ffa366;
  text-decoration: underline;
}

.faq-page .faq-item {
  background: #f8f9fa;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-page .faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.faq-page .faq-question {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 10px 0;
  padding: 0;
  background: transparent;
  border: none;
  text-align: left;
  width: 100%;
  cursor: default;
}

.faq-page .faq-answer {
  max-height: none;
  overflow: visible;
  padding: 0;
}

.faq-page .faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
}

.faq-page .faq-answer ul {
  margin-top: 10px;
}

.faq-page .faq-answer strong {
  color: var(--primary-color);
  font-weight: 600;
}

.faq-cta-unified {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  padding: 35px 30px;
  border-radius: 12px;
  margin-top: 35px;
  text-align: center;
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.faq-cta-unified p {
  font-size: 16px;
  color: #ffffff;
  margin: 0 0 25px 0;
  line-height: 1.6;
}

.faq-cta-unified .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Primary button - White background on orange CTA */
.faq-cta-unified .cta-buttons .btn-primary {
  background: #ffffff !important;
  color: #ff6b00 !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.faq-cta-unified .cta-buttons .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #e65c00 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Default button - Outline white */
.faq-cta-unified .cta-buttons .btn-default {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}

.faq-cta-unified .cta-buttons .btn-default:hover {
  background: #ffffff !important;
  color: #ff6b00 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.faq-cta-unified a:not(.btn) {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

.faq-cta-unified a:not(.btn):hover {
  color: #f1f5f9;
  text-decoration: none;
}

.faq-cta-unified strong {
  color: #ffffff;
  font-weight: 700;
}

/* Responsive FAQ Page Styles */
@media (max-width: 991px) {
  .faq-container {
    padding: 40px;
  }

  .faq-title-unified {
    font-size: 28px;
  }

  .faq-subtitle-unified {
    font-size: 15px;
  }

  .faq-section-title-unified {
    font-size: 18px;
  }

  .faq-section-title-unified .section-icon {
    width: 32px;
    height: 32px;
  }

  .faq-section-title-unified .section-icon i {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .faq-page {
    padding: 40px 0 60px;
  }

  .faq-container {
    padding: 28px;
  }

  .faq-title-unified {
    font-size: 24px;
  }

  .faq-subtitle-unified {
    font-size: 14px;
  }

  .faq-intro-unified {
    padding: 20px;
  }

  .faq-intro-unified p {
    font-size: 14px;
  }

  .faq-section-title-unified {
    font-size: 17px;
    gap: 10px;
  }

  .faq-section-title-unified .section-icon {
    width: 30px;
    height: 30px;
  }

  .faq-section-title-unified .section-icon i {
    font-size: 13px;
  }

  .faq-subsection-title {
    font-size: 16px;
  }

  .faq-question-unified {
    font-size: 15px;
  }

  .faq-list li, .faq-container p {
    font-size: 14px;
  }

  .faq-cta-unified {
    padding: 20px;
  }

  .faq-cta-unified .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .faq-cta-unified .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .faq-page {
    padding: 30px 0 50px;
  }

  .faq-container {
    padding: 20px;
  }

  .faq-title-unified {
    font-size: 22px;
  }

  .faq-subtitle-unified {
    font-size: 13px;
  }

  .faq-intro-unified {
    padding: 15px;
  }

  .faq-section-title-unified {
    font-size: 15px;
    gap: 8px;
  }

  .faq-section-title-unified .section-icon {
    width: 28px;
    height: 28px;
  }

  .faq-section-title-unified .section-icon i {
    font-size: 12px;
  }

  .faq-subsection-title {
    font-size: 15px;
  }

  .faq-question-unified {
    font-size: 15px;
  }

  .faq-list li, .faq-container p {
    font-size: 13px;
  }

  .faq-cta-unified {
    padding: 20px;
  }

  .faq-cta-unified p {
    font-size: 14px;
  }
}

/* ============================================
   FAQ PAGE - Main Styles (matching HTML structure)
   ============================================ */

.faq-page .faq-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 20px 0;
}

.faq-page .faq-title {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 15px 0;
  line-height: 1.2;
}

.faq-page .faq-subtitle {
  font-size: 18px;
  color: #94a3b8;
  margin: 0;
  font-weight: 400;
}

.faq-page .faq-intro {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 40px;
  border: 1px solid #334155;
  border-left: 4px solid #ff6b00;
}

.faq-page .faq-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #cbd5e1;
  margin: 0;
}

.faq-page .faq-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq-page .faq-section {
  background: #1e293b;
  border-radius: 16px;
  padding: 35px;
  border: 1px solid #334155;
  transition: all 0.3s ease;
}

.faq-page .faq-section:hover {
  border-color: #475569;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.faq-page .faq-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 25px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-page .faq-section-title .section-number {
  color: #ff6b00;
  font-weight: 800;
  font-size: 26px;
}

.faq-page .faq-content {
  color: #94a3b8;
}

.faq-page .faq-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0 0 15px 0;
}

.faq-page .faq-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.faq-page .faq-content ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.faq-page .faq-content ul li:last-child {
  border-bottom: none;
}

.faq-page .faq-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: #ff6b00;
  border-radius: 50%;
}

.faq-page .faq-content ul li strong {
  color: #ffffff;
  font-weight: 600;
}

.faq-page .faq-content ul li a {
  color: #ff8533;
  text-decoration: none;
  transition: all 0.2s ease;
}

.faq-page .faq-content ul li a:hover {
  color: #ffa366;
  text-decoration: underline;
}

.faq-page .faq-content p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.faq-page .faq-content a {
  color: #ff8533;
  text-decoration: none;
  transition: all 0.2s ease;
}

.faq-page .faq-content a:hover {
  color: #ffa366;
  text-decoration: underline;
}

/* FAQ Item Cards within faq-content */
.faq-page .faq-content .faq-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid #334155;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-page .faq-content .faq-item:last-child {
  margin-bottom: 0;
}

.faq-page .faq-content .faq-item:hover {
  border-color: #ff6b00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.1);
}

.faq-page .faq-content .faq-question {
  font-size: 17px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0 0 12px 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-page .faq-content .faq-question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #ff6b00, #ff8533);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}

.faq-page .faq-content .faq-answer {
  max-height: none;
  overflow: visible;
  padding: 0;
}

.faq-page .faq-content .faq-answer p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.faq-page .faq-content .faq-answer ul {
  margin-top: 12px;
  margin-bottom: 0;
}

/* FAQ CTA Section */
.faq-page .faq-cta {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 50%, #ffa366 100%);
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.faq-page .faq-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.faq-page .faq-cta .cta-text {
  font-size: 20px;
  color: #ffffff;
  margin: 0 0 30px 0;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.faq-page .faq-cta .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.faq-page .faq-cta .cta-buttons .btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.faq-page .faq-cta .cta-buttons .btn-primary {
  background: #ffffff;
  color: #ff6b00;
  border: 2px solid #ffffff;
}

.faq-page .faq-cta .cta-buttons .btn-primary:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-page .faq-cta .cta-buttons .btn-default {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.faq-page .faq-cta .cta-buttons .btn-default:hover {
  background: #ffffff;
  color: #ff6b00;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* FAQ Page Responsive Styles */
@media (max-width: 991px) {
  .faq-page .faq-title {
    font-size: 36px;
  }

  .faq-page .faq-section {
    padding: 30px;
  }

  .faq-page .faq-section-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .faq-page .faq-header {
    margin-bottom: 35px;
  }

  .faq-page .faq-title {
    font-size: 30px;
  }

  .faq-page .faq-subtitle {
    font-size: 16px;
  }

  .faq-page .faq-intro {
    padding: 24px;
  }

  .faq-page .faq-intro p {
    font-size: 15px;
  }

  .faq-page .faq-sections {
    gap: 30px;
  }

  .faq-page .faq-section {
    padding: 25px;
  }

  .faq-page .faq-section-title {
    font-size: 20px;
  }

  .faq-page .faq-section-title .section-number {
    font-size: 22px;
  }

  .faq-page .faq-content h3 {
    font-size: 16px;
  }

  .faq-page .faq-content .faq-question {
    font-size: 16px;
  }

  .faq-page .faq-cta {
    padding: 40px 30px;
  }

  .faq-page .faq-cta .cta-text {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .faq-page .faq-header {
    margin-bottom: 30px;
    padding: 15px 0;
  }

  .faq-page .faq-title {
    font-size: 26px;
  }

  .faq-page .faq-subtitle {
    font-size: 14px;
  }

  .faq-page .faq-intro {
    padding: 20px;
  }

  .faq-page .faq-intro p {
    font-size: 14px;
  }

  .faq-page .faq-sections {
    gap: 25px;
  }

  .faq-page .faq-section {
    padding: 20px;
  }

  .faq-page .faq-section-title {
    font-size: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .faq-page .faq-section-title .section-number {
    font-size: 20px;
  }

  .faq-page .faq-content ul li {
    font-size: 14px;
    padding: 8px 0 8px 24px;
  }

  .faq-page .faq-content ul li::before {
    width: 6px;
    height: 6px;
    top: 16px;
  }

  .faq-page .faq-content .faq-question {
    font-size: 15px;
  }

  .faq-page .faq-content .faq-question::before {
    min-width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .faq-page .faq-content .faq-answer p,
  .faq-page .faq-content p {
    font-size: 14px;
  }

  .faq-page .faq-cta {
    padding: 30px 20px;
    margin-top: 40px;
  }

  .faq-page .faq-cta .cta-text {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .faq-page .faq-cta .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .faq-page .faq-cta .cta-buttons .btn {
    width: 100%;
    padding: 12px 24px;
  }
}

/* ============================================
   BLOG PAGE STYLES
   ============================================ */

.blog-page {
  background: #0f172a;
  min-height: 100vh;
  padding: 60px 0 80px;
}

.blog-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 40px 20px;
}

.blog-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.blog-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.blog-card {
  background: #1e293b;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: #ff6b00;
}

.blog-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

.blog-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 15px 0;
  line-height: 1.4;
  min-height: 60px;
}

.blog-card-excerpt {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #334155;
}

.blog-card-date {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-date i {
  font-size: 14px;
}

.blog-card-link {
  color: #ff8533;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.blog-card-link:hover {
  color: #ffa366;
  gap: 10px;
  text-decoration: none;
}

.blog-card-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.blog-card-link:hover i {
  transform: translateX(3px);
}

.blog-empty {
  text-align: center;
  padding: 80px 20px;
  color: #ffffff;
}

.blog-empty i {
  font-size: 80px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.blog-empty h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.blog-empty p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.blog-pagination .pagination {
  background: #1e293b;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid #334155;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.blog-pagination .pagination > li > a {
  color: #ff8533;
  border: none;
  margin: 0 3px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-pagination .pagination > li > a:hover {
  background: #ff6b00;
  color: #ffffff;
}

.blog-pagination .pagination > li.active > a {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  color: #ffffff;
  border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-title {
    font-size: 36px;
  }

  .blog-subtitle {
    font-size: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card-title {
    font-size: 20px;
    min-height: auto;
  }

  .blog-card-content {
    padding: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1400px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Blog Post Detail Page */
.blog-post-page {
  background: #0f172a;
  min-height: 100vh;
  padding: 60px 0 80px;
}

.blog-post-container {
  background: #1e293b;
  border-radius: 8px;
  border: 1px solid #334155;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 0;
  margin-bottom: 40px;
  overflow: hidden;
}

.blog-post-back {
  padding: 25px 40px;
  border-bottom: 1px solid #334155;
}

.back-to-blog {
  color: #ff8533;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.back-to-blog:hover {
  color: #ffa366;
  gap: 12px;
  text-decoration: none;
}

.back-to-blog i {
  transition: transform 0.3s ease;
}

.back-to-blog:hover i {
  transform: translateX(-3px);
}

.blog-post-header {
  padding: 0 0 40px 0;
}

.blog-post-featured-image {
  width: 100%;
  height: 450px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  position: relative;
}

.blog-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-meta {
  display: flex;
  gap: 25px;
  padding: 30px 40px 20px 40px;
  flex-wrap: wrap;
}

.blog-post-meta span {
  color: #64748b;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-post-meta i {
  color: #ff8533;
  font-size: 15px;
}

.blog-post-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  padding: 0 40px;
  line-height: 1.3;
}

.blog-post-content {
  padding: 40px;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.8;
  border-bottom: 1px solid #334155;
}

.blog-post-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 40px 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #ff6b00;
}

.blog-post-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 30px 0 15px 0;
}

.blog-post-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: #f1f5f9;
  margin: 25px 0 12px 0;
}

.blog-post-content p {
  margin-bottom: 20px;
  color: #94a3b8;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.blog-post-content li {
  margin-bottom: 12px;
  color: #94a3b8;
  line-height: 1.8;
}

.blog-post-content a {
  color: #ff8533;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-post-content a:hover {
  color: #ffa366;
  text-decoration: underline;
}

.blog-post-content blockquote {
  background: #0f172a;
  border-left: 4px solid #ff6b00;
  padding: 20px 25px;
  margin: 30px 0;
  border-radius: 8px;
  font-style: italic;
  color: #cbd5e1;
}

.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px 0;
}

.blog-post-content code {
  background: #0f172a;
  color: #ff8533;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

.blog-post-content pre {
  background: #0f172a;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid #334155;
}

.blog-post-content pre code {
  background: transparent;
  padding: 0;
  color: #94a3b8;
}

.blog-post-tags {
  padding: 30px 40px;
  border-bottom: 1px solid #334155;
}

.blog-post-tags h3 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 15px 0;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: #0f172a;
  color: #ff8533;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #334155;
  transition: all 0.3s ease;
}

.tag:hover {
  background: #ff6b00;
  color: #ffffff;
  border-color: #ff6b00;
}

.blog-post-share {
  padding: 30px 40px;
  border-bottom: 1px solid #334155;
}

.blog-post-share h3 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: 1px solid;
}

.share-btn.twitter {
  background: #1DA1F2;
  color: #ffffff;
  border-color: #1DA1F2;
}

.share-btn.twitter:hover {
  background: #1a8cd8;
  text-decoration: none;
}

.share-btn.facebook {
  background: #1877F2;
  color: #ffffff;
  border-color: #1877F2;
}

.share-btn.facebook:hover {
  background: #1565d8;
  text-decoration: none;
}

.share-btn.linkedin {
  background: #0A66C2;
  color: #ffffff;
  border-color: #0A66C2;
}

.share-btn.linkedin:hover {
  background: #0955a8;
  text-decoration: none;
}

.blog-post-cta {
  padding: 40px;
  text-align: center;
  background: transparent;
  border-radius: 0;
}

.blog-post-cta h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 15px 0;
}

.blog-post-cta p {
  font-size: 18px;
  color: #ffffff;
  margin: 0 0 25px 0;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: linear-gradient(135deg, #ff8533 0%, #ffa366 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: #ffffff;
}

/* Responsive Design for Blog Post */
@media (max-width: 768px) {
  .blog-post-title {
    font-size: 28px;
    padding: 0 25px;
  }

  .blog-post-featured-image {
    height: 250px;
  }

  .blog-post-meta {
    padding: 20px 25px 15px 25px;
    gap: 15px;
  }

  .blog-post-content {
    padding: 25px;
  }

  .blog-post-content h2 {
    font-size: 24px;
  }

  .blog-post-content h3 {
    font-size: 20px;
  }

  .blog-post-tags,
  .blog-post-share,
  .blog-post-back {
    padding: 20px 25px;
  }

  .blog-post-cta {
    padding: 30px 25px;
  }

  .blog-post-cta h2 {
    font-size: 24px;
  }

  .share-buttons {
    flex-direction: column;
  }

  .share-btn {
    justify-content: center;
  }
}

/* Language Selector Dropdown */
.navbar-language-selector {
  margin-right: 15px;
}

.language-dropdown {
  position: relative;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px !important;
  background: transparent;
  border: 1px solid #475569;
  border-radius: 6px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.language-toggle:hover,
.language-toggle:focus {
  background: #1e293b;
  border-color: #64748b;
  text-decoration: none;
}

.language-toggle .fa-globe {
  font-size: 14px;
  color: #ffffff;
}

.language-toggle .current-lang {
  color: #ffffff;
}

.language-toggle .caret {
  border-top-color: #ffffff;
  margin-left: 4px;
}

.language-menu {
  min-width: 200px;
  max-height: 400px;
  overflow-y: auto;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 8px;
  padding: 8px 0;
}

.language-menu li {
  list-style: none;
}

.language-menu li a {
  display: block;
  padding: 10px 20px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.language-menu li a:hover {
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
}

.language-menu li.active a,
.language-menu li.active a:hover {
  background: #ff6b00;
  color: #ffffff;
}

.lang-name {
  display: block;
}

/* Language menu scrollbar */
.language-menu::-webkit-scrollbar {
  width: 6px;
}

.language-menu::-webkit-scrollbar-track {
  background: #0f172a;
  border-radius: 4px;
}

.language-menu::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

.language-menu::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* RTL Support for language selector */
.rtl-navbar .navbar-language-selector {
  margin-right: 0;
  margin-left: 15px;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .navbar-language-selector {
    margin-right: 0;
    margin-top: 10px;
  }

  .language-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .language-menu {
    width: 100%;
  }
}

/* Hide Google Translate Toolbar Completely */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-te-balloon-frame,
.goog-tooltip,
#goog-gt-tt,
.goog-te-spinner-pos {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  top: -9999px !important;
}

body {
  top: 0 !important;
  position: static !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Terms of Service Page Styling - Match Dark Theme */
/* Override Bootstrap's default light background for public pages */
body:not(.has-sidebar) .well {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.well h1,
.well h2,
.well h3 {
  color: #ffffff;
}

.well h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.well h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  color: #ff6b00;
  border-bottom: 1px solid #334155;
  padding-bottom: 8px;
}

.well p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.well ul {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  padding-left: 24px;
}

.well ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.well a {
  color: #ff6b00;
  text-decoration: none;
  transition: color 0.2s ease;
}

.well a:hover {
  color: #ff8533;
  text-decoration: underline;
}

.well strong {
  color: #ffffff;
  font-weight: 600;
}

.well hr {
  border-color: #334155;
  margin: 40px 0;
}
/* ==========================================================================
   Consistent Page Styling
   ========================================================================== */

/* Page Header Bar - Orange gradient header like neworder page */
.page-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  padding: 16px 24px;
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
}

.page-header-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.page-header-title i {
  font-size: 18px;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-action {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-header-action:hover,
.btn-header-action:focus {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.header-search-form {
  margin: 0;
}

.header-search-form .input-group {
  width: 250px;
}

.header-search-form .form-control {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  height: 36px;
  border-radius: 8px 0 0 8px;
  font-size: 13px;
}

.header-search-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.header-search-form .form-control:focus {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.header-search-form .btn-default {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  height: 36px;
  border-radius: 0 8px 8px 0;
  border-left: none;
}

.header-search-form .btn-default:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Page Tabs Bar - For tab navigation below header */
.page-tabs-bar {
  background: #1e293b;
  padding: 0 24px;
  border-left: 1px solid #334155;
  border-right: 1px solid #334155;
  border-bottom: 1px solid #334155;
}

.page-tabs-bar .nav-pills {
  margin: 0;
}

.page-tabs-bar .nav-pills > li {
  margin-bottom: 0;
}

.page-tabs-bar .nav-pills > li > a {
  border-radius: 0;
  padding: 12px 16px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}

.page-tabs-bar .nav-pills > li > a:hover {
  background: rgba(255, 107, 0, 0.1);
  color: #ff6b00;
}

.page-tabs-bar .nav-pills > li.active > a,
.page-tabs-bar .nav-pills > li.active > a:hover,
.page-tabs-bar .nav-pills > li.active > a:focus {
  background: rgba(255, 107, 0, 0.1);
  color: #ff6b00;
  border-bottom-color: #ff6b00;
}

.page-tabs-bar .search {
  padding: 8px 0;
}

.page-tabs-bar .search .input-group {
  width: 250px;
}

.page-tabs-bar .search .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  color: #ffffff;
  height: 36px;
  border-radius: 8px 0 0 8px;
  font-size: 13px;
}

.page-tabs-bar .search .form-control:focus {
  border-color: #ff6b00;
  box-shadow: none;
}

.page-tabs-bar .search .btn-default {
  background: #0f172a;
  border: 1px solid #334155;
  color: #94a3b8;
  height: 36px;
  border-radius: 0 8px 8px 0;
  border-left: none;
}

.page-tabs-bar .search .btn-default:hover {
  color: #ff6b00;
}

/* Page Content Card - Dark background card for content */
.page-content-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.page-content-card:first-child {
  border-top: 1px solid #334155;
  border-radius: 12px;
}

.page-content-card .table {
  margin-bottom: 0;
}

.page-content-card .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  color: #ffffff;
}

.page-content-card .form-control:focus {
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.page-content-card .form-control::placeholder {
  color: #64748b;
}

.page-content-card .control-label,
.page-content-card label {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .page-header-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px;
  }

  .page-header-actions {
    flex-direction: column;
    width: 100%;
  }

  .header-search-form .input-group {
    width: 100%;
  }

  .page-tabs-bar {
    padding: 0 16px;
  }

  .page-content-card {
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .page-header-title {
    font-size: 14px;
  }

  .page-tabs-bar .nav-pills > li > a {
    padding: 10px 12px;
    font-size: 12px;
  }

  .page-tabs-bar .search .input-group {
    width: 100%;
  }
}

/* ==========================================================================
   Section 35: Orders Page Styles
   ========================================================================== */

/* Common Page Title Styling */
.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-title i {
  color: #ff6b00;
  font-size: 24px;
}

.orders-page {
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 200px);
}

.orders-tabs-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.page-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-tabs li {
  margin: 0;
}

.page-tabs li a {
  display: block;
  padding: 10px 16px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.page-tabs li a:hover {
  color: #ffffff;
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.1);
}

.page-tabs li.active a {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border-color: #ff6b00;
  color: #ffffff;
}

.page-tabs li.search {
  margin-left: auto;
}

.page-tabs .input-group {
  width: 280px;
}

.page-tabs .input-group .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px 0 0 8px;
  color: #ffffff;
  height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}

.page-tabs .input-group .form-control:focus {
  border-color: #ff6b00;
  background: #1e293b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.page-tabs .input-group-btn .btn-search {
  background: #ff6b00;
  border: 1px solid #ff6b00;
  border-radius: 0 8px 8px 0;
  color: #ffffff;
  height: 40px;
  padding: 0 16px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-tabs .input-group-btn .btn-search:hover {
  background: #ff8533;
  border-color: #ff8533;
}

.page-tabs .input-group-btn .btn-search i {
  color: #ffffff;
  font-size: 14px;
}

.orders-table-card,
.updates-table-card,
.tickets-table-card,
.affiliates-card,
.affiliates-stats-card,
.affiliates-payments-card,
.child-panel-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.page-table {
  width: 100%;
  background: transparent;
  border-collapse: collapse;
  margin: 0;
}

.page-table thead tr {
  border-bottom: 2px solid #334155;
}

.page-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
  border: none;
}

.page-table tbody tr {
  border-bottom: 1px solid #334155;
  transition: background 0.2s ease;
}

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

.page-table tbody tr:hover {
  background: rgba(255, 107, 0, 0.05);
}

.page-table tbody td {
  padding: 14px 16px;
  color: #e2e8f0;
  font-size: 14px;
  vertical-align: middle;
  border: none;
}

.page-table tbody td.width-40 {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.page-pagination .pagination {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
}

.page-pagination .pagination li {
  margin: 0;
}

.page-pagination .pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 8px 12px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.page-pagination .pagination .page-link:hover {
  color: #ffffff;
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.1);
}

.page-pagination .pagination li.active .page-link {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border-color: #ff6b00;
  color: #ffffff;
}

/* ==========================================================================
   Section 36: Updates Page Styles
   ========================================================================== */

.updates-page {
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 200px);
}

.updates-filter-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-dropdown {
  flex: 0 0 auto;
}

.filter-dropdown .btn-filter {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #ffffff;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-dropdown .btn-filter:hover {
  border-color: #ff6b00;
  background: rgba(255, 107, 0, 0.1);
}

.filter-dropdown .dropdown-menu {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px;
  margin-top: 4px;
}

.filter-dropdown .dropdown-menu li a {
  color: #94a3b8;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.filter-dropdown .dropdown-menu li a:hover {
  background: rgba(255, 107, 0, 0.1);
  color: #ffffff;
}

.filter-dropdown .dropdown-menu li.active a {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  color: #ffffff;
}

.filter-search {
  flex: 1;
  max-width: 400px;
}

.filter-search .input-group {
  width: 100%;
}

.filter-search .input-group .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px 0 0 8px;
  color: #ffffff;
  height: 42px;
  padding: 10px 12px;
  font-size: 14px;
}

.filter-search .input-group .form-control:focus {
  border-color: #ff6b00;
  background: #1e293b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.filter-search .input-group-btn .btn-search {
  background: #ff6b00;
  border: 1px solid #ff6b00;
  border-radius: 0 8px 8px 0;
  color: #ffffff;
  height: 42px;
  padding: 0 16px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-search .input-group-btn .btn-search:hover {
  background: #ff8533;
  border-color: #ff8533;
}

.filter-search .input-group-btn .btn-search i {
  color: #ffffff;
  font-size: 14px;
}

/* ==========================================================================
   Section 37: Mass Order Page Styles
   ========================================================================== */

.massorder-page {
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 200px);
}

.massorder-form-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 32px;
}

.massorder-form-card .alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 1px solid;
}

.massorder-form-card .alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.massorder-form-card .alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.massorder-form-card .alert i {
  font-size: 20px;
  flex-shrink: 0;
}

.massorder-form-card .alert h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
}

.massorder-form-card .alert p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.massorder-form-card .alert a {
  color: inherit;
  text-decoration: underline;
}

.massorder-form-card .alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.massorder-form-card .alert-close:hover {
  opacity: 1;
}

.massorder-form-card .form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 10px;
}

.massorder-form-card .form-label i {
  color: #ff6b00;
  font-size: 16px;
}

.massorder-form-card .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 14px;
  width: 100%;
  transition: all 0.2s ease;
  font-family: 'Courier New', monospace;
}

.massorder-form-card .form-control:focus {
  border-color: #ff6b00;
  background: #1e293b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.btn-massorder-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-massorder-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-massorder-submit i {
  font-size: 18px;
}

/* ==========================================================================
   Section 38: Tickets Page Styles
   ========================================================================== */

.tickets-page {
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 200px);
}

.tickets-form-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 20px;
}

.tickets-search-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.tickets-search-card .input-group .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px 0 0 8px;
  color: #ffffff;
  height: 42px;
  padding: 10px 12px;
  font-size: 14px;
}

.tickets-search-card .input-group .form-control:focus {
  border-color: #ff6b00;
  background: #1e293b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.tickets-search-card .input-group-btn .btn-search {
  background: #ff6b00;
  border: 1px solid #ff6b00;
  border-radius: 0 8px 8px 0;
  color: #ffffff;
  height: 42px;
  padding: 0 16px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tickets-search-card .input-group-btn .btn-search:hover {
  background: #ff8533;
  border-color: #ff8533;
}

.tickets-search-card .input-group-btn .btn-search i {
  color: #ffffff;
  font-size: 14px;
}

.tickets-form-card .form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 10px;
}

.tickets-form-card .form-label i {
  color: #ff6b00;
  font-size: 16px;
}

.tickets-form-card .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 14px;
  width: 100%;
  transition: all 0.2s ease;
}

.tickets-form-card .form-control:focus {
  border-color: #ff6b00;
  background: #1e293b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.btn-tickets-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-tickets-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.btn-tickets-submit i {
  font-size: 18px;
}

/* ==========================================================================
   Section 39: Child Panel Page Styles
   ========================================================================== */

.child-panel-page {
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 200px);
  overflow-x: hidden;
}

.child-panel-page .well {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: none;
}

.child-panel-page .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.child-panel-page .form-control:focus {
  background: #1e293b;
  border-color: #ff6b00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.child-panel-page .form-control[readonly] {
  background: #0f172a;
  border-color: #334155;
  color: #64748b;
  cursor: not-allowed;
  opacity: 0.7;
}

.child-panel-page .control-label {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.child-panel-page .btn-primary {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border: 1px solid #ff6b00;
  border-radius: 8px;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.child-panel-page .btn-primary:hover {
  background: linear-gradient(135deg, #ff8533 0%, #ffa366 100%);
  border-color: #ff8533;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.child-panel-page .alert-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  color: #93c5fd;
  padding: 16px;
  margin-bottom: 16px;
}

.child-panel-page .alert-info ul {
  margin-bottom: 0;
  color: #93c5fd;
}

.child-panel-card .alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid;
}

.child-panel-card .alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.child-panel-card .alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.child-panel-card .alert i {
  font-size: 20px;
  flex-shrink: 0;
}

.child-panel-card .alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.child-panel-card .alert-close:hover {
  opacity: 1;
}

/* ==========================================================================
   Section 40: Affiliates Page Styles
   ========================================================================== */

.affiliates-page {
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 200px);
}

.affiliates-info-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  color: #e2e8f0;
  line-height: 1.6;
}

.affiliates-payments-card .card-subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.affiliates-payments-card .card-subtitle i {
  color: #ff6b00;
}

/* Remove unnecessary scrollbars from page containers */
.orders-page,
.updates-page,
.massorder-page,
.tickets-page,
.child-panel-page,
.affiliates-page {
  overflow-x: hidden;
}

.orders-page .container,
.updates-page .container,
.massorder-page .container,
.tickets-page .container,
.child-panel-page .container,
.affiliates-page .container {
  overflow-x: hidden;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .orders-page,
  .updates-page,
  .massorder-page,
  .tickets-page,
  .child-panel-page,
  .affiliates-page {
    padding: 15px 0 60px 0;
  }

  .page-title {
    font-size: 24px;
  }

  .page-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .page-tabs li {
    width: 100%;
  }

  .page-tabs li a {
    width: 100%;
    text-align: center;
  }

  .page-tabs li.search {
    margin-left: 0;
    margin-top: 12px;
  }

  .page-tabs .input-group {
    width: 100%;
  }

  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-search {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .page-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .orders-table-card,
  .updates-table-card,
  .tickets-table-card,
  .affiliates-card,
  .affiliates-stats-card,
  .affiliates-payments-card,
  .child-panel-card,
  .massorder-form-card,
  .tickets-form-card {
    padding: 20px;
  }

  .page-table thead th,
  .page-table tbody td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .page-pagination .pagination .page-link {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Section 41: Account Page Styles
   ========================================================================== */

.account-page {
  padding: 40px 0 80px 0;
  min-height: calc(100vh - 200px);
  overflow-x: hidden;
}

/* Navigation Tabs */
.account-page .nav-pills {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 32px;
  display: flex;
  gap: 12px;
  border-bottom: 2px solid #334155;
  padding-bottom: 0;
}

.account-page .nav-pills > li {
  flex: 0 0 auto;
  margin-bottom: -2px;
}

.account-page .nav-pills > li > a {
  display: block;
  padding: 14px 28px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #94a3b8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.account-page .nav-pills > li > a:hover {
  background: transparent;
  color: #ffffff;
  border-bottom-color: #64748b;
}

.account-page .nav-pills > li.active > a,
.account-page .nav-pills > li.active > a:hover,
.account-page .nav-pills > li.active > a:focus {
  background: transparent;
  border-bottom-color: #ff6b00;
  color: #ffffff;
  font-weight: 600;
}

/* Card Sections */
.account-page .well {
  background: linear-gradient(135deg, #1e293b 0%, #1a2332 100%);
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.account-page .well:hover {
  border-color: #475569;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.account-page .well h5 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-page .well h5::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border-radius: 2px;
}

.account-page .well p {
  color: #94a3b8;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Form Elements */
.account-page .form-group {
  margin-bottom: 24px;
}

.account-page .form-control {
  background: #0f172a;
  border: 2px solid #334155;
  border-radius: 10px;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  height: auto;
}

.account-page .form-control:focus {
  background: #1a2332;
  border-color: #ff6b00;
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.15);
}

.account-page .form-control:disabled,
.account-page .form-control[readonly] {
  background: #0f172a;
  border-color: #334155;
  color: #64748b;
  cursor: not-allowed;
  opacity: 0.6;
}

.account-page .control-label {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
  letter-spacing: 0.3px;
}

/* Buttons */
.account-page .btn-primary {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
  text-transform: none;
  letter-spacing: 0.3px;
}

.account-page .btn-primary:hover {
  background: linear-gradient(135deg, #ff7a1a 0%, #ff9447 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
}

.account-page .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.account-page .btn-block {
  width: 100%;
  display: block;
}

.account-page .help-block {
  color: #64748b;
  font-size: 13px;
  margin-top: 8px;
  font-style: italic;
}

/* Table Styling */
.account-page .table {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
  margin-top: 20px;
}

.account-page .table > thead > tr > th {
  background: #1a2332;
  border-bottom: 2px solid #334155;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 16px 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.account-page .table > tbody > tr > td {
  border-top: 1px solid #334155;
  color: #cbd5e1;
  font-size: 14px;
  padding: 16px 20px;
  vertical-align: middle;
}

.account-page .table > tbody > tr {
  transition: all 0.2s ease;
}

.account-page .table > tbody > tr:hover {
  background: rgba(255, 107, 0, 0.05);
}

/* Alert Info */
.account-page .alert-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  color: #93c5fd;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.account-page .alert-info ul {
  margin-bottom: 0;
  color: #bfdbfe;
  padding-left: 20px;
}

/* Select Dropdown */
.account-page select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

@media (max-width: 991px) {
  .account-page {
    padding: 20px 0 60px 0;
  }

  .account-page .nav-pills {
    flex-wrap: wrap;
  }

  .account-page .well {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .account-page .nav-pills {
    flex-direction: column;
    border-bottom: none;
    gap: 8px;
  }

  .account-page .nav-pills > li {
    width: 100%;
    margin-bottom: 0;
  }

  .account-page .nav-pills > li > a {
    border-bottom: none;
    border: 2px solid #334155;
    border-radius: 10px;
    padding: 12px 20px;
  }

  .account-page .nav-pills > li.active > a {
    border-color: #ff6b00;
  }

  .account-page .well {
    padding: 20px;
  }

  .account-page .btn-primary {
    padding: 12px 24px;
  }
}

/* ============================================
   Account Page - Widget Dashboard Grid Layout
   ============================================ */

/* Grid Container */
.account-widgets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* Widget Card Base */
.account-widget-card {
  background: #1e293b;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #334155;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.account-widget-card:hover {
  border-color: #475569;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Widget Header */
.widget-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #334155;
}

.widget-header-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.25);
}

.widget-header-text {
  flex: 1;
}

.widget-header-text h3 {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.widget-header-text p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

/* Widget Content */
.widget-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Full Width Widget (for notification preferences table) */
.account-widget-card.widget-full-width {
  grid-column: 1 / -1;
}

/* Form Elements in Widgets */
.account-widget-card .form-group {
  margin-bottom: 20px;
}

.account-widget-card .form-group:last-child {
  margin-bottom: 0;
}

.account-widget-card .control-label {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.3px;
}

.account-widget-card .form-control {
  background: #0f172a;
  border: 2px solid #334155;
  border-radius: 8px;
  color: #ffffff;
  padding: 11px 14px;
  font-size: 14px;
  transition: all 0.3s ease;
  height: auto;
  width: 100%;
}

.account-widget-card .form-control:focus {
  background: #1a2332;
  border-color: #ff6b00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.account-widget-card .form-control:disabled,
.account-widget-card .form-control[readonly] {
  background: #0f172a;
  border-color: #334155;
  color: #64748b;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Select Dropdown Styling */
.account-widget-card select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Textarea Styling */
.account-widget-card textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Buttons in Widgets */
.account-widget-card .btn-primary {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
  width: 100%;
  margin-top: auto;
}

.account-widget-card .btn-primary:hover {
  background: linear-gradient(135deg, #ff7a1a 0%, #ff9447 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
}

.account-widget-card .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

/* Secondary Buttons */
.account-widget-card .btn-default {
  background: transparent;
  border: 2px solid #334155;
  border-radius: 8px;
  color: #ffffff;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.account-widget-card .btn-default:hover {
  background: #334155;
  border-color: #475569;
}

/* Help Block / Small Text */
.account-widget-card .help-block {
  color: #64748b;
  font-size: 12px;
  margin-top: 6px;
  margin-bottom: 0;
  font-style: italic;
}

/* Alerts in Widgets */
.account-widget-card .alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  border: none;
}

.account-widget-card .alert-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.account-widget-card .alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.account-widget-card .alert-info {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.account-widget-card .alert .close {
  color: inherit;
  opacity: 0.7;
}

.account-widget-card .alert .close:hover {
  opacity: 1;
}

/* Table in Widgets (for notifications) */
.account-widget-card .table {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  width: 100%;
}

.account-widget-card .table thead th {
  background: #1a2332;
  border-bottom: 2px solid #334155;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 14px 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.account-widget-card .table tbody tr {
  border-bottom: 1px solid #334155;
  transition: all 0.2s ease;
}

.account-widget-card .table tbody tr:last-child {
  border-bottom: none;
}

.account-widget-card .table tbody tr:hover {
  background: rgba(255, 107, 0, 0.05);
}

.account-widget-card .table tbody td {
  color: #cbd5e1;
  font-size: 13px;
  padding: 14px 16px;
  vertical-align: middle;
}

/* Checkbox in table */
.account-widget-card .table input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #ff6b00;
}

/* 2FA Forms Spacing */
.account-widget-card #2fa-generate-form,
.account-widget-card #2fa-approve-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-widget-card #2fa-error-text {
  display: block;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .account-widgets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .account-widget-card {
    padding: 24px;
  }

  .widget-header-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 18px;
  }

  .widget-header-text h3 {
    font-size: 16px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .account-widgets-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .account-widget-card {
    padding: 20px;
    border-radius: 12px;
  }

  .widget-header {
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .widget-header-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
    border-radius: 10px;
  }

  .widget-header-text h3 {
    font-size: 15px;
  }

  .widget-header-text p {
    font-size: 12px;
  }

  .account-widget-card .form-control {
    font-size: 16px; /* Prevent iOS zoom */
    padding: 10px 12px;
  }

  .account-widget-card .btn-primary {
    padding: 11px 20px;
    font-size: 13px;
  }

  /* Table horizontal scroll on mobile */
  .account-widget-card .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .account-widget-card {
    padding: 16px;
  }

  .widget-header {
    gap: 10px;
  }

  .account-widgets-grid {
    gap: 12px;
  }
}

/* RTL Support */
body[dir="rtl"] .account-widgets-grid,
.rtl-layout .account-widgets-grid {
  direction: rtl;
}

body[dir="rtl"] .widget-header,
.rtl-layout .widget-header {
  direction: rtl;
}

/* ============================================================
   MOBILE CRITICAL FIXES - Touch Targets & Form Inputs
   ============================================================ */

/* Fix button minimum touch targets (44x44px minimum) */
.btn {
  min-height: 44px;
  padding: 12px 24px;
  touch-action: manipulation;
}

.btn-sm {
  min-height: 44px;
  padding: 10px 18px;
}

.btn-xs {
  min-height: 40px;
  padding: 8px 14px;
}

.btn-lg {
  min-height: 50px;
  padding: 14px 32px;
}

/* Add touch feedback to all interactive elements */
.btn:active,
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

a:hover,
a:focus,
a:active {
  text-decoration: none;
  outline: none;
}

/* Form inputs - Fix height and prevent iOS zoom */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select,
.form-control {
  min-height: 44px;
  padding: 12px 16px;
  font-size: 16px !important; /* Prevent iOS zoom */
  touch-action: manipulation;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

textarea.form-control {
  min-height: 88px; /* 2x minimum for multi-line */
}

/* Focus states for accessibility */
input:focus,
textarea:focus,
select:focus,
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

/* Checkbox and radio buttons */
input[type="checkbox"],
input[type="radio"] {
  min-width: 20px;
  min-height: 20px;
  cursor: pointer;
  touch-action: manipulation;
}

/* Labels with checkboxes */
label {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Dropdown items - touch-friendly */
.dropdown-menu {
  touch-action: manipulation;
}

.dropdown-item,
.dropdown-menu li a {
  min-height: 44px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  font-size: 16px;
  touch-action: manipulation;
}

.dropdown-item:active,
.dropdown-menu li a:active {
  background-color: rgba(255, 107, 0, 0.1);
}

/* Select dropdowns */
select.form-control {
  min-height: 44px;
  padding: 10px 40px 10px 16px;
  font-size: 16px;
  background-position: right 12px center;
}

/* Image responsiveness */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent double-tap zoom delay */
button,
a,
.clickable {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  /* Convert fixed positioning to absolute on mobile */
  .modal,
  .sidebar {
    position: absolute !important;
  }

  /* Ensure adequate spacing for touch */
  .btn {
    margin: 4px 0;
  }

  /* Stack form elements on mobile */
  .form-horizontal .form-group {
    margin-bottom: 16px;
  }

  /* Larger fonts for better readability */
  body {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Table cell padding for touch */
  .table td,
  .table th {
    padding: 12px 8px;
  }
}

/* Form validation error messages */
.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
  font-weight: 500;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

.form-control.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
  border-color: #28a745;
  padding-right: calc(1.5em + 0.75rem);
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Mobile Balance Badge (New Order Page) - REFINED v2 */
.mobile-balance-badge {
  display: none;
}

@media (max-width: 768px) {
  .mobile-balance-badge {
    display: none;  /* Hidden - using inline field instead */
  }

  .balance-badge-icon {
    font-size: 18px;
    color: #f97316;  /* Orange accent */
  }

  .balance-badge-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .balance-label {
    font-size: 10px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
  }

  .balance-amount {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;  /* Green for money */
  }

  @keyframes floatBadge {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-8px);
    }
  }
}

/* Dual Currency Wrapper (Add Funds Page) */
.dual-currency-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* Mobile Balance Field (inline under search bar) */
.mobile-balance-field {
  display: none;
}

@media (max-width: 768px) {
  .mobile-balance-field {
    display: block;
    margin: 0 0 20px 0;
  }

  .mobile-balance-field-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(8px);
  }

  .mobile-balance-field-icon {
    font-size: 20px;
    color: #f97316;
    min-width: 20px;
  }

  .mobile-balance-field-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
  }

  .mobile-balance-field-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
  }

  .mobile-balance-field-amount {
    font-size: 18px;
    font-weight: 700;
    color: #10b981;
  }
}

.currency-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.currency-field.secondary-currency {
  opacity: 0.9;
}

.converted-amount-wrapper {
  position: relative;
}

.converted-amount-input {
  background-color: rgba(255, 255, 255, 0.05) !important;
  cursor: default;
  color: #94a3b8;
}

.converted-amount-input:focus {
  outline: none;
  box-shadow: none;
}

/* Hide converted field if USD is selected */
.dual-currency-wrapper.currency-usd .secondary-currency {
  display: none;
}

/* Mobile layout - stacked */
@media (max-width: 768px) {
  .dual-currency-wrapper {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .currency-field.secondary-currency {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Welcome Modal Styling */
.welcome-modal .modal-content {
  background: #1e293b;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 12px;
}

.welcome-modal .modal-header {
  background: rgba(249, 115, 22, 0.1);
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
  color: white;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 20px 24px;
}

.welcome-modal .modal-header .modal-title {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.welcome-modal .modal-header .modal-title i {
  color: #f97316;
}

.welcome-modal .modal-header .close {
  color: rgba(255, 255, 255, 0.8);
  opacity: 1;
  text-shadow: none;
  font-size: 28px;
  font-weight: 300;
}

.welcome-modal .modal-header .close:hover {
  color: white;
}

.welcome-modal .modal-body {
  padding: 30px 24px;
  text-align: center;
  background: #1e293b;
}

.welcome-icon {
  font-size: 56px;
  color: #f97316;
  margin-bottom: 20px;
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.welcome-greeting {
  font-size: 22px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

.welcome-message {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 12px;
}

.welcome-cta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 24px;
}

.highlight-balance {
  color: #10b981;
  font-size: 18px;
  font-weight: 700;
}

.welcome-benefits {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.benefit-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-item i {
  color: #10b981;
  font-size: 18px;
}

.welcome-modal .modal-footer {
  border-top: none;
  padding: 0 24px 24px;
  background: #1e293b;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.welcome-modal .btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border: none;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
  transition: all 0.3s ease;
  color: white;
}

.welcome-modal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

/* Modal available on all screen sizes */
