@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@300;400;500;600&display=swap');

:root {
  --primary-color: #1a1b20;
  --primary-lighter-color: #292a2f;
  --primary-hover-color: yellow;
  --primary-font-family: "Noto Kufi Arabic";
  --form-bg-color: #1C1C1E;
  --form-border-color: rgba(255, 255, 255, 0.12);
}

body {
  font-family: var(--primary-font-family), sans-serif !important;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  /* display: none; */
}

.btn-link {
  color: yellow !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:target {
  background: var(--primary-hover-color) !important;
  color: black !important;
}

body.user {
  font-family: var(--primary-font-family), sans-serif !important;
  background: var(--primary-color) !important;
  display: block;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-lighter-color);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.hidden {
  display: none !important;
}

.page-content {
  flex-grow: 1;
}

.btn-success,
.bg-success {
  background: #67e076 !important;
}

.bg-primary {
  background: var(--primary-color) !important;
}

.btn-success:hover,
.btn-success:focus {
  background: #3ad64c !important;
  outline: none !important;
  border: none !important;
}

.btn {
  outline: none !important;
  border: none !important;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  box-shadow: 0px 10px 26px rgba(26, 27, 32, 0.26) !important;
}

.heading {
  position: relative;
}

.heading > div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: calc(2rem + 80px);
}

.heading .heading-image {
  flex-grow: 1;
  text-align: center;
}

.heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--primary-color);
}

.home .heading::before {
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

body:not(.home) {
  background: var(--primary-color);
}

.heading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  /* تم إزالة الخلفية الصورية */
  background: transparent;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}

.register .heading::after {
  background-position: center;
}

.text-muted {
  color: #ffffff !important;
  opacity: 0.7 !important;
}

.navbar {
  font-size: 1.15rem !important;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--primary-color);
  z-index: 5;
}

.navbar-toggler {
  border: none !important;
  position: relative;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: 0;
}

.navbar-toggler span {
  display: block;
  background-color: #fff;
  height: 3px;
  width: 25px;
  margin-top: 4px;
  margin-bottom: 4px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  position: relative;
  left: 0;
  opacity: 1;
}

.navbar-toggler span:nth-child(1),
.navbar-toggler span:nth-child(3) {
  -webkit-transition: transform 0.35s ease-in-out;
  -moz-transition: transform 0.35s ease-in-out;
  -o-transition: transform 0.35s ease-in-out;
  transition: transform 0.35s ease-in-out;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
  position: absolute;
  left: 12px;
  top: 10px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
  opacity: 0.9;
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
  height: 12px;
  visibility: hidden;
  background-color: transparent;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
  position: absolute;
  left: 12px;
  top: 10px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
  opacity: 0.9;
}

.bg-dark {
  background: var(--primary-lighter-color) !important;
}

.btn-light {
  background: var(--primary-lighter-color) !important;
  color: #ffffff !important;
}

