﻿@font-face {
  font-family: "Sora";
  src: url("/fonts/Sora/Sora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("/fonts/Sora/Sora-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
html {
  height: 100%;
}

body {
  font-family: "Sora", sans-serif;
  color: #0f172a;
  height: 100%;
}

.table-responsive {
  overflow-x: auto;
}

.btn-primary {
  background-color: #0181c9 !important;
}

input:active,
input:focus,
select:active,
select:focus {
  outline: none;
  box-shadow: none !important;
}

#loginPage {
  padding: 20px;
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("../img/login-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}
#loginPage .es-logo {
  width: 300px;
  color: white;
  position: absolute;
}
#loginPage .login-content {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#loginPage .login-box {
  position: relative;
  background: #e0f4fd;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 70, 160, 0.45);
  width: 100%;
  max-width: 400px;
  z-index: 2;
  text-align: center;
}
#loginPage .login-box h1 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 30px;
}
#loginPage .login-box label {
  display: block;
  text-align: left;
  margin-top: 15px;
  font-family: "Sora", sans-serif;
}
#loginPage .login-box input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #D0D6E0;
  margin-top: 5px;
  font-family: "Sora", sans-serif;
}
#loginPage .login-box input:focus, #loginPage .login-box input:active {
  outline: none;
  box-shadow: none !important;
}
#loginPage .password-field {
  position: relative;
}
#loginPage .password-field input {
  padding-right: 48px;
}
#loginPage .login-box .password-toggle {
  position: absolute;
  right: 4px;
  top: 5px;
  width: 42px;
  height: 46px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#loginPage .login-box .password-toggle svg {
  width: 20px;
  height: 20px;
}
#loginPage .login-box .password-toggle .icon-eye-slash {
  display: none;
}
#loginPage .login-box .password-toggle[aria-pressed=true] .icon-eye {
  display: none;
}
#loginPage .login-box .password-toggle[aria-pressed=true] .icon-eye-slash {
  display: block;
}
#loginPage .login-box .password-toggle:hover {
  background: transparent;
  color: #0181c9;
}
#loginPage .login-box button {
  width: 100%;
  padding: 14px;
  margin-top: 25px;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  cursor: pointer;
}
#loginPage .login-box button:hover {
  background: #003880;
}

#mobilePage header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}
#mobilePage header .mobile-header {
  height: 64px;
  background-color: #0181c9;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: center;
  padding: 8px;
  position: relative;
}
#mobilePage header .mobile-header .mobile-nav .hamburger {
  width: 28px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
#mobilePage header .mobile-header .mobile-nav .hamburger span {
  display: block;
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}
#mobilePage header .mobile-header .mobile-nav .hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
#mobilePage header .mobile-header .mobile-nav .hamburger.active span:nth-child(2) {
  opacity: 0;
}
#mobilePage header .mobile-header .mobile-nav .hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
#mobilePage header .mobile-header .mobile-nav.active .floated-menu {
  left: 0;
}
#mobilePage header .mobile-header .mobile-nav .floated-menu {
  background-color: #f8fafc;
  position: absolute;
  top: 64px;
  left: -100%;
  width: 50%;
  transition: all 0.5s ease;
}
#mobilePage header .mobile-header .mobile-nav .floated-menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-top: 30px;
}
#mobilePage header .mobile-header .mobile-nav .floated-menu ul li {
  margin-bottom: 30px;
  margin-left: 8px;
}
#mobilePage header .mobile-header .mobile-nav .floated-menu ul a, #mobilePage header .mobile-header .mobile-nav .floated-menu ul button {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: currentColor;
  text-transform: uppercase;
  border: none;
  background-color: transparent;
  font-family: inherit;
  padding: 0;
}
#mobilePage header .mobile-header .mobile-nav .floated-menu ul a svg, #mobilePage header .mobile-header .mobile-nav .floated-menu ul button svg {
  width: 28px;
}
#mobilePage header .mobile-header .mobile-meta {
  flex: 1;
  color: white;
  line-height: 17px;
}
#mobilePage header .mobile-header .mobile-meta .user-rz {
  font-size: 14px;
}
#mobilePage header .mobile-header .mobile-logo svg {
  height: 32px;
}
#mobilePage .page-content {
  padding: 8px;
  padding-top: 64px;
  font-size: 12px;
}
#mobilePage .page-content .mobile-filters {
  margin-bottom: 12px;
  margin-top: 12px;
}
#mobilePage .page-content .mobile-filters input {
  padding: 12px 8px;
  height: 32px;
  border: 1px solid #dee2e6;
  background-color: white;
}
#mobilePage .page-content table thead th {
  border-top: 1px solid #DEE2E6;
}

#desktopPage header {
  display: flex;
  background-color: #0181c9;
  align-items: center;
  padding: 8px 24px;
  gap: 24px;
}
#desktopPage header .es-logo svg {
  width: 300px;
  color: white;
}
#desktopPage header .es-nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
}
#desktopPage header .es-nav li {
  line-height: 1px;
}
#desktopPage header .es-nav a {
  color: white;
  font-weight: 700;
  text-decoration: none;
}
#desktopPage header .es-tools {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#desktopPage header .es-tools li {
  position: relative;
}
#desktopPage header .es-tools button {
  border: none;
  background-color: transparent;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}
#desktopPage header .es-tools button .arrow {
  height: 12px;
  width: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
#desktopPage header .es-tools button .arrow svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
  transform-origin: center;
}
#desktopPage header .es-tools .tool-btn.active .arrow svg {
  transform: rotate(180deg);
}
#desktopPage header .es-tools .tool-submenu {
  display: none;
  background-color: white;
  padding: 16px;
  border-radius: 12px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.75);
}
#desktopPage header .es-tools .tool-submenu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  color: #0f172a;
  display: flex;
  flex-direction: column;
}
#desktopPage header .es-tools .tool-submenu ul li {
  margin: 10px 0;
}
#desktopPage header .es-tools .tool-submenu ul button {
  color: currentColor;
  padding: 0;
  font-size: 16px;
}
#desktopPage header .es-tools .tool-submenu ul a {
  color: currentColor;
  text-decoration: none;
}
#desktopPage header .es-tools .tool-submenu.show {
  display: block;
}
#desktopPage .desktop-filters {
  margin-top: 30px;
  margin-bottom: 30px;
}
#desktopPage .desktop-filters .filters-content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}
#desktopPage .desktop-filters label {
  margin-bottom: 0;
  font-size: 14px;
  color: #838383;
}
#desktopPage table thead th {
  border-top: 1px solid #DEE2E6;
}
#desktopPage .dataTables_length {
  float: right;
}

@media (max-width: 757px) {
  #desktopPage .es-logo {
    width: 86px;
  }
  #desktopPage .es-logo svg .no-mobile {
    display: none;
  }
}
@media (max-width: 575px) {
  #loginPage .es-logo {
    width: 200px;
  }
  #loginPage .login-box {
    padding: 24px;
  }
}
@media (max-width: 768px) {
  div.dataTables_wrapper div.dataTables_info,
  div.dataTables_wrapper div.dataTables_paginate {
    float: none;
    display: flex;
    align-items: center;
  }
  div.dataTables_wrapper div.dataTables_info {
    float: left;
    margin-top: 7px;
  }
  div.dataTables_wrapper div.dataTables_paginate {
    float: right;
  }
  div.dataTables_wrapper .dt-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}
