/* 🔥 GLOBAL RESET */
body {
  background: #0f0f0f;
  color: #fff;
  font-family: Arial, sans-serif;
}

/* 🔥 NEW ORDER ONLY */
.custom-neworder .well {
  background: #111;
  border: none;
  border-radius: 15px;
  padding: 20px;
}

/* 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;
}

/* DESCRIPTION BOX */
.custom-neworder #service_description .panel-body {
  background: #1a1a1a;
  border-radius: 10px;
  color: #fff;
  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%;
  }
}

@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);
}
/* TOP BAR */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0b0b0b;
  border-bottom: 1px solid #222;
  padding: 10px 15px;
}

/* LOGO */
.logo {
  height: 40px;
}

.logo-text {
  color: #fff;
  font-weight: bold;
}

/* TEXT */
.top-center {
  color: #ffcc00;
  font-size: 14px;
  text-align: center;
  flex: 1;
}
/* TOP RIGHT MENU */
.navbar-right-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BALANCE */
.navbar-right-block .badge {
  background: linear-gradient(45deg, #ffcc00, #ffaa00);
  color: #000;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(255,204,0,0.5);
}

/* LINKS */
.navbar-right-block li a {
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  transition: 0.2s;
}

/* ACCOUNT */
.navbar-right-block li a:hover {
  background: #ffcc00;
  color: #000;
}

/* LOGOUT SPECIAL */
.navbar-right-block li:last-child a {
  border: 1px solid #ffcc00;
}

.navbar-right-block li:last-child a:hover {
  background: #ffcc00;
  color: #000;
}
.navbar-right-block {
  background: rgba(255,255,255,0.03);
  padding: 5px 10px;
  border-radius: 12px;
}
.main-content {
  margin-left: 250px;
  padding: 15px;
  width: auto; /* مهم */
}
.sidebar.closed + .main-content {
  margin-left: 70px;
  width: calc(100% - 70px);
}
/* لما يتسد sidebar */
.sidebar.closed {
  width: 70px;
}

/* يخبي النص */
.sidebar.closed .menu-text {
  display: none;
}
.sidebar.closed .menu-text {
  opacity: 0;
  visibility: hidden;
  width: 0;
}
/* الحالة العادية */
.sidebar {
  width: 250px;
  transition: all 0.3s ease;
}

/* ملي يتسد */
.sidebar.closed {
  width: 70px;
}

/* إخفاء الكتابة ملي يتسد */
.sidebar.closed .menu-text {
  display: none;
}

/* تحريك المحتوى باش ما يبقاش تحت السبيدر */
.main-content {
  margin-left: 250px;
  transition: all 0.3s ease;
}

.sidebar.closed ~ .main-content {
  margin-left: 70px;
}
/* sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 250px;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* ملي يتسد */
.sidebar.closed {
  width: 70px;
}

/* المحتوى */
.main-content {
  margin-left: 250px;
  transition: all 0.3s ease;
}

/* ملي sidebar يتسد */
.sidebar.closed ~ .main-content {
  margin-left: 70px;
}
/* wrapper كامل */
.layout {
  display: flex;
}

/* sidebar */
.sidebar {
  width: 250px;
  min-height: 100vh;
  transition: all 0.3s ease;
}

/* ملي يتسد */
.sidebar.closed {
  width: 70px;
}

/* المحتوى */
.main-content {
  flex: 1;
  padding: 20px;
}

/* إخفاء الكتابة */
.sidebar.closed .menu-text {
  display: none;
}
/* الحالة العادية */
#sidebar {
  width: 250px;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  transition: 0.3s;
}

/* ملي يتسد */
#sidebar.closed {
  width: 70px;
}

/* أهم حاجة 👇 */
.main-content {
  margin-left: 250px;
  transition: 0.3s;
}

/* ملي sidebar يتسد */
#sidebar.closed + .main-content {
  margin-left: 70px;
}
/* الحالة العادية */
#sidebar {
  width: 250px;
  transition: 0.3s;
}

/* ملي يتسد */
#sidebar.closed {
  width: 0;
  overflow: hidden;
}

/* المحتوى */
.main-content {
  margin-left: 250px;
  transition: 0.3s;
}

/* ملي sidebar يتسد */
#sidebar.closed + .main-content {
  margin-left: 0;
}
/* ملي يتسد خليه يخرج كامل من الشاشة */
#sidebar.closed {
  width: 0 !important;
  margin-left: -250px;
}