:root {
  --primary-bg-color: #FFFFFF;
  --primary-fg-color: #FFFFFF;
  --text-color: #27272A;
  --text-gray-color: #71717A;
  --text-gray-dark-color: #52525B;
  --text-gray-darker-color: #3F3F46;
  --text-gray-light-color: #A1A1AA;
  --green-color: #22C55E;
  --green-light-color: #F0FDF4;
  --red-color: #DC2626;
  --red-light-color: #FEF2F2;
  --orange-color: #FF9800;
  --orange-light-color: #FEF6F0;
  --gray-hover-color: #ECECEC;
  --gray-bg-color: #FAFAFA;
  --gray-border: #E4E4E7;
  --placeholder-color: #A6A6A6;
  --line-gray-color: #D4D4D8;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--primary-bg-color);
  font-size: 14px;
  font-weight: 500;
  height: 100%;
  overflow: hidden;
  color: var(--text-color);
}

h1, .h1 {
  font-size: 32px !important;
  font-weight: 500;
}

h2, .h2 {
  font-size: 24px !important;
  font-weight: 500;
}

h3, .h3 {
  font-size: 20px !important;
  font-weight: 500;
}

h4, .h4 {
  font-size: 16px !important;
  font-weight: 400;
}

.description {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-gray-color);
}

.title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
}

.text-link, a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 14px;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
}

.text-link:hover {
  color: var(--primary-hover-color);
}

.text-blue {
  color: var(--primary-color) !important;
}

.text-gray {
  color: var(--text-gray-color) !important;
}

.text-gray-dark {
  color: var(--text-gray-dark-color) !important;
}

.text-gray-darker {
  color: var(--text-gray-darker-color) !important;
}

.text-main {
  color: var(--text-color);
}

.text-danger {
  color: var(--red-color) !important;
}

.text-success {
  color: var(--green-color) !important;
}

.text-warning {
  color: var(--orange-color) !important;
}

.text-muted {
  font-weight: 500;
  color: var(--text-gray-light-color) !important;
}

.small {
  font-size: 12px !important;
}

.font-thin {
  font-weight: 400 !important;
}

.font-normal {
  font-weight: 500 !important;
}

.font-bold {
  font-weight: 700 !important;
}

.bg-white {
  background-color: var(--primary-bg-color) !important;
}

[hidden], .hidden {
  display: none;
}

.force-hidden {
  display: none !important;
}

.pointer {
  cursor: pointer;
}

#waves {
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.container {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.banner-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 17px;
  color: white;
  background: #00000080;
  text-align: center;
}

.banner-container img {
  --tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));
  filter: var(--tw-drop-shadow);
  margin-top: 5px;
}

.banner-container .banner-title {
  color: #FFF;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin-top: -4px;
}

.banner-container .description {
  color: #FFF;
  font-size: 14px;
  line-height: 20px;
  margin-top: -1px;
}

.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-bg-color);
  max-width: 720px;
}

.main-content {
  max-height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  padding: 20px;
}

.fix-width {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}

.full-width {
  width: 100%;
}

.text-ellipsis {
  position: relative;
}

.text-ellipsis:before {
  content: '&nbsp;';
  visibility: hidden;
}

.text-ellipsis > span {
  position: absolute;
  left: 0;
  right: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opacity-hover:hover {
  opacity: 0.8;
}

.icon-hover {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  transition: 0.25s;
}

.icon-hover:hover {
  background-color: var(--gray-hover-color) !important;
}

.header-title .icon-hover {
  position: relative;
  background-color: #ffffff;
  z-index: 4;
}

.icon-hover.small-icon {
  width: 30px;
  height: 30px;
  margin: -6px;
}

.form-container {
  max-width: 320px;
  width: 100%;
}

.form-container.wide {
  max-width: 528px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.auth-form .auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray-color);
  display: block;
  line-height: 100%;
}

.auth-form input:not([type=checkbox],[type=radio],[type=file]), .auth-form textarea {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  background: var(--gray-bg-color);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  font-size: 16px;
  outline: none !important;
  display: block;
}

.auth-form input:not([type=checkbox],[type=radio],[type=file]):focus-visible, .auth-form textarea:focus-visible {
  border: 1px solid #D2D3D4;
}

.auth-form textarea {
  height: auto;
}

.has-error input:not([type=checkbox],[type=radio],[type=file]) {
  background: var(--red-light-color);
  border: 1px solid var(--red-color) !important;
}

.has-error .errorlist {
  color: var(--red-color);
  font-size: 12px;
  font-weight: 500;
}

.auth-form input:not([type=checkbox],[type=radio],[type=file],[dir=auto],.rtl-input) {
  direction: ltr;
}

.auth-form .errorlist {
  color: var(--red-color) !important;
  margin-right: 20px;
}

.auth-form .errorlist > div {
  display: list-item;
}

.auth-form .two-col-container {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 16px;
}

.auth-form .two-col-container .col {
  width: 50%;
}

.show-single-sign-on .icon {
  font-size: 18px;
  transform: translateY(3px);
}

