@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root{
  --primary:#5561ff;
  --accent:#6fe7c1;
  --danger:#ff6b6b;
  --muted:#9aa4b2;
  --bg:#f7f9fc;
  --card:#ffffff;
  --sidebar:#ffffff;
  --glass: rgba(255,255,255,0.6);
  --text:#17233d;
  /* Additional variables from merged files */
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary-color: #8b5cf6;
  --success-color: #10b981;
  --success-dark: #059669;
  --warning-color: #f59e0b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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);
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}
/* Reset and base */
*{box-sizing:border-box;margin:0;padding:0;font-family:inherit}
html,body{height:100%;font-family: 'Tajawal', Tahoma, Geneva, Verdana, sans-serif;background:var(--bg);color:var(--text);font-size:16px;overflow-x:hidden;width:100%;max-width:100vw}

/* Responsive Font Sizes */
@media (max-width: 1024px) {
  html, body { font-size: 15px; }
}

img{max-width:100%;height:auto}

/* Layout */
.ls-app{display:flex;min-height:100vh;direction:rtl}
.ls-app.lp-body{display:block;width:100%;margin:0;padding:0}
html[dir="rtl"] .ls-app.lp-body,
[dir="rtl"] .ls-app.lp-body {
  direction: rtl;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
html[dir="ltr"] .ls-app.lp-body,
[dir="ltr"] .ls-app.lp-body {
  direction: ltr;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
/* Sidebar styles moved to user-dashboard.css for consistency */
/* ls-main base styles - margin overridden in user-dashboard.css when sidebar is present */
.ls-main{flex:1;padding:0;width:100%;max-width:100%}
.ls-main.lp-main-full{width:100%;max-width:100%;margin:0 !important;padding:0;flex:none}
html[dir="rtl"] .ls-main.lp-main-full,
[dir="rtl"] .ls-main.lp-main-full {
  direction: rtl;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
html[dir="ltr"] .ls-main.lp-main-full,
[dir="ltr"] .ls-main.lp-main-full {
  direction: ltr;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Topbar */
.ls-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  box-shadow:0 2px 4px rgba(0,0,0,0.02);
  gap:12px;
  flex-wrap:wrap;
}

.sidebar-toggle{
  display:none;
  background:transparent;
  border:none;
  color:#374151;
  font-size:24px;
  cursor:pointer;
  padding:8px;
  transition:color 0.3s;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  flex-shrink: 0;
}

.sidebar-toggle:hover{
  color:#1f2b6b;
}

.ls-brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
  min-width:0;
}

.ls-brand .logo{
  width:36px;
  height:36px;
  border-radius:8px;
  background:linear-gradient(135deg,var(--primary),#9a8cff);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:700;
  font-size:14px;
}

.ls-brand h2{
  margin:0;
  font-size:16px;
  color:#1f2b6b;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ls-topbar-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.ls-topbar form{
  display:inline;
  margin:0;
}

.ls-topbar button.lang-switch,
.lang-switch{
  background:transparent;
  border:1px solid #e5e7eb;
  padding:8px 12px;
  border-radius:6px;
  cursor:pointer;
  font-size:13px;
  color:#374151;
  transition:all 0.3s;
  white-space:nowrap;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.ls-topbar button.lang-switch:hover,
.lang-switch:hover{
  background:#f3f4f6;
  border-color:#d1d5db;
}

.btn-logout-topbar{
  background:transparent;
  border:1px solid #fee2e2;
  padding:8px 12px;
  border-radius:6px;
  cursor:pointer;
  font-size:13px;
  color:#dc2626;
  transition:all 0.3s;
  white-space:nowrap;
}

.btn-logout-topbar:hover{
  background:#fef2f2;
  border-color:#fca5a5;
}

.ls-search{min-width:260px}

/* Cards grid */
.ls-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px;margin-top:10px}
.ls-card{background:var(--card);border-radius:12px;padding:20px;box-shadow:0 6px 18px rgba(20,30,50,0.04)}

.metric .value{font-size:28px;font-weight:700}
.metric .meta{color:var(--muted);font-size:13px}

/* Charts placeholders */

/* Form controls */
.form-control{
  width:100%;
  padding:12px 14px;
  border:1px solid #ddd;
  border-radius:6px;
  font-size:14px;
  background:#fff;
  color:#333;
  transition:all 0.3s;
}
.form-control:focus{
  outline:none;
  border-color:#5561ff;
  box-shadow:0 0 0 2px rgba(85,97,255,0.1);
}
.form-control:disabled{
  background:#f9f9f9;
  color:#999;
  cursor:not-allowed;
}
.form-control::placeholder{
  color:#aaa;
}
.form-control-multiple {
  min-height: 200px;
  padding: 8px;
}
.form-control-multiple option {
  padding: 8px 12px;
  cursor: pointer;
}
.form-control-multiple option:hover {
  background-color: #f0f0f0;
}
.form-control-multiple option:checked {
  background-color: #1f2b6b;
  color: #ffffff;
}
.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
  font-style: italic;
}
/* Form sections for settings page */
.form-section{
  margin-bottom:32px;
  padding:24px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}
.form-section h3{
  font-size:20px;
  font-weight:600;
  color:#1f2b6b;
  margin-bottom:20px;
  padding-bottom:12px;
  border-bottom:2px solid #f0f0f0;
}
.form-group{
  margin-bottom:20px;
}
.form-group label{
  display:block;
  font-weight:500;
  color:#374151;
  margin-bottom:8px;
  font-size:14px;
}
/* Form actions - base styles, extended in user-dashboard.css */
.form-actions{
  margin-top:32px;
  padding-top:24px;
  display:flex;
  justify-content:flex-end;
  gap:12px;
}
.btn{
  padding:10px 24px;
  border:none;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
  transition:all 0.3s;
  font-size:14px;
}
.btn-primary{
  background:var(--primary);
  color:#fff;
}
.btn-primary:hover{
  background:#4451e6;
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(85,97,255,0.3);
}

/* Auth Input Styling */
.auth-input{
  background:#f5f7fa;
  border:1px solid #e0e0e0;
  padding:12px 40px 12px 40px;
  border-radius:6px;
  font-size:14px;
  color:#333;
  width:100%;
  transition:all 0.3s;
}

html[dir="rtl"] .auth-input{
  padding:12px 40px 12px 40px;
}

.auth-input:focus{
  outline:none;
  border-color:#2b60ff;
  background:#fff;
  box-shadow:0 0 0 2px rgba(43,96,255,0.1);
}

/* Phone Input with Country Code */
.auth-phone-wrapper{
  display:flex;
  gap:8px;
  align-items:stretch;
  position:relative;
}

html[dir="rtl"] .auth-phone-wrapper{
  flex-direction:row-reverse;
}

.auth-country-code-wrapper{
  display:flex;
  align-items:center;
  border:1px solid #e0e0e0;
  border-radius:6px;
  background:#f5f7fa;
  padding:0;
  flex-shrink:0;
  transition:all 0.3s;
  width:80px;
}

.auth-country-code-wrapper:focus-within{
  border-color:#2b60ff;
  background:#fff;
  box-shadow:0 0 0 2px rgba(43,96,255,0.1);
}

.auth-country-code-prefix{
  padding:12px 4px 12px 12px;
  color:#666;
  font-size:14px;
  font-weight:500;
  user-select:none;
}

html[dir="rtl"] .auth-country-code-prefix{
  padding:12px 12px 12px 4px;
}

.auth-country-code-input{
  border:none;
  background:transparent;
  padding:12px 8px 12px 0;
  font-size:14px;
  color:#333;
  width:100%;
  outline:none;
  text-align:left;
}

html[dir="rtl"] .auth-country-code-input{
  text-align:right;
}

.auth-country-code-input:invalid{
  border-color:#e74c3c;
}

.auth-phone-wrapper .auth-input-wrapper{
  flex:1;
  position:relative;
}

.auth-phone-input{
  width:100%;
  padding-right:40px;
  padding-left:12px;
}

html[dir="rtl"] .auth-phone-input{
  padding-right:12px;
  padding-left:40px;
}

.auth-phone-wrapper .auth-input-wrapper .auth-input-icon{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  z-index:1;
}

html[dir="rtl"] .auth-phone-wrapper .auth-input-wrapper .auth-input-icon{
  right:auto;
  left:12px;
}

/* Auth Input Disabled */
.auth-input-disabled {
  background: #f9f9f9 !important;
  color: #999 !important;
}

/* Auth Input Wrapper Phone */
.auth-input-wrapper-phone {
  flex: 1;
  position: relative;
}

/* Auth Phone Validation */
.auth-phone-validation {
  display: none;
}

.auth-phone-validation.show {
  display: block;
}

.auth-phone-validation.error{
  color:#e74c3c;
}

/* Sidebar menu - badge styles moved to user-dashboard.css */
.ls-menu{
    padding: 18px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.ls-menu .section{
    margin-bottom: 18px;
}

.ls-menu a{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.ls-menu a:hover{
    background: rgba(85, 97, 255, 0.08);
    color: var(--primary);
    transform: translateX(4px);
}

html[dir="rtl"] .ls-menu a:hover,
[dir="rtl"] .ls-menu a:hover{
    transform: translateX(-4px);
}

html[dir="ltr"] .ls-menu a:hover,
[dir="ltr"] .ls-menu a:hover{
    transform: translateX(4px);
}

.ls-menu a.active{
    background: linear-gradient(90deg, rgba(85,97,255,0.06), rgba(111,231,193,0.03));
    box-shadow: inset 0 0 0 1px rgba(85,97,255,0.03);
    color: var(--primary);
    font-weight: 600;
}

/* Badge styles moved to user-dashboard.css for consistency */

/* Responsive */
@media (max-width: 992px){
  .ls-sidebar{width:72px}
}

/* Visual effects */
.glow{transition:all .28s ease;transform:translateY(0)}
.glow:hover{transform:translateY(-6px);box-shadow:0 12px 30px rgba(85,97,255,0.08)}

/* small utilities */
.text-muted{color:var(--muted)}

/* language switcher button */

.btn-logout-topbar:hover {
  background: #fef2f2;
  border-color: #ef4444;
}

/* Language Switcher */
.language-toggle, .language-dropdown-toggle {
  background: var(--glass);
  border: 1px solid rgba(0,0,0,0.03);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  transition: all 0.2s;
}

.language-toggle:hover, .language-dropdown-toggle:hover {
  background: rgba(0,0,0,0.05);
}

.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-dropdown-toggle {
  position: relative;
}

.language-dropdown-toggle .fa-chevron-down {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.2s;
}

.language-dropdown.active .language-dropdown-toggle .fa-chevron-down {
  transform: rotate(180deg);
}

.language-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 1000;
  padding: 4px 0;
}

html[dir="rtl"] .language-dropdown-menu, [dir="rtl"] .language-dropdown-menu {
  right: auto;
  left: 0;
}

.language-dropdown.active .language-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  font-size: 14px;
}

.language-dropdown-item:hover {
  background: rgba(0,0,0,0.05);
}

.language-dropdown-item.active {
  background: rgba(43, 96, 255, 0.1);
  color: #2b60ff;
  font-weight: 600;
}

.language-dropdown-item .fa-check {
  color: #2b60ff;
  font-size: 12px;
}

/* Landing page language switcher */
.lp-lang-switch {
  background: var(--glass);
  border: 1px solid rgba(0,0,0,0.03);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: all 0.2s;
}

.lp-lang-switch:hover {
  background: rgba(0,0,0,0.05);
}
/* Flash message containers - hidden by default */
[data-flash-message]{display:none}

/* mobile floating actions */
.floating-actions{position:fixed;left:16px;bottom:16px;display:flex;flex-direction:column;gap:12px}
.fab{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;box-shadow:0 8px 20px rgba(85,97,255,0.18);cursor:pointer}

/* Guest Layout Styles */
.ls-guest-body{
  display:flex;
  flex-direction:column;
  min-height:100vh;
  background:#f5f7fa;
}

.ls-guest-header{
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
  border-bottom:1px solid #e0e0e0;
}

.ls-guest-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:1280px;
  margin:0 auto;
}

.ls-guest-nav .logo{
  font-weight:900;
  color:#2b60ff;
  font-size:24px;
  /* Base logo styles in user-dashboard.css */
}

.nav-link:hover{
  background:rgba(0,0,0,0.05);
}

.ls-guest-footer{
  background:#f7f9fc;
  padding:20px 24px;
  text-align:center;
  border-top:1px solid #e0e0e0;
  color:var(--muted);
  font-size:13px;
}

/* Auth Card */
.auth-card{
  max-width:500px;
  width:100%;
  background:#fff;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,0.1);
  padding:40px;
}

.auth-logo{
  text-align:center;
  margin-bottom:30px;
  font-weight:900;
  color:#2b60ff;
  font-size:32px;
  letter-spacing:-1px;
}

.auth-title{
  text-align:center;
  margin:0 0 12px;
  font-size:24px;
  font-weight:700;
  color:#1a1a1a;
}

.auth-subtitle{
  text-align:center;
  color:#888;
  margin:0 0 28px;
  font-size:14px;
  line-height:1.5;
}

.auth-field{
  margin-bottom:24px;
}

.auth-field label{
  display:block;
  margin-bottom:6px;
  font-weight:500;
  color:#1a1a1a;
  font-size:13px;
}

html[dir="rtl"] .auth-field label{
  text-align:right;
}

.auth-input-wrapper{
  position:relative;
}

.auth-input-icon{
  position:absolute;
  color:#999;
  top:50%;
  transform:translateY(-50%);
  pointer-events:none;
  font-size:16px;
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  z-index:1;
  line-height:1;
  vertical-align:middle;
}

.auth-input-icon.left{
  left:12px;
}

.auth-input-icon.right{
  right:12px;
}

/* Fix input padding when icon is present */
.auth-input-wrapper .auth-input-icon.left ~ .auth-input,
.auth-input-wrapper:has(.auth-input-icon.left) .auth-input{
  padding-left:40px;
  padding-right:12px;
}

html[dir="rtl"] .auth-input-wrapper .auth-input-icon.right ~ .auth-input,
html[dir="rtl"] .auth-input-wrapper:has(.auth-input-icon.right) .auth-input{
  padding-right:40px;
  padding-left:12px;
}

/* Fix icon alignment in input fields */
.auth-input-wrapper .auth-input-icon.fa{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  vertical-align:middle;
}

/* Fix icon alignment in labels and text */
.lp-feature-icon,
.lp-platform-icon,
.lp-feature-small-icon,
.lp-stat-icon,
.lp-why-icon{
  display:flex;
  align-items:center;
  justify-content:center;
}

.lp-feature-icon .fa,
.lp-platform-icon .fa,
.lp-feature-small-icon .fa,
.lp-stat-icon .fa,
.lp-why-icon .fa{
  display:inline-block;
  line-height:1;
  vertical-align:middle;
}

/* Sidebar icons */
.ls-menu .icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  margin-right:12px;
}

html[dir="rtl"] .ls-menu .icon{
  margin-right:0;
  margin-left:12px;
}

.auth-error{
  color:#e74c3c;
  font-size:12px;
  margin-top:4px;
  display:block;
}

.auth-button{
  width:100%;
  padding:14px;
  background:#2b60ff;
  color:#fff;
  border:none;
  border-radius:6px;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  transition:background 0.3s;
  margin-top:0;
}

.auth-button:hover{
  background:#2052e5;
}

.auth-link{
  text-align:center;
  margin:20px 0 0;
  color:#888;
  font-size:13px;
}

.auth-link a{
  color:#2b60ff;
  text-decoration:none;
  font-weight:600;
}

.auth-step-indicator{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-bottom:28px;
}

html[dir="rtl"] .auth-step-indicator{
  flex-direction:row-reverse;
}

.auth-step{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:#fff;
}

.auth-step.active{
  background:#2b60ff;
}

.auth-step.inactive{
  background:#e0e0e0;
  color:#7a8a99;
}

/* Auth Error Message */
.auth-error-message{
  background:#fff5f5;
  border-left:4px solid #e74c3c;
  color:#c0392b;
  padding:12px;
  border-radius:6px;
  margin-bottom:20px;
  font-size:13px;
}

/* Auth Success Message */
.auth-success-message{
  background:#d4edda;
  border-left:4px solid #28a745;
  color:#155724;
  padding:12px;
  border-radius:6px;
  margin-bottom:20px;
  font-size:13px;
}

/* Remember Me & Forgot Password Row */
.auth-remember-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:24px;
}

html[dir="rtl"] .auth-remember-row{
  flex-direction:row-reverse;
}

.auth-remember-label{
  font-size:13px;
  color:#888;
  cursor:pointer;
  display:flex;
  align-items:center;
}

.auth-remember-checkbox{
  margin-right:8px;
}

html[dir="rtl"] .auth-remember-checkbox{
  margin-right:0;
  margin-left:8px;
}

.auth-forgot-row{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin-bottom:24px;
}

html[dir="rtl"] .auth-forgot-row{
  justify-content:flex-start;
}

.auth-forgot-link{
  font-size:13px;
  color:#2b60ff;
  text-decoration:none;
}

/* Auth Container */
.auth-container{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
  background:#f5f7fa;
}

/* Auth Card Container */
.auth-card-container{
  max-width:500px;
  width:100%;
  padding:40px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

/* Toast/Flash Messages */
.toast-container{
  position:fixed;
  top:20px;
  right:20px;
  z-index:10000;
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:400px;
  width:100%;
}

html[dir="rtl"] .toast-container{
  right:auto;
  left:20px;
}

.toast{
  background:#fff;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
  padding:16px 20px;
  display:flex;
  align-items:center;
  gap:12px;
  animation:slideInRight 0.3s ease-out;
  position:relative;
  overflow:hidden;
}

html[dir="rtl"] .toast{
  animation:slideInLeft 0.3s ease-out;
}

.toast::before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
}

.toast-success{
  border-left:4px solid #28a745;
}

.toast-success::before{
  background:#28a745;
}

.toast-error{
  border-left:4px solid #e74c3c;
}

.toast-error::before{
  background:#e74c3c;
}

.toast-warning{
  border-left:4px solid #ffc107;
}

.toast-warning::before{
  background:#ffc107;
}

.toast-info{
  border-left:4px solid #17a2b8;
}

.toast-info::before{
  background:#17a2b8;
}

.toast-icon{
  font-size:20px;
  flex-shrink:0;
}

.toast-success .toast-icon{
  color:#28a745;
}

.toast-error .toast-icon{
  color:#e74c3c;
}

.toast-warning .toast-icon{
  color:#ffc107;
}

.toast-info .toast-icon{
  color:#17a2b8;
}

.toast-content{
  flex:1;
  font-size:14px;
  color:#333;
  line-height:1.5;
}

.toast-close{
  background:none;
  border:none;
  font-size:20px;
  color:#999;
  cursor:pointer;
  padding:0;
  width:24px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  transition:color 0.2s;
}

.toast-close:hover{
  color:#333;
}

html[dir="rtl"] .toast.fade-out{
  animation:slideOutLeft 0.3s ease-out forwards;
}

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

@keyframes slideInLeft{
  from{
    transform:translateX(-100%);
    opacity:0;
  }
  to{
    transform:translateX(0);
    opacity:1;
  }
}

@keyframes slideOutRight{
  from{
    transform:translateX(0);
    opacity:1;
  }
  to{
    transform:translateX(100%);
    opacity:0;
  }
}

@keyframes slideOutLeft{
  from{
    transform:translateX(0);
    opacity:1;
  }
  to{
    transform:translateX(-100%);
    opacity:0;
  }
}

@media (max-width:576px){
  
  html[dir="rtl"] .toast-container{
    right:10px;
    left:10px;
  }
}

.container{max-width:1180px;margin:0 auto;padding:28px;width:100%;box-sizing:border-box}