.btn-dark {
  transition: opacity 0.5s;
  margin-top: 2px;
  background: var(--primary-color);
  border: 2px solid var(--primary-color) !important;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active,
.btn-dark:not(:disabled):not(.disabled).active,
.btn-dark:not(:disabled):not(.disabled):active,
.show > .btn-dark.dropdown-toggle {
  background-color: var(--primary-color);
  opacity: 0.9;
}

.btn-dark:hover {
  border-color: var(--primary-color) !important;
}

.btn-dark-outline {
  margin-top: 2px;
  color: var(--primary-color);
  border: 2px solid var(--primary-color) !important;
}

.btn-dark-outline:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.heading-image img {
  max-height: 520px;
  margin-bottom: -34px;
  max-width: 100%;
}

.img-side {
  max-height: 370px;
  max-width: 100%;
}

.text-light {
  color: #69788c !important;
}

b,
strong {
  font-weight: 600;
}

.shadow-0 {
  box-shadow: none !important;
}

.features {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
}

.features .feature {
  width: 275px;
  background: #fff;
  box-shadow: 0px 10px 48px rgba(0, 0, 0, 0.2);
  border-radius: 5rem;
  padding: 1rem;
}

.icon-24 {
  font-size: 24px;
  line-height: 24px;
}

.icon-36 {
  font-size: 36px;
  line-height: 36px;
}

.icon-48 {
  font-size: 48px;
  line-height: 48px;
}

.features .feature:nth-child(odd) {
  margin-left: -50px;
}

.features .feature:nth-child(even) {
  background: var(--primary-lighter-color);
  color: #ffffff;
}

.circle-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.secure-payment {
  width: 275px;
  background: #ffffff;
  box-shadow: 0px 10px 48px rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.secure-payment .icon {
  background: var(--primary-color);
  box-shadow: 0px 10px 48px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: calc(-1rem - 30px);
}

/* شيلنا صورة pattern من الخلفية */
.bg-pattern {
  background-color: var(--primary-lighter-color);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.rounded {
  border-radius: 1rem !important;
}

.shadow {
  box-shadow: 0px 10px 48px rgba(0, 0, 0, 0.2) !important;
}

.shadow-sm {
  box-shadow: 0px 10px 48px rgba(0, 0, 0, 0.1) !important;
}

.testimonials .testimonial {
  border-radius: 5rem;
}

.testimonials .testimonial + .testimonial {
  margin-top: 2rem;
}

.testimonials .testimonial:nth-child(even) {
  background-color: var(--primary-lighter-color);
  color: #ffffff;
  margin-left: 50px;
}

.footer {
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
  background: var(--primary-lighter-color);
}

.footer .copyright {
  background: var(--primary-color);
}

.footer > div {
  position: relative;
  z-index: 2;
}

.footer .h4 {
  height: 40px;
}

.input-group.input-style {
  box-shadow: 0px 10px 48px rgba(0, 0, 0, 0.1) !important;
  border-radius: 0.75rem;
  border: 1px solid #f0f0f0;
  background: #ffffff;
}

.input-group.input-style .input-group-text {
  background-color: #ffffff !important;
  border: 0 !important;
  border-radius: 0.75rem;
}

.form-control.input-style {
  border: 0 !important;
  height: 50px;
  background-color: #ffffff;
  box-shadow: none !important;
  border-radius: 0.75rem;
}

.bg-gray {
  background-color: #fafafa !important;
}

.bg-lighter {
  background-color: var(--primary-lighter-color) !important;
}

.modal-content {
  border-radius: 1rem;
}

.modal .btn-success,
.register-form .btn-success {
  height: 50px;
  border-radius: 0.75rem !important;
  padding: 0 !important;
}

.modal .circle-icon {
  width: 60px;
  height: 60px;
  margin-top: calc(-30px - 3rem);
  margin-bottom: 1rem;
}

.modal-content {
  margin-top: 30px;
}

.custom-checkbox .custom-control-label::before {
  border-color: #67e076;
}

.custom-control-input:focus ~ .custom-control-label::before {
  border-color: #67e076 !important;
  box-shadow: none !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: #67e076 !important;
  background-color: #67e076 !important;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
  border-color: #67e076 !important;
}

.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
  background-color: #d6f5dd !important;
  border-color: #d6f5dd !important;
}

.terms.nav-tabs {
  border: none;
}

.terms.nav-tabs .nav-item + .nav-item {
  margin-left: 1rem;
}

.terms.nav-tabs li a {
  border-radius: 3rem !important;
}

.terms.nav-tabs li a:not(.active) {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
}

.terms.nav-tabs li a.active {
  background: #52bb5e !important;
  color: #ffffff !important;
  border-color: #52bb5e !important;
  border: none;
}

.terms.tab-content p:last-of-type {
  margin-bottom: 0 !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

#g-recaptcha-response {
  display: block !important;
  position: absolute;
  margin: -78px 0 0 0 !important;
  width: 302px !important;
  height: 76px !important;
  z-index: -999999;
  opacity: 0;
}

table.table-style {
  color: #ffffff;
  border: 1px solid var(--primary-color);
  table-layout: fixed;
}
table.table-style td,
table th {
  border-color: var(--primary-color) !important;
}

.table.table-style th {
  border-bottom: 0 !important;
}

.table.table-style {
  word-break: break-all;
}

.bg-lighter pre {
  color: #ffffff !important;
}

.service-category td {
  text-align: center;
  background-color: var(--primary-color);
  padding: 1rem 0;
  border-radius: 1rem;
}

table.services {
  border-collapse: separate;
  border-spacing: 0 1rem;
  margin-bottom: -1rem;
  margin-top: -2rem;
}

table.services .service td {
  background-color: #ffffff;
  color: #000000;
  vertical-align: middle;
}

table.services .service td:first-of-type {
  border-top-left-radius: 5rem;
  border-bottom-left-radius: 5rem;
  padding-left: 1.5rem;
}

table.services .service td:last-of-type {
  border-top-right-radius: 5rem;
  border-bottom-right-radius: 5rem;
  text-align: center;
}

table.services .service td:nth-of-type(1),
table.services th:nth-of-type(1) {
  width: 40%;
}

table.services th:nth-of-type(5) {
  text-align: center;
}

table.services .service td:nth-of-type(2),
table.services .service td:nth-of-type(3),
table.services .service td:nth-of-type(4),
table.services .service td:nth-of-type(5),
table.services th:nth-of-type(2),
table.services th:nth-of-type(3),
table.services th:nth-of-type(4),
table.services th:nth-of-type(5) {
  width: 15%;
}

.icon-details {
  font-size: 24px;
  color: #67e076;
  cursor: pointer;
}

.btn-white {
  height: 50px;
  color: #000000;
  background-color: #ffffff;
  width: 100%;
}

.filter-items {
  width: 100%;
  height: auto;
  max-height: 200px;
  overflow-x: hidden;
}

.filter-items .dropdown-item {
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-items .dropdown-item.active,
.dropdown-item:active {
  background-color: var(--primary-color);
}

.g-recaptcha {
  min-height: 78px;
}

#sidebar-wrapper {
  min-height: 100vh;
  margin-left: -15rem;
  -webkit-transition: margin 0.25s ease-out;
  -moz-transition: margin 0.25s ease-out;
  -o-transition: margin 0.25s ease-out;
  transition: margin 0.25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
  padding: 0.875rem 1.25rem;
  margin-top: calc(65px - 1.25rem);
}

#sidebar-wrapper .list-group {
  width: 15rem;
}

#page-content-wrapper {
  min-width: 100vw;
  padding-top: 70px;
  margin-top: 15px;
}