input::placeholder {
  color: var(--placeholder-color);
  opacity: 1;
}

/* For cross-browser compatibility */
::-webkit-input-placeholder {
  color: var(--placeholder-color);
}

::-moz-placeholder {
  color: var(--placeholder-color);
  opacity: 1;
}

:-ms-input-placeholder {
  color: var(--placeholder-color);
}

:-moz-placeholder {
  color: var(--placeholder-color);
  opacity: 1;
}

.password-container {
  position: relative;
}

.auth-form .password-container input {
  padding-right: 40px;
}

.auth-form .password-container .eye-switch {
  position: absolute;
  top: 14px;
  right: 10px;
  cursor: pointer;
  color: var(--text-gray-color);
  font-size: 20px;
}

.auth-form .password-container .eye-switch:hover {
  color: var(--text-color);
}

.auth-form .password-container.active .eye-switch {
  color: var(--primary-color);
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 5px;
}

.danger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--red-color);
  color: var(--primary-fg-color);
  border: none;
  outline: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 24px;
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.danger-light-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--red-light-color);
  color: var(--red-color);
  border: 1px solid var(--red-color);
  outline: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 24px;
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.danger-btn.btn-inline, .danger-light-btn.btn-inline {
  padding: 12px 16px;
  font-size: 14px;
  height: 38px;
}

.primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-color);
  color: var(--primary-fg-color);
  border: none;
  outline: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 24px;
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-btn:not(.disabled, [disabled]):hover {
  background-color: var(--primary-dark-color);
}

.primary-btn.disabled, .primary-btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

.warning-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--orange-color);
  color: var(--primary-fg-color);
  border: none;
  outline: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 12px 24px;
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.warning-button:hover {
  background-color: #e38702;
}

.secondary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  outline: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 24px;
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.secondary-btn:hover {
  background-color: var(--secondary-hover-color);
  border: 1px solid var(--primary-dark-color);
}

.icon-btn {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  padding: 8px;
  background: var(--gray-bg-color);
  border: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-gray-darker-color);
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-btn i {
  font-size: 24px;
}

.icon-btn:hover {
  background: var(--gray-hover-color);
  color: var(--text-color);
}

.small-padding {
  padding: 6px 12px !important;
}

.input-btn-end {
  position: absolute;
  top: 7px;
  right: 10px;
  padding: 4px 12px !important;
}

.separator {
  text-align: center;
  color: var(--line-gray-color);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.separator .line {
  height: 1px;
  background-color: var(--line-gray-color);
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.language-container {
  position: absolute;
  top: 42px;
  left: 38px;
}

.language-button {
  width: 77px;
  height: 32px;
  padding: 8px;
  gap: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--gray-bg-color);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text-gray-darker-color);
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.language-button:hover {
  background-color: var(--gray-hover-color);
  border: 1px solid var(--gray-hover-color);
}

.language-button .text {
  font-size: 20px;
  padding-top: 2px;
}

.language-button .icon {
  padding-top: 2px;
}

.language-box {
  position: absolute;
  top: 33px;
  display: flex;
  flex-direction: column;
  background-color: var(--primary-bg-color);
  /*border: 0 solid var(--gray-border);*/
  border-radius: 8px;
  z-index: 3;
  width: 150px;
  overflow: hidden;
  height: 90px;
  border: 1px solid var(--gray-border);
}

.language-box .language-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 10px;
  color: var(--text-gray-dark-color);
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-box .language-item:hover {
  background-color: var(--gray-hover-color);
}

.language-box .language-item .text {
  direction: rtl;
  padding-top: 2px;
}

.simple-box {
  width: 100%;
  flex: 1;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 16px;
  background: var(--gray-bg-color);
  border: 1px solid var(--gray-border);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.simple-box.border-dashed {
  border: 2px dashed var(--gray-border);
  background-color: #FDFDFD;
}

.border-warning {
  border-color: var(--orange-color) !important;
}

.border-success {
  border-color: var(--green-color) !important;
}

.border-info {
  border-color: var(--primary-color) !important;
}

.border-2 {
  border-width: 2px !important;
}

.info-box {
  padding: 16px;
  border-radius: 16px;
  background: var(--secondary-color);
  border: 1px solid var(--primary-color)
}

.alert {
  padding: 16px;
  border-radius: 16px;
}

.alert.alert-danger {
  background: var(--red-light-color);
  border: 1px solid var(--red-color);
  color: var(--red-color);
}

.alert.alert-success {
  background: var(--green-light-color);
  border: 1px solid var(--green-color);
  color: var(--green-color);
}

.alert.alert-warning {
  background: var(--orange-light-color);
  border: 1px solid var(--orange-color);
  color: var(--orange-color);
}

.simple-box .logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-gray-color);
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93939d;
}

.simple-box.small {
  border-radius: 12px;
}

.simple-box.small .logo {
  width: 32px;
  height: 32px;
  font-size: 20px;
}

