/* 🔥 GLOBAL RESET */
body {
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  color: #1f2937;
  font-family: Arial, sans-serif;
}
.custom-neworder .well {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
/* INPUTS */
.custom-neworder .form-control {
  background: #000;
  border: 1px solid #333;
  color: #fff;
  border-radius: 10px;
  padding: 10px;
}

/* LABELS */
.custom-neworder label {
  color: #ffcc00;
  font-weight: bold;
}

/* BUTTON */
.custom-neworder .btn-primary {
  background: #ffcc00;
  color: #000;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  width: 100%;
  padding: 12px;
}

/* BUTTON HOVER */
.custom-neworder .btn-primary:hover {
  opacity: 0.9;
}

.custom-neworder #service_description .panel-body {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #1f2937;
  padding: 10px;
}

/* ALERTS */
.custom-neworder .alert {
  border-radius: 10px;
}

/* SPACING */
.custom-neworder .form-group {
  margin-bottom: 15px;
}

/* HOVER EFFECT */
.custom-neworder .well:hover {
  box-shadow: 0 0 20px rgba(255,204,0,0.2);
  transition: 0.3s;
}

/* MOBILE */
@media (max-width: 768px) {
  .custom-neworder .well {
    padding: 15px;
  }
}
/* 🔥 NAVBAR DESIGN */
.custom-navbar {
  background: #000;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* LOGO */
.custom-navbar .navbar-brand {
  color: #ffcc00 !important;
  font-weight: bold;
}

/* LINKS */
.custom-navbar .navbar-nav > li > a {
  color: #fff !important;
  transition: 0.3s;
}

/* HOVER */
.custom-navbar .navbar-nav > li > a:hover {
  color: #ffcc00 !important;
}

/* ACTIVE */
.custom-navbar .navbar-nav > .active > a {
  background: #ffcc00 !important;
  color: #000 !important;
  border-radius: 6px;
}

/* BALANCE BADGE */
.custom-navbar .badge {
  background: #ffcc00;
  color: #000;
}
.custom-neworder .container {
  max-width: 100%;
}

.custom-neworder .well {
  max-width: 900px;
  margin: auto;
}
/* FIX TEXT INVISIBLE */
.well,
.panel,
.card {
  color: #000 !important;
}
.custom-neworder .row {
  display: flex;
  flex-wrap: wrap;
}

.custom-neworder .col-md-6 {
  padding: 10px;
}

@media (max-width: 768px) {
  .custom-neworder .col-md-6 {
    width: 100%;
  }
}
.custom-neworder .row {
  display: flex;
  flex-wrap: wrap;
}

.custom-neworder .col-md-6 {
  width: 50%;
}

@media (max-width: 768px) {
  .custom-neworder .col-md-6 {
    width: 100%;
  }
}
.row {
  display: flex;
  flex-wrap: wrap;
}

.col-md-6 {
  width: 50%;
}

@media (max-width: 768px) {
  .col-md-6 {
    width: 100%;
  }
}
.custom-neworder .row {
  display: flex;
  flex-wrap: wrap;
}

.custom-neworder .col-md-6 {
  width: 50%;
  padding: 10px;
}

@media (max-width: 768px) {
  .custom-neworder .col-md-6 {
    width: 100%;
  }
}
/* FIX MOBILE WIDTH */
@media (max-width: 768px) {

  .custom-neworder .row {
    display: block !important;
  }

  .custom-neworder .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .custom-neworder .well {
    width: 100% !important;
    max-width: 100% !important;
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

}
/* CARD STYLE */
.custom-neworder .well {
  background: #111;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  border: 1px solid #222;
}

/* DESCRIPTION HEADER */
.custom-neworder .well h4 {
  background: linear-gradient(90deg, #ffcc00, #ff9900);
  padding: 10px 15px;
  border-radius: 10px;
  color: #000;
  font-weight: bold;
  margin-bottom: 15px;
}

/* DESCRIPTION TEXT */
#service_description {
  line-height: 1.8;
  font-size: 14px;
  color: #ddd;
}

/* INPUT UPGRADE */
.custom-neworder .form-control {
  height: 45px;
  font-size: 14px;
}

/* BUTTON */
.custom-neworder .btn-primary {
  font-size: 16px;
  letter-spacing: 1px;
}
#service_description {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 15px;
  color: #fff;
  line-height: 1.8;
  font-size: 14px;
}

.custom-neworder .well h4 {
  background: #ffcc00;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}
.custom-neworder .well h4 {
  background: #ffcc00;
  color: #000;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
}
/* ✨ DESCRIPTION ANIMATION */
#service_description {
  animation: fadeInUp 0.5s ease;
  transition: 0.3s;
}

/* ✨ HOVER EFFECT */
#service_description:hover {
  box-shadow: 0 0 25px rgba(255,204,0,0.25);
  transform: translateY(-3px);
}

