/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

/* Now you can use the font in your CSS */

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

html, body, * {
  font-family: 'Tajawal', sans-serif !important;
  font-weight: 500;
  unicode-range: U+0030-0039; /* نطاق الأرقام الإنجليزية */

}

a.menu-link {
  height: 35px;
}

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.arbtn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.53;
    color: #697a8d;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.4375rem 1.25rem;
    font-size: 0.9375rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    margin-right: -25px;
}


div#ava {
    background-color: #8789ff;
    color: white;
    border-radius: 20px;
    padding: 2px;
}
div#treasure {
    padding: 18px;
    background: #8789ff;
    color: white;
    border-radius: 15px;
    margin: 5px 10px 15px 10px;
}

.hide {
    position: absolute;
    visibility: hidden;
}


.table-container {
    width: 100%;
    overflow-y: auto; /* Enable vertical scrolling */
    max-height: 400px; /* Set max height for scrollable area */
}

.fixed-header {
    width: 100%;
    table-layout: fixed; /* Ensure consistent table layout */
}

    .fixed-header thead {
        background-color: #f0f0f0; /* Header background color */
        position: sticky; /* Make header sticky */
        top: 0; /* Stick to the top */
        z-index: 1; /* Ensure header stays on top of content */
    }


div#spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d6efda1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-radius: 0.5rem;
}

form-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.spinner-border.text-white {
    scale: 2;
}




div[style*="height: 65px"],
div[style*="opacity: 0.9"],
div[style*="onmouseover"] {
  display: none !important;
}

div[style*="height: 65px"],
div[style*="opacity: 0.9"],
div[style*="onmouseover"],
center > a[href*="somee.com"] {
  display: none !important;
}

.table-info .darker-cell {
  background-color: #a8d1df !important;
  /* Darker shade of blue */
}

.table-info .total-row {
  background-color: #a8d1df !important;
  /* Darker shade of blue */
}

.table-info .total-row .darker-cell {
  background-color: #86c3d7 !important;
  /* Even darker shade for the bottom-right cell */
}




html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
.myborder {
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    border-radius: 5px;
}
html {
  position: relative;
  min-height: 100%;
}


div#right {
    float: right;
}
div#left {
    float: left;
    max-width: 300px;
    direction:ltr;
}
div#redir {
    direction: ltr;
    margin: -5px 0px -10px 0px;
}

.myhead {
    padding-bottom: 55px;
}
.space {
    padding-right: 15px;
}
a.dropdown-item {
    text-align: right;
}


#spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0dcaf0b8;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-radius: 5px;
}
form-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* logo */
.app-brand.demo {
  direction: rtl;
}