.simple-box.has-hover {
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.simple-box.has-hover:hover {
  background: var(--gray-hover-color);
}

a.simple-box:hover {
  background: var(--gray-hover-color);
  color: var(--text-color);
}

.list-box {
  color: var(--text-gray-color);
  border-radius: 16px;
  border: 1px solid var(--gray-border);
  overflow: hidden;
}

.list-box .item {
  padding: 12px 16px;
}

.list-box .item.item-link {
  padding: 12px;
}

.list-box a.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-box a.item:hover {
  background: var(--gray-hover-color);
}

.list-box .item:not(:last-child) {
  border-bottom: 1px solid var(--gray-border);
}

.list-box .item.header, .list-box .item.footer {
  background: var(--gray-bg-color);
}

.list-box .item.content {
  padding: 7px 16px;
}

.big-circle-image {
  width: 144px;
  height: 144px;
  background: var(--gray-bg-color);
  border: 1px solid var(--line-gray-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.big-circle-image:hover {
  opacity: 0.85;
}

.big-circle-image img {
  border-radius: 50%;
  overflow: hidden;
}

.default-image-placeholder {
  font-size: 80px;
  width: 137px;
  height: 137px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93939d;
}

.edit-image {
  width: 48px;
  height: 45px;
  background: var(--primary-color);
  border-radius: 50%;
  color: var(--primary-fg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 30px;
  padding-top: 3px;
}

.pagination {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.pagination .navigate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-border);
  border: 1px solid var(--gray-border);
  color: var(--text-gray-dark-color);
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.pagination .page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #F4F4F5;
  border: 1px solid var(--gray-border);
  color: var(--text-gray-dark-color);
  -webkit-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.pagination .page-num.current {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  background: var(--secondary-color);
}

.pagination .page-num:not(.disabled,.current):hover, .pagination .navigate:not(.disabled):hover {
  background: #d3e5f5;
}

.pagination .navigate.disabled, .pagination .page-num.disabled {
  opacity: 0.5;
}

.g-recaptcha {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.dialog.active {
  display: flex;
}

.dialog-content {
  display: none;
  max-width: 430px;
  width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.dialog-content .item.content {
  padding: 16px;
}

/* RTL */
[dir=rtl] [ltr-support] {
  direction: ltr;
}

[dir=rtl] .language-container {
  left: auto;
  right: 38px;
}

[dir=rtl] .auth-form .password-container input {
  padding-right: 16px;
  padding-left: 40px;
}

[dir=rtl] .auth-form .password-container .eye-switch {
  right: auto;
  left: 10px;
}

[dir="rtl"] input:not([type=checkbox])::placeholder {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] input:not([type=checkbox]):-moz-placeholder {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] input:not([type=checkbox]):-ms-input-placeholder {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] input:not([type=checkbox])::-webkit-input-placeholder {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] input[dir=ltr]::placeholder {
  text-align: left !important;
  direction: ltr !important;
}

[dir="rtl"] input[dir=ltr]:-moz-placeholder {
  text-align: left !important;
  direction: ltr !important;
}

[dir="rtl"] input[dir=ltr]:-ms-input-placeholder {
  text-align: left !important;
  direction: ltr !important;
}

[dir="rtl"] input[dir=ltr]::-webkit-input-placeholder {
  text-align: left !important;
  direction: ltr !important;
}

[dir="ltr"] .ltr-mirror {
  transform: scaleX(-1);
}

/* END RTL */

.only-sm {
  display: none;
}

@media (max-width: 1023px) {
  .main-container {
    max-width: 100%;
  }

  .banner-container, #waves {
    display: none;
  }

  .language-container {
    top: 12px;
    left: 12px;
  }

  [dir=rtl] .language-container {
    left: auto;
    right: 12px;
  }

  .only-sm {
    display: block;
  }

  html, body {
    font-size: 12px;
  }

  h1, .h1 {
    font-size: 20px !important;
  }

  h2, .h2 {
    font-size: 18px !important;
  }

  h3, .h3 {
    font-size: 16px !important;
  }

  h4, .h4 {
    font-size: 12px !important;
  }

  .description {
    font-size: 12px;
  }

  .auth-form label {
    font-size: 12px;
  }

  .auth-form input:not([type=checkbox],[type=radio],[type=file]) {
    font-size: 14px;
    padding: 12px;
  }

  .primary-btn, .secondary-btn, .danger-btn, .danger-light-btn {
    font-size: 14px;
  }

  .form-container.wide {
    max-width: 320px;
  }

  .auth-form .two-col-container {
    flex-direction: column;
  }

  .auth-form .two-col-container .col {
    width: 100%;
  }

  .icon-btn.flex-sm-row {
    width: auto;
    height: 40px;
    padding: 8px 16px;
    border-radius: 12px;
  }
}

@media print {
  .main-container {
    max-width: 100%;
  }

  .banner-container, #waves {
    display: none;
  }

  .container {
    position: static;
  }

  html, body {
    overflow: visible !important;
    height: auto !important;
  }

  * {
    overflow: visible !important;
  }
}