/* ✨ ANIMATION */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.custom-top-cards {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.card-box {
  flex: 1;
  background: #111;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #222;
  transition: 0.3s;
}

.card-box strong {
  display: block;
  color: #ffcc00;
  font-size: 16px;
}

.card-box span {
  color: #aaa;
  font-size: 12px;
}

.card-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255,204,0,0.2);
}

@media (max-width: 768px) {
  .custom-top-cards {
    flex-direction: column;
  }
}
.custom-category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.cat-btn {
  background: #111;
  border: 1px solid #222;
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 13px;
}

.cat-btn:hover {
  background: #ffcc00;
  color: #000;
}

.cat-btn.active {
  background: #ffcc00;
  color: #000;
}

@media (max-width: 768px) {
  .cat-btn {
    flex: 1 1 45%;
    text-align: center;
  }
}
.custom-neworder .cat-buttons {
  display: flex;
  justify-content: center; /* هذا هو المهم */
  flex-wrap: wrap;
  gap: 10px;
}
.custom-category-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.custom-neworder .cat-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 900px;
  margin: auto;
}
#service_description .panel-body {
  max-height: 400px;   /* تقدر تبدلها */
  overflow-y: auto;
}
/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: #0b0b0b;
  border-right: 1px solid #222;
  padding: 15px;
  transition: 0.3s;
  z-index: 999;
}

.sidebar.closed {
  width: 70px;
}

/* HEADER */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  margin-bottom: 20px;
}