#page-content-wrapper .navbar {
  height: 70px;
  padding-top: 0;
  padding-bottom: 0;
}

.list-group-item {
  background: var(--primary-lighter-color) !important;
  text-decoration: none !important;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border: 0 !important;
  transition: border-color 0.5s, opacity 0.5s;
  color: #ffffff;
  opacity: 0.7;
  border-left: 4px solid transparent !important;
}

.list-group-item div {
  display: flex;
  align-items: center;
  border-radius: 0.25rem;
  transition: all 0.5s;
}

.list-group-item.active {
  border-color: #52bb5e !important;
}

.list-group-item.active {
  opacity: 1 !important;
}

.list-group-item i {
  font-size: 1.25rem;
}

.list-group-item:hover {
  border-color: #52bb5e !important;
}
.list-group-item:hover {
  color: #ffffff !important;
  opacity: 1 !important;
}

.logo-wrapper {
  width: 13.25rem;
  margin-right: 0.875rem;
}

.logo-wrapper img {
  width: auto;
  max-width: 100%;
  max-height: 50px;
}

#menu-toggle {
  font-size: 1.75rem;
  line-height: 1.75rem;
  width: 45px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
}

#navbarContent {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  #sidebar-wrapper {
    margin-left: 0;
  }

  #page-content-wrapper {
    min-width: 0;
    width: 100%;
  }

  #dashboard-wrapper.toggled #sidebar-wrapper {
    margin-left: -10rem;
  }
  #dashboard-wrapper.toggled .list-group-item {
    padding-left: 10rem !important;
    font-size: 1rem !important;
    border: 0 !important;
    position: relative;
  }
  #dashboard-wrapper.toggled .list-group-item.active {
    color: #52bb5e !important;
  }
  #dashboard-wrapper.toggled .list-group-item div {
    width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #dashboard-wrapper.toggled .list-group-item:hover:after {
    content: attr(data-title);
    display: flex;
    align-items: center;
    background: var(--primary-lighter-color);
    padding: 0 1rem;
    position: absolute;
    top: 0;
    left: 15rem;
    width: 150px;
    height: 100%;
  }
  #dashboard-wrapper.toggled .list-group-item span {
    display: none;
  }
}

@media (max-width: 768px) {
  #sidebar-wrapper {
    position: absolute;
  }
  #dashboard-wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
  }
  .g-recaptcha {
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
  .secure-payment {
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
  }

  .secure-payment {
    top: 100%;
  }

  .payment-safe {
    margin-bottom: 4rem;
  }

  .testimonials .testimonial {
    margin-top: 2rem;
    border-radius: 0.75rem;
    margin-left: 0 !important;
  }

  .footer .h4 {
    height: auto;
  }
  .terms.nav-tabs li {
    width: 100%;
    margin: 0 !important;
  }
  .terms.nav-tabs li + li {
    margin-top: 1rem !important;
  }

  table.services .service {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 1rem;
  }
  table.services .service + .service {
    margin-top: 1rem;
  }
  table.services .service td {
    width: 100% !important;
    text-align: left !important;
  }
  table.services thead {
    display: none;
  }
  table.services .service td:first-of-type {
    border: 0;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding-left: 0.75rem !important;
  }
  table.services .service td:last-of-type {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }
  table.services .service td::before {
    content: attr(data-title);
    font-weight: bold;
    display: block;
  }
  table.services {
    margin-top: 0 !important;
  }
}

