/* EYPO QUIZ Admin Pro RTL v1.0
   Safe RTL + modern dashboard skin for Stisla/Bootstrap admin.
   Does not override Font Awesome icons. */

:root{
  --eypo-bg:#07111f;
  --eypo-bg-soft:#0b1728;
  --eypo-card:#101b2f;
  --eypo-card-2:#14213a;
  --eypo-border:rgba(255,255,255,.09);
  --eypo-text:#f8fbff;
  --eypo-muted:#aab8d0;
  --eypo-primary:var(--theme-color,#f05387);
  --eypo-primary-2:#00d4ff;
  --eypo-danger:#ff4d6d;
  --eypo-success:#31d0aa;
  --eypo-warning:#ffca3a;
  --eypo-radius:18px;
  --eypo-shadow:0 18px 45px rgba(0,0,0,.32);
  --eypo-side-width:280px;
  --eypo-side-mini:78px;
}

html.eypo-admin-rtl,
html.eypo-admin-rtl body{
  direction:rtl;
  text-align:right;
}

html.eypo-admin-rtl body,
html.eypo-admin-rtl button,
html.eypo-admin-rtl input,
html.eypo-admin-rtl select,
html.eypo-admin-rtl textarea,
html.eypo-admin-rtl .btn,
html.eypo-admin-rtl .form-control,
html.eypo-admin-rtl .dropdown-menu{
  font-family:Tahoma, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

html.eypo-admin-rtl .fa,
html.eypo-admin-rtl .fas,
html.eypo-admin-rtl .far,
html.eypo-admin-rtl .fal,
html.eypo-admin-rtl .fad,
html.eypo-admin-rtl .fab,
html.eypo-admin-rtl [class^="fa-"],
html.eypo-admin-rtl [class*=" fa-"]{
  font-family:"Font Awesome 5 Free" !important;
}
html.eypo-admin-rtl .fab{font-family:"Font Awesome 5 Brands" !important;}
html.eypo-admin-rtl .far{font-family:"Font Awesome 5 Free" !important;font-weight:400!important;}
html.eypo-admin-rtl .fas{font-family:"Font Awesome 5 Free" !important;font-weight:900!important;}

html.eypo-admin-rtl body{
  background:
    radial-gradient(circle at 12% 5%, rgba(0,212,255,.14), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(240,83,135,.16), transparent 30%),
    linear-gradient(180deg,#07111f 0%, #0b1324 48%, #08101f 100%) !important;
  color:var(--eypo-text);
  overflow-x:hidden;
}

html.eypo-admin-rtl a{color:inherit;}
html.eypo-admin-rtl a:hover{text-decoration:none;}

/* Navbar */
html.eypo-admin-rtl .navbar-bg{
  background:linear-gradient(135deg, rgba(240,83,135,.96), rgba(0,212,255,.86)) !important;
  box-shadow:0 8px 30px rgba(0,0,0,.22);
}
html.eypo-admin-rtl .main-navbar{
  right:var(--eypo-side-width);
  left:0;
  padding-right:18px;
  padding-left:18px;
  direction:rtl;
}
html.eypo-admin-rtl .main-navbar .mr-auto{margin-right:0!important;margin-left:auto!important;}
html.eypo-admin-rtl .main-navbar .navbar-right{margin-right:auto!important;margin-left:0!important;}
html.eypo-admin-rtl .main-navbar .navbar-nav{padding-right:0;}
html.eypo-admin-rtl .nav-link-lg{border-radius:14px;}
html.eypo-admin-rtl .main-navbar .nav-link{
  color:#fff!important;
  transition:transform .18s ease, background .18s ease;
}
html.eypo-admin-rtl .main-navbar .nav-link:hover{
  background:rgba(255,255,255,.14);
  transform:translateY(-1px);
}
html.eypo-admin-rtl .navbar .dropdown-menu{
  right:auto;
  left:0;
  border:1px solid var(--eypo-border);
  border-radius:18px;
  box-shadow:var(--eypo-shadow);
  background:#101b2f;
  color:var(--eypo-text);
}
html.eypo-admin-rtl .dropdown-item,
html.eypo-admin-rtl .dropdown-item-desc{color:var(--eypo-text)!important;text-align:right;}
html.eypo-admin-rtl .dropdown-item:hover,
html.eypo-admin-rtl .dropdown-item.active{background:rgba(240,83,135,.16)!important;color:#fff!important;}
html.eypo-admin-rtl .rounded-circle.mr-1{margin-right:0!important;margin-left:.35rem!important;}

/* Sidebar */
html.eypo-admin-rtl .main-sidebar{
  right:0;
  left:auto;
  background:rgba(9,18,34,.92);
  border-left:1px solid var(--eypo-border);
  border-right:none;
  box-shadow:-8px 0 35px rgba(0,0,0,.28);
  backdrop-filter:blur(14px);
}
html.eypo-admin-rtl .main-sidebar:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(240,83,135,.08),transparent 30%,rgba(0,212,255,.06));
}
html.eypo-admin-rtl .sidebar-brand img{
  filter:drop-shadow(0 12px 26px rgba(0,0,0,.25));
  border-radius:14px;
}
html.eypo-admin-rtl .sidebar-menu{padding-right:0!important;}
html.eypo-admin-rtl .sidebar-menu li a{
  color:rgba(255,255,255,.78)!important;
  border-radius:16px 0 0 16px;
  margin:3px 10px 3px 0;
  padding:0 18px 0 12px;
  letter-spacing:0;
}
html.eypo-admin-rtl .sidebar-menu li a:hover,
html.eypo-admin-rtl .sidebar-menu li.active>a,
html.eypo-admin-rtl .sidebar-menu li.active>a.has-dropdown{
  color:#fff!important;
  background:linear-gradient(90deg,rgba(0,212,255,.16),rgba(240,83,135,.20));
  box-shadow:inset -4px 0 0 var(--eypo-primary), 0 12px 24px rgba(0,0,0,.16);
}
html.eypo-admin-rtl .sidebar-menu li a em{
  margin-right:0!important;
  margin-left:12px!important;
  width:22px;
  text-align:center;
  color:#fff;
}
html.eypo-admin-rtl .sidebar-menu .dropdown-menu{
  background:rgba(0,0,0,.16)!important;
  padding:6px 0 8px!important;
}
html.eypo-admin-rtl .sidebar-menu .dropdown-menu li a{
  padding-right:54px!important;
  padding-left:14px!important;
  color:rgba(255,255,255,.70)!important;
  font-size:13px;
}
html.eypo-admin-rtl .sidebar-menu .dropdown-menu li.active>a,
html.eypo-admin-rtl .sidebar-menu .dropdown-menu li a:hover{
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
}
html.eypo-admin-rtl .main-sidebar .sidebar-menu li a.has-dropdown:after{
  right:auto!important;
  left:20px!important;
  transform:translateY(-50%) rotate(180deg);
}
html.eypo-admin-rtl .main-sidebar .sidebar-menu li.active>a.has-dropdown:after{
  transform:translateY(-50%) rotate(90deg);
}

/* Layout offsets */
html.eypo-admin-rtl .main-content,
html.eypo-admin-rtl .main-footer{
  padding-right:calc(var(--eypo-side-width) + 30px)!important;
  padding-left:30px!important;
  margin-left:0!important;
  margin-right:0!important;
}
html.eypo-admin-rtl body.sidebar-mini .main-content,
html.eypo-admin-rtl body.sidebar-mini .main-footer{
  padding-right:calc(var(--eypo-side-mini) + 30px)!important;
  padding-left:30px!important;
}
html.eypo-admin-rtl body.sidebar-mini .main-navbar{right:var(--eypo-side-mini)!important;left:0!important;}
html.eypo-admin-rtl body.sidebar-mini .main-sidebar .sidebar-menu li a{
  border-radius:16px;
  margin-left:8px;
  margin-right:8px;
  padding-right:0!important;
  padding-left:0!important;
  justify-content:center;
}
html.eypo-admin-rtl body.sidebar-mini .main-sidebar .sidebar-menu li a em{margin:0!important;}
html.eypo-admin-rtl body.sidebar-mini .main-sidebar .sidebar-menu li a span{display:none;}

/* Sections */
html.eypo-admin-rtl .section{position:relative;}
html.eypo-admin-rtl .section-header{
  background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  border:1px solid var(--eypo-border);
  border-radius:var(--eypo-radius);
  box-shadow:var(--eypo-shadow);
  color:var(--eypo-text);
  padding:18px 22px;
  min-height:auto;
}
html.eypo-admin-rtl .section-header h1,
html.eypo-admin-rtl .section-title,
html.eypo-admin-rtl h1,
html.eypo-admin-rtl h2,
html.eypo-admin-rtl h3,
html.eypo-admin-rtl h4,
html.eypo-admin-rtl h5,
html.eypo-admin-rtl h6{color:var(--eypo-text);}
html.eypo-admin-rtl .section-header h1{font-weight:800;font-size:22px;}
html.eypo-admin-rtl .text-small,
html.eypo-admin-rtl small,
html.eypo-admin-rtl .text-muted{color:var(--eypo-muted)!important;}

/* Cards */
html.eypo-admin-rtl .card{
  background:linear-gradient(180deg,rgba(18,31,54,.96),rgba(12,21,39,.96));
  border:1px solid var(--eypo-border)!important;
  border-radius:var(--eypo-radius)!important;
  box-shadow:0 16px 38px rgba(0,0,0,.23)!important;
  color:var(--eypo-text);
  overflow:hidden;
}
html.eypo-admin-rtl .card:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--eypo-primary),var(--eypo-primary-2),transparent);
  opacity:.65;
}
html.eypo-admin-rtl .card .card-header,
html.eypo-admin-rtl .card .card-body,
html.eypo-admin-rtl .card .card-footer{background:transparent;color:var(--eypo-text);}
html.eypo-admin-rtl .card .card-header{
  border-bottom:1px solid rgba(255,255,255,.07);
  padding:18px 22px;
}
html.eypo-admin-rtl .card .card-header h4,
html.eypo-admin-rtl .card .card-header h6{color:var(--eypo-text);font-weight:800;}