.sidebar-header button {
  background: #ffcc00;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}

/* MENU */
.sidebar-menu {
  list-style: none;
  padding: 0;
}

.sidebar-menu li {
  margin: 10px 0;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  color: #ccc;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  transition: 0.2s;
}

.sidebar-menu a:hover {
  background: #ffcc00;
  color: #000;
}

.menu-text {
  margin-left: 10px;
}

/* MAIN CONTENT */
.main-content {
  margin-left: 250px;
  transition: 0.3s;
  padding: 15px;
}

.sidebar.closed + .main-content {
  margin-left: 70px;
}

/* RESPONSIVE */
@media(max-width: 768px) {
  .sidebar {
    left: -250px;
  }

  .sidebar.open {
    left: 0;
  }

  .main-content {
    margin-left: 0;
  }
}
@media(max-width: 768px) {
  .navbar {
    display: none !important;
  }
}
/* MOBILE BUTTON */
.mobile-toggle {
  position: fixed;
  top: 15px;
  right: 15px;
  background: #ffcc00;
  color: #000;
  border: none;
  padding: 10px 14px;
  font-size: 18px;
  border-radius: 8px;
  z-index: 9999;
  display: none;
}

/* يظهر غير فالهاتف */
@media(max-width: 768px) {
  .mobile-toggle {
    display: block !important;
  }
}

/* ظل جميل */
.mobile-toggle {
  box-shadow: 0 0 10px rgba(255,204,0,0.5);
}
/* 🔥 HIDE ONLY TOP MENU LINKS */

.navbar-left-block {
  display: none !important;
}
.top-welcome-bar {
  width: 90%;
  margin: 15px auto;
  padding: 14px 20px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;

  color: #111; /* 🔥 أسود مريح */
  font-size: 14px;
  font-weight: 500;
  text-align: center;

  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}
/* ✨ BALANCE STYLE */
.navbar-right .badge,
.navbar-right-block .badge {
  background: linear-gradient(90deg, #ffcc00, #ff9900);
  color: #000;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.6);
  transition: 0.3s;
}

/* ✨ HOVER BALANCE */
.navbar-right .badge:hover {
  box-shadow: 0 0 20px rgba(255, 204, 0, 1);
  transform: scale(1.05);
}

/* ✨ ACCOUNT + LOGOUT */
.navbar-right a {
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 8px;
  transition: 0.3s;
}

/* ✨ HOVER EFFECT */
.navbar-right a:hover {
  background: rgba(255, 204, 0, 0.1);
  color: #ffcc00 !important;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

/* ✨ ACTIVE STYLE */
.navbar-right a:active {
  transform: scale(0.95);
}

/* ✨ NAVBAR RIGHT BLOCK */
.navbar-right-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* 📱 MOBILE FIX كامل */
@media (max-width: 768px) {

  /* إصلاح الشريط العلوي */
  .top-welcome-bar {
    font-size: 12px;
    padding: 8px 10px;
    text-align: center;
    line-height: 1.4;
  }

  /* إصلاح الزر ☰ */
  .sidebar-header button {
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 9999;
  }

  /* إصلاح البلوكات */
  .dashboard .card,
  .main-content .card {
    margin-bottom: 10px;
  }

  /* إصلاح الإحصائيات (username / balance...) */
  .stats-box,
  .dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* الأزرار (Everything / Instagram...) */
  .category-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* إصلاح الفورم */
  .custom-neworder .well {
    padding: 15px;
  }

  /* إصلاح الوصف */
  .description-box {
    margin-top: 10px;
  }

  /* يمنع أي overflow */
  body, html {
    overflow-x: hidden;
  }

}
/* 🔥 FIX نهائي للموبايل */
@media (max-width: 768px) {

  /* يخلي الشريط ديال welcome عادي وما يركبش */
  .top-welcome-bar {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    background: #000 !important;
    z-index: 1 !important;
  }

  /* يمنع أي عنصر يطلع فوق */
  .top-welcome-bar,
  .main-content,
  .dashboard {
    transform: none !important;
  }

  /* زر ☰ */
  .sidebar-header button {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
  }

  /* يخلي الكونتينر منظم */
  .container,
  .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* يمنع overflow لي كيخرب */
  body {
    overflow-x: hidden !important;
  }

}
/* 🔥 TABLE كامل */
.table {
  background: #111 !important;
  border-radius: 12px;
  overflow: hidden;
  border: none !important;
}

/* 🔥 HEAD */
.table thead {
  background: linear-gradient(90deg, #6c2bd9, #8e44ff);
}

.table thead th {
  color: #fff !important;
  border: none !important;
  font-weight: bold;
}

/* 🔥 الصفوف */
.table tbody tr {
  background: #0f0f0f;
  border-bottom: 1px solid #222;
  transition: 0.3s;
}

/* 🔥 hover */
.table tbody tr:hover {
  background: #1a1a1a;
}

/* 🔥 النص */
.table td {
  color: #ccc !important;
  border: none !important;
}

/* 🔥 CATEGORY (Instagram - Followers...) */
.table tbody tr td[colspan] {
  background: linear-gradient(90deg, #6c2bd9, #8e44ff);
  color: #fff !important;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
}

/* 🔥 زر Details */
.btn.btn-primary,
.btn-details {
  background: linear-gradient(90deg, #6c2bd9, #8e44ff);
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  color: #fff;
  transition: 0.3s;
}

.btn.btn-primary:hover {
  box-shadow: 0 0 10px #8e44ff;
}

/* 🔥 badge */
.label,
.badge {
  background: #2ecc71 !important;
  border-radius: 10px;
  font-size: 11px;
}

/* 🔥 search */
input[type="search"],
.form-control {
  background: #000 !important;
  border: 1px solid #333 !important;
  color: #fff !important;
  border-radius: 8px;
}

/* 🔥 FILTER BUTTON */
.btn-filter {
  background: linear-gradient(90deg, #6c2bd9, #8e44ff);
  border: none;
  color: #fff;
  border-radius: 10px;
}
.service-desc {
  display: none;
  background: #111;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  color: #ccc;
  font-size: 13px;
}

.show-desc-btn {
  background: linear-gradient(90deg, #6c2bd9, #8e44ff);
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
}
/* إصلاح الجدول فالموبايل */
@media (max-width: 768px) {

  body {
    overflow-x: hidden !important;
  }

  .container,
  .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
  }

  table {
    width: 100% !important;
    min-width: 0 !important;
  }

  .table > thead,
  .table > tbody,
  .table > tr,
  .table > td,
  .table > th {
    white-space: normal !important;
  }

  .service-desc {
    width: 100% !important;
    max-width: 100% !important;
    word-break: break-word;
  }

}
@media (max-width: 768px) {

  .table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }

  .table thead {
    display: none;
  }

  .table tbody tr {
    display: block;
    margin-bottom: 15px;
    background: #111;
    border-radius: 10px;
    padding: 10px;
  }

  .table tbody td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 5px;
    border: none;
  }

  .table tbody td:before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    color: #aaa;
    margin-bottom: 3px;
  }

}
/* Dropdown container */
.select2-container--default .select2-dropdown {
  background: #111 !important;
  border: 1px solid #333 !important;
  border-radius: 12px !important;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
  padding: 5px;
}

/* Options */
.select2-results__option {
  color: #fff !important;
  padding: 10px !important;
  border-radius: 8px;
}

/* Hover */
.select2-results__option--highlighted {
  background: linear-gradient(45deg, #6a00ff, #a200ff) !important;
  color: #fff !important;
}

/* Scroll */
.select2-results__options {
  max-height: 300px !important;
  overflow-y: auto !important;
}

/* Search input */
.select2-search__field {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #333 !important;
  border-radius: 8px;
  padding: 8px;
}
/* تصغير و تنظيم dropdown */
.dropdown-menu {
  max-height: 300px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border-radius: 12px !important;
  background: #111 !important;
  padding: 5px !important;
}

/* العناصر */
.dropdown-menu li a {
  color: #fff !important;
  padding: 8px 10px !important;
  display: block;
  border-radius: 8px;
}

/* hover */
.dropdown-menu li a:hover {
  background: linear-gradient(45deg, #6a00ff, #a200ff) !important;
  color: #fff !important;
}

/* scrollbar */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}
.dropdown-menu::-webkit-scrollbar-thumb {
  background: #6a00ff;
  border-radius: 10px;
}
/* خليه يفتح لتحت */
.dropdown-menu {
  top: 100% !important;
  bottom: auto !important;
  transform: none !important;
}

/* تصغير الحجم */
.dropdown-menu {
  max-height: 250px !important;
  overflow-y: auto !important;
  min-width: 300px !important;
}

/* يمنع يكبر بزاف */
.dropdown {
  position: relative !important;
}
body .dropdown-menu {
  top: 100% !important;
  bottom: auto !important;
  max-height: 250px !important;
  overflow-y: auto !important;
}
/* FORCE dropdown لتحت */
.dropdown-menu {
  top: 100% !important;
  bottom: auto !important;
  transform: none !important;
}

/* حيّد dropup */
.dropup .dropdown-menu {
  top: 100% !important;
  bottom: auto !important;
}

/* مهم */
.bootstrap-select.dropup .dropdown-menu {
  top: 100% !important;
  bottom: auto !important;
}
.orders-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.orders-tabs .btn {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #ccc;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  transition: 0.3s;
}

.orders-tabs .btn.active,
.orders-tabs .btn:hover {
  background: linear-gradient(90deg, #6c2bd9, #8e44ff);
  color: #fff;
}
.table {
  background: #111 !important;
  border-radius: 12px;
  overflow: hidden;
}

.table thead {
  background: linear-gradient(90deg, #6c2bd9, #8e44ff);
}

.table thead th {
  color: #fff !important;
  border: none;
}

.table tbody tr {
  background: #0f0f0f;
  border-bottom: 1px solid #222;
  transition: 0.3s;
}

.table tbody tr:hover {
  background: #1a1a1a;
}

.table td {
  color: #ccc !important;
  border: none;
}
.status-completed {
  background: #2ecc71;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.status-pending {
  background: #f39c12;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.btn-actions {
  background: #2c2c2c;
  color: #fff;
  border-radius: 20px;
  padding: 5px 12px;
  border: none;
}

.btn-actions:hover {
  background: #6c2bd9;
}
@media (max-width: 768px) {

  .table thead {
    display: none;
  }

  .table tbody tr {
    display: block;
    margin-bottom: 15px;
    background: #111;
    border-radius: 10px;
    padding: 10px;
  }

  .table tbody td {
    display: block;
    width: 100%;
    padding: 6px 0;
  }

  .table tbody td:before {
    content: attr(data-label);
    font-weight: bold;
    color: #888;
    display: block;
    font-size: 12px;
  }

}
.table td a {
  color: #8e44ff;
  text-decoration: none;
}

.table td a:hover {
  text-decoration: underline;
}
.order-card {
  background: #111;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #222;
  margin-bottom: 15px;
}

.order-top {
  display: flex;
  justify-content: space-between;
}

.order-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.order-status.completed { background: #2ecc71; }
.order-status.pending { background: #f39c12; }

.order-body {
  margin-top: 10px;
}

.order-footer {
  margin-top: 10px;
}
.order-body {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.order-left {
  width: 60%;
}

.order-right {
  width: 40%;
  text-align: right;
  font-size: 13px;
  color: #ccc;
}

.service-name {
  font-weight: bold;
  color: #fff;
  font-size: 14px;
}
/* ✨ CARDS / BOXES */
.custom-neworder .well,
#service_description,
.card,
.panel {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px;

  /* 🔥 SHADOW احترافي */
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.08),
              0 2px 10px rgba(0,0,0,0.05);

  transition: 0.3s;
}
.custom-neworder .well:hover,
#service_description:hover {
  transform: translateY(-3px);

  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.12),
              0 10px 20px rgba(0,0,0,0.08);
}
.custom-neworder .form-control {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px;
}

.custom-neworder .form-control:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
/* === INPUT STYLE NEW === */
.custom-neworder .form-control {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  transition: 0.2s;
}

.custom-neworder .form-control:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
}

/* === LABEL === */
.custom-neworder label {
  color: #6b7280;
  font-weight: 500;
}

/* === BUTTON === */
.custom-neworder .btn-primary {
  background: #4f46e5;
  color: #fff;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  border: none;
  transition: 0.2s;
}

.custom-neworder .btn-primary:hover {
  background: #4338ca;
  transform: translateY(-1px);
}
.navbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb;
}

.navbar a {
  color: #111 !important;
}
.card-box {
  background: #ffffff !important;
  border: 1px solid #e5e7eb;
  border-radius: 14px;

  box-shadow: 0 10px 30px rgba(79,70,229,0.08);
  transition: 0.3s;
}

.card-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(79,70,229,0.12);
}
.cat-btn {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #111;
  border-radius: 20px;
  padding: 8px 16px;
  transition: 0.2s;
}

.cat-btn:hover {
  background: #4f46e5;
  color: #fff;
}

.cat-btn.active {
  background: #4f46e5;
  color: #fff;
}
/* FIX NAVBAR BUTTONS */
.navbar-right a,
.navbar-right-block a {
  color: #111 !important;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: 0.2s;
}

/* hover */
.navbar-right a:hover {
  background: #f3f4f6;
  color: #4f46e5 !important;
}
.navbar-right a {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}
/* FIX NAVBAR LINKS (Account / Logout) */
.navbar-right a,
.navbar-right-block a {
  opacity: 1 !important;
  color: #111 !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 500;
}

/* HOVER */
.navbar-right a:hover {
  background: #4f46e5 !important;
  color: #fff !important;
}
.navbar a {
  opacity: 1 !important;
  color: #111 !important;
}
/* FORCE NAVBAR LINKS VISIBLE */
.navbar-right a,
.navbar-right-block a,
.navbar a {
  color: #111 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* FIX HOVER */
.navbar-right a:hover {
  color: #4f46e5 !important;
}
/* OVERRIDE ALL NAV LINKS */
.navbar * {
  color: #111 !important;
}
/* ===== FORCE NAVBAR TEXT FIX ===== */
.navbar-right a,
.navbar-right-block a,
.navbar .navbar-right a,
.navbar .navbar-right-block a {
  color: #111 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

/* حتى span داخلهم */
.navbar-right a span,
.navbar-right-block a span {
  color: #111 !important;
  opacity: 1 !important;
}

/* remove any fade */
.navbar a {
  opacity: 1 !important;
}

/* hover */
.navbar a:hover {
  color: #4f46e5 !important;
}
/* FIX TEXT COLOR NAVBAR */
.navbar-right a,
.navbar-right-block a {
  color: #111 !important;
}

/* حتى إلى كان span داخل الزر */
.navbar-right a span {
  color: #111 !important;
}
/* FIX NAVBAR BUTTON TEXT FINAL */
.navbar-right a,
.navbar-right-block a {
  color: #000 !important;
  font-weight: 600 !important;
}

/* FIX BACKGROUND BUTTONS */
.navbar-right a {
  background: #ffffff !important;
  border: 1px solid #ddd !important;
}

/* HOVER */
.navbar-right a:hover {
  background: #4f46e5 !important;
  color: #fff !important;
}

/* BALANCE BUTTON */
.navbar-right .dropdown-toggle {
  background: #22c55e !important;
  color: #fff !important;
}
/* FORCE NAVBAR BUTTON TEXT VISIBLE */
.custom-navbar .navbar-right a,
.custom-navbar .navbar-nav > li > a {
  color: #000 !important;
  background: #ffffff !important;
  border-radius: 8px;
  padding: 6px 12px;
  border: 1px solid #ddd;
  font-weight: 600;
}

/* HOVER */
.custom-navbar .navbar-right a:hover,
.custom-navbar .navbar-nav > li > a:hover {
  background: #4f46e5 !important;
  color: #fff !important;
}

/* BALANCE BUTTON */
.custom-navbar .dropdown-toggle {
  background: #22c55e !important;
  color: #fff !important;
}
/* ===== SOCIAL ICONS BACKGROUND ===== */
.navbar {
  position: relative;
  overflow: hidden;
}
/* ===== FORCE SOCIAL ICONS (WORKING FIX) ===== */
.custom-navbar {
  position: relative !important;
  overflow: hidden !important;
}

.custom-navbar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;

  background-image:
    url('https://cdn-icons-png.flaticon.com/512/733/733547.png'),   /* Facebook */
    url('https://cdn-icons-png.flaticon.com/512/2111/2111463.png'), /* Instagram */
    url('https://cdn-icons-png.flaticon.com/512/3046/3046121.png'), /* TikTok */
    url('https://cdn-icons-png.flaticon.com/512/733/733579.png'),   /* Twitter (X) */
    url('https://cdn-icons-png.flaticon.com/512/2111/2111646.png'), /* Telegram */
    url('https://cdn-icons-png.flaticon.com/512/174/174872.png');   /* Spotify */

  background-repeat: no-repeat;

  background-position:
    5% center,
    20% center,
    35% center,
    50% center,
    65% center,
    80% center;

  background-size: 32px;

  opacity: 0.4;
}
/* خليه المحتوى فوق */
.custom-navbar .container-fluid,
.custom-navbar .navbar-header,
.custom-navbar .navbar-collapse,
.custom-navbar .navbar-nav,
.custom-navbar .navbar-right {
  position: relative;
  z-index: 2;
}
.card-addfunds {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card-box {
  margin-bottom: 15px;
}

.form-control {
  background: #f3efe6;
  border: none;
  border-radius: 10px;
  padding: 12px;
}

.btn-pay {
  width: 100%;
  background: #ffe600;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-weight: bold;
}
.instruction-box {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 15px;
}
/* SIDEBAR BACKGROUND */
.sidebar {
  background: #ffffff !important;
  color: #111 !important;
  border-right: 1px solid #e5e7eb;
}

/* TITLE */
.sidebar .logo,
.sidebar-header {
  color: #111 !important;
}

/* LINKS */
.sidebar a {
  color: #111 !important;
  font-weight: 500;
  transition: 0.2s;
}

/* HOVER */
.sidebar a:hover {
  background: #f3f4f6 !important;
  color: #4f46e5 !important;
  border-radius: 8px;
}

/* ACTIVE ITEM */
.sidebar a.active {
  background: #4f46e5 !important;
  color: #fff !important;
  border-radius: 8px;
}

/* MENU ITEMS SPACING */
.sidebar li {
  margin-bottom: 5px;
}

/* REMOVE BLACK */
.sidebar * {
  background: transparent !important;
}

/* FIX ICON BUTTON (yellow) */
.sidebar-toggle,
.menu-toggle {
  background: #facc15 !important;
  color: #000 !important;
}
.sidebar {
  box-shadow: 2px 0 10px rgba(0,0,0,0.05);
}
/* MOBILE CATEGORY FIX */
@media (max-width: 768px) {

  select.form-control {
    height: 50px;
    border-radius: 12px;
    font-size: 15px;
    padding: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
  }

  /* dropdown options */
  select.form-control option {
    padding: 12px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
  }

}
.select2-container--default .select2-selection--single {
  height: 50px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
}

.select2-selection__rendered {
  font-size: 15px;
  color: #111 !important;
}

.select2-dropdown {
  border-radius: 12px;
  overflow: hidden;
}

.select2-results__option {
  padding: 12px;
  font-size: 14px;
}

.select2-results__option--highlighted {
  background: #4f46e5 !important;
  color: #fff !important;
}
/* FIX CATEGORY MOBILE */
@media (max-width: 768px) {
  
  select#order-form-category {
    font-size: 14px;
    padding: 10px;
  }

}
/* FIX ADD FUNDS DESIGN */

/* الفورم */
.well {
  border-radius: 15px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
  background: #fff !important;
}

/* select */
#method {
  border-radius: 10px !important;
  background: #000 !important;
  color: #fff !important;
}

/* inputs */
.form-control {
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
}

/* button */
.btn-primary {
  background: linear-gradient(45deg,#4f46e5,#6366f1) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px !important;
}

/* instruction box */
.well .well {
  background: #f9fafb !important;
  border-radius: 12px !important;
}

/* titles */
label {
  font-weight: 600;
}

/* mobile fix */
@media (max-width:768px){
  .well{
    padding:15px;
  }
}
.addfunds-modern {
  max-width: 1200px;
}

.methods-top {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.methods-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.method-badge {
  padding: 10px 15px;
  background: #f1f5f9;
  border-radius: 10px;
  font-size: 13px;
}

.method-badge.active {
  background: #4f46e5;
  color: #fff;
}

.box-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.box-card h4 {
  margin-bottom: 15px;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(45deg,#4f46e5,#6366f1);
  border: none;
}
/* HERO */
.login-hero {
  display: flex;
  min-height: 90vh;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

/* LEFT */
.login-left {
  width: 50%;
  padding: 80px;
}

.login-left h1 {
  font-size: 40px;
  font-weight: bold;
}

.login-left p {
  margin-top: 15px;
  color: #cbd5e1;
}

/* RIGHT */
.login-right {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGIN BOX */
.login-box {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  width: 350px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* INPUT */
.login-box input {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* BUTTON */
.login-box button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg,#4f46e5,#6366f1);
  border: none;
  color: #fff;
  font-weight: bold;
}

/* FLOATING ICONS */
.floating-icons img {
  width: 50px;
  position: absolute;
  animation: float 6s infinite ease-in-out;
}

.floating-icons img:nth-child(1){ top: 20%; left: 10%; }
.floating-icons img:nth-child(2){ top: 50%; left: 30%; }
.floating-icons img:nth-child(3){ top: 70%; left: 15%; }
.floating-icons img:nth-child(4){ top: 40%; left: 50%; }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* MOBILE */
@media(max-width:768px){
  .login-hero {
    flex-direction: column;
  }

  .login-left, .login-right {
    width: 100%;
    padding: 20px;
  }
}
.signin-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80vh;
  padding: 40px;
}

.signin-left {
  width: 50%;
}

.signin-right {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}
.social-icons {
  margin-top: 20px;
}

.social-icons i {
  font-size: 28px;
  margin-right: 15px;
  color: #555;
  animation: float 3s infinite ease-in-out;
}

.social-icons i:nth-child(2){animation-delay:0.3s;}
.social-icons i:nth-child(3){animation-delay:0.6s;}
.social-icons i:nth-child(4){animation-delay:0.9s;}
.social-icons i:nth-child(5){animation-delay:1.2s;}

@keyframes float {
  0%{transform:translateY(0);}
  50%{transform:translateY(-8px);}
  100%{transform:translateY(0);}
}
.social-icons {
  margin-top: 20px;
}

.social-icons i {
  font-size: 30px;
  margin-right: 15px;
  color: #555;
  transition: 0.3s;
  animation: float 3s infinite ease-in-out;
}

.social-icons i:hover {
  color: #4f46e5;
  transform: scale(1.2);
}

@keyframes float {
  0%{transform:translateY(0);}
  50%{transform:translateY(-8px);}
  100%{transform:translateY(0);}
}
@media (max-width: 768px) {

  .signin-container {
    flex-direction: column;
    padding: 20px;
  }

  .signin-left {
    width: 100%;
    text-align: center;
  }

  .signin-right {
    width: 100%;
    justify-content: center;
    margin-top: 30px;
  }

  .login-box {
    width: 100%;
    max-width: 100%;
  }

  .signin-left h1 {
    font-size: 24px;
  }

  .social-icons i {
    font-size: 24px;
  }

}
.login-icons {
  margin-top: 20px;
  text-align: center;
}

.login-icons i {
  font-size: 26px;
  margin: 8px;
  color: #555;
  transition: 0.3s;
}

.login-icons i:hover {
  transform: scale(1.2);
  color: #4f46e5;
}
.signin-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
}

.signin-left {
  width: 50%;
}

.signin-right {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}
.signin-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 🔥 هذا هو السر */
  padding: 40px;
}
.btn-primary {
  background: linear-gradient(135deg, #FFD700, #FFC300); /* أصفر جميل */
  border: none;
  color: #000; /* نص أسود باش يكون واضح */
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  transition: 0.3s;
}
.signin-right .btn-primary {
  background: linear-gradient(135deg, #FFD84D, #FFC93C) !important;
  border: none !important;
  color: #222 !important;
  font-weight: bold;
  box-shadow: 0 6px 18px rgba(255, 200, 60, 0.45) !important;
  transition: all 0.3s ease;
}

.signin-right .btn-primary:hover {
  background: linear-gradient(135deg, #FFC93C, #FFB800) !important;
  box-shadow: 0 8px 25px rgba(255, 180, 0, 0.6) !important;
  transform: translateY(-2px) scale(1.02);
}
.signin-left h1 {
  background: linear-gradient(90deg, #FFD700, #FFC300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  
  /* Glow effect */
  text-shadow: 
    0 0 8px rgba(255, 215, 0, 0.6),
    0 0 15px rgba(255, 200, 0, 0.4);
}
.header .btn,
.header .nav,
.navbar-right {
  display: none !important;
}
.login-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.login-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.login-icons i {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  animation: float 3s ease-in-out infinite;
}

/* ألوان كل منصة */
.login-icons .fa-facebook { background: #1877f2; }
.login-icons .fa-instagram { background: #e1306c; }
.login-icons .fa-tiktok { background: #000; }
.login-icons .fa-youtube { background: #ff0000; }
.login-icons .fa-telegram { background: #0088cc; }
.login-icons .fa-spotify { background: #1db954; }

/* Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}
.bg-icons {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bg-icons i {
  position: absolute;
  font-size: 45px; /* كبرناهم شوية */
  opacity: 0.35; /* كان 0.15 → دابا واضحين */
  animation: float 6s infinite ease-in-out;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.2)); /* glow خفيف */
}

/* توزيع عشوائي */
.bg-icons i:nth-child(1) { top: 10%; left: 15%; color:#1877f2; }
.bg-icons i:nth-child(2) { top: 30%; left: 70%; color:#e1306c; }
.bg-icons i:nth-child(3) { top: 60%; left: 20%; color:#000; }
.bg-icons i:nth-child(4) { top: 75%; left: 80%; color:#ff0000; }
.bg-icons i:nth-child(5) { top: 20%; left: 85%; color:#0088cc; }
.bg-icons i:nth-child(6) { top: 50%; left: 60%; color:#1db954; }
.bg-icons i:nth-child(7) { top: 80%; left: 40%; color:#5865F2; }
.bg-icons i:nth-child(8) { top: 40%; left: 10%; color:#1DA1F2; }
.bg-icons i:nth-child(9) { top: 65%; left: 75%; color:#25D366; }
.bg-icons i:nth-child(10){ top: 15%; left: 50%; color:#FFFC00; }

/* حركة */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}
.signin-container {
  position: relative;
  z-index: 2;
}
.login-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  padding: 45px 40px;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.15);
}
/* inputs بحال الصورة */
.login-card .form-control {
  background: #e9edf3 !important;
  border-radius: 14px;
  padding: 14px;
}

/* زر أسود احترافي */
.login-card .btn-primary {
  background: #000 !important;
  color: #fff;
  border-radius: 14px;
  padding: 12px;
}
.login-box {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.signin-right {
  width: 50%; /* كانت صغيرة، دابا توسعات */
  display: flex;
  justify-content: flex-end;
}
.signin-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* بدل center */
  padding: 40px 120px 80px; /* نقصنا من الفوق */
}
.login-card .form-control {
  height: 50px;
  font-size: 15px;
}
.login-title {
  color: #f4c430; /* أصفر احترافي */
}
/* 📱 MOBILE FIX */
@media (max-width: 768px) {

  /* نخلي layout عمودي */
  .signin-container {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  /* LEFT */
  .signin-left {
    width: 100%;
  }

  .signin-left h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .signin-left p {
    font-size: 14px;
  }

  /* RIGHT (الكارت) */
  .signin-right {
    width: 100%;
    margin-top: 30px;
    justify-content: center;
  }

  .login-card {
    width: 100%;
    max-width: 100%;
    padding: 25px;
  }

  /* inputs */
  .login-card .form-control {
    height: 45px;
    font-size: 14px;
  }

  /* button */
  .login-card .btn-primary {
    width: 100%;
  }

  /* icons الخلفية خففهم */
.bg-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-icons i {
  position: absolute;
  font-size: 40px;
  opacity: 0.14; /* زدنا الوضوح */
  filter: saturate(1.3); /* زيدنا اللون */
  text-shadow: 0 0 10px rgba(255,255,255,0.3); /* glow خفيف */
}
/* مهم بزاف */
.well {
  overflow: visible !important;
  position: relative;
  z-index: 5;
}
.well {
  overflow: visible !important;
  position: relative;
  z-index: 10;
}
.modal {
  z-index: 9999 !important;
}

.modal-backdrop {
  z-index: 9998 !important;
}
/* sidebar scroll */
.sidebar {
  height: 100vh;
  overflow-y: auto;
}

/* شكل scroll بحال ChatGPT */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.4);
}

/* Firefox */
.sidebar {
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.25) transparent;
}
.sidebar {
  height: 100vh !important;
  overflow-y: auto !important;
}
.hero-section{
  width: 100%;
  display: block;
  clear: both;
  margin-top: 80px;
}
.signin-container{
  flex-wrap: wrap;
}
