@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

/* ================= ROOT VARIABLES ================= */
:root {
  /* fonts */
  --font-titillium: "Titillium Web", sans-serif;
  --font-dashicon: "dashicons", sans-serif;

  /* breakpoints */
  --breakpoint-1xl: 1280px;

  /* colors */
  --color-body: #172144;
  --color-blue: #263772;
  --color-blue-light: #364EA1;
}

/* ================= BASE STYLES ================= */
body {
  font-size: 1rem;
  font-family: var(--font-titillium);
  color: var(--color-body);
}

/* apply font globally */
h1,
h2,
h3,
h4,
h5,
h6,
button,
span,
input,
select,
a,
label,
textarea,
tr,
td {
  font-family: var(--font-titillium);
}

label {
  padding-bottom: 4px;
  display: inline-block;
  font-size: 18px;
}

button {
  cursor: pointer;
}

input {
  background-color: #F4F5FA;
  border: 1px solid #E5E5E5;
}

/* headings */
h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-body);
  line-height: 1.75rem;
}

@media (min-width: 640px) {
  h3 {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  h3 {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  h3 {
    font-size: 1.875rem;
    line-height: 2.5rem;
  }
}

h4 {
  font-size: 1.125rem;
  color: var(--color-body);
}

@media (min-width: 768px) {
  h4 {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  h4 {
    font-size: 1.5rem;
  }
}

h5 {
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  h5 {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  h5 {
    font-size: 1.125rem;
  }
}

/* ================= TABLE ================= */
td {
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  td {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  td {
    font-size: 1.125rem;
  }
}

/* ================= SCROLLBAR HIDE ================= */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ================= DASHICON ================= */
.dashicon::after {
  content: '\f530';
  font-family: var(--font-dashicon);
}

.dashicon-hidden::after {
  content: '\f177';
  font-family: var(--font-dashicon);
}

/* ================= PASSWORD INPUT ================= */
.password-input::-ms-reveal,
.password-input::-ms-clear {
  display: none;
}

/* ================= DATE PICKER ================= */
.date-wrapper {
  position: relative;
  display: inline-block;
}

.datepicker {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  font-size: 16px;
  position: relative;
  z-index: 0;
}

/* hide default calendar icon */
.datepicker::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: none;
}

.datepicker::-webkit-inner-spin-button,
.datepicker::-webkit-clear-button {
  display: none;
}

/* custom calendar icon */
.calendar-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url("./assets/icon/calendar.png") no-repeat center;
  background-size: contain;
  pointer-events: none;
}

@media (max-width: 768px) {
  .calendar-icon {
    width: 16px;
    height: 16px;
  }
}

/* ================= CONTAINER ================= */
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
  max-width: 1280px;
}

.bg-blue-light {
  background-color: #364EA1;
}

.bg-blue {
    background-color: #263772;
}

.text-white {
  color: #fff;
}

