@font-face {
  font-family: 'Anuphan';
  src: url('assets/fonts/Anuphan-Bold.ttf') format('truetype');
  font-weight: bolder;
  font-style: normal;
}

@font-face {
  font-family: 'Anuphan';
  src: url('assets/fonts/Anuphan-SemiBold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Anuphan';
  src: url('assets/fonts/Anuphan-ExtraLight.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Anuphan';
  src: url('assets/fonts/Anuphan-Light.ttf') format('truetype');
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: 'Anuphan';
  src: url('assets/fonts/Anuphan-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Anuphan';
  src: url('assets/fonts/Anuphan-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Anuphan';
  src: url('assets/fonts/Anuphan-Thin.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

body {
  padding: 0;
  margin: 0;
}

header {
  padding: 0;
  margin: 0;
}

* {
  font-family: 'Anuphan';
}

html {
  font-size: 15px;
}

.circle {
  width: 10px;
  height: 10px;
  border-radius: 50px;
}

.desc {
  color: #a2a1a8;
}

.login-preview {
  padding: 20px 20px 10px 20px;
  display: flex;
  width: '50%';
}

.login-outlet {
  max-width: 450px;
  width: 50%;
  min-width: 250px;
  padding: 20px;
}

@media only screen and (max-width: 500px) {
  .login-preview {
    display: none;
  }

  .login-outlet {
    width: 100%;
  }
}

.calender-select-before > div > div {
  border-radius: 0 6px 6px 0 !important;
  border: solid #597ef7;
  border-width: 2px;
  display: flex;
  align-content: center;
  user-select: none;
}

.calender-select-before > div > div::before {
  display: none;
}

.calender-select-after > div > div {
  border-radius: 6px 0 0 6px !important;
  border: solid #597ef7;
  border-width: 2px;
  display: flex;
  align-content: center;
  user-select: none;
}

.calender-select-after > div > div::before {
  display: none;
}

.calender-select-not-active > div > div {
  background-color: transparent !important;
  color: var(--text-color) !important;
  user-select: none;
}
.ant-table td {
  white-space: nowrap;
}
.overflow-100p .ant-table-content {
  overflow: auto !important;
  max-height: 100% !important;
  height: 400px;
  width: 100%;
  display: inline-flex;
  flex-direction: column;
}
/* 
.overflow-100p .ant-table-tbody {
    overflow: auto !important;
    max-height: 100% !important;
    height: 400px;
    width: 100%;
    display: inline-flex;
    flex-direction: column;
} */

.app-background {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('/assets/img/login-preview.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
}

.login-layout {
  width: 100%;
  max-width: 50%;
}

@media screen and (max-width: 450px) {
  .login-layout {
    min-width: 200px;
    width: 100%;
    max-width: 80%;
  }
}

@media screen and (max-width: 400px) {
  .login-layout {
    min-width: 200px;
    width: 100%;
    max-width: 100%;
  }
}

.login-container {
  background-color: rgba(84, 84, 84, 0.7);
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.login-form {
  max-width: 300px;
  margin: auto;
}

.username-input {
  text-transform: capitalize !important;
}

.mobile-drawer > .ant-drawer-body {
  padding: 0;
}

@keyframes lable-moveUp {
  0% {
    transform: translate(0, 0);
    font-size: var(--originFontSize);
    display: inline-block;
    color: var(--defaultColor);
  }
  100% {
    transform: translate(var(--offsetX), calc(-1 * var(--offsetY)));
    font-size: var(--offsetFontSize);
    display: inline-block;
    color: var(--currentColor);
  }
}

@keyframes lable-moveDown {
  0% {
    transform: translate(var(--offsetX), calc(-1 * var(--offsetY)));
    font-size: var(--offsetFontSize);
    display: inline-block;
    color: var(--currentColor);
  }
  100% {
    transform: translate(0, 0);
    font-size: var(--originFontSize);
    color: var(--defaultColor);
  }
}

.label-animated-element:focus-within > .label-animated-item > div {
  animation: lable-moveUp 0.15s ease-in-out forwards;
}

.label-animated-element:not(:focus-within) > .label-animated-item > div {
  animation: lable-moveDown 0.15s ease-in-out forwards;
}

.white-spin .ant-spin-dot-item {
  background-color: white;
}
