@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  font-family: Montserrat, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --color-white: #fff;
  --color-black: #000;
  --color-blue: #72b4d6;
  --color-green-light: #28C76F29;
  --bg-blue-light: #e3f0f7;
  --bg-blue: #72b4d6;
  --bg-blue-dark: #446c80;
  --bg-blue-darker: #3c5d6d;
  --bg-primary: #72B4D6;
  --color-green: #05692c;
  --color-red: #c71407;
  --color-red-light: #d8665e;
  --fg: #000;
  --bg-darker: #2c2b2b;
  --bg-soft: #f6f8fa;
  --bg-soft-pink : #F2F4F6;
}

[data-theme="dark"] {
  --color-white: #2c2c2c;
  --color-black: #fff;
  --color-green: #264626;
  --color-red: #5f1907;
  --background-color: #121212;
  --text-color: #d3cdcd;
  --bg-blue-light: #1d222a;
  --bg-blue-dark: #18272e;
  --bg-blue-darker: #132129;
  --fg: #fff;
  --bg-darker: #2c2b2b;
  --bg-soft: #000;
  --bg-soft-pink : #211927;
  --bg-primary: #172830;
}

.bg-soft-pink {
  background-color: var(--bg-soft-pink);
}

.nav-bar {
  background-color: var(--bg-blue-light);
}

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

#root {
  width: 100%;
}

.btn-disabled {
  background-color: var(--color-blue);
  color: #fff;
  font-weight: bold;
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-default {
  background-color: var(--color-blue);
  color: #fff;
  font-weight: bold;
}

.btn-success {
  line-height: 0;
  background-color: var(--color-green);
  color: #fff;
  font-weight: bold;
}

.btn-info-success {
  line-height: 0;
  background-color: var(--color-green-light);
  color: #16cc1f;
  font-weight: bold;
}

.btn-info-danger {
  line-height: 0;
  background-color: var(--color-red-light);
  color: #cc1f16;
  font-weight: bold;
}

.btn-danger {
  line-height: 0;
  background-color: var(--color-red);
  color: #fff;
  font-weight: bold;
}

.color-green {
  color: var(--color-green);
}

.color-red {
  color: var(--color-red);
}

h1 , .h1{
  font-size: 3.2em !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
}

h2 {
  font-family: Montserrat;
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 40px !important;
  text-align: center !important;
  margin-bottom: 3rem !important;
}

h4 {
  font-family: Montserrat;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 28px !important;
  text-align: left;
  margin-bottom: 1rem;
}

p {
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

.bg-putih {
  background-color: var(--color-white);
}

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

.color-blue {
  color: var(--color-blue);
}

.rounded-t-80 {
  border-radius: 80px 80px 0px 0px;
}

.bg-blue-dark {
  background-color: var(--bg-blue-dark);
}

.bg-blue {
  background-color: var(--bg-blue);
}

.bg-blue-darker {
  background-color: var(--bg-blue-darker);
}

.bg-darker {
  background-color: var(--bg-darker);
}
.fs-14 {
  font-size: 14px;
}

.color-yellow {
  color: #fbad18;
}

.bg-blue-light {
  background-color: var(--bg-blue-light);
}

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

.position-relative {
  position: relative;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif !important;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg-soft) !important;
}

h3, .h3 {
  font-size: 1.125rem !important;
  line-height: 1 !important;
  font-weight: bold !important;
}

h5,
.h5 {
  font-size: 1.125rem;
}

small,
.small {
  font-size: 0.8125rem;
}

.py-4 {
    padding-bottom: 1rem;
    padding-top: 1rem;
}
button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.modal-overlay {
  max-width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
  z-index: 9999;
}

.modal-content {
  max-width: 80vw;
  max-height: 80vh;
  background: var(--color-white);
  border-radius: 8px;
  position: relative;
  transform: translateY(50px);
  animation: slideUp 0.3s forwards;
  overflow: auto;
}

table {
  border: 1px solid #5e5e5e;
}
table thead {
  background-color: var(--bg-blue-darker);
  color: #fae4f5;
}

table td {
  font-size: var(--font-size-regular);
  padding: 0px 5px;
}

.modal-close {
  position: absolute;
  padding: 5px;
  top: -10px;
  right: -10px;
  background: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 0.125rem 0.25rem rgba(165, 163, 174, 0.3);
  transition: all 0.23s ease 0.1s;
  z-index: 999999;
}

.modal-close:hover {
  transform: translate(-3px, 3px);
}

.dark-opacity-20 {
  opacity: 0.2;
}

ul {
  list-style-type: disc;
  padding-left: 20px; 
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}


@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}