.app-sidebar {
  width: 280px;
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100vh;
  background: var(--primary-color); /* شيلنا الصورة sidebar.png */
  background-size: cover;
  z-index: 1001;
  -webkit-transition: .2s ease;
  transition: .2s ease;
  border-right: 1px solid var(--primary-lighter-color);
  z-index: 1029;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.app-sidebar .sidebar-header {
  overflow: hidden;
  position: relative;
  padding-top: 30px;
  padding-bottom: 0px;
  text-align: center;
}

.app-sidebar .sidebar-header .logo-lg {
  display: inline-block;
  height: 75px !important;
}

.app-sidebar .sidebar-header .logo-sm {
  display: none;
  height: 45px;
}

.app-sidebar .app-logo {
  width: 100%;
  text-align: center;
  position: relative;
}

.app-sidebar .sidebar-header > * {
  position: relative;
  z-index: 2;
}

.app-sidebar .sidebar-content {
  padding: 0px 0;
  overflow-x: auto;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.app-sidebar .sidebar-content::-webkit-scrollbar {
  width: 4px;
}

.app-sidebar .sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

.app-sidebar .sidebar-content::-webkit-scrollbar-thumb {
  background: var(--primary-lighter-color);
  border-radius: 2px;
}

.app-sidebar .sidebar-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.app-sidebar .sidebar-menu {
  list-style: none;
  padding: 0px 14px 0px 0px;
  margin: 50px 0;
}

.app-sidebar .sidebar-menu li {
  display: block;
  margin-bottom: 10px;
  position: relative;
}

.app-sidebar .sidebar-menu li.active > a.menu-link {
  background: var(--primary-lighter-color);
  color: #fff;
  border-right: 5px solid var(--primary-hover-color);
}

.app-sidebar .sidebar-menu li.active > a.menu-link:hover {
  background: var(--primary-lighter-color);
  transition: 0.4s all;
}

.app-sidebar .sidebar-menu li a.menu-link {
  padding: 15px 18px;
  border-radius: 0 30px 30px 0;
  display: block;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  line-height: 24px;
  -webkit-transition: .14s ease;
  transition: .14s ease;
}

.app-sidebar .sidebar-menu li a.menu-link:hover {
  background: var(--primary-hover-color);
  transition: 0.4s all;
  color: black !important;
}

.app-sidebar .sidebar-menu li:not(.active) a:hover {
  color: black !important;
}

.app-sidebar .sidebar-menu li a.menu-link .menu-icon {
  margin-right: 10px;
  height: 24px;
  width: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 20px;
  vertical-align: -4px;
}

.app-header {
  top: 0px;
  left: 280px;
  right: 0px;
  z-index: 1003;
  background: var(--primary-color);
  border-left: 1px solid var(--primary-lighter-color);
  border-bottom: 1px solid var(--primary-lighter-color);
  height: 80px;
  position: fixed;
}

.app-header .row-100 {
  height: 80px;
}

.app-header .col-100 {
  max-height: 80px !important;
}

.app-header .header-btn {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  display: inline-block;
  line-height: 24px;
  text-decoration: none;
}

.app-header .header-btn:hover .icon {
  background: #fff;
  color: #185BDC;
  opacity: 1;
}

.app-header .header-btn .icon {
  height: 45px;
  display: inline-block;
  width: 45px;
  font-size: 24px;
  line-height: 42px;
  text-align: center;
  vertical-align: -2px;
  border-radius: 9px;
  background: #185BDC40;
  border: 1px solid #185BDC40;
  color: #fff;
  margin-right: 8px;
  -webkit-transition: .14s ease;
  transition: .14s ease;
  opacity: .7;
}

/* ... باقي الملف كما هو (u-stats, tablepen, orderNav, الخ) لكن مع تصحيح الخلفية: */

.u-stats .us-item::before {
  content: '';
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  /* شيلنا صورة main-dot.png */
  background: transparent;
  opacity: .0;
}