html.eypo-admin-rtl .card-statistic-1{
  min-height:132px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
html.eypo-admin-rtl .card-statistic-1:hover{
  transform:translateY(-5px);
  border-color:rgba(0,212,255,.28)!important;
  box-shadow:0 24px 58px rgba(0,0,0,.36)!important;
}
html.eypo-admin-rtl .card-statistic-1 .card-icon{
  float:right!important;
  margin-right:18px!important;
  margin-left:14px!important;
  border-radius:20px!important;
  width:62px!important;
  height:62px!important;
  line-height:62px!important;
  box-shadow:0 15px 30px rgba(0,0,0,.25);
}
html.eypo-admin-rtl .card-statistic-1 .card-icon em{font-size:24px;line-height:62px!important;}
html.eypo-admin-rtl .card-statistic-1 .card-wrap{
  margin-right:96px!important;
  margin-left:0!important;
  text-align:right;
}
html.eypo-admin-rtl .card-statistic-1 .card-header{
  padding:20px 0 0!important;
  border:0;
}
html.eypo-admin-rtl .card-statistic-1 .card-header h4{
  color:var(--eypo-muted)!important;
  font-size:13px;
  font-weight:700;
}
html.eypo-admin-rtl .card-statistic-1 .card-body{
  color:#fff!important;
  font-size:28px!important;
  font-weight:900!important;
  padding:4px 0 0!important;
}
html.eypo-admin-rtl .bg-primary{background:linear-gradient(135deg,#6c63ff,#00d4ff)!important;}
html.eypo-admin-rtl .bg-danger{background:linear-gradient(135deg,#ff4d6d,#f05387)!important;}
html.eypo-admin-rtl .bg-warning{background:linear-gradient(135deg,#ffca3a,#ff8a00)!important;}
html.eypo-admin-rtl .bg-success{background:linear-gradient(135deg,#31d0aa,#00d4ff)!important;}

/* Forms */
html.eypo-admin-rtl .form-control,
html.eypo-admin-rtl .custom-select,
html.eypo-admin-rtl select,
html.eypo-admin-rtl textarea,
html.eypo-admin-rtl input[type="text"],
html.eypo-admin-rtl input[type="number"],
html.eypo-admin-rtl input[type="email"],
html.eypo-admin-rtl input[type="password"],
html.eypo-admin-rtl input[type="url"],
html.eypo-admin-rtl input[type="date"],
html.eypo-admin-rtl input[type="time"]{
  background:#0b1426!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:14px!important;
  box-shadow:none!important;
  text-align:right;
}
html.eypo-admin-rtl .form-control:focus,
html.eypo-admin-rtl .custom-select:focus,
html.eypo-admin-rtl textarea:focus,
html.eypo-admin-rtl input:focus{
  border-color:rgba(0,212,255,.65)!important;
  box-shadow:0 0 0 .18rem rgba(0,212,255,.12)!important;
}
html.eypo-admin-rtl .form-control::placeholder{color:rgba(255,255,255,.45)!important;}
html.eypo-admin-rtl label{color:var(--eypo-text);font-weight:700;}
html.eypo-admin-rtl .input-group>.form-control:not(:last-child){border-top-left-radius:0!important;border-bottom-left-radius:0!important;border-top-right-radius:14px!important;border-bottom-right-radius:14px!important;}
html.eypo-admin-rtl .input-group>.input-group-append>.btn{border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-top-left-radius:14px!important;border-bottom-left-radius:14px!important;}
html.eypo-admin-rtl .select2-container--default .select2-selection--single,
html.eypo-admin-rtl .select2-container--default .select2-selection--multiple{
  background:#0b1426!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#fff!important;
  border-radius:14px!important;
}
html.eypo-admin-rtl .select2-container--default .select2-selection--single .select2-selection__rendered{color:#fff!important;text-align:right;}
html.eypo-admin-rtl .select2-dropdown{background:#101b2f!important;border:1px solid var(--eypo-border)!important;color:#fff!important;}
html.eypo-admin-rtl .select2-results__option{color:#fff;text-align:right;}
html.eypo-admin-rtl .select2-results__option--highlighted{background:var(--eypo-primary)!important;}

/* Buttons */
html.eypo-admin-rtl .btn,
html.eypo-admin-rtl input[type="submit"]{
  border-radius:14px!important;
  font-weight:800;
  letter-spacing:0;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
html.eypo-admin-rtl .btn:hover,
html.eypo-admin-rtl input[type="submit"]:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}
html.eypo-admin-rtl .btn-primary,
html.eypo-admin-rtl .btn-info,
html.eypo-admin-rtl .btn-success{
  border:0!important;
  background:linear-gradient(135deg,var(--eypo-primary),var(--eypo-primary-2))!important;
  color:#fff!important;
}
html.eypo-admin-rtl .btn-danger{background:linear-gradient(135deg,#ff4d6d,#c9184a)!important;border:0!important;color:#fff!important;}
html.eypo-admin-rtl .btn-warning{background:linear-gradient(135deg,#ffca3a,#ff8a00)!important;border:0!important;color:#1f2937!important;}

/* Tables */
html.eypo-admin-rtl .table,
html.eypo-admin-rtl .bootstrap-table,
html.eypo-admin-rtl .fixed-table-container{color:var(--eypo-text);direction:rtl;}
html.eypo-admin-rtl .table{background:transparent!important;margin-bottom:0;}
html.eypo-admin-rtl .table thead th{
  background:#0b1426!important;
  color:#dbe8ff!important;
  border-color:rgba(255,255,255,.08)!important;
  text-align:right!important;
  font-weight:800;
}
html.eypo-admin-rtl .table td,
html.eypo-admin-rtl .table th{
  border-color:rgba(255,255,255,.07)!important;
  vertical-align:middle!important;
}
html.eypo-admin-rtl .table tbody tr{background:rgba(255,255,255,.015)!important;}
html.eypo-admin-rtl .table tbody tr:hover{background:rgba(0,212,255,.06)!important;}
html.eypo-admin-rtl .fixed-table-toolbar{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}
html.eypo-admin-rtl .fixed-table-toolbar .search{float:none!important;margin-right:0!important;margin-left:auto!important;}
html.eypo-admin-rtl .fixed-table-toolbar .columns,
html.eypo-admin-rtl .fixed-table-toolbar .bs-bars{float:none!important;margin:0!important;}
html.eypo-admin-rtl .fixed-table-pagination{color:var(--eypo-muted);}
html.eypo-admin-rtl .pagination{padding-right:0;}
html.eypo-admin-rtl .page-link{
  background:#0b1426!important;
  border-color:rgba(255,255,255,.1)!important;
  color:#fff!important;
}
html.eypo-admin-rtl .page-item.active .page-link{background:var(--eypo-primary)!important;border-color:var(--eypo-primary)!important;}
html.eypo-admin-rtl .bootstrap-table .fixed-table-container .table thead th .th-inner{text-align:right;}
html.eypo-admin-rtl .bootstrap-table .fixed-table-container .table thead th .both,
html.eypo-admin-rtl .bootstrap-table .fixed-table-container .table thead th .asc,
html.eypo-admin-rtl .bootstrap-table .fixed-table-container .table thead th .desc{background-position:left center!important;padding-left:22px!important;padding-right:8px!important;}

/* Modals / alerts */
html.eypo-admin-rtl .modal-content,
html.eypo-admin-rtl .swal2-popup{
  background:#101b2f!important;
  color:var(--eypo-text)!important;
  border:1px solid var(--eypo-border)!important;
  border-radius:20px!important;
  box-shadow:var(--eypo-shadow);
  text-align:right;
}
html.eypo-admin-rtl .modal-header,
html.eypo-admin-rtl .modal-footer{border-color:rgba(255,255,255,.08)!important;}
html.eypo-admin-rtl .modal-header .close{margin:-1rem auto -1rem -1rem!important;color:#fff;text-shadow:none;}
html.eypo-admin-rtl .iziToast{direction:rtl;text-align:right;border-radius:16px!important;}

/* Badges / pills */
html.eypo-admin-rtl .badge{border-radius:999px;padding:.38rem .58rem;font-weight:800;}
html.eypo-admin-rtl .nav-pills .nav-link{
  border-radius:14px;
  color:var(--eypo-muted);
}
html.eypo-admin-rtl .nav-pills .nav-link.active{
  background:linear-gradient(135deg,var(--eypo-primary),var(--eypo-primary-2));
  color:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.20);
}

/* Footer */
html.eypo-admin-rtl .main-footer{
  background:transparent!important;
  color:var(--eypo-muted);
  border-top:1px solid rgba(255,255,255,.08)!important;
}
html.eypo-admin-rtl .footer-left{float:right!important;}
html.eypo-admin-rtl .footer-right{float:left!important;}

/* Sidebar quick search injected by JS */
html.eypo-admin-rtl .eypo-sidebar-search{
  position:sticky;
  top:0;
  z-index:5;
  padding:10px 14px 8px;
  background:linear-gradient(180deg,rgba(9,18,34,.98),rgba(9,18,34,.76));
  backdrop-filter:blur(8px);
}
html.eypo-admin-rtl .eypo-sidebar-search input{
  width:100%;
  height:42px;
  padding:0 40px 0 12px;
  background:#0b1426!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:14px!important;
}
html.eypo-admin-rtl .eypo-sidebar-search .fas{
  position:absolute;
  right:28px;
  top:23px;
  color:var(--eypo-muted);
}
html.eypo-admin-rtl body.sidebar-mini .eypo-sidebar-search{display:none;}

/* Small utility fixes */
html.eypo-admin-rtl .float-right{float:left!important;}
html.eypo-admin-rtl .float-left{float:right!important;}
html.eypo-admin-rtl .text-right{text-align:left!important;}
html.eypo-admin-rtl .text-left{text-align:right!important;}
html.eypo-admin-rtl .mr-1{margin-right:0!important;margin-left:.25rem!important;}
html.eypo-admin-rtl .mr-2{margin-right:0!important;margin-left:.5rem!important;}
html.eypo-admin-rtl .mr-3{margin-right:0!important;margin-left:1rem!important;}
html.eypo-admin-rtl .ml-1{margin-left:0!important;margin-right:.25rem!important;}
html.eypo-admin-rtl .ml-2{margin-left:0!important;margin-right:.5rem!important;}
html.eypo-admin-rtl .ml-3{margin-left:0!important;margin-right:1rem!important;}
html.eypo-admin-rtl .offset-1{margin-right:8.333333%;margin-left:0;}
html.eypo-admin-rtl ::-webkit-scrollbar{width:10px;height:10px;}
html.eypo-admin-rtl ::-webkit-scrollbar-track{background:#07111f;}
html.eypo-admin-rtl ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,var(--eypo-primary),var(--eypo-primary-2));border-radius:20px;}

@media(max-width:1199.98px){
  html.eypo-admin-rtl .main-sidebar{
    right:-280px!important;
    left:auto!important;
    transition:right .25s ease!important;
  }
  html.eypo-admin-rtl.sidebar-show .main-sidebar,
  html.eypo-admin-rtl body.sidebar-show .main-sidebar,
  html.eypo-admin-rtl body.sidebar-gone.sidebar-show .main-sidebar{
    right:0!important;
  }
  html.eypo-admin-rtl .main-navbar{right:0!important;}
  html.eypo-admin-rtl .main-content,
  html.eypo-admin-rtl .main-footer{
    padding-right:18px!important;
    padding-left:18px!important;
  }
  html.eypo-admin-rtl .navbar-bg{right:0;left:0;}
}
@media(max-width:575.98px){
  html.eypo-admin-rtl .main-content{padding-right:12px!important;padding-left:12px!important;}
  html.eypo-admin-rtl .section-header{border-radius:16px;padding:14px 16px;}
  html.eypo-admin-rtl .card-statistic-1 .card-icon{width:54px!important;height:54px!important;line-height:54px!important;}
  html.eypo-admin-rtl .card-statistic-1 .card-wrap{margin-right:84px!important;}
  html.eypo-admin-rtl .fixed-table-toolbar{display:block;}
  html.eypo-admin-rtl .fixed-table-toolbar .search{width:100%!important;margin-bottom:10px!important;}
}


/* EYPO V37.5 organized admin panel */
html.eypo-admin-rtl .eypo-menu-header{
  margin:18px 18px 8px 18px!important;
  padding:0!important;
  color:#ffffff!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.2px!important;
  opacity:.92!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
html.eypo-admin-rtl .eypo-menu-header:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:99px;
  background:linear-gradient(135deg,var(--eypo-primary),var(--eypo-primary-2));
  box-shadow:0 0 18px rgba(240,83,135,.9);
}
html.eypo-admin-rtl .eypo-kingdom-link{
  background:linear-gradient(90deg,rgba(240,83,135,.22),rgba(0,212,255,.14))!important;
  border:1px solid rgba(255,255,255,.08);
}
html.eypo-admin-rtl .sidebar-menu .dropdown-menu li a em{
  margin-left:8px!important;
  color:rgba(255,255,255,.86)!important;
}
html.eypo-admin-rtl body.sidebar-mini .eypo-menu-header{display:none!important;}

html.eypo-admin-rtl .eypo-dashboard-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:28px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:24px;
  background:
    radial-gradient(circle at 12% 18%,rgba(0,212,255,.20),transparent 28%),
    radial-gradient(circle at 85% 20%,rgba(240,83,135,.28),transparent 32%),
    linear-gradient(135deg,rgba(18,31,54,.98),rgba(9,18,34,.96));
  box-shadow:0 22px 60px rgba(0,0,0,.28);
  overflow:hidden;
  position:relative;
  margin-bottom:20px;
}
html.eypo-admin-rtl .eypo-dashboard-hero:after{
  content:"";
  position:absolute;
  inset:auto -10% -65% -10%;
  height:120px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transform:rotate(-4deg);
}
html.eypo-admin-rtl .eypo-hero-content{position:relative;z-index:1;}
html.eypo-admin-rtl .eypo-hero-kicker{
  color:var(--eypo-primary-2);
  font-size:12px;
  font-weight:900;
  letter-spacing:.8px;
}
html.eypo-admin-rtl .eypo-dashboard-hero h1{
  margin:6px 0 8px;
  font-weight:900;
  font-size:32px;
}
html.eypo-admin-rtl .eypo-dashboard-hero p{
  color:var(--eypo-muted);
  margin:0;
  max-width:620px;
  line-height:1.8;
}
html.eypo-admin-rtl .eypo-hero-actions{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
html.eypo-admin-rtl .eypo-hero-actions .btn-light,
html.eypo-admin-rtl .btn-outline-light{
  border:1px solid rgba(255,255,255,.16)!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}
html.eypo-admin-rtl .eypo-admin-groups{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:18px;
}
html.eypo-admin-rtl .eypo-admin-group{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:118px;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(18,31,54,.96),rgba(12,21,39,.96));
  border:1px solid rgba(255,255,255,.08);
  color:#fff!important;
  box-shadow:0 14px 36px rgba(0,0,0,.18);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
html.eypo-admin-rtl .eypo-admin-group:hover{
  transform:translateY(-4px);
  border-color:rgba(0,212,255,.35);
  box-shadow:0 22px 48px rgba(0,0,0,.30);
}
html.eypo-admin-rtl .eypo-admin-group-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--eypo-primary),var(--eypo-primary-2));
  box-shadow:0 14px 28px rgba(0,0,0,.25);
  flex:0 0 auto;
}
html.eypo-admin-rtl .eypo-admin-group-icon em{font-size:23px;}
html.eypo-admin-rtl .eypo-admin-group small{
  display:block;
  color:var(--eypo-muted)!important;
  font-weight:800;
}
html.eypo-admin-rtl .eypo-admin-group strong{
  display:block;
  font-size:28px;
  line-height:1.1;
  color:#fff;
  margin:4px 0;
}
html.eypo-admin-rtl .eypo-admin-group span{display:block;color:var(--eypo-muted);font-size:12px;}
html.eypo-admin-rtl .eypo-control-box{
  background:linear-gradient(180deg,rgba(18,31,54,.96),rgba(8,17,32,.96));
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:18px;
  min-height:212px;
  margin-bottom:22px;
  box-shadow:0 16px 38px rgba(0,0,0,.18);
}
html.eypo-admin-rtl .eypo-control-title{
  font-weight:900;
  color:#fff;
  margin-bottom:12px;
  display:flex;
  align-items:center;
  gap:8px;
}
html.eypo-admin-rtl .eypo-control-title em{color:var(--eypo-primary-2);}
html.eypo-admin-rtl .eypo-control-box a{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:rgba(255,255,255,.82)!important;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.06);
  border-radius:14px;
  padding:11px 14px;
  margin-bottom:9px;
}
html.eypo-admin-rtl .eypo-control-box a:after{
  content:"\f053";
  font-family:"Font Awesome 5 Free";
  font-weight:900;
  opacity:.55;
}
html.eypo-admin-rtl .eypo-control-box a:hover{
  background:rgba(240,83,135,.14);
  border-color:rgba(240,83,135,.28);
  color:#fff!important;
}

/* V37.5 Login */
html.eypo-admin-rtl body.eypo-login-body{
  min-height:100vh;
  background:
    radial-gradient(circle at 18% 12%,rgba(240,83,135,.26),transparent 32%),
    radial-gradient(circle at 84% 18%,rgba(0,212,255,.22),transparent 30%),
    linear-gradient(135deg,#060d19,#0b1324 52%,#07111f)!important;
}
html.eypo-admin-rtl .eypo-login-shell{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}
html.eypo-admin-rtl .eypo-login-card{
  width:min(1050px,100%);
  display:grid;
  grid-template-columns:1.1fr .9fr;
  overflow:hidden;
  border-radius:32px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(12,22,40,.78);
  box-shadow:0 32px 90px rgba(0,0,0,.42);
  backdrop-filter:blur(16px);
}
html.eypo-admin-rtl .eypo-login-side{
  position:relative;
  padding:46px;
  min-height:620px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    radial-gradient(circle at 30% 22%,rgba(240,83,135,.38),transparent 26%),
    radial-gradient(circle at 70% 70%,rgba(0,212,255,.24),transparent 30%),
    linear-gradient(160deg,rgba(240,83,135,.26),rgba(6,13,25,.95));
}
html.eypo-admin-rtl .eypo-login-glow{
  position:absolute;
  width:260px;
  height:260px;
  border-radius:999px;
  background:rgba(240,83,135,.28);
  filter:blur(50px);
  top:8%;
  right:10%;
}
html.eypo-admin-rtl .eypo-login-brand-badge{
  position:relative;
  z-index:1;
  width:86px;
  height:86px;
  border-radius:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.16);
  margin-bottom:28px;
  box-shadow:0 18px 38px rgba(0,0,0,.24);
}
html.eypo-admin-rtl .eypo-login-brand-badge img{max-width:64px;max-height:64px;border-radius:18px;}
html.eypo-admin-rtl .eypo-login-brand-badge em{font-size:38px;color:#fff;}
html.eypo-admin-rtl .eypo-login-side h1{
  position:relative;
  z-index:1;
  font-size:42px;
  font-weight:900;
  margin-bottom:14px;
}
html.eypo-admin-rtl .eypo-login-side p{
  position:relative;
  z-index:1;
  color:rgba(255,255,255,.74);
  font-size:16px;
  line-height:2;
  max-width:440px;
}
html.eypo-admin-rtl .eypo-login-features{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}
html.eypo-admin-rtl .eypo-login-features span{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  font-weight:800;
}
html.eypo-admin-rtl .eypo-login-form-wrap{
  padding:46px;
  background:linear-gradient(180deg,rgba(13,24,44,.96),rgba(7,17,31,.98));
  display:flex;
  flex-direction:column;
  justify-content:center;
}
html.eypo-admin-rtl .eypo-login-logo{text-align:center;margin-bottom:20px;}
html.eypo-admin-rtl .eypo-login-logo img{max-width:170px;filter:drop-shadow(0 16px 30px rgba(0,0,0,.28));}
html.eypo-admin-rtl .eypo-login-heading span{
  color:var(--eypo-primary-2);
  font-weight:900;
  font-size:12px;
  letter-spacing:.8px;
}
html.eypo-admin-rtl .eypo-login-heading h2{font-weight:900;margin:7px 0 6px;font-size:28px;}
html.eypo-admin-rtl .eypo-login-heading p{color:var(--eypo-muted);margin-bottom:24px;}
html.eypo-admin-rtl .eypo-input-group label{display:flex;align-items:center;gap:8px;color:#fff;}
html.eypo-admin-rtl .eypo-password-toggle{background:#0b1426!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:14px 0 0 14px!important;cursor:pointer;}
html.eypo-admin-rtl .eypo-remember{display:flex;align-items:center;gap:8px;margin:12px 0 22px;color:var(--eypo-muted);}
html.eypo-admin-rtl .eypo-login-btn{height:52px;font-size:16px;}
html.eypo-admin-rtl .eypo-login-footer{text-align:center;color:var(--eypo-muted);margin-top:26px;font-size:12px;}
@media(max-width:991.98px){
  html.eypo-admin-rtl .eypo-admin-groups{grid-template-columns:repeat(2,minmax(0,1fr));}
  html.eypo-admin-rtl .eypo-dashboard-hero{display:block;}
  html.eypo-admin-rtl .eypo-hero-actions{justify-content:flex-start;margin-top:18px;}
  html.eypo-admin-rtl .eypo-login-card{grid-template-columns:1fr;}
  html.eypo-admin-rtl .eypo-login-side{min-height:360px;padding:32px;}
}
@media(max-width:575.98px){
  html.eypo-admin-rtl .eypo-admin-groups{grid-template-columns:1fr;}
  html.eypo-admin-rtl .eypo-dashboard-hero{padding:20px;border-radius:20px;}
  html.eypo-admin-rtl .eypo-dashboard-hero h1{font-size:25px;}
  html.eypo-admin-rtl .eypo-login-shell{padding:14px;}
  html.eypo-admin-rtl .eypo-login-form-wrap{padding:26px;}
  html.eypo-admin-rtl .eypo-login-side{padding:26px;}
}


/* V37.6 Sidebar dropdown organization + clearer Arabic typography */
html.eypo-admin-rtl .eypo-sidebar-menu-v376{
  padding:10px 0 22px!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .menu-header,
html.eypo-admin-rtl .eypo-menu-header{
  display:none!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section{
  margin:8px 8px 0 8px!important;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
  overflow:hidden;
  box-shadow:0 12px 26px rgba(0,0,0,.12);
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link{
  height:54px!important;
  line-height:54px!important;
  margin:0!important;
  padding:0 18px 0 46px!important;
  border-radius:18px!important;
  color:#f9fbff!important;
  font-size:16px!important;
  font-weight:900!important;
  letter-spacing:0!important;
  background:transparent!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link span{
  font-size:16px!important;
  font-weight:900!important;
  display:inline-block;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link em{
  width:26px!important;
  height:26px!important;
  line-height:26px!important;
  border-radius:10px;
  margin-left:12px!important;
  color:#fff!important;
  background:rgba(240,83,135,.18);
  text-align:center;
  font-size:14px!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section.active,
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section:hover{
  border-color:rgba(240,83,135,.22);
  background:linear-gradient(135deg,rgba(240,83,135,.13),rgba(0,212,255,.08));
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section.active > a.nav-link,
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link:hover{
  color:#fff!important;
  background:linear-gradient(90deg,rgba(240,83,135,.16),rgba(0,212,255,.10))!important;
  box-shadow:inset -4px 0 0 var(--eypo-primary)!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu{
  background:rgba(3,9,18,.42)!important;
  border-top:1px solid rgba(255,255,255,.06);
  padding:8px 8px 11px!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li a{
  min-height:40px!important;
  line-height:40px!important;
  margin:3px 0!important;
  padding:0 18px 0 12px!important;
  border-radius:13px!important;
  color:rgba(255,255,255,.82)!important;
  font-size:14.5px!important;
  font-weight:800!important;
  background:rgba(255,255,255,.035)!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li a em{
  width:22px!important;
  margin-left:10px!important;
  color:rgba(255,255,255,.95)!important;
  font-size:13px!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li a:hover,
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li.active > a{
  color:#fff!important;
  background:rgba(240,83,135,.18)!important;
  transform:translateX(-2px);
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 li a.has-dropdown:after{
  left:18px!important;
  right:auto!important;
  color:rgba(255,255,255,.72);
}
html.eypo-admin-rtl .eypo-sidebar-section-kingdom > a.nav-link em{
  background:rgba(255,202,58,.18)!important;
  color:#ffdd67!important;
}
body.sidebar-mini html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link span{
  display:none!important;
}

/* V37.6 Arabic-only login polish */
html.eypo-admin-rtl .eypo-login-card{
  direction:rtl;
  text-align:right;
}
html.eypo-admin-rtl .eypo-login-side-simple{
  align-items:center;
  text-align:center;
  min-height:560px;
}
html.eypo-admin-rtl .eypo-login-side-simple h1{
  font-size:52px!important;
  line-height:1.3;
  margin:0;
  max-width:420px;
  color:#fff;
  text-shadow:0 16px 36px rgba(0,0,0,.36);
}
html.eypo-admin-rtl .eypo-login-heading span{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:7px 12px;
  background:rgba(240,83,135,.13);
  border:1px solid rgba(240,83,135,.22);
  color:#fff!important;
  font-size:13px!important;
  letter-spacing:0!important;
}
html.eypo-admin-rtl .eypo-login-heading h2{
  font-size:34px!important;
  color:#fff;
  margin:14px 0 28px!important;
}
html.eypo-admin-rtl .eypo-input-group label{
  font-size:16px!important;
  font-weight:900!important;
}
html.eypo-admin-rtl .eypo-login-form .form-control{
  height:52px!important;
  font-size:16px!important;
  font-weight:700!important;
  text-align:right!important;
}
html.eypo-admin-rtl .eypo-login-btn{
  font-size:18px!important;
  font-weight:900!important;
}
@media(max-width:991.98px){
  html.eypo-admin-rtl .eypo-login-side-simple{min-height:270px;}
  html.eypo-admin-rtl .eypo-login-side-simple h1{font-size:38px!important;}
}
html.eypo-admin-rtl body.sidebar-mini .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link span,
body.sidebar-mini html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link span{
  display:none!important;
}
html.eypo-admin-rtl body.sidebar-mini .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link,
body.sidebar-mini html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link{
  padding:0!important;
  text-align:center!important;
}

/* V37.7 Sidebar names visibility hotfix */
html.eypo-admin-rtl .main-sidebar{
  width:var(--eypo-side-width)!important;
  min-width:var(--eypo-side-width)!important;
  overflow-x:hidden!important;
}
html.eypo-admin-rtl .main-sidebar .sidebar-menu li a,
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link,
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li a{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  direction:rtl!important;
  text-align:right!important;
}
html.eypo-admin-rtl .main-sidebar .sidebar-menu li a span,
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link span,
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li a span{
  display:inline-block!important;
  visibility:visible!important;
  opacity:1!important;
  color:#ffffff!important;
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:900!important;
  max-width:185px!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-shadow:0 2px 12px rgba(0,0,0,.65)!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li a span{
  font-size:15px!important;
  font-weight:850!important;
  color:rgba(255,255,255,.96)!important;
  max-width:195px!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link{
  min-height:58px!important;
  height:auto!important;
  line-height:1.35!important;
  padding:12px 18px 12px 46px!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li a{
  min-height:44px!important;
  height:auto!important;
  line-height:1.35!important;
  padding:10px 18px 10px 12px!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link em,
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li a em,
html.eypo-admin-rtl .main-sidebar .sidebar-menu li a em{
  flex:0 0 auto!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 li a.has-dropdown:after{
  top:50%!important;
  transform:translateY(-50%) rotate(180deg)!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 li.active > a.has-dropdown:after{
  transform:translateY(-50%) rotate(90deg)!important;
}
/* Force labels visible even if Stisla leaves body in sidebar-mini state */
html.eypo-admin-rtl body.sidebar-mini .main-sidebar,
body.sidebar-mini html.eypo-admin-rtl .main-sidebar{
  width:var(--eypo-side-width)!important;
  min-width:var(--eypo-side-width)!important;
}
html.eypo-admin-rtl body.sidebar-mini .main-content,
html.eypo-admin-rtl body.sidebar-mini .main-footer,
body.sidebar-mini html.eypo-admin-rtl .main-content,
body.sidebar-mini html.eypo-admin-rtl .main-footer{
  padding-right:calc(var(--eypo-side-width) + 30px)!important;
  padding-left:30px!important;
}
html.eypo-admin-rtl body.sidebar-mini .main-navbar,
body.sidebar-mini html.eypo-admin-rtl .main-navbar{
  right:var(--eypo-side-width)!important;
  left:0!important;
}
html.eypo-admin-rtl body.sidebar-mini .main-sidebar .sidebar-menu li a,
body.sidebar-mini html.eypo-admin-rtl .main-sidebar .sidebar-menu li a{
  justify-content:flex-start!important;
  padding:12px 18px 12px 46px!important;
  text-align:right!important;
}
html.eypo-admin-rtl body.sidebar-mini .main-sidebar .sidebar-menu li a span,
body.sidebar-mini html.eypo-admin-rtl .main-sidebar .sidebar-menu li a span,
html.eypo-admin-rtl body.sidebar-mini .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link span,
body.sidebar-mini html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link span,
html.eypo-admin-rtl body.sidebar-mini .eypo-sidebar-menu-v376 .eypo-section-menu li a span,
body.sidebar-mini html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li a span{
  display:inline-block!important;
  visibility:visible!important;
  opacity:1!important;
}
html.eypo-admin-rtl body.sidebar-mini .main-sidebar .sidebar-menu li a em,
body.sidebar-mini html.eypo-admin-rtl .main-sidebar .sidebar-menu li a em{
  margin-left:12px!important;
  margin-right:0!important;
}
@media(max-width:991.98px){
  html.eypo-admin-rtl .main-sidebar{
    width:285px!important;
    min-width:285px!important;
  }
  html.eypo-admin-rtl .main-content,
  html.eypo-admin-rtl .main-footer,
  html.eypo-admin-rtl body.sidebar-mini .main-content,
  html.eypo-admin-rtl body.sidebar-mini .main-footer{
    padding-right:30px!important;
  }
}


/* EYPO V39 polish: lighter tables, clearer controls, safer dark dashboard blocks */
html.eypo-admin-rtl .main-content .section .section-header,
html.eypo-admin-rtl .main-content .section .card,
html.eypo-admin-rtl .main-content .section .card-header,
html.eypo-admin-rtl .main-content .section .card-body{
  border-radius:18px!important;
}
html.eypo-admin-rtl .main-content .section .card{
  overflow:hidden!important;
  box-shadow:0 14px 40px rgba(0,0,0,.16)!important;
}
html.eypo-admin-rtl .main-content table.table{
  font-size:14px!important;
}
html.eypo-admin-rtl .main-content .table-responsive{
  border-radius:16px!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
}
html.eypo-admin-rtl .main-content .table th,
html.eypo-admin-rtl .main-content .table td{
  vertical-align:middle!important;
  white-space:normal!important;
}
html.eypo-admin-rtl .main-content .btn{
  border-radius:12px!important;
  font-weight:800!important;
}
html.eypo-admin-rtl .main-content .form-control,
html.eypo-admin-rtl .main-content .select2-selection,
html.eypo-admin-rtl .main-content select.form-control{
  border-radius:12px!important;
  min-height:42px!important;
  font-weight:700!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link,
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li a{
  transition:background .16s ease, transform .16s ease, color .16s ease!important;
}
html.eypo-admin-rtl .eypo-sidebar-menu-v376 > li.eypo-sidebar-section > a.nav-link:hover,
html.eypo-admin-rtl .eypo-sidebar-menu-v376 .eypo-section-menu li a:hover{
  transform:translateX(-2px)!important;
}
html.eypo-admin-rtl .modal-content{
  border-radius:22px!important;
  overflow:hidden!important;
}
html.eypo-admin-rtl .badge{
  border-radius:999px!important;
  padding:.42em .72em!important;
}
@media(max-width:767.98px){
  html.eypo-admin-rtl .main-content{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  html.eypo-admin-rtl .main-content .section .section-header h1{
    font-size:19px!important;
  }
}

/* EYPO V40 full quality polish: clearer admin touch targets and safer dense tables */
html.eypo-admin-rtl .section .section-header{
  gap:10px!important;
  align-items:center!important;
}
html.eypo-admin-rtl .section .section-header h1{
  letter-spacing:-.3px!important;
}
html.eypo-admin-rtl .main-content .card .card-header{
  min-height:58px!important;
  border-bottom:1px solid rgba(255,255,255,.06)!important;
}
html.eypo-admin-rtl .main-content .card .card-header h4,
html.eypo-admin-rtl .main-content .card .card-header h5{
  font-weight:900!important;
}
html.eypo-admin-rtl .main-content .table td .btn,
html.eypo-admin-rtl .main-content .table td a.btn{
  margin:2px!important;
  min-height:34px!important;
}
html.eypo-admin-rtl .main-content .alert{
  border-radius:16px!important;
  font-weight:800!important;
}
html.eypo-admin-rtl .main-content input[type="checkbox"]{
  width:18px!important;
  height:18px!important;
  vertical-align:middle!important;
}
html.eypo-admin-rtl .main-content .pagination .page-link{
  border-radius:10px!important;
  margin:0 2px!important;
  font-weight:800!important;
}
html.eypo-admin-rtl .main-content .dropdown-menu{
  border-radius:16px!important;
  box-shadow:0 16px 42px rgba(0,0,0,.22)!important;
}
@media(max-width:575.98px){
  html.eypo-admin-rtl .main-content .card-body{
    padding:16px 12px!important;
  }
  html.eypo-admin-rtl .main-content table.table{
    font-size:13px!important;
  }
  html.eypo-admin-rtl .main-content .btn{
    min-height:38px!important;
  }
}

/* EYPO Admin 4.1 - premium dashboard, clearer hierarchy and lighter rendering */
html.eypo-admin-rtl body{
  background:
    radial-gradient(circle at 84% -8%,rgba(240,83,135,.17),transparent 31%),
    radial-gradient(circle at 9% 6%,rgba(0,212,255,.11),transparent 27%),
    #07111f!important;
}
html.eypo-admin-rtl .main-sidebar{
  background:#091426!important;
  backdrop-filter:none!important;
}
html.eypo-admin-rtl .navbar-bg{
  background:linear-gradient(105deg,#e83e79 0%,#8f5cff 46%,#008fb3 100%)!important;
}
html.eypo-admin-rtl .main-navbar{
  min-height:74px!important;
  background:rgba(7,17,31,.2)!important;
}
html.eypo-admin-rtl .eypo-navbar-main{
  display:flex;
  align-items:center;
  min-width:0;
}
html.eypo-admin-rtl .eypo-navbar-context{
  align-items:center;
  gap:10px;
  color:#fff;
  padding-right:4px;
}
html.eypo-admin-rtl .eypo-navbar-context>span:last-child{
  display:flex;
  flex-direction:column;
  line-height:1.2;
}
html.eypo-admin-rtl .eypo-navbar-context strong{font-size:14px;font-weight:900;}
html.eypo-admin-rtl .eypo-navbar-context small{font-size:10px;color:rgba(255,255,255,.72)!important;margin-top:3px;}
html.eypo-admin-rtl .eypo-navbar-mark{
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.18);
}
html.eypo-admin-rtl .eypo-server-state{
  align-items:center;
  gap:8px;
  margin:0 8px;
  padding:7px 12px;
  border-radius:999px;
  color:#fff;
  background:rgba(4,20,26,.22);
  border:1px solid rgba(255,255,255,.15);
  font-size:11px;
  font-weight:900;
}
html.eypo-admin-rtl .eypo-live-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#50e3b3;
  box-shadow:0 0 0 4px rgba(80,227,179,.15);
}
html.eypo-admin-rtl .eypo-dashboard-shell{padding-bottom:26px;}
html.eypo-admin-rtl .eypo-dashboard-hero{
  min-height:264px;
  padding:36px 38px!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 83% 20%,rgba(240,83,135,.38),transparent 29%),
    radial-gradient(circle at 14% 100%,rgba(0,212,255,.18),transparent 34%),
    linear-gradient(125deg,#121f36 0%,#101a31 55%,#151b39 100%)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 24px 62px rgba(0,0,0,.26)!important;
}
html.eypo-admin-rtl .eypo-dashboard-hero:before{
  content:"";
  position:absolute;
  width:250px;
  height:250px;
  left:-72px;
  bottom:-108px;
  border:44px solid rgba(255,255,255,.035);
  border-radius:50%;
}
html.eypo-admin-rtl .eypo-hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  color:#fff!important;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.11);
  letter-spacing:0!important;
}
html.eypo-admin-rtl .eypo-dashboard-hero h1{
  font-size:38px!important;
  letter-spacing:-1px;
  margin:16px 0 10px!important;
}
html.eypo-admin-rtl .eypo-dashboard-hero p{font-size:15px;max-width:690px!important;}
html.eypo-admin-rtl .eypo-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
html.eypo-admin-rtl .eypo-hero-meta span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:rgba(255,255,255,.84);
  font-size:11px;
  font-weight:800;
}
html.eypo-admin-rtl .eypo-hero-meta i{color:#55ddbd;}
html.eypo-admin-rtl .eypo-hero-actions .btn{
  min-height:45px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 17px;
}
html.eypo-admin-rtl .eypo-admin-groups{gap:14px!important;}
html.eypo-admin-rtl .eypo-admin-group{
  position:relative;
  min-height:126px!important;
  padding:19px!important;
  overflow:hidden;
  box-shadow:0 13px 30px rgba(0,0,0,.16)!important;
}
html.eypo-admin-rtl .eypo-admin-group:after{
  content:"";
  position:absolute;
  width:92px;
  height:92px;
  left:-42px;
  bottom:-48px;
  border-radius:50%;
  background:var(--eypo-stat-glow,rgba(143,92,255,.14));
}
html.eypo-admin-rtl .eypo-admin-group-icon{
  background:var(--eypo-stat-gradient,linear-gradient(135deg,#8f5cff,#d14dff))!important;
}
html.eypo-admin-rtl .eypo-stat-violet{--eypo-stat-gradient:linear-gradient(135deg,#8f5cff,#cf58ff);--eypo-stat-glow:rgba(143,92,255,.2);}
html.eypo-admin-rtl .eypo-stat-cyan{--eypo-stat-gradient:linear-gradient(135deg,#008fb3,#22d3c5);--eypo-stat-glow:rgba(0,212,255,.17);}
html.eypo-admin-rtl .eypo-stat-gold{--eypo-stat-gradient:linear-gradient(135deg,#d88716,#ffd05a);--eypo-stat-glow:rgba(255,202,58,.17);}
html.eypo-admin-rtl .eypo-stat-rose{--eypo-stat-gradient:linear-gradient(135deg,#d93472,#ff729e);--eypo-stat-glow:rgba(240,83,135,.2);}
html.eypo-admin-rtl .eypo-dashboard-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  margin:30px 2px 15px;
}
html.eypo-admin-rtl .eypo-dashboard-heading small,
html.eypo-admin-rtl .eypo-chart-heading small{
  color:var(--eypo-primary-2)!important;
  font-size:11px;
  font-weight:900;
}
html.eypo-admin-rtl .eypo-dashboard-heading h2{font-size:21px;margin:4px 0 0;font-weight:900;}
html.eypo-admin-rtl .eypo-dashboard-heading>span{color:var(--eypo-muted);font-size:12px;}
html.eypo-admin-rtl .eypo-control-box{
  min-height:230px!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#111f36,#0c182c)!important;
}
html.eypo-admin-rtl .eypo-control-box a{
  transition:transform .14s ease,background .14s ease,border-color .14s ease;
}
html.eypo-admin-rtl .eypo-control-box a:hover{transform:translateX(-3px);}
html.eypo-admin-rtl .eypo-analytics-card{margin-top:4px;border-radius:24px!important;}
html.eypo-admin-rtl .eypo-chart-heading{margin-bottom:18px;}
html.eypo-admin-rtl .eypo-chart-heading h6{font-size:19px;margin:4px 0 0;font-weight:900;}
html.eypo-admin-rtl .table thead th{position:sticky;top:0;z-index:2;}
html.eypo-admin-rtl .main-content .card,
html.eypo-admin-rtl .eypo-control-box,
html.eypo-admin-rtl .eypo-admin-group{
  backdrop-filter:none!important;
}
@media(max-width:991.98px){
  html.eypo-admin-rtl .eypo-dashboard-hero{min-height:auto;padding:28px!important;}
  html.eypo-admin-rtl .eypo-dashboard-hero h1{font-size:31px!important;}
}
@media(max-width:575.98px){
  html.eypo-admin-rtl .main-navbar{min-height:66px!important;}
  html.eypo-admin-rtl .eypo-dashboard-hero{padding:22px 18px!important;border-radius:22px!important;}
  html.eypo-admin-rtl .eypo-dashboard-hero h1{font-size:27px!important;}
  html.eypo-admin-rtl .eypo-dashboard-heading{display:block;}
  html.eypo-admin-rtl .eypo-dashboard-heading>span{display:block;margin-top:5px;}
  html.eypo-admin-rtl .eypo-hero-actions .btn{flex:1 1 auto;justify-content:center;}
}
@media(prefers-reduced-motion:reduce){
  html.eypo-admin-rtl *,html.eypo-admin-rtl *:before,html.eypo-admin-rtl *:after{
    transition:none!important;
    animation:none!important;
    scroll-behavior:auto!important;
  }
}