/* Topbar */
.lp-topbar{background:#fff;padding:18px 0;box-shadow:0 2px 8px rgba(0,0,0,0.05);position:sticky;top:0;z-index:1000;transition:all 0.3s}
.lp-topbar-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.lp-logo{font-weight:800;color:#1f2b6b;font-size:22px;transition:transform 0.3s}
.lp-logo:hover{transform:scale(1.05)}
.lp-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.lp-link{color:var(--muted);text-decoration:none;font-size:14px;transition:color 0.3s;position:relative}
.lp-link:hover{color:var(--primary)}
.lp-link::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--primary);transition:width 0.3s}
.lp-link:hover::after{width:100%}
html[dir="rtl"] .lp-link::after{left:auto;right:0}
.lp-btn-outline{border:1px solid #e6ecff;padding:8px 16px;border-radius:8px;color:#374151;background:#fff;text-decoration:none;font-size:14px;transition:all 0.3s;display:inline-block;font-weight:500}
.lp-btn-outline:hover{background:var(--primary);color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px rgba(91,107,255,0.3);border-color:var(--primary)}
.lp-btn-primary{background:linear-gradient(90deg,var(--primary),#7a6bff);color:#fff;padding:10px 20px;border-radius:8px;border:none;cursor:pointer;text-decoration:none;font-size:14px;font-weight:600;display:inline-block;transition:all 0.3s;box-shadow:0 2px 8px rgba(91,107,255,0.2)}
.lp-btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(91,107,255,0.4);background:linear-gradient(90deg,#4a5aff,#6a5bff)}
.lp-logout-form{display:inline}
.lp-logout-btn{background:linear-gradient(90deg,var(--primary),#7a6bff);border:none;cursor:pointer;color:#fff;font-size:14px;font-weight:600;padding:10px 20px;border-radius:8px;transition:all 0.3s;box-shadow:0 2px 8px rgba(91,107,255,0.2)}
.lp-logout-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(91,107,255,0.4);background:linear-gradient(90deg,#4a5aff,#6a5bff)}
.lp-lang-switch:hover{color:var(--primary)}
.lp-globe-icon{font-size:16px}

/* Old Hero Section - REMOVED (replaced with lp-hero-new) */

/* Section Styles */
.lp-section{padding:80px 0}
.lp-section-head{text-align:center;margin-bottom:48px}
.lp-section-title{font-size:42px;font-weight:800;color:#2b2b6b;margin-bottom:16px;position:relative;display:inline-block}
.lp-section-title::after{content:'';position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);width:60px;height:4px;background:linear-gradient(90deg,var(--primary),#7a6bff);border-radius:2px}
.lp-section-sub{color:var(--muted);font-size:18px}

/* Advanced Features Section */
.lp-advanced-features {
    background: #f7fff7;
    padding: 80px 0;
}

.lp-advanced-features-header {
    text-align: center;
    margin-bottom: 60px;
}

.lp-advanced-features-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.lp-advanced-features-title-icon {
    font-size: 32px;
    color: #ef4444;
    background: #fff;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lp-advanced-features-title {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.lp-advanced-features-subtitle {
    font-size: 18px;
    color: #64748b;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.lp-advanced-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.lp-advanced-feature-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: right;
}

html[dir="rtl"] .lp-advanced-feature-card {
    text-align: right;
}

html[dir="ltr"] .lp-advanced-feature-card {
    text-align: left;
}

.lp-advanced-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lp-advanced-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    margin-left: auto;
}

html[dir="rtl"] .lp-advanced-feature-icon {
    margin-left: auto;
    margin-right: 0;
}

html[dir="ltr"] .lp-advanced-feature-icon {
    margin-left: 0;
    margin-right: auto;
}

.lp-advanced-icon-green {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
}

.lp-advanced-icon-red {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: #fff;
}

.lp-advanced-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #fff;
}

.lp-advanced-icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: #fff;
}

.lp-advanced-icon-orange {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
}

.lp-advanced-icon-teal {
    background: linear-gradient(135deg, #14b8a6, #5eead4);
    color: #fff;
}

.lp-advanced-icon-pink {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: #fff;
}

.lp-advanced-icon-cyan {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    color: #fff;
}

.lp-advanced-icon-amber {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
}

.lp-advanced-feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.lp-advanced-feature-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Our Promise Section */
.lp-our-promise {
    background: #d6f7d6;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    margin-top: 60px;
}

.lp-our-promise-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.lp-our-promise-icon-left,
.lp-our-promise-icon-right {
    font-size: 24px;
    color: #10b981;
}

.lp-our-promise-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.lp-our-promise-desc {
    font-size: 18px;
    color: #1e293b;
    line-height: 1.7;
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Banner */
.lp-cta-banner{padding:48px 0;background:linear-gradient(135deg,#d1fae5,#a7f3d0)}
.lp-cta-green{background:linear-gradient(135deg,#d1fae5,#a7f3d0)}
.lp-cta-banner-content{text-align:center}
.lp-cta-banner-content p{font-size:24px;font-weight:700;color:#065f46;margin-bottom:24px}
.lp-btn-green{background:#10b981;color:#fff;padding:14px 32px;border-radius:12px;text-decoration:none;font-weight:600;display:inline-block;transition:all 0.3s}
.lp-btn-green:hover{background:#059669;transform:translateY(-2px);box-shadow:0 6px 20px rgba(16,185,129,0.4)}

/* Basic Services Section */
.lp-basic-services {
    background: #fff;
    padding: 80px 0;
}

.lp-basic-services-header {
    text-align: center;
    margin-bottom: 60px;
}

.lp-basic-services-title {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
}

.lp-basic-services-subtitle {
    font-size: 18px;
    color: #64748b;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.lp-basic-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.lp-basic-service-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

html[dir="rtl"] .lp-basic-service-card {
    text-align: center;
}

html[dir="ltr"] .lp-basic-service-card {
    text-align: center;
}

.lp-basic-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lp-basic-service-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.lp-basic-service-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lp-basic-service-icon {
    font-size: 32px;
    color: #3b82f6;
}

.lp-basic-service-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.lp-basic-service-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Platform Comparison Section */
.lp-platform-comparison {
    background: #fff;
    padding: 80px 0;
}

.lp-comparison-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lp-comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.lp-comparison-table thead {
    background: #f8fafc;
}

.lp-comparison-table th {
    padding: 24px 20px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
}

.lp-comparison-feature-col {
    text-align: right;
    background: #ffffff;
}

html[dir="rtl"] .lp-comparison-feature-col {
    text-align: right;
}

html[dir="ltr"] .lp-comparison-feature-col {
    text-align: left;
}

.lp-comparison-platform-col {
    font-weight: 700;
}

.lp-comparison-DropSaas {
    background: #e0f2fe;
    color: #0284c7;
}

.lp-comparison-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.lp-comparison-table tbody tr:last-child {
    border-bottom: none;
}

.lp-comparison-table td {
    padding: 24px 20px;
    font-size: 16px;
    color: #64748b;
}

.lp-comparison-feature-name {
    text-align: right;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
}

html[dir="rtl"] .lp-comparison-feature-name {
    text-align: right;
}

html[dir="ltr"] .lp-comparison-feature-name {
    text-align: left;
}

.lp-comparison-cell {
    background: #ffffff;
}

.lp-comparison-cell.lp-comparison-DropSaas {
    background: #e0f2fe;
}

.lp-comparison-check {
    color: #10b981;
    font-size: 20px;
}

.lp-comparison-cross {
    color: #ef4444;
    font-size: 20px;
}

.lp-comparison-success {
    color: #10b981;
    font-weight: 600;
}

.lp-comparison-note {
    font-size: 14px;
    color: #64748b;
    margin-right: 8px;
}

html[dir="rtl"] .lp-comparison-note {
    margin-right: 8px;
    margin-left: 0;
}

html[dir="ltr"] .lp-comparison-note {
    margin-left: 8px;
    margin-right: 0;
}

/* Pricing Section */
.lp-packages{background:#f9fafb}
.lp-pricing-toggle{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:40px}
.lp-toggle-label{font-weight:600;color:var(--muted);font-size:16px}
.lp-toggle-switch{position:relative;width:60px;height:32px}
.lp-toggle-switch input{opacity:0;width:0;height:0}
.lp-toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background:#ccc;transition:0.3s;border-radius:32px}
.lp-toggle-slider:before{position:absolute;content:"";height:24px;width:24px;left:4px;bottom:4px;background:#fff;transition:0.3s;border-radius:50%}
.lp-toggle-switch input:checked + .lp-toggle-slider{background:var(--primary)}
.lp-toggle-switch input:checked + .lp-toggle-slider:before{transform:translateX(28px)}
html[dir="rtl"] .lp-toggle-switch input:checked + .lp-toggle-slider:before{transform:translateX(-28px)}
.lp-pricing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px;max-width:800px;margin:0 auto}
.lp-price-card{background:var(--card);padding:40px;border-radius:20px;box-shadow:0 12px 40px rgba(16,24,40,0.08);text-align:center;transition:all 0.3s;position:relative;overflow:hidden}
.lp-price-card::before{content:'';position:absolute;top:0;left:0;right:0;height:6px;background:linear-gradient(90deg,var(--primary),#7a6bff)}
.lp-price-card:hover{transform:translateY(-8px);box-shadow:0 20px 60px rgba(16,24,40,0.15)}
.lp-price-free::before{background:linear-gradient(90deg,var(--yellow),#fbbf24)}
.lp-price-pro::before{background:linear-gradient(90deg,var(--primary),#7a6bff)}
.lp-price-badge{display:inline-block;padding:8px 20px;border-radius:20px;font-weight:700;font-size:14px;margin-bottom:20px}
.lp-badge-yellow{background:#fef3c7;color:#92400e}
.lp-badge-blue{background:#dbeafe;color:#1e40af}
.lp-price-amount{font-size:48px;font-weight:800;color:#2b2b6b;margin-bottom:24px}
.lp-price-period{font-size:20px;font-weight:400;color:var(--muted)}
.lp-price-features{list-style:none;padding:0;margin:0 0 32px;text-align:right}
html[dir="rtl"] .lp-price-features{text-align:left}
.lp-price-features li{color:var(--muted);margin-bottom:12px;font-size:15px;padding-right:24px}
html[dir="rtl"] .lp-price-features li{padding-right:0;padding-left:24px}
.lp-btn-ghost{border:2px solid #e6eefc;color:var(--primary);background:transparent;padding:12px 24px;border-radius:12px;text-decoration:none;font-weight:600;display:inline-block;transition:all 0.3s}
.lp-btn-ghost:hover{background:var(--primary);color:#fff;transform:translateY(-2px)}

/* Testimonials Logos */
.lp-testimonials-logos{background:#fff}
.lp-logos-grid{display:flex;justify-content:center;gap:32px;flex-wrap:wrap}
.lp-logo-item{width:80px;height:80px;border-radius:50%;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:32px;transition:transform 0.3s}
.lp-logo-item:hover{transform:scale(1.1) rotate(5deg)}

/* Success Stories */
.lp-success-stories{background:#fff}
.lp-stories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.lp-story-card{background:var(--card);border-radius:16px;box-shadow:0 8px 24px rgba(16,24,40,0.06);padding:32px;text-align:center;transition:all 0.3s;position:relative;overflow:hidden}
.lp-story-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--yellow),#fbbf24)}
.lp-story-card:hover{transform:translateY(-6px);box-shadow:0 16px 40px rgba(16,24,40,0.12)}
.lp-story-header{height:60px;background:linear-gradient(135deg,#fef3c7,#fde68a);margin:-32px -32px 24px -32px}
.lp-story-avatar{width:80px;height:80px;border-radius:50%;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:36px;margin:-40px auto 16px;border:4px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,0.1)}
.lp-story-name{font-size:18px;font-weight:700;color:#2b2b6b;margin-bottom:8px}
.lp-story-rating{font-size:20px;margin-bottom:16px}
.lp-story-text{color:var(--muted);line-height:1.6;font-size:15px}

/* FAQ */
.lp-faq {
    background: #fff;
    padding: 80px 0;
}

.lp-faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.lp-faq-title {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
}

.lp-faq-subtitle {
    font-size: 18px;
    color: #64748b;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.lp-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.lp-faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.lp-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lp-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    user-select: none;
}

html[dir="rtl"] .lp-faq-question {
    flex-direction: row-reverse;
}

.lp-faq-question strong {
    flex: 1;
    text-align: right;
}

html[dir="rtl"] .lp-faq-question strong {
    text-align: right;
}

html[dir="ltr"] .lp-faq-question strong {
    text-align: left;
}

.lp-faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #3b82f6;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eff6ff;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-right: 16px;
}

html[dir="rtl"] .lp-faq-icon {
    margin-right: 0;
    margin-left: 16px;
}

html[dir="ltr"] .lp-faq-icon {
    margin-left: 0;
    margin-right: 16px;
}

.lp-faq-item.active .lp-faq-icon {
    transform: rotate(45deg);
    background: #3b82f6;
    color: #fff;
}

.lp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.lp-faq-item.active .lp-faq-answer {
    max-height: 500px;
}

.lp-faq-answer p {
    padding: 0 24px 24px;
    color: #64748b;
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
}

/* Final CTA */
.lp-final-cta{background:linear-gradient(135deg,#5b6bff,#8b5cf6);padding:80px 0;color:#fff}
.lp-final-cta-content{text-align:center;max-width:700px;margin:0 auto}
.lp-final-cta-content h2{font-size:42px;font-weight:800;margin-bottom:16px}
.lp-final-cta-content > p{font-size:20px;margin-bottom:32px;opacity:0.95}
.lp-cta-icons{display:flex;justify-content:center;gap:16px;margin-bottom:32px;flex-wrap:wrap}
.lp-cta-icon{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,0.2);display:flex;align-items:center;justify-content:center;font-size:24px;backdrop-filter:blur(10px)}
.lp-btn-orange{background:#f59e0b;color:#fff;padding:16px 40px;border-radius:12px;text-decoration:none;font-weight:700;font-size:18px;display:inline-block;transition:all 0.3s}
.lp-btn-orange:hover{background:#d97706;transform:translateY(-2px);box-shadow:0 8px 24px rgba(245,158,11,0.4)}
.lp-cta-note{margin-top:16px;font-size:14px;opacity:0.9}

/* Footer */
.lp-footer{background:#0f1724;color:#fff;padding:60px 0 30px;margin-top:0}
.lp-footer-inner{display:grid;grid-template-columns:1fr 2fr;gap:48px;margin-bottom:40px}
.lp-footer-left{flex:1}
.lp-footer-logo{font-size:24px;font-weight:800;margin-bottom:16px}
/* Logo Styles - Header */
.lp-logo-img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Logo Styles - Footer */
.lp-footer-logo-img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.gtm-noscript{display:none;visibility:hidden}
.lp-footer-left p{color:rgba(255,255,255,0.7);font-size:14px}
.lp-footer-right{display:grid;grid-template-columns:repeat(4,1fr);gap:32px}
.lp-footer-column h4{font-size:16px;font-weight:700;margin-bottom:16px;color:#fff}
.lp-footer-column a{display:block;color:rgba(255,255,255,0.7);text-decoration:none;margin-bottom:12px;font-size:14px;transition:color 0.3s}
.lp-footer-column a:hover{color:#fff}
.lp-footer-social{display:flex;gap:16px;justify-content:flex-start;padding-top:30px;border-top:1px solid rgba(255,255,255,0.1)}
.lp-social-icon{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center;font-size:20px;text-decoration:none;transition:all 0.3s}
.lp-social-icon:hover{background:rgba(255,255,255,0.2);transform:translateY(-2px)}

/* Payment Gateways Section */
.lp-footer-payment-gateways {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.lp-footer-payment-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 600;
}

.lp-footer-payment-title i {
    font-size: 18px;
    color: #10b981;
}

.lp-footer-payment-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.lp-footer-payment-item {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.lp-footer-payment-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

html[dir="rtl"] .lp-footer-payment-title {
    flex-direction: row-reverse;
}

/* Animations */
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeInRight{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:translateX(0)}}
@keyframes fadeInLeft{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}

/* Scroll Animations */
.lp-fade-in{opacity:0;transform:translateY(30px);transition:opacity 0.6s ease-out,transform 0.6s ease-out}
.lp-fade-in.visible{opacity:1;transform:translateY(0)}

/* Responsive */
@media(max-width:1024px){
  .lp-advanced-features-grid,.lp-basic-services-grid{grid-template-columns:repeat(2,1fr)}
  
  /* Pricing Grid Tablet */
  .lp-pricing-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 30px 20px;
  }
  
  .lp-price-card-new {
    padding: 28px 24px;
  }
}

@media(max-width:992px){
  /* Pricing Grid Medium Tablets */
  .lp-pricing-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .lp-topbar-inner-new {
    gap: 10px;
  }
  
  .lp-actions-new {
    gap: 10px;
  }
}

@media(max-width:768px){
  /* Topbar Responsive */
  .lp-topbar-new {
    padding: 16px 0;
  }
  
  .lp-topbar-inner-new {
    padding: 0 16px;
    gap: 8px;
    position: relative;
  }
  
  .lp-logo-new {
    font-size: 20px;
  }
  
  .lp-logo-img {
    max-height: 32px;
  }
  
  .lp-actions-new {
    display: none;
  }
  
  .lp-menu-toggle {
    display: flex;
  }
  
  .lp-mobile-menu {
    display: block;
  }
  
  /* Pricing Grid Responsive */
  .lp-pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 0 16px;
  }
  
  .lp-pricing-grid-new {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 20px 16px;
  }
  
  .lp-price-card {
    padding: 32px 24px;
  }
  
  .lp-price-card-new {
    padding: 28px 20px;
  }
  
  .lp-price-amount {
    font-size: 36px;
  }
  
  .lp-price-number {
    font-size: 36px;
  }
  
  .lp-price-currency {
    font-size: 20px;
  }
  
  .lp-price-title-new {
    font-size: 20px;
  }
  
  .lp-popular-badge {
    font-size: 12px;
    padding: 5px 12px;
    top: -10px;
    right: 16px;
  }
  
  html[dir="rtl"] .lp-popular-badge {
    right: auto;
    left: 16px;
  }
  
  /* Comparison Table Responsive */
  .lp-comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 16px;
  }
  
  .lp-comparison-table {
    min-width: 600px;
  }
  
  .lp-comparison-table th,
  .lp-comparison-table td {
    padding: 16px 12px;
    font-size: 14px;
  }
  
  /* Footer Responsive */
  .lp-footer {
    padding: 40px 0 20px;
  }
  
  .lp-footer-inner {
    grid-template-columns: 1fr !important;
    gap: 32px;
    padding: 0 16px;
  }
  
  .lp-footer-payment-gateways {
    margin-top: 30px;
    padding-top: 24px;
  }
  
  .lp-footer-payment-list {
    gap: 10px;
  }
  
  .lp-footer-payment-item {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .lp-footer-right {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
  }
  
  /* Plans Grid Responsive (for packages page) */
  .plans-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 0 16px;
  }
  
  .plan-card {
    padding: 20px;
  }
  
  .plan-name {
    font-size: 20px;
  }
  
  .plan-price {
    font-size: 16px;
  }
  
  /* Comparison Table Mobile - Better scrolling */
  .lp-comparison-table-wrapper {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  
  .lp-comparison-table-wrapper::-webkit-scrollbar {
    height: 8px;
  }
  
  .lp-comparison-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }
  
  .lp-comparison-table-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }
  
  .lp-comparison-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
  
  /* Pricing Toggle Mobile */
  .lp-pricing-toggle {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
  }
  
  .lp-toggle-label {
    font-size: 14px;
  }
  
  /* Other grids */
  .lp-stories-grid,
  .lp-advanced-features-grid,
  .lp-basic-services-grid {
    grid-template-columns: 1fr;
  }
  
  .lp-cta-buttons {
    flex-direction: column;
  }
  
  .lp-btn-large {
    width: 100%;
    text-align: center;
  }
}

@media(max-width:480px){
  /* Topbar Mobile - Extra Small */
  .lp-topbar-new {
    padding: 12px 0;
  }
  
  .lp-topbar-inner-new {
    padding: 0 12px;
    gap: 8px;
  }
  
  .lp-logo-new {
    font-size: 18px;
  }
  
  .lp-logo-img {
    max-height: 28px;
  }
  
  .lp-actions-new {
    display: none;
  }
  
  .lp-menu-toggle {
    display: flex;
    width: 28px;
    height: 28px;
  }
  
  .lp-menu-toggle span {
    height: 2.5px;
  }
  
  .lp-mobile-menu-content {
    width: 260px;
    padding: 70px 20px 20px;
  }
  
  .lp-mobile-menu-item {
    font-size: 15px;
    padding: 14px 0;
  }
  
  .lp-mobile-menu-button {
    padding: 10px 18px;
    font-size: 15px;
  }
  
  /* Pricing Cards Mobile - Extra Small */
  .lp-feature-card,
  .lp-price-card,
  .lp-advanced-feature-card,
  .lp-basic-service-card {
    padding: 24px 16px;
  }
  
  .lp-price-card-new {
    padding: 24px 16px;
  }
  
  .lp-pricing-grid-new {
    gap: 20px;
    padding: 16px 12px;
  }
  
  .lp-price-amount {
    font-size: 32px;
  }
  
  .lp-price-number {
    font-size: 32px;
  }
  
  .lp-price-currency {
    font-size: 18px;
  }
  
  .lp-price-period {
    font-size: 14px;
  }
  
  .lp-price-period-new {
    font-size: 14px;
  }
  
  .lp-price-title-new {
    font-size: 18px;
  }
  
  .lp-price-features-new li {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .lp-btn-price {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .lp-popular-badge {
    font-size: 11px;
    padding: 4px 10px;
    top: -8px;
    right: 12px;
  }
  
  html[dir="rtl"] .lp-popular-badge {
    right: auto;
    left: 12px;
  }
  
  /* Comparison Table Mobile */
  .lp-comparison-table-wrapper {
    margin: 0 8px;
    border-radius: 12px;
  }
  
  .lp-comparison-table {
    min-width: 500px;
  }
  
  .lp-comparison-table th,
  .lp-comparison-table td {
    padding: 12px 8px;
    font-size: 13px;
  }
  
  .lp-comparison-table th {
    font-size: 14px;
  }
  
  .lp-comparison-check,
  .lp-comparison-cross {
    font-size: 16px;
  }
  
  /* Footer Mobile */
  .lp-footer {
    padding: 32px 0 16px;
  }
  
  .lp-footer-inner {
    padding: 0 16px;
    gap: 24px;
  }
  
  .lp-footer-right {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  
  .lp-footer-payment-gateways {
    margin-top: 24px;
    padding-top: 20px;
  }
  
  .lp-footer-payment-title {
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .lp-footer-payment-list {
    gap: 8px;
  }
  
  .lp-footer-payment-item {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .lp-footer-column h4 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .lp-footer-column a {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .lp-footer-social {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  /* Other Mobile */
  .lp-final-cta-content h2 {
    font-size: 28px;
  }
  
  .lp-faq-answer p {
    font-size: 14px;
  }
}

/* RTL Support */
html[dir="rtl"] .lp-toggle-right{order:2}
html[dir="rtl"] .lp-footer-social{justify-content:flex-end}

/* ============================================
   NEW HERO SECTION STYLES (DropSaas Design)
   ============================================ */

/* New Topbar */
.lp-topbar-new {
  background: transparent;
  padding: 24px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .lp-topbar-new {
    padding: 16px 0;
    position: relative;
    background: #fff;
  }
  
  .lp-topbar-new.scrolled {
    background: #fff;
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .lp-topbar-new {
    padding: 12px 0;
    position: relative;
    background: #fff;
  }
  
  .lp-topbar-new.scrolled {
    background: #fff;
    box-shadow: none;
  }
}

/* Add background when scrolling */
.lp-topbar-new.scrolled {
    background: var(--card);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.lp-topbar-inner-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  background: transparent;
}


.lp-logo-new {
    font-weight: 800;
    color: #6366F1;
    font-size: 24px;
    transition: transform 0.3s;
}

.lp-logo-new:hover {
    transform: scale(1.05);
}

.lp-actions-new {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.lp-link-new {
    color: #64748B;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.lp-link-new:hover {
    color: #1E293B;
}

.lp-btn-primary-new {
    background: linear-gradient(90deg, #6366F1, #8B5CF6);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.lp-btn-primary-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Mobile Menu Toggle Button */
.lp-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.lp-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #6366F1;
    border-radius: 3px;
    transition: all 0.3s;
    transform-origin: center;
}

.lp-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.lp-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.lp-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.lp-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.lp-mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.lp-mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 80px 24px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s;
}

html[dir="rtl"] .lp-mobile-menu-content {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}

.lp-mobile-menu.active .lp-mobile-menu-content {
    transform: translateX(0);
}

.lp-mobile-menu-item {
    display: block;
    padding: 16px 0;
    color: #1E293B;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #E2E8F0;
    transition: color 0.3s;
}

.lp-mobile-menu-item:last-child {
    border-bottom: none;
}

.lp-mobile-menu-item:hover {
    color: #6366F1;
}

.lp-mobile-menu-button {
    background: linear-gradient(90deg, #6366F1, #8B5CF6);
    color: #fff;
    border-radius: 8px;
    padding: 12px 20px;
    text-align: center;
    margin-top: 8px;
    border: none;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.lp-mobile-menu-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    color: #fff;
}

.lp-logout-form-mobile {
    margin: 0;
    padding: 0;
}

.lp-logout-form-mobile button {
    width: 100%;
    text-align: left;
}

html[dir="rtl"] .lp-logout-form-mobile button {
    text-align: right;
}

/* New Hero Section */
.lp-hero-new {
  position: relative;
  padding: 120px 0 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.lp-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 100%);
  z-index: 0;
}

.lp-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.lp-hero-glow-purple {
  width: 400px;
  height: 400px;
  background: #8B5CF6;
  bottom: -200px;
  left: -200px;
  animation-delay: 0s;
}

.lp-hero-glow-green {
  width: 500px;
  height: 500px;
  background: #10B981;
  top: -250px;
  right: -250px;
  animation-delay: 2s;
}

.lp-hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(100, 116, 139, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 116, 139, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

.lp-hero-inner-new {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Hero Copy (Right Side in RTL) */
.lp-hero-copy-new {
    animation: fadeInUp 0.8s ease-out;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.lp-badge-new {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: #6366F1;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 14px;
    animation: fadeIn 1s ease-out;
}

.lp-title-new {
    font-size: 48px;
    margin: 16px 0 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: #1E293B;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.lp-animated-title-text {
    display: inline-block;
    background: linear-gradient(135deg, #8B5CF6, #6366F1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.lp-sub-new {
    color: #64748B;
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    overflow: visible;
}

/* Hero Input Group */
.lp-hero-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.lp-hero-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.lp-hero-input {
    width: 100%;
    padding: 16px 20px;
    padding-right: 120px;
    border: none;
    border-radius: 12px;
    background: #F1F5F9;
    font-size: 16px;
    color: #1E293B;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

html[dir="rtl"] .lp-hero-input {
    padding-right: 20px;
    padding-left: 120px;
}

.lp-hero-input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

.lp-hero-input::placeholder {
    color: #94A3B8;
}

.lp-animated-product-name {
    position: absolute;
    right: 20px;
    color: #6366F1;
    font-weight: 600;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

html[dir="rtl"] .lp-animated-product-name {
    right: auto;
    left: 20px;
}

.lp-hero-input:focus + .lp-animated-product-name,
.lp-hero-input:not(:placeholder-shown) + .lp-animated-product-name {
    opacity: 0;
}

.lp-hero-input:focus::placeholder {
    color: transparent;
}

.lp-btn-create-now {
    background: linear-gradient(90deg, #6366F1, #8B5CF6);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    white-space: nowrap;
}

.lp-btn-create-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.lp-btn-create-now i {
    font-size: 14px;
}

/* Hero Features */
.lp-hero-features {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.lp-hero-feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748B;
    font-size: 14px;
    font-weight: 500;
}

.lp-hero-feature-item i {
    color: #10B981;
    font-size: 16px;
}

.lp-hero-watch-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6366F1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.lp-hero-watch-link:hover {
    color: #8B5CF6;
}

.lp-hero-watch-link i {
    font-size: 18px;
}

/* Social Proof */
.lp-hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.lp-hero-customers-text {
    color: #64748B;
    font-size: 14px;
    font-weight: 500;
}

.lp-hero-avatars {
    display: flex;
    gap: -8px;
}

.lp-hero-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    object-fit: cover;
}

.lp-hero-avatar:first-child {
    margin-left: 0;
}

html[dir="rtl"] .lp-hero-avatar {
    margin-left: 0;
    margin-right: -8px;
}

html[dir="rtl"] .lp-hero-avatar:first-child {
    margin-right: 0;
}

/* Hero Supported Platforms Section */
.lp-hero-supported-platforms {
    position: relative;
    z-index: 1;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.lp-hero-platforms-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 32px;
    letter-spacing: -0.2px;
}

.lp-hero-platforms-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 8%,
        black 92%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 8%,
        black 92%,
        transparent
    );
}

html[dir="rtl"] .lp-hero-platforms-wrapper {
    mask-image: linear-gradient(
        to left,
        transparent,
        black 8%,
        black 92%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to left,
        transparent,
        black 8%,
        black 92%,
        transparent
    );
}

.lp-hero-platforms-list {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scrollPlatforms 30s linear infinite;
    white-space: nowrap;
    flex-shrink: 0;
    will-change: transform;
}

.lp-hero-platforms-list-2 {
    animation: scrollPlatforms 30s linear infinite;
}

.lp-hero-platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 90px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.lp-hero-platform-item:hover {
    transform: translateY(-4px);
}

.lp-hero-platform-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.lp-hero-platform-item:hover .lp-hero-platform-icon {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f8fafc;
}

.lp-hero-platform-icon i {
    font-size: 24px;
    color: #64748B;
    transition: color 0.3s ease;
}

.lp-hero-platform-item:hover .lp-hero-platform-icon i {
    color: #6366F1;
}

.lp-hero-platform-name {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.lp-hero-platform-item:hover .lp-hero-platform-name {
    color: #1E293B;
}

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

html[dir="rtl"] .lp-hero-platforms-list {
    animation: scrollPlatformsRTL 30s linear infinite;
}

html[dir="rtl"] .lp-hero-platforms-list-2 {
    animation: scrollPlatformsRTL 30s linear infinite;
}

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

/* Hero Media (Left Side in RTL) */
.lp-hero-media-new {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

html[dir="rtl"] .lp-hero-media-new {
    animation: fadeInLeft 1s ease-out;
}

.lp-hero-illustration-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    animation: floatIllustration 6s ease-in-out infinite;
}

.lp-hero-illustration {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(30, 41, 59, 0.15));
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, 20px) scale(1.1);
    }
}

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

/* Responsive */
@media (max-width: 1200px) {
    .lp-hero-inner-new {
        gap: 40px;
    }
    
    .lp-hero-illustration-wrapper {
        max-width: 600px;
    }
}

@media (max-width: 1024px) {
    .lp-hero-new {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .lp-hero-inner-new {
        gap: 40px;
    }
    
    .lp-title-new {
        font-size: 42px;
    }
    
    .lp-sub-new {
        font-size: 17px;
    }
    
    .lp-hero-platform-icon i {
        font-size: 22px;
    }
}

@media (max-width: 900px) {
    .lp-hero-inner-new {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .lp-hero-media-new {
        order: -1;
    }
    
    .lp-hero-illustration-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .lp-hero-copy-new {
        text-align: center;
    }
    
    .lp-hero-features {
        justify-content: center;
    }
    
    .lp-hero-social-proof {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .lp-hero-new {
        padding: 70px 0 40px;
        margin-top: 0;
    }
    
    .lp-hero-glow-purple {
        width: 300px;
        height: 300px;
        bottom: -150px;
        left: -150px;
    }
    
    .lp-hero-glow-green {
        width: 350px;
        height: 350px;
        top: -175px;
        right: -175px;
    }
    
    .lp-hero-grid {
        background-size: 30px 30px;
    }
    
    .lp-hero-inner-new {
        gap: 32px;
    }
    
    .lp-hero-media-new {
        display: flex;
        order: -1;
        margin-bottom: 0;
    }
    
    .lp-hero-illustration-wrapper {
        max-width: 100%;
        width: 100%;
    }
    
    .lp-hero-illustration {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .lp-badge-new {
        font-size: 13px;
        padding: 6px 14px;
        margin-bottom: 20px;
    }
    
    .lp-title-new {
        font-size: 36px;
        margin: 12px 0 20px;
        line-height: 1.3;
    }
    
    .lp-sub-new {
        font-size: 16px;
        margin-bottom: 28px;
        line-height: 1.6;
    }
    
    .lp-hero-input-group {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .lp-hero-input-wrapper {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        order: 1;
        margin-bottom: 0;
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .lp-hero-input {
        padding: 14px 18px;
        padding-right: 100px;
        font-size: 15px;
        width: 100%;
    }
    
    html[dir="rtl"] .lp-hero-input {
        padding-left: 100px;
        padding-right: 18px;
    }
    
    .lp-animated-product-name {
        right: 18px;
        font-size: 15px;
    }
    
    html[dir="rtl"] .lp-animated-product-name {
        left: 18px;
        right: auto;
    }
    
    .lp-btn-create-now {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
        order: 2;
    }
    
    .lp-hero-features {
        gap: 16px;
        margin-bottom: 24px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .lp-hero-feature-item {
        font-size: 13px;
    }
    
    .lp-hero-feature-item i {
        font-size: 15px;
    }
    
    .lp-hero-social-proof {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .lp-hero-customers-text {
        font-size: 13px;
    }
    
    .lp-hero-avatar {
        width: 36px;
        height: 36px;
    }
    
    .lp-hero-supported-platforms {
        margin-top: 40px;
        padding-top: 32px;
    }
    
    .lp-hero-platforms-title {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    html[dir="rtl"] .lp-hero-input {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .lp-hero-input::placeholder {
        color: #94A3B8;
    }
    
    html[dir="rtl"] .lp-hero-platforms-list {
        animation-duration: 28s;
    }
    
    .lp-hero-platform-icon {
        width: 50px;
        height: 50px;
    }
    
    .lp-hero-platform-icon i {
        font-size: 20px;
    }
    
    .lp-hero-platform-name {
        font-size: 12px;
    }
    
    .lp-hero-platform-item {
        min-width: 80px;
    }
}

@media (max-width: 640px) {
    .lp-hero-new {
        padding: 60px 0 40px;
    }
    
    .lp-hero-glow-purple {
        width: 250px;
        height: 250px;
        bottom: -125px;
        left: -125px;
    }
    
    .lp-hero-glow-green {
        width: 280px;
        height: 280px;
        top: -140px;
        right: -140px;
    }
    
    .lp-hero-inner-new {
        gap: 28px;
    }
    
    .lp-badge-new {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 16px;
    }
    
    .lp-title-new {
        font-size: 32px;
        margin: 10px 0 16px;
    }
    
    .lp-sub-new {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .lp-hero-input {
        padding: 12px 16px;
        padding-right: 90px;
        font-size: 14px;
    }
    
    html[dir="rtl"] .lp-hero-input {
        padding-left: 90px;
        padding-right: 16px;
    }
    
    .lp-animated-product-name {
        right: 16px;
        font-size: 14px;
    }
    
    html[dir="rtl"] .lp-animated-product-name {
        left: 16px;
    }
    
    .lp-btn-create-now {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .lp-hero-features {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .lp-hero-feature-item {
        font-size: 12px;
    }
    
    .lp-hero-illustration-wrapper {
        max-width: 100%;
    }
    
    .lp-hero-platform-icon {
        width: 45px;
        height: 45px;
    }
    
    .lp-hero-platform-icon i {
        font-size: 18px;
    }
    
    .lp-hero-platform-item {
        min-width: 70px;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .lp-hero-new {
        padding: 60px 0 30px;
        margin-top: 0;
    }
    
    .lp-hero-glow-purple {
        width: 200px;
        height: 200px;
        bottom: -100px;
        left: -100px;
    }
    
    .lp-hero-glow-green {
        width: 220px;
        height: 220px;
        top: -110px;
        right: -110px;
    }
    
    .lp-hero-grid {
        background-size: 25px 25px;
    }
    
    .lp-hero-inner-new {
        gap: 24px;
    }
    
    .lp-hero-media-new {
        display: flex;
        order: -1;
        margin-bottom: 0;
    }
    
    .lp-hero-illustration-wrapper {
        max-width: 100%;
        width: 100%;
    }
    
    .lp-hero-illustration {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .lp-badge-new {
        font-size: 11px;
        padding: 5px 10px;
        margin-bottom: 14px;
    }
    
    .lp-title-new {
        font-size: 28px;
        margin: 8px 0 14px;
        letter-spacing: -0.5px;
    }
    
    .lp-sub-new {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .lp-hero-input-group {
        gap: 10px;
        margin-bottom: 18px;
    }
    
    .lp-hero-input {
        padding: 12px 14px;
        padding-right: 80px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    html[dir="rtl"] .lp-hero-input {
        padding-left: 80px;
        padding-right: 14px;
    }
    
    .lp-animated-product-name {
        right: 14px;
        font-size: 13px;
    }
    
    html[dir="rtl"] .lp-animated-product-name {
        left: 14px;
    }
    
    .lp-btn-create-now {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .lp-hero-features {
        gap: 10px;
        margin-bottom: 18px;
    }
    
    .lp-hero-feature-item {
        font-size: 11px;
        gap: 5px;
    }
    
    .lp-hero-feature-item i {
        font-size: 13px;
    }
    
    .lp-hero-social-proof {
        gap: 10px;
    }
    
    .lp-hero-customers-text {
        font-size: 12px;
    }
    
    .lp-hero-avatar {
        width: 32px;
        height: 32px;
        border-width: 2px;
    }
    
    html[dir="rtl"] .lp-hero-avatar {
        margin-left: 0;
        margin-right: -6px;
    }
    
    .lp-hero-supported-platforms {
        margin-top: 32px;
        padding-top: 24px;
    }
    
    .lp-hero-platforms-title {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    html[dir="rtl"] .lp-hero-platforms-list {
        animation-duration: 25s;
    }
    
    .lp-hero-platform-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
    
    .lp-hero-platform-icon i {
        font-size: 16px;
    }
    
    .lp-hero-platform-name {
        font-size: 11px;
    }
    
    .lp-hero-platform-item {
        min-width: 60px;
        gap: 5px;
    }
    
    .lp-hero-platforms-list {
        gap: 30px;
    }
}

@media (max-width: 360px) {
    .lp-hero-new {
        padding: 40px 0 24px;
    }
    
    .lp-title-new {
        font-size: 24px;
        margin: 6px 0 12px;
    }
    
    .lp-sub-new {
        font-size: 13px;
        margin-bottom: 18px;
    }
    
    .lp-hero-input {
        padding: 10px 12px;
        padding-right: 70px;
        font-size: 13px;
    }
    
    html[dir="rtl"] .lp-hero-input {
        padding-left: 70px;
        padding-right: 12px;
    }
    
    .lp-animated-product-name {
        right: 12px;
        font-size: 12px;
    }
    
    html[dir="rtl"] .lp-animated-product-name {
        left: 12px;
    }
    
    .lp-btn-create-now {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .lp-hero-feature-item {
        font-size: 10px;
    }
    
    .lp-hero-platform-icon {
        width: 36px;
        height: 36px;
    }
    
    .lp-hero-platform-icon i {
        font-size: 14px;
    }
    
    .lp-hero-platform-item {
        min-width: 55px;
    }
}

/* ============================================
   NEW PRICING SECTION STYLES (Matching Image Design)
   ============================================ */

.lp-pricing-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.lp-price-card-new {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lp-price-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Popular Card (Middle) - Blue Background */
.lp-price-popular {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

/* Popular Badge */
.lp-popular-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    z-index: 10;
}

.lp-popular-badge i {
    font-size: 12px;
}

html[dir="rtl"] .lp-popular-badge {
    right: auto;
    left: 24px;
}

/* Price Header */
.lp-price-header-new {
    margin-bottom: 24px;
}

.lp-price-title-new {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    text-align: center;
}

/* Price Amount */
.lp-price-amount-new {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lp-price-number {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
}

.lp-price-currency {
    font-size: 24px;
    font-weight: 600;
    color: #4b5563;
    margin-right: 4px;
}

.lp-price-period-new {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    margin-right: 8px;
}

/* Features List */
.lp-price-features-new {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex-grow: 1;
}

.lp-price-features-new li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
}

.lp-feature-check {
    color: #10b981;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.lp-price-features-new li span {
    flex: 1;
}

/* Buttons */
.lp-btn-price {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lp-btn-outline-new {
    background: transparent;
    color: #3b82f6;
    border-color: #3b82f6;
}

.lp-btn-outline-new:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.lp-btn-primary-new:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.lp-btn-popular {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.lp-btn-popular:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

/* Free Plan Card */
.lp-price-free-new {
    background: #ffffff;
    border-color: #e5e7eb;
}

/* Responsive Design */
@media (max-width: 1024px) {
}

@media (max-width: 768px) {
    .lp-pricing-grid-new {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 16px;
    }
    
    .lp-price-card-new {
        padding: 28px 20px;
    }
    
    html[dir="rtl"] .lp-popular-badge {
        left: 16px;
    }
}

@media (max-width: 480px) {
    .lp-pricing-grid-new {
        gap: 20px;
        padding: 20px 12px;
    }
    
    .lp-price-card-new {
        padding: 24px 16px;
    }
    
    .lp-price-number {
        font-size: 36px;
    }
    
    .lp-price-currency {
        font-size: 20px;
    }
    
    .lp-price-title-new {
        font-size: 20px;
    }
}

/* Page Loading Bar */
.page-loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(135deg, #5561ff, #7a6bff);
    z-index: 9999;
    transition: width 0.3s ease;
    box-shadow: 0 2px 4px rgba(85, 97, 255, 0.3);
}

.page-loading-bar.loading {
    width: 100%;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

.page-loading-bar.complete {
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Pre-loader (before page opens) */
.pre-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.pre-loader-content {
    text-align: center;
}

.pre-loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #5561ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pre-loader-text {
    color: #5561ff;
    font-weight: 600;
    font-size: 16px;
}
/* User Dashboard Styles - Applied to both user and admin dashboards */
.user-dashboard {
  padding: 24px;
  background: #f7f9fc;
  min-height: calc(100vh - 80px);
  width: 100%;
}

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

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success {
  background: #10b981;
  color: #fff;
}

.badge-danger {
  background: #ef4444;
  color: #fff;
}

.badge-warning {
  background: #f59e0b;
  color: #fff;
}

.badge-info {
  background: #3b82f6;
  color: #fff;
}

/* Admin Dashboard - Reuse user dashboard styles */
.user-dashboard .ls-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}

.user-dashboard .ls-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2b6b;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

html[dir="rtl"] .user-dashboard,
[dir="rtl"] .user-dashboard {
  direction: rtl;
}

html[dir="ltr"] .user-dashboard,
[dir="ltr"] .user-dashboard {
  direction: ltr;
}

/* Dashboard Header */

.date-range-selector {
  display: flex;
  gap: 12px;
  align-items: center;
}

.date-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.date-input-group label {
  font-size: 14px;
  color: #6b7280;
  white-space: nowrap;
}

.date-input {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  width: 150px;
}

.date-icon {
  position: absolute;
  right: 12px;
  color: #999;
  pointer-events: none;
}

html[dir="rtl"] .date-icon,
[dir="rtl"] .date-icon {
  right: auto;
  left: 12px;
}

html[dir="ltr"] .date-icon,
[dir="ltr"] .date-icon {
  left: auto;
  right: 12px;
}

/* Statistics Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

.stat-icon-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.stat-icon-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.stat-icon-orange {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-icon-purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.stat-icon-red {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #1f2b6b;
  margin-bottom: 4px;
}

.stat-subvalue {
  font-size: 12px;
  color: #9ca3af;
}

/* Charts Grid */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}

.chart-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chart-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2b6b;
  margin-bottom: 20px;
}

.chart-placeholder {
  height: 300px;
  position: relative;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-label {
  font-size: 12px;
  color: #6b7280;
}

/* Legend dots for order statuses */

/* User Sidebar Styles - Applied to both user and admin sidebars */
.user-sidebar,
.ls-sidebar.user-sidebar {
  width: 280px;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: 2000;
  transition: transform 0.3s ease;
  left: 0;
  right: auto;
}

html[dir="rtl"] .user-sidebar,
[dir="rtl"] .user-sidebar {
  box-shadow: -2px 0 8px rgba(0,0,0,0.05);
  direction: rtl;
  right: 0;
  left: auto;
}

html[dir="ltr"] .user-sidebar,
[dir="ltr"] .user-sidebar {
  box-shadow: 2px 0 8px rgba(0,0,0,0.05);
  direction: ltr;
  left: 0;
  right: auto;
}

.sidebar-header {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo styles - base for all logos */
.logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #5561ff, #7a6bff);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  overflow: hidden;
}

/* Logo image styles */
.logo-image {
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Topbar logo override */
.ls-brand .logo {
  width: 36px;
  height: 36px;
  font-size: 16px;
}

/* Guest nav logo override */
.ls-guest-nav .logo {
  width: auto;
  height: auto;
  background: transparent;
  color: #2b60ff;
  font-size: 24px;
  font-weight: 900;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  color: #1f2b6b;
}

.ls-toggle-sidebar {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  color: #6b7280;
  font-size: 18px;
}

.menu-section {
  margin-bottom: 24px;
}

.section-title {
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: #374151;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

.menu-item:hover {
  background: #f3f4f6;
  color: #1f2b6b;
}

.menu-item.active {
  background: linear-gradient(90deg, rgba(85,97,255,0.1), transparent);
  color: #5561ff;
  font-weight: 600;
}

.menu-item.active::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #5561ff;
}

html[dir="ltr"] .menu-item.active::before,
[dir="ltr"] .menu-item.active::before {
  right: auto;
  left: 0;
}

html[dir="rtl"] .menu-item.active::before,
[dir="rtl"] .menu-item.active::before {
  left: auto;
  right: 0;
}

.menu-item .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.menu-item .label {
  flex: 1;
  font-size: 14px;
}

/* Badge styles for menu items - using general badge styles */
.ls-menu .badge {
  background: #ef4444;
  color: #fff;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  margin-left: auto;
}

.ls-menu .badge.badge-warning {
  background: #f59e0b;
  color: #fff;
}

.ls-menu .badge.badge-new {
  background: #10b981;
  color: #fff;
}

.ls-menu .badge.badge-danger {
  background: #ef4444;
  color: #fff;
}

.ls-menu .badge.badge-info {
  background: #3b82f6;
  color: #fff;
}

html[dir="rtl"] .ls-menu .badge,
[dir="rtl"] .ls-menu .badge {
  margin-left: 0;
  margin-right: auto;
}

html[dir="ltr"] .ls-menu .badge,
[dir="ltr"] .ls-menu .badge {
  margin-right: 0;
  margin-left: auto;
}

.plan-badge {
  background: #10b981;
  color: #fff;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: auto;
}

html[dir="rtl"] .plan-badge,
[dir="rtl"] .plan-badge {
  margin-right: 0;
  margin-left: auto;
}

html[dir="ltr"] .plan-badge,
[dir="ltr"] .plan-badge {
  margin-left: 0;
  margin-right: auto;
}

/* Wallet Balance Notification in Sidebar */
.sidebar-wallet-balance {
  padding: 8px 24px;
  margin: 0 21px 3px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  border-radius: 9px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.wallet-balance-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.wallet-balance-header i {
  font-size: 18px;
  opacity: 0.9;
}

.wallet-balance-label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wallet-balance-amount {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.wallet-balance-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.wallet-balance-link:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

.wallet-balance-link i {
  font-size: 12px;
}

.sidebar-footer {
  padding: 0px;
  border-top: 1px solid #e5e7eb;
}

.user-profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s;
  cursor: pointer;
}

.user-profile-info:hover {
  background-color: #f3f4f6;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5561ff, #9a8cff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.user-details {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-weight: 700;
  font-size: 14px;
  color: #1f2b6b;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-plan {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
}

.logout-form {
  width: 100%;
}

.logout-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #ef4444;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.logout-btn:hover {
  background: #fef2f2;
  border-color: #ef4444;
}

/* Fix main content margin for user sidebar - Applied to both user and admin - Desktop only */
@media (min-width: 769px) {
  html[dir="rtl"] .ls-main:not(.lp-main-full),
  [dir="rtl"] .ls-main:not(.lp-main-full) {
    margin-right: 280px !important;
    margin-left: 0 !important;
    width: calc(100% - 280px) !important;
    max-width: 100% !important;
    direction: rtl;
  }

  html[dir="ltr"] .ls-main:not(.lp-main-full),
  [dir="ltr"] .ls-main:not(.lp-main-full) {
    margin-left: 280px !important;
    margin-right: 0 !important;
    width: calc(100% - 280px) !important;
    max-width: 100% !important;
    direction: ltr;
  }
}

/* Fix margins on mobile screens */
@media (max-width: 768px) {
  html[dir="rtl"] .ls-main,
  [dir="rtl"] .ls-main {
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html[dir="ltr"] .ls-main,
  [dir="ltr"] .ls-main {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Topbar Mobile */
  .ls-brand h2 {
    font-size: 14px;
    max-width: 120px;
  }

  .ls-brand .logo {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* Responsive - Mobile Sidebar */
@media (max-width: 768px) {
  /* Show sidebar toggle button on mobile */
  .sidebar-toggle {
    display: flex !important;
  }

  /* Hide sidebar by default on mobile */
  .ls-sidebar.user-sidebar,
  .user-sidebar {
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
    width: 280px;
    max-width: 85vw;
  }

  /* RTL: Hide sidebar on the right side */
  html[dir="rtl"] .ls-sidebar.user-sidebar:not(.open),
  [dir="rtl"] .ls-sidebar.user-sidebar:not(.open),
  html[dir="rtl"] .user-sidebar:not(.open),
  [dir="rtl"] .user-sidebar:not(.open) {
    transform: translateX(100%) !important;
  }

  /* LTR: Hide sidebar on the left side */
  html[dir="ltr"] .ls-sidebar.user-sidebar:not(.open),
  [dir="ltr"] .ls-sidebar.user-sidebar:not(.open),
  html[dir="ltr"] .user-sidebar:not(.open),
  [dir="ltr"] .user-sidebar:not(.open) {
    transform: translateX(-100%) !important;
  }

  /* Show sidebar when open class is added - Must come after RTL/LTR rules */
  html[dir="rtl"] .ls-sidebar.user-sidebar.open,
  [dir="rtl"] .ls-sidebar.user-sidebar.open,
  html[dir="rtl"] .user-sidebar.open,
  [dir="rtl"] .user-sidebar.open,
  html[dir="ltr"] .ls-sidebar.user-sidebar.open,
  [dir="ltr"] .ls-sidebar.user-sidebar.open,
  html[dir="ltr"] .user-sidebar.open,
  [dir="ltr"] .user-sidebar.open,
  .ls-sidebar.user-sidebar.open,
  .user-sidebar.open {
    transform: translateX(0) !important;
    opacity: 1;
  }

  /* Ensure sidebar is on top when open */
  .ls-sidebar.user-sidebar,
  .user-sidebar {
    z-index: 2000 !important;
  }

  /* Ensure menu scroll works on mobile */
  .ls-menu {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
  }

  /* Improve menu items on mobile */
  .ls-menu a {
    padding: 12px 10px;
    font-size: 14px;
  }

  .ls-menu .section {
    margin-bottom: 16px;
  }

  /* Sidebar header and footer on mobile */
  .sidebar-header,
  .sidebar-footer {
    padding: 14px;
    flex-shrink: 0;
  }

  /* Prevent body scroll when sidebar is open */
  body.sidebar-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
  }
  
  .ls-app.sidebar-open {
    overflow: hidden !important;
  }

  /* Sidebar Overlay - separate element created by JavaScript */
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1998;
    visibility: hidden;
  }
  
  .sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  
  /* Ensure sidebar is always above overlay and fully clickable */
  .ls-sidebar.user-sidebar,
  .user-sidebar {
    z-index: 2000 !important;
  }
  
  /* All elements inside sidebar should be clickable */
  .ls-sidebar.user-sidebar *,
  .user-sidebar * {
    pointer-events: auto !important;
    position: relative;
  }
  
  /* Make sure sidebar when open is above everything */
  .ls-sidebar.user-sidebar.open,
  .user-sidebar.open {
    z-index: 2001 !important;
  }

  html[dir="rtl"] .ls-main:not(.lp-main-full),
  [dir="rtl"] .ls-main:not(.lp-main-full),
  html[dir="ltr"] .ls-main:not(.lp-main-full),
  [dir="ltr"] .ls-main:not(.lp-main-full) {
    margin-right: 0;
    margin-left: 0;
  }

  /* Enhanced mobile responsiveness for dashboard */

  .ls-card-title {
    font-size: 20px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  /* Table responsiveness */

  table {
    font-size: 13px;
  }

  table td, table th {
    padding: 10px 8px;
  }

  /* Button responsiveness */
  .btn, button, input[type="submit"] {
    font-size: 14px;
    padding: 8px 12px;
    width: 100%;
    margin-bottom: 8px;
  }

  .btn-group {
    flex-direction: column;
    gap: 8px;
  }

  .btn-group button,
  .btn-group a.btn {
    width: 100%;
  }

  /* Form responsiveness */

  .form-row {
    flex-direction: column;
  }

  .form-row .form-group {
    width: 100%;
  }

  /* Modal responsiveness */

  /* Flex layouts on mobile */

  /* Grid layouts */
  .grid {
    grid-template-columns: 1fr !important;
  }

  /* Table responsiveness */

  table {
    font-size: 13px;
  }

  table td, table th {
    padding: 10px 8px;
  }

  /* Button responsiveness */
  .btn, button, input[type="submit"] {
    font-size: 14px;
    padding: 8px 12px;
    width: 100%;
    margin-bottom: 8px;
  }

  .btn-group button,
  .btn-group a.btn {
    width: 100%;
  }

  /* Form responsiveness */

  .form-row .form-group {
    width: 100%;
  }

  /* Modal responsiveness */

  /* Flex layouts on mobile */

  /* Grid layouts */

  /* Topbar responsive */

  /* Hide non-essential elements on very small screens */
  @media (max-width: 480px) {

    table {
      font-size: 12px;
    }

    table td, table th {
      padding: 8px 6px;
    }

    .btn, button, input[type="submit"] {
      font-size: 13px;
      padding: 6px 10px;
    }

    
    .sidebar-menu {
      max-height: calc(100vh - 150px);
      overflow-y: auto;
    }
    
    /* Dashboard Mobile Fixes */
    
    /* Tables and Data Lists */
    .ls-table {
      font-size: 12px;
    }
    
    .ls-table th,
    .ls-table td {
      padding: 8px;
    }
    
    /* Modal responsive */
    
    .modal-header {
      padding: 12px;
    }
    
    .modal-body {
      padding: 12px;
    }
  }
}

/* Profile Page Styles - extends user-dashboard base */
.profile-page {
  padding: 24px;
  background: #f7f9fc;
  min-height: 100vh;
}

html[dir="rtl"] .profile-page,
[dir="rtl"] .profile-page {
  direction: rtl;
}

html[dir="ltr"] .profile-page,
[dir="ltr"] .profile-page {
  direction: ltr;
}

.profile-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid #e5e7eb;
}

.tab-item {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
  cursor: pointer;
}

.tab-item:hover {
  color: #374151;
}

.tab-item.active {
  color: #5561ff;
  border-bottom-color: #5561ff;
  font-weight: 600;
}

.profile-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.profile-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2b6b;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.profile-title .fa {
  color: #5561ff;
}

.edit-link {
  color: #5561ff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.edit-link:hover {
  color: #3b82f6;
}

.profile-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.profile-field {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.field-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 8px;
  color: #5561ff;
  flex-shrink: 0;
}

.field-content {
  flex: 1;
}

.field-label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  color: #1f2b6b;
  background: #fff;
  transition: all 0.3s;
}

.field-input:read-only {
  background: #f9fafb;
  border-color: transparent;
}

.field-input:focus {
  outline: none;
  border-color: #5561ff;
  background: #fff;
}

.field-value {
  font-size: 14px;
  font-weight: 600;
  color: #1f2b6b;
}

.profile-status {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  font-size: 14px;
  font-weight: 600;
}

.status-item .fa {
  font-size: 16px;
}

/* Form actions - extends base styles from landing-saas.css */
.form-actions.visible {
  display: flex;
}

.form-actions:not(.visible) {
  display: none;
}

/* Settings and Translations Tabs */
.settings-tab-content,
.translations-tab-content {
  display: none;
}

.settings-tab-content.active,
.translations-tab-content.active {
  display: block;
}

/* Profile tabs content */
[data-tab-content] {
  display: none;
}

[data-tab-content].active {
  display: block;
}

/* Logo preview */
.logo-preview {
  margin-top: 15px;
}

.logo-preview-image {
  max-width: 300px;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
}

.text-danger {
  color: #dc2626;
}

.text-warning {
  color: #f59e0b;
}

/* Translations form styles */
.form-section-spacing {
  margin-top: 24px;
}

.translations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.section-divider {
  margin: 30px 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

.translations-scrollable {
  max-height: 600px;
  overflow-y: auto;
}

.form-actions-spacing {
  margin-top: 20px;
}

/* Container fluid no padding */
.container-fluid-no-padding {
  padding: 0;
}

/* reCAPTCHA Version Fields */
.recaptcha-version-fields {
  margin-top: 20px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.recaptcha-version-fields h4 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #1f2b6b;
  font-size: 18px;
  font-weight: 600;
}

/* Subscription Plans Page Styles - extends user-dashboard base */
.subscription-plans-page {
  padding: 24px;
  background: #f7f9fc;
  min-height: 100vh;
}

html[dir="rtl"] .subscription-plans-page,
[dir="rtl"] .subscription-plans-page {
  direction: rtl;
}

html[dir="ltr"] .subscription-plans-page,
[dir="ltr"] .subscription-plans-page {
  direction: ltr;
}

/* Unified Page Header Styles */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 16px 0;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.page-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title i {
    font-size: 28px;
    color: var(--primary);
    flex-shrink: 0;
}

[dir="rtl"] .page-title i {
    order: 2;
}

.page-subtitle {
    color: var(--muted);
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Responsive Page Header */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .page-header-left,
    .page-header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .page-title i {
        font-size: 24px;
    }
}

/* Fixed Help Icon */
.fixed-help-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #6F62F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(111, 98, 245, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    cursor: pointer;
}

[dir="rtl"] .fixed-help-icon {
    right: auto;
    left: 30px;
}

.fixed-help-icon:hover {
    background: #5a4fd8;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(111, 98, 245, 0.5);
}

.fixed-help-icon:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    
    [dir="rtl"] .fixed-help-icon {
        right: auto;
        left: 20px;
    }
}

/* Control Panel Section */
.control-panel-section {
    margin-bottom: 24px;
}

.control-panel-title {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
    margin: 0;
    text-transform: none;
}

/* Performance Mode Indicator */
.performance-mode-indicator,
.page-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600, #6b7280);
    margin-top: 8px;
}

.performance-mode-indicator i,
.page-info i {
    color: var(--primary-color, #3b82f6);
}

/* Page Header Action Buttons */
.btn-send-message,
.btn-create-ticket,
.btn-view-tickets {
    padding: 14px 28px;
    background: #1f2b6b;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-send-message:hover,
.btn-create-ticket:hover:not(.disabled) {
    background: #1a2360;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 43, 107, 0.3);
}

.btn-send-message i,
.btn-create-ticket i,
.btn-view-tickets i {
    font-size: 16px;
}

.btn-view-tickets:hover {
    background: #374151;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(75, 85, 99, 0.3);
}

.btn-create-ticket.disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.wallet-topup-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.topup-form-wrapper {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.topup-form {
  max-width: 100%;
}

.subscription-plans-page .section-title:not(:first-of-type) {
  margin-top: 32px;
}

.current-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.usage-card,
.plan-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2b6b;
  margin-bottom: 16px;
}

.usage-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.usage-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.usage-label {
  font-size: 14px;
  color: #6b7280;
}

.usage-value {
  font-size: 14px;
  font-weight: 600;
  color: #1f2b6b;
}

.btn-view-details {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #5561ff, #7a6bff);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-view-details:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(85, 97, 255, 0.3);
}

.plan-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.plan-info-item .fa {
  color: #5561ff;
  font-size: 18px;
  margin-top: 2px;
}

.info-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: #1f2b6b;
}

.expiry-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.expiry-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.expiry-date {
  font-size: 18px;
  font-weight: 700;
  color: #1f2b6b;
}

.warning-message {
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #92400e;
  margin-bottom: 24px;
}

.warning-message .fa {
  font-size: 18px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.plan-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.plan-card.current-plan {
  background: linear-gradient(180deg, #eff6ff 0%, #fff 20%);
  border: 2px solid #3b82f6;
}

.current-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #3b82f6;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

html[dir="ltr"] .current-badge,
[dir="ltr"] .current-badge {
  right: auto;
  left: 16px;
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  color: #1f2b6b;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 18px;
  font-weight: 600;
  color: #5561ff;
  margin-bottom: 20px;
}

.unlimited-badge {
  display: inline-block;
  background: #10b981;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
  color: #374151;
}

.plan-features .fa-check {
  color: #10b981;
  font-size: 14px;
}

.plan-features li.call-center-feature {
  background: linear-gradient(135deg, rgba(85, 97, 255, 0.1), rgba(122, 107, 255, 0.1));
  padding: 10px 12px;
  border-radius: 8px;
  margin: 4px 0;
  border-left: 3px solid #5561ff;
}

.plan-features li.call-center-feature i {
  color: #5561ff;
  font-size: 16px;
}

.plan-features li.call-center-feature strong {
  color: #5561ff;
  font-weight: 600;
}

/* Landing Page Call Center Features */
.lp-price-features-new li.lp-call-center-feature {
  background: linear-gradient(135deg, rgba(85, 97, 255, 0.1), rgba(122, 107, 255, 0.1));
  padding: 10px 12px;
  border-radius: 8px;
  margin: 4px 0;
  border-left: 3px solid #5561ff;
}

.lp-price-features-new li.lp-call-center-feature i {
  color: #5561ff;
  font-size: 16px;
}

.lp-price-features-new li.lp-call-center-feature strong {
  color: #5561ff;
  font-weight: 600;
}

.btn-subscribe {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #5561ff, #7a6bff);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-subscribe:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(85, 97, 255, 0.3);
}

.btn-subscribe.current {
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}

/* Plan Actions for Admin */
.plan-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.plan-action-form {
  margin: 0;
  width: 100%;
}

.plan-action-btn {
  width: 100%;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.plan-action-edit {
  background: linear-gradient(90deg, #5561ff, #7a6bff);
  color: #fff;
}

.plan-action-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(85, 97, 255, 0.3);
}

.plan-action-delete {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  color: #fff;
}

.plan-action-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Transactions Page Styles - extends user-dashboard base */
.transactions-page {
  padding: 24px;
  background: #f7f9fc;
  min-height: 100vh;
}

html[dir="rtl"] .transactions-page,
[dir="rtl"] .transactions-page {
  direction: rtl;
}

html[dir="ltr"] .transactions-page,
[dir="ltr"] .transactions-page {
  direction: ltr;
}

.balance-banner {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  color: #fff;
}

.balance-content {
  text-align: center;
}

.balance-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.balance-amount .fa {
  font-size: 32px;
  opacity: 0.8;
}

.btn-recharge {
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-recharge:hover {
  background: rgba(255, 255, 255, 0.3);
}

.transactions-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid #e5e7eb;
}

.transactions-tabs .tab-item {
  padding: 12px 24px;
  color: #6b7280;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
  cursor: pointer;
}

.transactions-tabs .tab-item:hover {
  color: #374151;
}

.transactions-tabs .tab-item.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
  font-weight: 600;
}

.filter-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-input {
  flex: 1;
  min-width: 200px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
}

.btn-show-filters {
  padding: 10px 20px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-show-filters:hover {
  background: #e5e7eb;
}

.transactions-table-wrapper {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
}

.transactions-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.transactions-table thead {
  background: #f9fafb;
}

.transactions-table th {
  padding: 16px;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  border-bottom: 1px solid #e5e7eb;
}

html[dir="ltr"] .transactions-table th,
[dir="ltr"] .transactions-table th {
  text-align: left;
}

.transactions-table td {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #374151;
}

.transactions-table tbody tr:hover {
  background: #f9fafb;
}

.status-paid {
  background: #d1fae5;
  color: #065f46;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-failed {
  background: #fee2e2;
  color: #991b1b;
}

.text-center {
  text-align: center;
  padding: 40px;
  color: #9ca3af;
}

/* Responsive Styles for Profile, Packages, Transactions */
@media (max-width: 768px) {

  .transactions-table th,
  .transactions-table td {
    padding: 8px;
  }

}

@media (max-width: 480px) {
  .profile-page,
  .subscription-plans-page,

  .profile-card,
  .usage-card,
  .plan-info-card,

}

/* Inline form styles */
.inline-form {
  display: inline;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-success {
  background: #10b981;
  color: #fff;
}

.btn-success:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-info {
  background: #3b82f6;
  color: #fff;
}

.btn-info:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-warning {
  background: #f59e0b;
  color: #fff;
}

.btn-warning:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-danger {
  background: #ef4444;
  color: #fff;
}

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Pages Index Styles */

.pages-breadcrumb-item.active {
  color: #10b981;
  font-weight: 600;
}

.pages-breadcrumb-item.active i {
  color: #10b981;
}

.btn-create-page {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-create-page:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-settings {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-settings:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.view-toggle {
  display: flex;
  gap: 4px;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.view-btn {
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.3s;
}

.view-btn:hover {
  background: #f3f4f6;
  color: #1f2b6b;
}

/* Upgrade Banner */
.upgrade-banner {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.upgrade-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.upgrade-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

.upgrade-text {
  flex: 1;
  min-width: 250px;
}

.upgrade-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.5;
}

.upgrade-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.upgrade-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
  gap: 12px;
}

.upgrade-lock {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.upgrade-quality {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
}

/* Filter Section */

.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2b6b;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  color: #1f2b6b;
  background: #fff;
  cursor: pointer;
}

/* Pages Grid */
.pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  overflow: visible;
}

.pages-grid.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  overflow: visible;
}

.pages-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: visible;
}

.pages-grid.list-view .page-card-new {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.pages-grid.list-view .page-card-new > * {
  flex: 1;
}

.page-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s;
}

.page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.page-card-header {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.page-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2b6b;
  margin: 0;
  flex: 1;
}

.page-card-actions {
  display: flex;
  gap: 8px;
}

.page-action-btn {
  background: transparent;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.3s;
}

.page-action-btn:hover {
  background: #f3f4f6;
  color: #3b82f6;
}

.page-card-content {
  padding: 16px;
}

.page-card-description {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.page-card-footer {
  padding: 12px 16px;
  background: #f9fafb;
  border-top: 1px solid #f0f0f0;
}

.page-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9ca3af;
}

/* Empty State */

.empty-state-content {
  max-width: 600px;
  margin: 0 auto;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
  color: #fff;
}

.empty-state-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2b6b;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.empty-state-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-create-first {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-create-first:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-watch-video {
  background: #fff;
  color: #3b82f6;
  border: 2px solid #3b82f6;
  border-radius: 8px;
  padding: 14px 28px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-watch-video:hover {
  background: #3b82f6;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.empty-state-footer {
  margin-top: 32px;
}

.merchant-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}

/* RTL Support for Pages */
html[dir="rtl"] .pages-actions,
[dir="rtl"] .pages-actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .upgrade-footer,
[dir="rtl"] .upgrade-footer {
  flex-direction: row-reverse;
}

html[dir="rtl"] .pages-filter-section,
[dir="rtl"] .pages-filter-section {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  
  .btn-create-page,
  
  .btn-create-first,
}

/* Product Form Additional Styles */
.image-upload-required {
  background: #fef9c3;
  border: 2px solid #fde047;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
  color: #713f12;
  font-size: 14px;
  font-weight: 500;
}

.image-upload-area {
  background: #fef9c3;
  border: 2px solid #fde047;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.image-upload-area.drag-over {
  border-color: #facc15;
  background: #fef9c3;
}

.image-upload-area i {
  font-size: 48px;
  color: #ca8a04;
  margin-bottom: 16px;
}

.image-upload-area p {
  color: #713f12;
  margin-bottom: 16px;
  font-weight: 500;
}

.product-version {
  font-size: 14px;
  margin-bottom: 8px;
  opacity: 0.9;
}

.product-version-number {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

/* Products List/Grid View */
.dashboard-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #1f2b6b;
  margin: 8px 0 0 0;
}

.btn-add-product {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-add-product:hover {
  background: #2563eb;
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  background: #10b981;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 20px;
  text-align: center;
}

.product-image-placeholder .product-version {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.9;
}

.product-image-placeholder .product-version-number {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.product-edit-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.product-edit-btn:hover {
  background: #2563eb;
}

html[dir="rtl"] .product-edit-btn {
  right: auto;
  left: 8px;
}

.product-info {
  padding: 16px;
}

.product-name {
  font-size: 18px;
  font-weight: 700;
  color: #1f2b6b;
  margin: 0 0 8px 0;
}

.product-description {
  font-size: 12px;
  color: #9ca3af;
  margin: 0 0 12px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: #10b981;
  margin: 0 0 4px 0;
}

.product-shipping {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 8px 0;
}

.product-date {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: #6b7280;
}

@media (max-width: 768px) {

}

/* Product Form Styles */
.product-form-container {
  padding: 0;
  background: #fff;
  min-height: calc(100vh - 80px);
  position: relative;
}

.user-dashboard .product-form-container {
  background: #fff;
}

.product-form-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  padding: 24px 24px 0 24px;
}

.close-btn {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s;
  flex-shrink: 0;
}

.close-btn:hover {
  background: #2563eb;
}

.product-form-title-group {
  flex: 1;
}

.product-form-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2b6b;
  margin: 0;
  margin-top: 8px;
}

.product-form-card {
  background: transparent;
  border-radius: 0;
  padding: 0 24px 24px 24px;
  box-shadow: none;
  margin-bottom: 0;
}

.product-form-card .form-group {
  margin-bottom: 28px;
}

.product-form-card .form-label {
  font-weight: 600;
  color: #1f2b6b;
  font-size: 15px;
}

.product-form-card .form-control {
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.input-with-counter {
  position: relative;
}

.char-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  color: #6b7280;
}

html[dir="rtl"] .char-counter {
  right: auto;
  left: 12px;
}

.form-help {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

.form-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #ef4444;
}

.image-upload-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: #fef9c3;
  border-radius: 12px;
  margin-bottom: 16px;
  color: #854d0e;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #fde047;
}

.image-upload-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.btn-upload-device {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-upload-device:hover {
  background: #2563eb;
}

.btn-add-image-link {
  background: #8b5cf6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-add-image-link:hover {
  background: #7c3aed;
}

.image-drop-zone {
  border: 2px dashed #fde047;
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  background: #fef9c3;
  transition: all 0.3s;
  cursor: pointer;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.image-drop-zone.drag-over {
  border-color: #facc15;
  background: #fef3c7;
  border-style: solid;
}

.image-drop-zone i {
  font-size: 40px;
  color: #ca8a04;
  margin-bottom: 12px;
}

.image-drop-zone p {
  color: #854d0e;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
}

.image-drop-zone p:first-of-type {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.btn-select-images {
  background: #facc15;
  color: #854d0e;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-select-images:hover {
  background: #eab308;
  color: #713f12;
}

.image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.image-preview-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-image {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.remove-image:hover {
  background: #ef4444;
}

html[dir="rtl"] .remove-image {
  right: auto;
  left: 8px;
}

/* Upgrade Banner Speed Indicator */
.upgrade-speed-indicator {
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.speed-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.speed-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.speed-fill {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  border-radius: 4px;
  transition: width 0.3s;
}

/* Page Form Styles */
.page-form-container {
  padding: 24px;
  background: #f7f9fc;
  min-height: calc(100vh - 80px);
}

.page-form-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.page-form-title-group {
  flex: 1;
}

.page-form-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2b6b;
  margin: 8px 0 8px 0;
}

.page-form-description {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.page-form-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}

.form-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2b6b;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #1f2b6b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #fef3c7;
  border-radius: 8px;
  margin-top: 8px;
  color: #92400e;
  font-size: 14px;
}

.form-warning i {
  color: #f59e0b;
}

/* Collapsible Sections */
.collapsible-section .section-header-toggle {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.collapsible-section .section-header-toggle .form-section-title {
  margin-bottom: 0;
}

.toggle-icon {
  transition: transform 0.3s;
  color: #6b7280;
}

.collapsible-section .section-content {
  margin-top: 20px;
  display: none;
}

.collapsible-section .section-content.show {
  display: block;
}

/* Form Info Box */
.form-info-box {
  background: #f9fafb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  color: #3b82f6;
  margin-top: 2px;
  flex-shrink: 0;
}

.info-item.tip i {
  color: #f59e0b;
}

.info-item.tip {
  background: #fef3c7;
  padding: 12px;
  border-radius: 6px;
  color: #92400e;
}

.info-item.tip strong {
  color: #78350f;
}

/* Form Type Buttons */
.form-type-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.form-type-btn {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #e0e0e0;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  transition: all 0.3s;
}

.form-type-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.form-type-btn.active {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #3b82f6;
}

/* Form Fields Buttons */
.form-fields-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.field-btn {
  padding: 10px 16px;
  border: 2px solid #3b82f6;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.field-btn:hover {
  background: #eff6ff;
}

.field-btn i {
  font-size: 12px;
}

/* Selected Fields */

.selected-field-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #eff6ff;
  border: 1px solid #3b82f6;
  border-radius: 6px;
  font-size: 14px;
  color: #3b82f6;
  font-weight: 500;
}

.remove-field-btn {
  background: transparent;
  border: none;
  color: #3b82f6;
  cursor: pointer;
  padding: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.remove-field-btn:hover {
  background: #3b82f6;
  color: #fff;
}

/* Create Page Submit Button */
.btn-create-page-submit {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-create-page-submit:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* RTL Support for Page Form */
html[dir="rtl"] .form-type-buttons,
[dir="rtl"] .form-type-buttons {
  flex-direction: row-reverse;
}

html[dir="rtl"] .form-fields-buttons,
[dir="rtl"] .form-fields-buttons {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  
}

/* Additional Sales Settings Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.modal-overlay.show,
.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2b6b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s;
}

.modal-close:hover {
  background: #f3f4f6;
  color: #1f2b6b;
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 24px;
}

.modal-tab {
  background: transparent;
  border: none;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.modal-tab:hover {
  color: #1f2b6b;
}

.modal-tab.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}

.modal-content {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  flex-shrink: 0;
}

.modal-section {
  margin-bottom: 24px;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2b6b;
  margin: 0 0 12px 0;
}

.modal-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.modal-section-content {
  color: #6b7280;
  line-height: 1.6;
}

.modal-section-content p {
  margin: 0 0 12px 0;
}

.modal-list {
  margin: 12px 0;
  padding-right: 20px;
  color: #6b7280;
}

.modal-list li {
  margin-bottom: 8px;
}

.modal-highlight {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-right: 4px solid #3b82f6;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #1e40af;
  font-weight: 500;
}

.modal-highlight i {
  color: #8b5cf6;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-section-note {
  color: #6b7280;
  font-size: 14px;
  margin: 8px 0 0 0;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.3s;
  border-radius: 26px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #3b82f6;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.modal-tip {
  background: #fef3c7;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}

.modal-tip i {
  color: #f59e0b;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-tip-content {
  color: #92400e;
  font-size: 14px;
  line-height: 1.6;
}

.modal-tip-content strong {
  color: #78350f;
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-modal-cancel {
  background: #fff;
  color: #6b7280;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-modal-cancel:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.btn-modal-save {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-modal-save:hover {
  background: #2563eb;
}

.btn-modal-save:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

/* RTL Support for Modal */
html[dir="rtl"] .modal-tabs,
[dir="rtl"] .modal-tabs {
  flex-direction: row-reverse;
}

html[dir="rtl"] .modal-section-header,
[dir="rtl"] .modal-section-header {
  flex-direction: row-reverse;
}

html[dir="rtl"] .modal-highlight,
[dir="rtl"] .modal-highlight {
  border-right: none;
  border-left: 4px solid #3b82f6;
}

html[dir="rtl"] .modal-list,
[dir="rtl"] .modal-list {
  padding-right: 0;
  padding-left: 20px;
}

html[dir="rtl"] .modal-footer,
[dir="rtl"] .modal-footer {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  
}

/* Feature Locked Styles */
.feature-locked {
  opacity: 0.7;
  position: relative;
}

.feature-locked .form-control:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.feature-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

html[dir="rtl"] .feature-badge,
[dir="rtl"] .feature-badge {
  margin-right: 0;
  margin-left: 8px;
}

/* Admin Package Features */
.features-section {
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border: 1px solid #e5e7eb;
}

.features-section .form-group {
  margin-bottom: 15px;
}

.features-section label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
  color: #374151;
}

.features-section label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.features-section label i {
  color: #6b7280;
  width: 20px;
}

/* Plan Tracking Features */
.plan-tracking-features {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.tracking-features-title {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}

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

.tracking-features-list li {
  padding: 5px 0;
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tracking-features-list li i {
  font-size: 14px;
}

.text-success {
  color: #10b981;
}

/* Admin Tables and Details */

.filter-form {
  width: 100%;
}

.filter-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.filter-actions {
  display: flex;
  gap: 10px;
}

.table-container {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background: #f9fafb;
}

.data-table th {
  padding: 12px 16px;
  text-align: right;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
  border-bottom: 2px solid #e5e7eb;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 14px;
}

.data-table tbody tr:hover {
  background: #f9fafb;
}

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

.user-info {
  display: flex;
  flex-direction: column;
}

.user-email {
  color: #9ca3af;
  font-size: 12px;
}

.badge-primary {
  background: #dbeafe;
  color: #1e40af;
}

.badge-secondary {
  background: #e5e7eb;
  color: #374151;
}

.details-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.details-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-item label {
  font-weight: 600;
  color: #6b7280;
  font-size: 13px;
}

.detail-item span {
  color: #374151;
  font-size: 15px;
}

.page-link {
  color: #3b82f6;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.page-link:hover {
  text-decoration: underline;
}

.code-value {
  background: #f3f4f6;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
}

.description-content {
  color: #374151;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Custom Form Fields - Hidden by default */
#custom-form-fields {
    display: none;
}

#custom-form-fields.active,
#custom-form-fields:not(.hidden) {
    display: block;
}

/* File Input - Hidden by default */
#image_files {
    display: none;
}

/* reCAPTCHA Version Fields - Hidden by default */

/* Translations Scrollable Container */

/* RTL Support */
html[dir="rtl"] .data-table th,
html[dir="rtl"] .data-table td,
[dir="rtl"] .data-table th,
[dir="rtl"] .data-table td {
  text-align: right;
}

html[dir="ltr"] .data-table th,
html[dir="ltr"] .data-table td,
[dir="ltr"] .data-table th,
[dir="ltr"] .data-table td {
  text-align: left;
}

@media (max-width: 768px) {
  
  .data-table th,
  .data-table td {
    padding: 8px;
  }
  
}

/* Admin Subscriptions Styles */
.pending-wallet-payments-card {
  margin-bottom: 20px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
}

.pending-wallet-payments-card .chart-title {
  color: #92400e;
}

.transfer-receipt-image {
  max-width: 100px;
  max-height: 100px;
  border-radius: 4px;
  cursor: pointer;
}

.transfer-receipt-image:hover {
  opacity: 0.8;
}

.inline-form + .inline-form {
  margin-left: 5px;
}

.receipt-view-btn {
  margin-right: 5px;
}

/* Landing Page Settings Styles */

.platform-item,
.social-media-item {
  background: #f8f9fa;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.platform-item label:first-of-type,
.social-media-item label:first-of-type {
  display: block;
  margin-bottom: 5px;
}

.platform-item .form-group label,
.social-media-item .form-group label {
  margin-top: 25px;
}

.platform-item .remove-platform,
.social-media-item .remove-social-media {
  margin-top: 25px;
  width: 100%;
}

/* User AI Analytics Styles */
.date-filter-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-apply-date-filter {
  padding: 8px 16px;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-apply-date-filter:hover {
  background: #2563eb;
}

/* User Pages Index Styles */
.speed-progress-fill {
  width: 25%;
}

.speed-progress-filled {
  width: 70%;
}

.page-menu-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1001;
  overflow: hidden;
}

html[dir="rtl"] .page-menu-dropdown {
  right: auto;
  left: 0;
}

.page-menu-dropdown.active {
  display: block;
}

/* Menu items in dropdown */
.page-menu-dropdown .menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid #f1f5f9;
}

.page-menu-dropdown .menu-item:last-child {
  border-bottom: none;
}

.page-menu-dropdown .menu-item:hover {
  background: #f8fafc;
  color: #1e293b;
}

.page-menu-dropdown .menu-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-menu-dropdown .menu-item i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: #64748b;
}

.page-menu-dropdown .menu-item:hover i {
  color: #1e293b;
}

.page-menu-dropdown .menu-item-form {
  margin: 0;
  padding: 0;
}

.page-menu-dropdown .menu-item-form .menu-item {
  margin: 0;
  padding: 10px 16px;
}

.page-link-btn.preview {
  background-color: #f59e0b;
  color: white;
}

.generation-error {
  display: block;
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 5px;
}
/* User Dashboard Extended Styles */
/* Additional styles for dashboard overview and usage sections */

.account-overview-section {
    margin-bottom: 30px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.overview-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
}

.overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.overview-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.wallet-card .overview-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.package-card .overview-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.products-card .overview-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pages-card .overview-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.call-center-card .overview-icon {
    background: linear-gradient(135deg, #5561ff, #4f46e5);
}

.overview-content {
    flex: 1;
}

.overview-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 5px;
}

.overview-value {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 5px;
}

.overview-subvalue {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.overview-link {
    font-size: 12px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.overview-link:hover {
    text-decoration: underline;
}

.package-usage-section {
    margin-bottom: 30px;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.usage-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.usage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.usage-progress {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.usage-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.3s ease;
    border-radius: 4px;
}

.usage-footer {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}

.usage-footer i {
    color: #5561ff;
}

.unread-notification {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
}

.notification-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.notification-icon-wrapper:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {

}
/* Common User Interface Styles */
/* This file contains shared styles used across user pages */

/* ============================================
   Common Components
   ============================================ */

/* Headers */

/* Action Buttons */
.pages-actions,

.btn-create-page,

.btn-create-page span,
.btn-settings span {
    font-weight: 600;
}

.btn-create-page:hover,
.btn-add-product:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-settings:hover {
    background: #2563eb;
}

/* View Toggle */

.view-btn:hover:not(.active) {
    border-color: #3b82f6;
    background: #eff6ff;
}

/* Upgrade Banner */

.upgrade-banner > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upgrade-banner button {
    background: white;
    color: #667eea;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.upgrade-banner button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Filter Section */
.pages-filter-section,
.products-filter-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.filter-header:hover {
    background: #f3f4f6;
}

.filter-header #filterChevron {
    transition: transform 0.3s ease;
    color: #6b7280;
}

.filter-content {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.filter-content.show {
    display: block;
}

#filterChevron.rotated {
    transform: rotate(180deg);
}

/* Filter Form */
.filter-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

/* Filter Buttons */
.btn-apply-filters {
    background: #3b82f6;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-apply-filters:hover {
    background: #2563eb;
    transform: translateY(-2px);
    
}

.btn-clear-filters {
    background: white;
    color: #3b82f6;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #3b82f6;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-clear-filters:hover {
    background: #eff6ff;
}

/* Cards */
.page-card,

.page-card:hover,
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Action Buttons in Cards */
.btn-edit,
.btn-preview,
.btn-publish {
    flex: 1;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-edit {
    background: #3b82f6;
}

.btn-preview {
    background: #10b981;
}

.btn-edit:hover,
.btn-preview:hover,
.btn-publish:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Empty State */
.pages-empty-state,

.btn-create-first:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Toggle Switch */

.toggle-slider span {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    right: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #3b82f6;
}

/* Modal Styles */

.modal-close:hover {
    color: #374151;
}

.btn-modal-cancel:hover {
    background: #eff6ff;
}

.btn-modal-save:hover {
    background: #2563eb;
}

/* Menu Dropdown */

.menu-item:hover {
    background: #f9fafb;
}

.menu-item:last-child {
    border-bottom: none;
}

/* Filter Header Title */

/* Filter Form Row */
.filter-form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group label i {
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .pages-header,
    .pages-actions,

    .filter-form-grid,

    .pages-grid,
}
/* User Modals Styles */

/* Create Link Modal Specific */

/* Current Links Section */
#currentLinksSection {
    display: none;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

#currentLinksSection.show {
    display: block;
}

.current-links-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.current-links-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-hide-links {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-hide-links:hover {
    color: #374151;
}

#linksList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: white;
    border-radius: 6px;
}

.link-url {
    color: #374151;
}

.btn-copy-link {
    background: #3b82f6;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-copy-link:hover {
    background: #2563eb;
}

/* Link Creation Form */
.link-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link-form-group {
    display: flex;
    flex-direction: column;
}

.link-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.step-number {
    background: #3b82f6;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.link-form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.link-form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Naming Requirements */
.naming-requirements {
    background: #fef3c7;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-right: 4px solid #f59e0b;
}

.naming-requirements-content {
    display: flex;
    align-items: start;
    gap: 10px;
}

.naming-requirements-icon {
    color: #f59e0b;
    margin-top: 2px;
}

.naming-requirements-title {
    color: #92400e;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.naming-requirements-text {
    color: #78350f;
    margin: 0;
    font-size: 14px;
}

/* Custom Domains Section */
.custom-domains-section {
    margin-top: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.custom-domains-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.custom-domains-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-domains-chevron {
    color: #6b7280;
    cursor: pointer;
}

.custom-domains-description {
    color: #6b7280;
    margin-bottom: 15px;
}

.btn-link-domain {
    background: #3b82f6;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-link-domain:hover {
    background: #2563eb;
}

/* Tracking IDs Modal */
.tracking-ids-description {
    color: #6b7280;
    margin-bottom: 20px;
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tracking-form-group {
    display: flex;
    flex-direction: column;
}

.tracking-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.tracking-form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.tracking-form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tracking-form-input:disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Feature Locked Styles for Tracking IDs */
.tracking-form-group.feature-locked {
    opacity: 0.7;
}

.tracking-form-group.feature-locked .tracking-form-input:disabled {
    background-color: #f9fafb;
    border-color: #e5e7eb;
}

html[dir="rtl"] .feature-badge {
    margin-right: 0;
    margin-left: 8px;
}

.form-warning i {
    color: #f59e0b;
    font-size: 14px;
}

/* Info Note */
.info-note {
    background: #eff6ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: start;
    gap: 10px;
}

.info-note-icon {
    color: #3b82f6;
    margin-top: 2px;
}

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

.info-note-text {
    color: #1e40af;
    margin: 0;
    font-size: 14px;
}

.btn-info-details {
    background: transparent;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    margin-top: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.btn-info-details:hover {
    color: #2563eb;
}

/* Page Settings Modal */
.settings-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.settings-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.settings-section-content {
    flex: 1;
}

.settings-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-section-description {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.settings-section-note {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
}

/* Fixed Order Button Settings */
#fixedOrderButtonSettings {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

#fixedOrderButtonSettings.show {
    display: block;
}

.button-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.button-setting-group {
    display: flex;
    flex-direction: column;
}

.button-setting-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #374151;
}

.button-setting-input,
.button-setting-select {
    width: 100%;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.button-setting-input[type="color"] {
    padding: 4px;
    height: 40px;
}

.button-setting-input:focus,
.button-setting-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
}

/* User Messages Styles */

.btn-send-message,
.btn-create-ticket,

.btn-send-message:hover,
.btn-create-ticket:hover:not(.disabled) {
    background: #1a2360;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 43, 107, 0.3);
}

.btn-send-message i,
.btn-create-ticket i,
.btn-view-tickets i {
    font-size: 16px;
}

.btn-view-tickets:hover {
    background: #374151;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(75, 85, 99, 0.3);
}

.messages-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
    flex-wrap: wrap;
}

.message-tab {
    padding: 12px 20px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.message-tab:hover {
    color: #1f2b6b;
}

.message-tab.active {
    color: #1f2b6b;
    border-bottom-color: #1f2b6b;
}

.message-tab .badge {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    background: #e5e7eb;
    color: #6b7280;
}

.message-tab .badge.badge-new {
    background: #ef4444;
    color: #fff;
}

.messages-filter-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-input-group {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.filter-input-group i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

html[dir="ltr"] .filter-input-group i {
    left: 12px;
}

html[dir="rtl"] .filter-input-group i {
    right: 12px;
}

.filter-input-group .filter-input {
    width: 100%;
    padding: 10px 12px;
    padding-left: 36px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

html[dir="rtl"] .filter-input-group .filter-input {
    padding-left: 12px;
    padding-right: 36px;
}

.btn-filter {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    background: #1f2b6b;
    color: #fff;
}

.btn-filter:hover {
    background: #1a2360;
}

.btn-clear {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    background: #f3f4f6;
    color: #6b7280;
    text-decoration: none;
    display: inline-block;
}

.btn-clear:hover {
    background: #e5e7eb;
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s;
    border-left: 4px solid transparent;
}

.message-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.message-item.unread {
    border-left-color: #1f2b6b;
    background: #f8fafc;
}

.message-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 16px;
    flex-wrap: wrap;
}

.message-item-left {
    flex: 1;
    min-width: 0;
}

.message-sender {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.message-sender strong {
    color: #1f2b6b;
    font-size: 16px;
}

.message-email {
    color: #6b7280;
    font-size: 14px;
}

.message-subject {
    margin-bottom: 8px;
}

.message-subject a {
    color: #1f2b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: block;
}

.message-subject a:hover {
    text-decoration: underline;
}

.message-order {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
    margin-top: 6px;
}

.message-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.message-date {
    color: #9ca3af;
    font-size: 13px;
    white-space: nowrap;
}

.message-status {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.status-new {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-read {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.status-replied {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.status-closed {
    background: #f3f4f6;
    color: #6b7280;
}

.message-replies-count {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 13px;
}

.message-preview {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.empty-state i {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.empty-state h3 {
    color: #1f2b6b;
    margin-bottom: 8px;
}

.empty-state p {
    color: #6b7280;
}

.messages-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.pagination-wrapper {
    margin-top: 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
}

.pagination-wrapper nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-wrapper nav a,
.pagination-wrapper nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #374151;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.pagination-wrapper nav a:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #1f2937;
}

.pagination-wrapper nav span {
    color: #6b7280;
    cursor: default;
}

.pagination-wrapper nav .active span {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.pagination-wrapper nav .disabled span {
    color: #9ca3af;
    cursor: not-allowed;
    background: #f9fafb;
    border-color: #e5e7eb;
}

@media (max-width: 640px) {
    .pagination-wrapper nav {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .pagination-wrapper nav a,
    .pagination-wrapper nav span {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* Message Detail Styles */

.btn-back {
    padding: 8px 16px;
    background: #f3f4f6;
    color: #1f2b6b;
    text-decoration: none;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-back:hover {
    background: #e5e7eb;
}

    font-size: 28px;
    font-weight: 700;
    color: #1f2b6b;
    margin: 0;
}

.message-detail-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.message-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.message-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.message-info-left {
    flex: 1;
    min-width: 0;
}

.message-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.meta-item i {
    color: #9ca3af;
    width: 16px;
}

.link-order {
    color: #1f2b6b;
    text-decoration: none;
    margin-left: 8px;
    font-weight: 500;
}

html[dir="rtl"] .link-order {
    margin-left: 0;
    margin-right: 8px;
}

.link-order:hover {
    text-decoration: underline;
}

.message-info-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.status-select {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.message-content {
    margin-top: 24px;
}

.message-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2b6b;
    margin-bottom: 12px;
}

.message-text {
    color: #374151;
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Replies Section */
.replies-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.replies-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2b6b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.replies-count {
    color: #6b7280;
    font-weight: 400;
}

.replies-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.reply-item {
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #e5e7eb;
}

.reply-item.user-reply {
    background: #eff6ff;
    border-left-color: #3b82f6;
}

.reply-item.customer-reply {
    background: #f9fafb;
    border-left-color: #6b7280;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.reply-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1f2b6b;
}

.reply-author i {
    color: #6b7280;
}

.reply-date {
    color: #9ca3af;
    font-size: 13px;
}

.reply-content {
    color: #374151;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.no-replies {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}

.no-replies i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.reply-form-container {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.reply-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.reply-form-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2b6b;
}

.btn-toggle-message-type {
    padding: 8px 16px;
    background: #f3f4f6;
    color: #1f2b6b;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-toggle-message-type:hover {
    background: #e5e7eb;
    color: #1a2360;
}

.new-message-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.new-message-form .form-group {
    margin-bottom: 16px;
}

.required {
    color: #ef4444;
}

.reply-form-container h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2b6b;
    margin-bottom: 16px;
}

.reply-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reply-form-container .form-actions {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.reply-form-container .form-actions button {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert i {
    flex-shrink: 0;
    margin-top: 2px;
}

/* RTL Support */
html[dir="rtl"] .message-item,
[dir="rtl"] .message-item {
    border-left: none;
    border-right: 4px solid transparent;
}

html[dir="rtl"] .message-item.unread,
[dir="rtl"] .message-item.unread {
    border-right-color: #1f2b6b;
}

html[dir="rtl"] .reply-item,
[dir="rtl"] .reply-item {
    border-left: none;
    border-right: 4px solid #e5e7eb;
}

html[dir="rtl"] .reply-item.user-reply,
[dir="rtl"] .reply-item.user-reply {
    border-right-color: #3b82f6;
}

html[dir="rtl"] .reply-item.customer-reply,
[dir="rtl"] .reply-item.customer-reply {
    border-right-color: #6b7280;
}

/* Order Details Modal */

.order-details-modal {
    max-width: 700px;
}

.loading-spinner i {
    font-size: 48px;
    color: #1f2b6b;
    margin-bottom: 16px;
    display: block;
}

.loading-spinner p,
.error-message p {
    color: #6b7280;
    font-size: 16px;
}

.error-message i {
    font-size: 48px;
    color: #ef4444;
    margin-bottom: 16px;
    display: block;
}

.order-details-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.order-detail-section {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
}

.order-detail-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2b6b;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-detail-section h3 i {
    color: #6b7280;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.order-detail-grid .detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-detail-grid .detail-item label {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    text-transform: capitalize;
}

.order-detail-grid .detail-item span {
    font-size: 15px;
    color: #374151;
}

.order-detail-grid .detail-item strong {
    color: #1f2b6b;
    font-weight: 600;
}

.btn-view-order-modal {
    background: none;
    border: none;
    color: #1f2b6b;
    text-decoration: none;
    margin-left: 8px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 14px;
}

html[dir="rtl"] .btn-view-order-modal {
    margin-left: 0;
    margin-right: 8px;
}

.btn-view-order-modal:hover {
    background: #eff6ff;
    color: #1a2360;
}

.btn-view-order-modal i {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {

    .message-item-header,

    .message-item-right,

    .btn-send-message {
        width: 100%;
        justify-content: center;
    }

}
/* User Support Styles */

/* AI Helper Section */
.support-ai-section {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.support-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f2b6b;
    margin: 0 0 8px 0;
}

.support-section-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 24px 0;
}

.support-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
}

html[dir="rtl"] .search-icon {
    left: auto;
    right: 16px;
}

.support-search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

html[dir="rtl"] .support-search-input {
    padding: 14px 48px 14px 16px;
}

.support-search-input:focus {
    outline: none;
    border-color: #1f2b6b;
    box-shadow: 0 0 0 3px rgba(31, 43, 107, 0.1);
}

.btn-search-faq {
    padding: 14px 24px;
    background: #1f2b6b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.btn-search-faq:hover {
    background: #1a2360;
    transform: translateY(-1px);
}

/* FAQ Suggestions */
.faq-suggestions {
    margin-top: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.faq-suggestions-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2b6b;
    margin: 0 0 16px 0;
}

.faq-suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-suggestion-item {
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-suggestion-item:hover {
    background: #f3f4f6;
    border-color: #1f2b6b;
}

.faq-suggestion-text {
    color: #374151;
    font-size: 14px;
    flex: 1;
}

.faq-suggestion-item i {
    color: #9ca3af;
    font-size: 12px;
}

/* FAQ Answer Box */
.faq-answer-box {
    margin-top: 24px;
    padding: 24px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

.faq-answer-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2b6b;
    margin: 0 0 16px 0;
}

.faq-answer-content {
    color: #374151;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    white-space: pre-wrap;
}

.faq-answer-footer {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6b7280;
    font-size: 13px;
}

/* FAQ Section */
.support-faq-section {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item.active {
    border-color: #1f2b6b;
}

.faq-question {
    padding: 16px 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-question-text {
    flex: 1;
    color: #374151;
    font-weight: 500;
    font-size: 15px;
}

.faq-toggle-icon {
    color: #9ca3af;
    transition: transform 0.2s;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 20px !important;
    max-height: 2000px !important;
    opacity: 1 !important;
    overflow: visible !important;
    display: block !important;
}

/* Contact Section */
.support-contact-section {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.social-contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.social-contact-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.social-contact-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.social-contact-item i {
    font-size: 20px;
    color: #1f2b6b;
    width: 24px;
    text-align: center;
}

.social-contact-item span {
    color: #374151;
    font-size: 14px;
}

/* Recent Tickets */
.support-recent-tickets {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tickets-preview-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-preview-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.ticket-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ticket-number {
    font-weight: 600;
    color: #1f2b6b;
    font-size: 14px;
}

/* Tickets List (Shared between Admin and User) */
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.ticket-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #1f2b6b;
}

.ticket-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ticket-item-left {
    flex: 1;
    min-width: 0;
}

.ticket-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.ticket-number-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.ticket-number-title strong {
    color: #1f2b6b;
    font-size: 14px;
}

.ticket-subject {
    color: #374151;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
}

.ticket-subject:hover {
    color: #1f2b6b;
    text-decoration: underline;
}

.ticket-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 13px;
}

.ticket-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-status {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.ticket-status.status-open {
    background: #fef3c7;
    color: #92400e;
}

.ticket-status.status-in_progress {
    background: #dbeafe;
    color: #1e40af;
}

.ticket-status.status-resolved {
    background: #d1fae5;
    color: #065f46;
}

.ticket-status.status-closed {
    background: #f3f4f6;
    color: #6b7280;
}

.ticket-priority {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.priority-low {
    background: #e5e7eb;
    color: #374151;
}

.priority-medium {
    background: #dbeafe;
    color: #1e40af;
}

.priority-high {
    background: #fef3c7;
    color: #92400e;
}

.priority-urgent {
    background: #fee2e2;
    color: #991b1b;
}

.ticket-preview {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.ticket-user,
.ticket-date,
.ticket-replies-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 13px;
}

.ticket-assigned {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.ticket-preview-subject {
    color: #374151;
    font-size: 14px;
    margin-bottom: 8px;
}

.ticket-preview-link {
    color: #1f2b6b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticket-preview-link:hover {
    text-decoration: underline;
}

/* Alert Styles */
.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Responsive */
@media (max-width: 768px) {

    .btn-create-ticket,

}

/* ============================================
   User Orders Page - Modern Professional Design
   Based on the design shown in the image
   ============================================ */

/* Collapsible sections */
.collapsible-body {
    display: none;
}

.collapsible-body.active {
    display: block;
}

/* Quantity and Variations Styles */
.quantity-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quantity-value {
    font-weight: 600;
    font-size: 16px;
    color: var(--gray-900);
}

.variations-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.variation-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.size-badge {
    background: #dbeafe;
    color: #1e40af;
}

.size-badge i {
    font-size: 10px;
}

.color-badge {
    background: #fce7f3;
    color: #9f1239;
}

.color-badge i {
    font-size: 10px;
}

/* Control Panel Section */

/* Export Button */
.export-button-wrapper {
    margin-bottom: 24px;
    display: flex;
    justify-content: flex-end;
}

.btn-export-data {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--success-color);
    color: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.btn-export-data:hover {
    background: var(--success-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-export-data i {
    font-size: 16px;
}

/* Filter Card */
.filter-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    overflow: hidden;
}

.filter-card-header {
    background: var(--primary-color);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.filter-card-header:hover {
    background: var(--primary-dark);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-card-header i:first-child {
    font-size: 18px;
}

.collapsible-header.active .toggle-icon {
    transform: rotate(180deg);
}

.filter-card-body {
    padding: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.collapsible-body.open {
    max-height: 5000px;
    padding: 24px;
    display: block !important;
}

.filter-group-full {
    grid-column: 1 / -1;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-input::placeholder {
    color: var(--gray-400);
}

.btn-apply-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-apply-filter:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-reset-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reset-filter:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

/* Performance Card */
.performance-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    overflow: hidden;
}

.performance-card-header {
    background: var(--primary-color);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.performance-card-header:hover {
    background: var(--primary-dark);
}

.performance-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.performance-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.performance-card-header i {
    font-size: 18px;
}

.performance-mode-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.btn-refresh-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-refresh-small:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg);
}

.btn-refresh-small i {
    font-size: 14px;
    font-weight: 500;
    margin-right: auto;
}

.performance-card-body {
    padding: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.performance-estimated-time {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 8px;
}

.performance-estimated-time i {
    color: var(--primary-color);
    font-size: 16px;
}

.performance-presets {
    margin-bottom: 24px;
}

.performance-presets-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 16px 0;
}

.performance-presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.performance-preset {
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: white;
}

.performance-preset:hover {
    border-color: var(--primary-color);
    background: var(--gray-50);
}

.performance-preset.active {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.preset-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.preset-description {
    font-size: 12px;
    color: var(--gray-600);
}

.custom-settings {
    margin-bottom: 24px;
}

.custom-settings-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 16px 0;
}

.custom-settings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-setting-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.custom-setting-item:hover {
    background: var(--gray-50);
}

.custom-setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.custom-setting-item span {
    font-size: 14px;
    color: var(--gray-700);
}

.performance-info {
    background: var(--gray-50);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
}

.performance-info i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 2px;
}

.performance-info ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.performance-info li {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

.performance-actions {
    display: flex;
    gap: 12px;
}

.btn-apply-settings {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-apply-settings:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-reset-settings {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reset-settings:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

/* Orders List Section */
.orders-list-section {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

.orders-table-wrapper {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead {
    background: var(--gray-50);
}

.orders-table th {
    padding: 12px 16px;
    text-align: right;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-200);
}

.orders-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    color: var(--gray-700);
}

.orders-table tbody tr:hover {
    background: var(--gray-50);
}

.status-badge.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-processing {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.status-shipped {
    background: #e0e7ff;
    color: #3730a3;
}

.status-badge.status-delivered {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.status-failed_delivery {
    background: #f3f4f6;
    color: #374151;
}

.status-badge.status-postponed {
    background: #fed7aa;
    color: #9a3412;
}

/* Status Update Dropdown */
.status-update-dropdown {
    position: relative;
    display: inline-block;
}

.btn-status-update {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-status-update:hover {
    background: var(--primary-dark);
}

.status-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    min-width: 200px;
    display: none;
}

.status-form {
    padding: 10px;
}

/* Empty State */
.empty-orders-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.empty-icon i {
    font-size: 40px;
    color: var(--gray-400);
}

.empty-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 12px 0;
}

.empty-description {
    font-size: 14px;
    color: var(--gray-600);
    max-width: 500px;
    margin: 0;
    line-height: 1.6;
}

/* RTL Support */
[dir="rtl"] .orders-table th,
[dir="rtl"] .orders-table td {
    text-align: right;
}

[dir="ltr"] .orders-table th,
[dir="ltr"] .orders-table td {
    text-align: left;
}

[dir="rtl"] .filter-actions,
[dir="rtl"] .performance-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .export-button-wrapper {
    justify-content: flex-start;
}

/* Session Data Cell */
.session-data-cell {
    min-width: 200px;
}

.session-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.info-value.session-id {
    color: var(--primary-color);
    font-weight: 500;
}

/* Location Cell */
.location-cell {
    min-width: 120px;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
    font-size: 13px;
}

.location-info i {
    color: var(--danger-color);
    font-size: 14px;
}

/* Device Type Cell */
.device-type-cell {
    min-width: 120px;
}

.device-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}

.device-badge i {
    font-size: 14px;
}

.device-badge.device-mobile {
    background: #dbeafe;
    color: #1e40af;
}

.device-badge.device-tablet {
    background: #fef3c7;
    color: #92400e;
}

.device-badge.device-desktop {
    background: #e0e7ff;
    color: #3730a3;
}

/* No Data */
.no-data {
    color: var(--gray-400);
    font-style: italic;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {

    .orders-table th,
    .orders-table td {
        padding: 8px;
    }

    .session-data-cell,
    .location-cell,

}
/* User Packages Styles */

/* Current Plan Grid */

.usage-card,

}

.plan-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.plan-info-item i {
    font-size: 24px;
    color: #3b82f6;
    margin-top: 5px;
}

/* Warning Message */

.warning-message i {
    font-size: 20px;
    color: #f59e0b;
}

    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.plan-card.pay-as-you-go {
    border-color: #10b981;
}

.plan-card.pay-as-you-go .plan-name {
    color: #10b981;
}

/* Package Details Modal */
#packageDetailsModal {
    display: none;
}

#packageDetailsModal.show {
    display: flex;
}

.package-details-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
}

.details-section {
    margin-bottom: 30px;
}

.details-section:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 500;
    color: #6b7280;
    font-size: 14px;
}

.detail-value {
    color: #111827;
    font-size: 16px;
}

.usage-limits-grid {
    display: grid;
    gap: 20px;
}

.limit-item {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.limit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.limit-label {
    font-weight: 500;
    color: #374151;
}

.limit-value {
    font-weight: 600;
    color: #111827;
}

.limit-progress {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.limit-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* Upgrade Required Page Styles */
.upgrade-required-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.upgrade-message {
    font-size: 1.2rem;
    margin-top: 1rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {

}
/* User Pages Form Styles */

.templates-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.template-option {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.template-option:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.template-option.selected {
    border-color: #3b82f6;
    background: #eff6ff;
}

.template-option input[type="radio"] {
    display: none;
}

.template-preview {
    height: 120px;
    background: #f3f4f6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
}

.template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-preview i {
    font-size: 32px;
    color: #9ca3af;
}

.template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-option label {
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: block;
}

.form-group-spacing {
    margin-top: 20px;
}

/* Tab Navigation */
.page-creation-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;

}

.tab-btn:hover {
    color: #3b82f6;
}

.tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Tab Button Disabled State */

.tab-btn.disabled .fa-lock {
    font-size: 0.8em;
    margin-right: 5px;
}

/* Alert Styles */

.alert.alert-info .fa-info-circle {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 10px;
}

.alert.alert-info h3 {
    margin: 10px 0;
    color: #1e40af;
}

.alert.alert-info p {
    margin: 10px 0;
    color: #1e3a8a;
}

.alert.alert-info .btn {
    margin-top: 15px;
    padding: 12px 24px;
    background: #3b82f6;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
}

/* AI Info Box */
.page-form-card.ai-info-box {
    background: #eff6ff;
    border: 1px solid #3b82f6;
}

.info-item .fa-brain {
    color: #3b82f6;
    font-size: 24px;
    margin-top: 2px;
}

.info-item h4 {
    margin: 0 0 8px 0;
    color: #1e40af;
    font-weight: 600;
}

.info-item p {
    margin: 0;
    color: #1e40af;
    line-height: 1.6;
}

.info-item ul {
    margin: 10px 0 0 20px;
    color: #1e40af;
    line-height: 1.8;
}

.form-help.text-muted {
    color: #6b7280;
    display: block;
    margin-top: 4px;
}

/* Template Option Label */
.template-option label {
    cursor: pointer;
}

/* Toggle Section */
.toggle-section-btn {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-section-btn .form-section-title {
    margin: 0;
}

.section-content {
    display: none;
}

.section-content.show,
.section-content.active {
    display: block;
}

/* Custom Form Fields */
.custom-form-fields-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.custom-form-fields-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

#selected-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 40px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
}

.form-help.spacing {
    margin-bottom: 20px;
}

/* Variation Preview */
.variation-preview {
    display: block;
}

/* Close Button */

.close-btn:hover {
    color: #1f2937;
}

/* Tab Button Disabled Lock Icon */

.btn-upgrade:hover {
    background: #2563eb;
}

/* Variation Preview */

.variation-preview.show {
    display: block;
}

/* Custom Form Fields Hidden */
#custom-form-fields.hidden {
    display: none;
}

/* Product Variations Modal Styles */
.modal-content .variation-item {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.modal-content .variation-item-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.modal-content .variation-item-content:has(.variation-value-input) {
    grid-template-columns: 1fr 1fr auto;
}

.modal-content .variation-preview {
    grid-column: 1 / -1;
    margin-top: 10px;
}

.modal-content .variation-preview img {
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.modal-content .btn-remove-variation {
    padding: 8px 12px;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-content .btn-remove-variation:hover {
    background: #fecaca;
}

@media (max-width: 768px) {
    .modal-content .variation-item-content {
        grid-template-columns: 1fr;
    }
}

/* Inline styles moved from blade */

.lock-icon {
    font-size: 0.8em;
    margin-right: 5px;
}

.btn-upgrade {
    margin-top: 15px;
    padding: 12px 24px;
    background: #3b82f6;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
}

.info-item i {
    color: #3b82f6;
    font-size: 24px;
    margin-top: 2px;
}

.info-item h4 {
    margin: 0 0 8px 0;
    color: #1e40af;
    font-weight: 600;
}

.info-item p {
    margin: 0;
    color: #1e40af;
    line-height: 1.6;
}

.info-item ul {
    margin: 10px 0 0 20px;
    color: #1e40af;
    line-height: 1.8;
}

.product-variations-help {
    margin-bottom: 20px;
}

.template-option label {
    cursor: pointer;
}

.toggle-section-btn .form-section-title {
    margin: 0;
}

.custom-form-fields {
    display: none;
}

.custom-form-fields.active,
.custom-form-fields:not(.hidden) {
    display: block;
}

#selected-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 40px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
}

.variation-preview.has-image {
    display: block;
}

/* ============================================
   New Pages Design - Matching Images
   ============================================ */

/* Control Panel Section */

/* Progress Steps Card */
.progress-steps-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.progress-steps-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.progress-steps-icon {
    font-size: 24px;
    color: #6366f1;
}

.progress-steps-info {
    flex: 1;
    min-width: 200px;
}

.progress-steps-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

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

.progress-percentage {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}

.progress-percentage i {
    font-size: 16px;
}

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
}

.step-item.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.step-circle-upgrade {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}

.step-item.completed .step-circle-upgrade {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

.step-circle i {
    font-size: 14px;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.step-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.step-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.step-action-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.step-action-btn i {
    font-size: 12px;
}

.step-upgrade-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-upgrade-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    width: fit-content;
}

.step-upgrade-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.step-upgrade-btn i {
    font-size: 12px;
}

.step-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ef4444;
    font-size: 13px;
    margin: 0;
}

.step-warning i {
    font-size: 14px;
}

/* Landing Pages Section */
.landing-pages-section {
    margin-bottom: 32px;
}

.landing-pages-header {
    margin-bottom: 24px;
}

.landing-pages-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.landing-pages-icon {
    color: #10b981;
    font-size: 24px;
}

/* Upgrade Speed Banner */
.upgrade-speed-banner {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #ffffff;
}

.upgrade-speed-icon {
    font-size: 28px;
    color: #fbbf24;
    flex-shrink: 0;
    margin-top: 4px;
}

.upgrade-speed-content {
    flex: 1;
}

.upgrade-speed-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.upgrade-speed-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.upgrade-speed-desc {
    font-size: 14px;
    margin: 0 0 16px 0;
    opacity: 0.95;
}

.speed-progress {
    margin-top: 16px;
}

.speed-progress-label {
    font-size: 13px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.speed-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.speed-progress-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* Upgrade Conversion Banner */
.upgrade-conversion-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    color: #ffffff;
}

.upgrade-conversion-text {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #FFFFFF;
}

.upgrade-conversion-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.upgrade-conversion-desc {
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
        color: #FFFFFF;

}

/* Action Buttons */
.landing-pages-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.action-btn-primary {
    background: #3b82f6;
    color: #ffffff;
}

.action-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.action-btn-secondary {
    background: #3b82f6;
    color: #ffffff;
}

.action-btn-secondary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

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

.action-btn-secondary i:last-child {
    margin-left: 8px;
}

/* Upgrade Results Banner */
.upgrade-results-banner {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.upgrade-results-icon {
    font-size: 24px;
    color: #fbbf24;
    flex-shrink: 0;
}

.upgrade-results-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.upgrade-results-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.upgrade-results-desc {
    font-size: 14px;
    color: #94a3b8;
}

/* View Controls */
.pages-view-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.view-toggle-btn {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.view-toggle-btn:hover {
    color: #1e293b;
    background: #ffffff;
}

.view-toggle-btn.active {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-section-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

.filter-section-toggle i:first-child {
    color: #64748b;
}

.filter-show-select {
    border: none;
    background: transparent;
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.filter-content-collapsible {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    display: none;
}

.page-card-new {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: visible;
}

.page-card-new:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Three Dots Menu */
.page-card-menu-dots {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 100;
}

html[dir="rtl"] .page-card-menu-dots {
    right: auto;
    left: 16px;
}

.page-menu-dots-btn {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s;
}

.page-menu-dots-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}


/* Generation Status in Menu */
.menu-generation-status {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.menu-generation-status-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.menu-generation-status-header i {
    font-size: 14px;
    color: #3b82f6;
}

.menu-generation-progress {
    width: 100%;
    height: 3px;
    background-color: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.menu-generation-progress .generation-progress-bar {
    height: 100%;
}

/* Page Card Top Actions */
.page-card-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.page-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.page-link-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.page-link-btn i {
    font-size: 14px;
}

.page-status-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.page-status-badge.published {
    background: #10b981;
    color: #ffffff;
}

/* Page Title */
.page-card-title-new {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

/* Page Date */
.page-card-date-new {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

/* Page Actions */
.page-card-actions-new {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.page-action-delete {
    background: #ef4444;
    color: #ffffff;
}

.page-action-delete:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.page-action-stats {
    background: #3b82f6;
    color: #ffffff;
}

.page-action-stats:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.page-action-edit {
    background: #3b82f6;
    color: #ffffff;
}

.page-action-edit:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.page-action-publish {
    background: #10b981;
    color: #ffffff;
}

.page-action-publish:hover:not(:disabled) {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.page-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #94a3b8;
}

.page-action-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.page-action-btn i {
    font-size: 14px;
}

.delete-form {
    display: inline;
}

.publish-form {
    display: inline;
}

.menu-item-publish {
    color: #10b981;
}

.menu-item-publish:hover {
    background: #d1fae5;
    color: #059669;
}

/* Empty State - New Design */
.pages-empty-state-new {
    text-align: center;
    padding: 80px 32px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.empty-state-title-new {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.empty-state-actions-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.empty-state-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.empty-state-btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.empty-state-btn-primary i {
    font-size: 18px;
}

.empty-state-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.empty-state-btn-secondary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.empty-state-btn-secondary i {
    font-size: 20px;
    color: #ef4444;
}

.empty-state-info {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px 0;
}

.empty-state-avatars {
    display: flex;
    justify-content: center;
    gap: -8px;
    align-items: center;
}

.empty-state-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #ffffff;
    margin-left: -8px;
}

html[dir="rtl"] .empty-state-avatar {
    margin-left: 0;
    margin-right: -8px;
}

.empty-state-avatar:first-child {
    margin-left: 0;
}

html[dir="rtl"] .empty-state-avatar:first-child {
    margin-right: 0;
}

/* Responsive */
@media (max-width: 768px) {

    .control-panel-title,
}

@media (max-width: 480px) {

    .empty-state-btn-primary,
}

/* Generation Status Indicator */
.generation-status-container {
    margin-top: 10px;
    width: 100%;
}

.generation-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.generation-progress {
    width: 100%;
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.generation-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: progressAnimation 1.5s linear infinite;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.generation-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s linear infinite;
}

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

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

@media (max-width: 768px) {
    
}
/* User Products Styles */

/* Product Card Specific */

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder > div {
    width: 80px;
    height: 80px;
    background: #3b82f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.product-image-placeholder > div i {
    font-size: 32px;
    color: white;
}

.product-image-placeholder > div:last-child {
    color: #3b82f6;
    font-weight: 700;
    font-size: 14px;
    background: transparent;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-edit-btn i {
    color: #3b82f6;
    font-size: 14px;
}

.product-edit-btn:hover {
    background: #3b82f6;
    transform: scale(1.1);
}

.product-edit-btn:hover i {
    color: white;
}

.btn-landing-page,
.btn-create-landing-page {
    flex: 1;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-landing-page {
    background: #3b82f6;
}

.btn-landing-page:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-create-landing-page:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.no-products i {
    font-size: 64px;
    color: #d1d5db;
    margin-bottom: 20px;
    display: block;
}

.no-products p {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
}
/* User Transactions Styles */

/* Balance Banner */

.balance-amount i {
    font-size: 28px;
}

.btn-recharge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Tabs */

.tab-item:hover {
    color: #3b82f6;
}

/* Filter Section */

    color: #1f2937;
}

.filter-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-show-filters:hover {
    background: #2563eb;
}

/* Table Wrapper */

.transactions-table-wrapper[data-tab-content="invoices"] {
    display: none;
}

.transactions-table-wrapper.active {
    display: block;
}

/* Transactions Table */

.transactions-table thead {
    background: #f9fafb;
}

.transactions-table th {
    padding: 12px;
    text-align: right;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    font-size: 14px;
}

html[dir="ltr"] .transactions-table th {
    text-align: left;
}

.transactions-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 14px;
}

.transactions-table tbody tr:hover {
    background: #f9fafb;
}

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

/* Responsive */
@media (max-width: 768px) {

    .transactions-table th,
    .transactions-table td {
        padding: 8px;
    }

}

/* Pending Wallet Payments Section */
.pending-payments-section {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.pending-payments-section h3 {
    margin-bottom: 15px;
    color: #92400e;
}

.pending-payment-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pending-payment-item > div:first-child {
    flex: 1;
}

.pending-payment-amount {
    font-weight: 600;
    margin-bottom: 5px;
}

.pending-payment-details {
    font-size: 14px;
    color: #6b7280;
}

.pending-payment-receipt-link {
    margin-top: 10px;
}

.pending-payment-receipt-link .btn {
    padding: 5px 10px;
    font-size: 12px;
}

.pending-payment-badge {
    background: #f59e0b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Webhooks Management - User Page Styles */

/* Tabs Navigation */
.webhooks-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 2rem;
    padding: 0;
}

.webhook-tab {
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    position: relative;
    top: 2px;
}

.webhook-tab:hover {
    color: #5561ff;
}

.webhook-tab.active {
    color: #5561ff;
    border-bottom-color: #5561ff;
}

.webhook-tab i {
    font-size: 1rem;
}

/* Content Area */
.webhooks-content {
    min-height: 400px;
}

/* Statistics Grid */
.webhooks-statistics {
    margin-bottom: 2rem;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-icon-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.stat-icon-deliveries {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.stat-icon-active {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.stat-icon-total {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

/* Webhooks List */
.webhooks-list {
    display: grid;
    gap: 1.5rem;
}

.webhook-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.webhook-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.webhook-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.webhook-card-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.webhook-card-title h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2b6b;
}

.webhook-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.webhook-status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.webhook-status-badge.inactive {
    background: #fee2e2;
    color: #991b1b;
}

.webhook-card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.btn-icon:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #1f2b6b;
}

.btn-icon.btn-danger:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.webhook-card-body {
    margin-bottom: 1rem;
}

.webhook-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.webhook-info-label {
    font-weight: 600;
    color: #1f2b6b;
    min-width: 120px;
}

.webhook-info-value {
    color: #666;
    word-break: break-all;
}

.webhook-events {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.webhook-event-badge {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.webhook-card-footer {
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.btn-toggle-webhook {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: #374151;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-toggle-webhook:hover {
    background: #e5e7eb;
}

/* Empty State */
.webhooks-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.webhooks-empty-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.webhooks-empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2b6b;
    margin-bottom: 0.5rem;
}

.webhooks-empty-message {
    color: #666;
    margin-bottom: 2rem;
}

.btn-add-webhook-empty {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-add-webhook-empty:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Settings */
.webhooks-settings {
    margin-bottom: 2rem;
}

.settings-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.settings-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2b6b;
    margin-bottom: 1rem;
}

.settings-coming-soon {
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

/* Info Section */
.webhooks-info-section {
    margin-top: 2rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.webhooks-info-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    user-select: none;
}

.webhooks-info-header .info-toggle {
    font-size: 0.875rem;
    transition: transform 0.3s;
    transform: rotate(-90deg);
}

.webhooks-info-header:not(.collapsed) .info-toggle {
    transform: rotate(0deg);
}

.webhooks-info-header .fa-circle-info {
    margin-left: auto;
    font-size: 1.25rem;
}

.webhooks-info-content {
    padding: 1.5rem;
    display: block;
}

.webhooks-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2b6b;
    margin-bottom: 1rem;
}

.info-card-content {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.info-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #666;
    line-height: 1.8;
}

.info-card-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.info-card-list li i {
    color: #10b981;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.webhooks-setup-section {
    margin-bottom: 2rem;
}

.setup-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2b6b;
    margin-bottom: 1rem;
}

.setup-steps {
    list-style: decimal;
    padding-left: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.setup-steps li {
    margin-bottom: 0.75rem;
}

.webhooks-example-section {
    background: #1f2937;
    border-radius: 8px;
    padding: 1.5rem;
    color: white;
}

.example-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.example-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.example-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.example-description {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.example-code {
    background: #111827;
    border-radius: 6px;
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.example-code code {
    color: #10b981;
    font-size: 0.875rem;
    line-height: 1.6;
}

.example-usage {
    color: #d1d5db;
    margin: 0;
}

/* Modal */
.webhook-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.webhook-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.webhook-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.webhook-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.webhook-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.webhook-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2b6b;
    margin: 0;
}

.webhook-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s;
}

.webhook-modal-close:hover {
    color: #1f2b6b;
}

.webhook-form {
    padding: 1.5rem;
}

.events-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: #1f2b6b;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    
}

@media (max-width: 768px) {
    
}

/* ============================================
   User Abandoned Orders Page - Modern Design
   Based on the design shown in the image
   ============================================ */

/* Control Panel Section */

/* Abandoned Orders Header */

/* Statistics and Actions */
.abandoned-orders-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.total-orders-count {
    font-size: 16px;
    color: var(--gray-700);
}

.total-orders-count strong {
    color: var(--gray-900);
    font-weight: 600;
}

.btn-refresh {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.btn-refresh:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-refresh i {
    font-size: 14px;
}

/* Informational Banner */
.info-banner {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    border-right: 4px solid var(--primary-color);
}

.info-banner-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-banner-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.info-banner-content {
    flex: 1;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.6;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.filter-bar-left {
    flex-shrink: 0;
}

.btn-show-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-show-filter:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-show-filter i {
    font-size: 12px;
}

.filter-bar-center {
    flex: 1;
}

.search-form {
    width: 100%;
}

[dir="rtl"] .search-icon {
    right: auto;
    left: 14px;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 14px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    background: white;
    color: var(--gray-900);
    transition: all 0.2s;
}

[dir="rtl"] .search-input {
    padding: 10px 14px 10px 40px;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.search-input::placeholder {
    color: var(--gray-400);
}

.filter-bar-right {
    flex-shrink: 0;
}

.btn-filter-abandoned {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-filter-abandoned:hover {
    background: var(--gray-50);
    box-shadow: var(--shadow-sm);
}

.btn-filter-abandoned i {
    font-size: 14px;
}

/* Abandoned Orders Content */
.abandoned-orders-content {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 24px;
    min-height: 400px;
}

.abandoned-orders-table-wrapper {
    overflow-x: auto;
}

.abandoned-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.abandoned-orders-table thead {
    background: var(--gray-50);
}

.abandoned-orders-table th {
    padding: 12px 16px;
    text-align: right;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-200);
}

.abandoned-orders-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    color: var(--gray-700);
}

.abandoned-orders-table tbody tr:hover {
    background: var(--gray-50);
}

.duplicate-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--warning-color);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Type Badges */
.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.type-badge i {
    font-size: 12px;
}

/* Empty State */
.empty-abandoned-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.empty-icon-large i {
    font-size: 50px;
    color: var(--gray-400);
}

/* RTL Support */
[dir="rtl"] .abandoned-orders-table th,
[dir="rtl"] .abandoned-orders-table td {
    text-align: right;
}

[dir="ltr"] .abandoned-orders-table th,
[dir="ltr"] .abandoned-orders-table td {
    text-align: left;
}

[dir="rtl"] .abandoned-orders-stats {
    flex-direction: row-reverse;
}

[dir="rtl"] .filter-bar {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 768px) {

    .filter-bar-left,

    .btn-show-filter,

    .abandoned-orders-table th,
    .abandoned-orders-table td {
        padding: 8px;
    }
}
/* Tips Modal Styles */
.tips-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.tips-modal-overlay.hidden {
    display: none;
}

.tips-modal-container {
    background: #ffffff;
    border-radius: 16px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tips-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.tips-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tips-modal-title i {
    color: #f59e0b;
    font-size: 28px;
}

.tips-modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s;
}

.tips-modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

/* Steps Indicator */
.tips-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
    flex-shrink: 0;
    gap: 12px;
}

.tips-step-indicator-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    max-width: 150px;
}

.tips-step-indicator-item.active .tips-step-indicator-label {
    color: #5561ff;
    font-weight: 600;
}

.tips-step-indicator-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s;
}

.tips-step-indicator-item.active .tips-step-indicator-number {
    background: #5561ff;
    border-color: #5561ff;
    color: #ffffff;
}

.tips-step-indicator-number.completed {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.tips-step-indicator-number i {
    font-size: 18px;
}

.tips-step-indicator-label {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    transition: color 0.3s;
}

.tips-step-indicator-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 8px;
    max-width: 80px;
}

.tips-step-indicator-item.active ~ .tips-step-indicator-line,
.tips-step-indicator-item.completed ~ .tips-step-indicator-line {
    background: #5561ff;
}

/* Modal Content */
.tips-modal-content {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.tips-step-content-wrapper {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tips-step-content-wrapper.active {
    display: block;
}

.tips-step {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tips-step-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tips-step-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.3s;
}

.tips-step.completed .tips-step-number {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.tips-step-number i {
    font-size: 24px;
}

.tips-step-info {
    flex: 1;
    min-width: 0;
}

.tips-step-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.tips-step.completed .tips-step-title {
    color: #10b981;
}

.tips-step-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.tips-step-image {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    max-height: 500px;
}

.tips-step-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* Images Carousel for Step 3 */
.tips-step-images-carousel {
    position: relative;
    margin: 20px 0;
}

.tips-step-images-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    min-height: 300px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tips-step-images-wrapper .tips-step-image {
    display: none;
    margin: 0;
    border: none;
    box-shadow: none;
    min-height: auto;
    max-height: 500px;
    width: 100%;
}

.tips-step-images-wrapper .tips-step-image.active {
    display: flex;
}

.tips-step-images-wrapper .tips-step-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.tips-step-images-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.tips-image-nav-btn {
    background: #5561ff;
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.tips-image-nav-btn:hover {
    background: #4451e6;
    transform: scale(1.1);
}

.tips-image-nav-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.tips-image-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tips-image-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s;
}

.tips-image-dot.active {
    background: #5561ff;
    width: 12px;
    height: 12px;
}

.tips-step-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tips-step-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(90deg, #5561ff, #7a6bff);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.tips-step-action:hover {
    background: linear-gradient(90deg, #4451e6, #6a5bff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(85, 97, 255, 0.3);
}

.tips-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
    flex-shrink: 0;
    gap: 20px;
    flex-wrap: wrap;
}

.tips-modal-navigation {
    display: flex;
    gap: 12px;
}

.tips-nav-btn {
    padding: 10px 20px;
    background: #5561ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tips-nav-btn:hover {
    background: #4451e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 97, 255, 0.3);
}

.tips-nav-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.tips-modal-footer-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tips-dont-show-again {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #64748b;
}

.tips-dont-show-again input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5561ff;
}

.tips-dont-show-again:hover {
    color: #1e293b;
}

.tips-modal-close-btn {
    padding: 10px 24px;
    background: #5561ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.tips-modal-close-btn:hover {
    background: #4451e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 97, 255, 0.3);
}

/* Animations */

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

/* Responsive */
@media (max-width: 768px) {

    .tips-step-image img {
        max-height: 400px;
    }

    .tips-step-images-wrapper .tips-step-image img {
        max-height: 400px;
    }

}

@media (max-width: 480px) {

    .tips-step-image img {
        max-height: 300px;
    }

    .tips-step-images-wrapper .tips-step-image img {
        max-height: 300px;
    }
}
/* Facebook Conversion API - User Page Styles */

.pro-badge {
    background: #FFD700;
    color: #1f2b6b;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.connection-status-box {
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid;
}

.connection-status-box.not-connected {
    background: #FFE5E5;
    border-color: #FF6B6B;
}

.connection-status-box.connected {
    background: #E5F7E5;
    border-color: #4CAF50;
}

.status-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-icon {
    font-size: 3rem;
}

.connection-status-box.not-connected .status-icon {
    color: #FF6B6B;
}

.connection-status-box.connected .status-icon {
    color: #4CAF50;
}

.status-text {
    flex: 1;
}

.status-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1f2b6b;
}

.status-message {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.form-info {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #E3F2FD;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #1976D2;
}

.form-info i {
    margin-top: 0.125rem;
    flex-shrink: 0;
}
.restricted-access-box {
    background: #FFE5B4;
    border: 2px solid #FFA500;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.restricted-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.warning-icon {
    font-size: 3rem;
    color: #FF8C00;
}

.restricted-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2b6b;
    margin: 0;
}

.restricted-message {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.btn-upgrade:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.info-section {
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-header {
    background: #5561ff;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    user-select: none;
}

.info-header .info-toggle {
    font-size: 0.875rem;
    transition: transform 0.3s;
    transform: rotate(-90deg);
}

.info-header:not(.collapsed) .info-toggle {
    transform: rotate(0deg);
}

.info-header .fa-circle-info {
    margin-left: auto;
    font-size: 1.25rem;
}

.info-cards-container {
    padding: 1.5rem;
    display: block;
}

.info-cards-container.hidden {
    display: none;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.card-content {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #666;
    line-height: 1.8;
}

.card-list.numbered {
    list-style: decimal;
    padding-left: 1.5rem;
}

.card-list li {
    margin-bottom: 0.5rem;
}

.comparison-subsection {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.subsection-item {
    padding: 1rem;
    border-radius: 6px;
    background: #f9fafb;
}

.subsection-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.subsection-header i.fa-check-circle {
    color: #10b981;
}

.subsection-header i.fa-star {
    color: #FFD700;
}

.subsection-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 1024px) {
}

@media (max-width: 768px) {
}

/* Facebook Conversion API - Admin Page Styles */

.connection-status-box.not-connected .status-icon {
    color: #FF6B6B;
}

.connection-status-box.connected .status-icon {
    color: #4CAF50;
}

.form-info i {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.form-actions .btn-primary {
    display: inline-flex !important;
    min-width: 150px;
    padding: 0.75rem 1.5rem;
    background: #5561ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 1rem;
}

/* Admin Payment Gateways Styles */

/* Alert Success */
    border: 1px solid #10b981;
}

.alert-success i {
    margin-left: 8px;
}

html[dir="ltr"] .alert-success i {
    margin-left: 0;
    margin-right: 8px;
}

/* Code Element */
.code-inline {
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #6b7280;
}

/* Text Muted */
.text-muted-dash {
    color: #9ca3af;
}

/* Table Actions */
.table-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.table-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.table-actions form {
    display: inline-block;
    margin: 0;
}

/* Empty State */
.table-empty-state {
    padding: 40px 20px;
    color: #6b7280;
    text-align: center;
}

.table-empty-state-icon {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
    display: block;
}

.table-empty-state-text {
    margin: 0;
    font-size: 16px;
}

.table-empty-state-action {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Admin Landing Page Templates Styles */

/* Templates Grid */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Template Card */
.template-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.template-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Template Preview */

.template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-preview-placeholder {
    width: 100%;
    height: 200px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.template-preview-placeholder i {
    font-size: 48px;
}

/* Template Info */
.template-info {
    padding: 15px;
}

.template-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.template-info p {
    margin: 0 0 10px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.template-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.template-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.template-actions form {
    display: inline-block;
}

/* Empty State */
.templates-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

/* Edit Template Preview */
.template-preview-image {
    margin-bottom: 10px;
}

.template-preview-image img {
    max-width: 200px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.template-file-badge {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {

    .template-actions .btn {
        width: 100%;
    }
}

/* Order Thank You Page Styles */

body.order-thank-you-page,
.ls-guest-main .order-thank-you-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.order-thank-you-page[dir="rtl"],
.ls-guest-main .order-thank-you-page[dir="rtl"] {
}

.thank-you-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s ease-out;
}

.success-icon i {
    font-size: 50px;
    color: white;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.thank-you-container h1 {
    color: #1f2937;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.subtitle {
    color: #6b7280;
    font-size: 18px;
    margin-bottom: 40px;
}

.order-info {
    background: #f9fafb;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

[dir="rtl"] .order-info {
    text-align: right;
}

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

.order-number {
    font-size: 32px;
    color: #667eea;
    letter-spacing: 4px;
}

.customer-data {
    margin-top: 20px;
}

.customer-data h3 {
    color: #374151;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: left;
}

[dir="rtl"] .customer-data h3 {
    text-align: right;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.btn-view-product {
    display: block;
    width: 100%;
    padding: 10px;
    background: #667eea;
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-view-product:hover {
    background: #5568d3;
}

@media (max-width: 640px) {

    .thank-you-container h1 {
        font-size: 24px;
    }

}

/* Order Track Page Styles */
body.order-track-page,
.ls-guest-main .order-track-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.order-track-page[dir="rtl"],
.ls-guest-main .order-track-page[dir="rtl"] {
}

.track-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header-icon {
    width: 80px;
    height: 80px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.header-icon i {
    font-size: 40px;
    color: white;
}

.track-container h1 {
    color: #1f2937;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.status-section {
    margin-bottom: 30px;
}

.status-title.shipping-status {
    margin-top: 20px;
}

/* Hidden elements */
#bank_transfer_info_group {
  display: none;
}

#bank_transfer_info_group.active {
  display: block;
}

#transfer_receipt_preview {
  margin-top: 10px;
  display: none;
}

#transfer_receipt_preview.active {
  display: block;
}

#transfer_receipt_preview_img {
  max-width: 300px;
  max-height: 300px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-text {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #666;
}

.btn-pay {
  font-weight: 600;
}

.btn-pay i {
  margin-right: 8px;
}

button[type="submit"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* Public Message Form Styles */
.public-message-page {
    background: #f7f9fc;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.message-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 40px;
}

.message-header {
    text-align: center;
    margin-bottom: 32px;
}

.header-icon i {
    font-size: 32px;
    color: #1f2b6b;
}

.message-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2b6b;
    margin-bottom: 8px;
}

.header-subtitle {
    color: #6b7280;
    font-size: 16px;
}

.alert i {
    flex-shrink: 0;
    margin-top: 2px;
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-control::placeholder {
    color: #9ca3af;
}

textarea.form-control {
    min-height: 120px;
}

.success-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto;
}

    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon i {
    font-size: 48px;
    color: #10b981;
}

.success-container h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2b6b;
    margin-bottom: 16px;
}

.success-message {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Messages Thread Styles */
.messages-thread {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.message-thread-item {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #1f2b6b;
}

.message-thread-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.message-thread-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-thread-info strong {
    color: #1f2b6b;
    font-size: 16px;
}

.message-thread-subject {
    margin-bottom: 12px;
}

.message-thread-subject strong {
    color: #374151;
    font-size: 16px;
}

.message-thread-content {
    color: #374151;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 16px;
}

.message-replies {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reply-item.admin-reply {
    border-left: 3px solid #1f2b6b;
}

.reply-header strong {
    color: #1f2b6b;
    font-size: 14px;
}

.divider {
    margin: 32px 0;
    text-align: center;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e5e7eb;
}

html[dir="ltr"] .divider::before {
    left: 0;
}

html[dir="ltr"] .divider::after {
    right: 0;
}

html[dir="rtl"] .divider::before {
    right: 0;
}

html[dir="rtl"] .divider::after {
    left: 0;
}

.divider span {
    background: #fff;
    padding: 0 16px;
    color: #6b7280;
    font-size: 14px;
    position: relative;
}

html[dir="rtl"] .message-thread-item,
html[dir="rtl"] .reply-item {
    border-left: none;
    border-right: 4px solid #1f2b6b;
}

html[dir="rtl"] .reply-item.customer-reply,
html[dir="rtl"] .reply-item.admin-reply {
    border-left: none;
    border-right: 3px solid;
}

.reply-to-info {
    background: #f3f4f6;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 14px;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.reply-to-info p {
    margin: 0;
}

/* RTL Support */
html[dir="rtl"] .public-message-page,
[dir="rtl"] .public-message-page {
    direction: rtl;
}

/* Responsive */
@media (max-width: 768px) {

    .message-header h1 {
        font-size: 24px;
    }

}
/**
 * Email Templates Styles
 * Styles for email templates
 */

.email-content h2 {
    color: #17233d;
    margin-bottom: 16px;
}

.email-content p {
    margin-bottom: 12px;
}

.email-content a {
    color: #3b82f6;
    text-decoration: none;
}

.email-content a:hover {
    text-decoration: underline;
}
/* ============================================
   Landing Templates - Professional CSS
   Modern, Responsive, and Beautiful Design
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ===== Container ===== */

@media (max-width: 768px) {
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

h3 {
    font-size: 1.875rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-600);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: var(--spacing-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (max-width: 768px) {
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* ===== Product Info Section ===== */

.product-info h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--gray-900);
}

.product-image:hover {
    transform: scale(1.02);
}

.product-info p {
    text-align: center;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
}

.product-info strong {
    color: var(--primary-color);
    font-size: 1.5rem;
    display: block;
    margin-top: var(--spacing-md);
}

/* ===== Payment Page Styles ===== */
.payment-page {
    padding: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.payment-page .page-header {
    justify-content: center;
    text-align: center;
}

.payment-page .page-header-left {
    justify-content: center;
    width: 100%;
}

.payment-page .page-title {
    justify-content: center;
}

.payment-form-container {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.package-summary {
    background: linear-gradient(135deg, var(--primary) 0%, #7a6bff 100%);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.package-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.package-summary > * {
    position: relative;
    z-index: 1;
}

.package-summary h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: white;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.package-interval {
    font-size: 1rem;
    opacity: 0.9;
    color: white;
}

.wallet-balance-section {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    border: 2px solid var(--accent);
}

.wallet-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.wallet-balance-display {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.wallet-balance-display i {
    font-size: 2rem;
    color: var(--primary);
}

.wallet-balance-display > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wallet-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.wallet-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.wallet-auto-note {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(111, 231, 193, 0.1);
    border-radius: var(--radius-md);
    color: var(--success-dark);
    font-size: 0.875rem;
}

.wallet-auto-note i {
    color: var(--success-color);
}

.payment-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.breakdown-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.breakdown-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.payment-summary-amount {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.amount-to-pay {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.amount-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.amount-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.wallet-payment-only {
    background: linear-gradient(135deg, var(--success-color) 0%, var(--success-dark) 100%);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.wallet-payment-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.wallet-payment-info i {
    font-size: 3rem;
    color: white;
}

.wallet-payment-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-xs);
}

.wallet-payment-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.wallet-payment-details {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.payment-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.payment-detail-item.payment-detail-total {
    padding-top: var(--spacing-md);
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: var(--spacing-sm);
}

.payment-form {
    margin-top: var(--spacing-xl);
}

.bank-transfer-info {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--gray-200);
}

.bank-transfer-info label {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    display: block;
}

.bank-transfer-details {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    line-height: 1.8;
    white-space: pre-wrap;
}

#transfer_receipt_group {
    margin-top: var(--spacing-lg);
}

#transfer_receipt_preview {
    margin-top: var(--spacing-md);
    text-align: center;
}

#transfer_receipt_preview_img {
    max-width: 100%;
    max-height: 400px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--gray-500);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--gray-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary i,
.btn-secondary i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {

    .wallet-payment-info i {
        font-size: 2.5rem;
    }

}

/* ===== Order Form Section ===== */
.order-form {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.order-form h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--gray-900);
    font-size: 2.5rem;
}

/* Error & Success Messages */
.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--danger-color);
    animation: slideInDown 0.3s ease-out;
}

.error-message strong {
    display: block;
    margin-bottom: var(--spacing-xs);
}

.error-message ul {
    margin: var(--spacing-sm) 0 0 var(--spacing-lg);
}

/* ===== Form Styles ===== */
form {
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    transition: box-shadow var(--transition-base);
}

/* ===== Buttons ===== */
.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

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

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit i {
    animation: spin 1s linear infinite;
}

/* ===== Smart Watch Template Specific Styles ===== */
.top-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: var(--spacing-md) var(--spacing-sm);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-section {
    background: white;
    padding: var(--spacing-2xl) 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (max-width: 968px) {
}

.product-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: white;
    font-size: 3rem;
    box-shadow: var(--shadow-lg);
}

.discount-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--danger-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-900);
}

.pricing {
    margin-bottom: var(--spacing-lg);
}

.old-price {
    text-decoration: line-through;
    color: var(--gray-400);
    font-size: 1.25rem;
    margin-right: var(--spacing-sm);
}

.current-price {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.shipping-info {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
}

.order-form-section {
    background: var(--gray-50);
    padding: var(--spacing-2xl) 0;
}

.order-form-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-900);
}

.order-pricing {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.order-form-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

/* ===== Animations ===== */

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .product-info,
    
    form {
        padding: var(--spacing-lg);
    }
    
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    form {
        padding: var(--spacing-md);
    }
    
}

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

[dir="rtl"] .hero h1,
[dir="rtl"] .hero p,
[dir="rtl"] .product-info h2,
[dir="rtl"] .order-form h2 {
    text-align: center;
}

[dir="rtl"] .form-group label {
    text-align: right;
}

[dir="rtl"] .error-message ul {
    margin-right: var(--spacing-lg);
    margin-left: 0;
}

/* ===== Loading States ===== */
#submitLoading {
    display: none;
}

#submitBtn:disabled #submitText {
    display: none;
}

#submitBtn:disabled #submitLoading {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* ===== Product Variations Styles ===== */
.product-variations {
    margin: 20px 0;
}

.variation-group {
    margin-bottom: 25px;
}

.variation-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #374151;
    font-size: 16px;
}

.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.variation-option {
    position: relative;
    cursor: pointer;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s;
    background: white;
    min-width: 120px;
    text-align: center;
}

.variation-option:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.variation-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.variation-option input[type="radio"]:checked+.variation-content {
    color: #667eea;
    font-weight: 600;
}

.variation-option input[type="radio"]:checked~.variation-content,
.variation-option:has(input[type="radio"]:checked) {
    border-color: #667eea;
    background: #f0f4ff;
}

.variation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.variation-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.variation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.variation-color-box {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.variation-color-box[data-color] {
    background-color: var(--variation-color);
}

.variation-name {
    font-size: 14px;
    color: #374151;
}

.variation-option input[type="radio"]:checked~.variation-content .variation-name,
.variation-option:has(input[type="radio"]:checked) .variation-name {
    color: #667eea;
    font-weight: 600;
}

/* Quantity Field */
.form-group input[type="number"][name="quantity"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input[type="number"][name="quantity"]:focus {
    outline: none;
    border-color: #667eea;
}

/* Error message inline styles */
.order-form .error-message {
    color: #dc2626;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

@media (max-width: 640px) {

}

/* ===== Features Grid (Common for all landing templates) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
}

/* ===== Page Features Styles ===== */
.fixed-order-button {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.fixed-order-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.fixed-order-button i {
    font-size: 18px;
}

/* Positions */
.fixed-order-button-bottom-right {
    bottom: 20px;
    right: 20px;
}

.fixed-order-button-bottom-left {
    bottom: 20px;
    left: 20px;
}

.fixed-order-button-top-right {
    top: 20px;
    right: 20px;
}

.fixed-order-button-top-left {
    top: 20px;
    left: 20px;
}

/* Shapes */
.fixed-order-button-rounded {
    border-radius: 25px;
}

.fixed-order-button-square {
    border-radius: 8px;
}

.fixed-order-button-circle {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding: 0;
    justify-content: center;
}

.fixed-order-button-circle span {
    display: none;
}

/* Sizes */
.fixed-order-button-small {
    padding: 10px 18px;
    font-size: 14px;
}

.fixed-order-button-medium {
    padding: 15px 25px;
    font-size: 16px;
}

.fixed-order-button-large {
    padding: 18px 30px;
    font-size: 18px;
}

/* Pulse Animation */

/* Smart Coupon Banner */
.smart-coupon-banner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
    animation: slideDown 0.5s ease-out;
    max-width: 90%;
}

.smart-coupon-banner.hidden {
    display: none;
}

.coupon-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.coupon-icon {
    font-size: 24px;
}

.coupon-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.coupon-label {
    font-size: 14px;
    opacity: 0.9;
}

.coupon-value {
    font-size: 20px;
    font-weight: 700;
}

.coupon-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.coupon-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Remaining Items Counter */
.remaining-items-counter {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9998;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: shake 2s infinite;
}

[dir="rtl"] .remaining-items-counter {
    right: auto;
    left: 20px;
}

.counter-icon {
    font-size: 20px;
    animation: fire 1s infinite;
}

.counter-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.counter-label {
    font-size: 12px;
    opacity: 0.9;
}

.counter-value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

@keyframes fire {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@media (max-width: 768px) {

    [dir="rtl"] .remaining-items-counter {
        left: 10px;
    }
}

/* ===== Payment Page Styles ===== */
.breakdown-value.success-color {
    color: var(--success-color);
}

.transfer-receipt-label .required-asterisk {
    color: var(--danger);
}

.form-text.payment-help {
    color: var(--gray-500);
    margin-top: 8px;
    display: block;
    font-size: 0.875rem;
}

/* ===== Support Page Styles ===== */
.ticket-limit-info {
    padding: 12px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e40af;
    font-size: 14px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 14px;
    transition: color 0.2s;
}

.btn-back:hover {
    color: #1f2b6b;
}

.support-create-form-container {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.support-ticket-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.priority-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.ticket-priority-badge {
    margin-top: 8px;
}

/* ===== New Support Ticket Notification Modal ===== */
.new-ticket-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.new-ticket-modal-overlay.hidden {
    display: none;
}

.new-ticket-modal-container {
    background: #ffffff;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    position: relative;
    display: flex;
    flex-direction: column;
}

.new-ticket-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #1f2b6b 0%, #2d3f8f 100%);
    flex-shrink: 0;
}

.new-ticket-modal-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.new-ticket-modal-icon-wrapper i {
    color: #ffffff;
    font-size: 24px;
}

.new-ticket-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.new-ticket-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    color: #ffffff;
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.new-ticket-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.new-ticket-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.new-ticket-modal-message {
    margin-bottom: 24px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

.new-ticket-notification-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.new-ticket-notification-item:hover {
    box-shadow: 0 4px 12px rgba(31, 43, 107, 0.1);
    transform: translateY(-2px);
}

.new-ticket-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.new-ticket-notification-content {
    flex: 1;
}

.new-ticket-notification-subject {
    margin: 0 0 8px 0;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.new-ticket-notification-number {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.new-ticket-notification-number strong {
    color: #475569;
    font-weight: 600;
}

.new-ticket-notification-badge {
    background: #1f2b6b;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-left: 12px;
}

.new-ticket-notification-preview {
    margin: 12px 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.new-ticket-notification-actions {
    margin-top: 16px;
}

.new-ticket-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1f2b6b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.new-ticket-view-btn:hover {
    background: #2d3f8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 43, 107, 0.3);
}

.new-ticket-view-btn i {
    font-size: 14px;
}

.new-ticket-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #f8fafc;
    flex-shrink: 0;
}

.new-ticket-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.new-ticket-modal-btn-secondary {
    background: #6c757d;
    color: #ffffff;
}

.new-ticket-modal-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.new-ticket-modal-btn-primary {
    background: #1f2b6b;
    color: #ffffff;
    text-decoration: none;
}

.new-ticket-modal-btn-primary:hover {
    background: #2d3f8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 43, 107, 0.3);
}

@media (max-width: 768px) {
    .new-ticket-modal-container {
        max-width: 95%;
        max-height: 95vh;
    }

    .new-ticket-modal-header {
        padding: 20px;
    }

    .new-ticket-modal-body {
        padding: 20px;
    }

    .new-ticket-modal-footer {
        padding: 16px 20px;
        flex-direction: column;
    }

    .new-ticket-modal-btn {
        width: 100%;
        justify-content: center;
    }

    .new-ticket-notification-header {
        flex-direction: column;
        gap: 12px;
    }

    .new-ticket-notification-badge {
        margin-left: 0;
        align-self: flex-start;
    }
}

/* ===== Print Styles ===== */
@media print {
    .order-form {
        /* Print styles */
    }
}
