@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Itim&display=swap');

* {
    font-family: "Itim", cursive;
}
.pointer {cursor: pointer;}
body {
  margin-top: 20px;
  background-color: #f2f6fc;
  color: #69707a;
}
.bg-rxsuccess {
  background-color: #608000;
}
.btn.btn-rxsuccess {
    color: #fff;
    background-color: #608000;
    border-color: #608000;
}
.btn.btn-rxsuccess:hover {
    color: #608000;
    background-color: #fff; 
    border-color: #608000; 
}
.btn.btn-rxsu {
    color: #131313; 
    background-color: #fff; 
    border-color: #608000; 
}
.btn.btn-rxsu:hover {
    color: #fff;
    background-color: #608000;
    border-color: #608000;
}
.btn.btn-rxsuprimary {
    color: #131313; 
    background-color: #fff; 
    border-color: #1709d4 
}
.btn.btn-rxsuprimary:hover {
    color: #fff;
    background-color: #1709d4;
    border-color: #1709d4;
}
.btn.btn-rxsuprimary1 {
    color: #0d6efd; 
    background-color: #fff; 
    border-color: #0d6efd
}
.btn.btn-rxsuprimary1:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.btn.btn-rxsuwarning {
    color: #ffc107; 
    background-color: #fff; 
    border-color: #ffc107
}
.btn.btn-rxsuwarning:hover {
    color: #fff;
    background-color: #ffc107;
    border-color: #ffc107;
}
.btn.btn-outline-primary:hover {
    color: #fff !important;
}
.btn.btn-outline-info:hover {
    color: #fff !important;
}
.btn.btn-outline-warning:hover {
    color: #fff !important;
}
.btn.btn-outline-danger:hover {
    color: #fff !important;
}

.lucide {
    /* Change this! */
    /* color: #608000; */
    width: 20px;
    height: 20px;
    stroke-width: 2px;
  }
.img-account-profile {
  height: 9rem;
}
.rounded-circle {
  border-radius: 50% !important;
}
.card {
  box-shadow: 0 0.15rem 1.75rem 0 rgb(33 40 50 / 15%);
}
.card .card-header {
  font-weight: 500;
}
.card-header:first-child {
  border-radius: 0.35rem 0.35rem 0 0;
}
.card-header {
  padding: 1rem 1.35rem;
  margin-bottom: 0;
  background-color: rgba(33, 40, 50, 0.03);
  border-bottom: 1px solid rgba(33, 40, 50, 0.125);
}
.form-control,
.dataTable-input {
  display: block;
  width: 100%;
  padding: 0.875rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  color: #69707a;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #c5ccd6;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.35rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.nav-borders .nav-link.active {
  color: #0061f2;
  border-bottom-color: #0061f2;
}
.nav-borders .nav-link {
  color: #69707a;
  border-bottom-width: 0.125rem;
  border-bottom-style: solid;
  border-bottom-color: transparent;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0;
  padding-right: 0;
  margin-left: 1rem;
  margin-right: 1rem;
}
.fa-2x {
  font-size: 2em;
}

.table-billing-history th,
.table-billing-history td {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1.375rem;
  padding-right: 1.375rem;
}
.table > :not(caption) > * > *,
.dataTable-table > :not(caption) > * > * {
  padding: 0.75rem 0.75rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: 1px;
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.border-start-primary {
  border-left-color: #0061f2 !important;
}
.border-start-secondary {
  border-left-color: #6900c7 !important;
}
.border-start-success {
  border-left-color: #00ac69 !important;
}
.border-start-lg {
  border-left-width: 0.25rem !important;
}
.h-100 {
  height: 100% !important;
}
.btn-menu {
  background-color: #ddd; 
  color: #333; 
  border-radius: 5px; 

}
.banner img {
  width: 100%;
  height: auto;
  /* สามารถเพิ่มสไตล์เพิ่มเติมตามความต้องการ */
}
/* Ensure the navbar is at the top and not covering content */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1020; /* Make sure this is higher than the z-index of sections */
}

/* Add padding to the top of the first section */
#section1 {
  padding-top: 7%; /* Adjust this value based on the actual height of your navbar */
}
/* ปรับแต่ง ในส่วน datepicker pickadate.js */
.picker__select--month, .picker__select--year {
    border: 1px solid #b7b7b7;
    height: 40px !important; 
    padding: 0.5em;
    margin-left: 0.25em;
    margin-right: 0.25em;
}
.picker__holder {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.picker__nav--prev, .picker__nav--next {
  background-color: #f0f0f0;
}

.picker__day, .picker__day--infocus, .picker__day--outfocus, .picker__day--highlighted {
  border-radius: 50%;
  background-color: #f0f0f0;
}

/* .picker__day--selected, .picker__day--selected:hover, .picker__day--highlighted:hover {
  background-color: #009688;
  color: white;
} */

.picker--focused .picker__day--selected, .picker__day--selected, .picker__day--selected:hover {
    background: #608000;
    color: #fff;
}
.picker__day, .picker__day--infocus, .picker__day--outfocus, .picker__day--highlighted {
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #608000;
}
.picker__day--highlighted {
    border-color: #608000 !important;
}

.picker--focused .picker__day--highlighted, .picker__day--highlighted:hover, .picker__day--infocus:hover, .picker__day--outfocus:hover {
    cursor: pointer;
    color: #fff !important;
    background: #608000 !important;
    border-color: #608000 !important;
}

.picker--focused .picker__day--selected, .picker__day--selected, .picker__day--selected:hover {
    background: #608000;
    color: #fff !important;
}

.toast-container-top-right {
    position: fixed;
    width: 280px;
    top: 0;
    right: 0;
    z-index: 1050;
    margin: 1rem;
  }

  strong {
    display: inline-block;
    margin: 0;
    font-size: 30px;
    padding: 2px 5px;
    border-radius: 3px;
    background-color: #eaeaea;
    color: #b9316f;
    font-weight: 600;
  }
  .no-bullets {
    list-style-type: none !important;
    margin: 0;
    padding: 0;
  }


  /* ปรับ input type file */
.custom-file {
  position: relative;
  display: inline-block;
}

.custom-file-input {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.custom-file-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #0f0f0e;
  font-weight: bold;
}
/* .card img {
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.63);
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: #ffffff;
  } */

.file-preview {
  display: inline-block;
  margin: 0.5rem;
  position: relative;
}

.file-preview img,
.file-preview .fa-file {
  width: 100px;
  height: 100px;
}

.file-name {
  margin-top: 0.25rem;
}


.no-resize {
    resize: none;
    overflow-y: hidden;
}

textarea.no-resize {
    resize: none;
    overflow-y: hidden;
    min-height: 38px;
}


  /* ปรับขนาด modal ให้เต็มหน้าจอ */
  .modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100vh;
    margin: 0;
  }

  /* ปรับขนาด iframe ให้เต็ม modal */
  .modal-fullscreen .modal-body {
    padding: 0;
    height: calc(100vh - 56px); /* ลบความสูงของ header */
  }

  .modal-fullscreen iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
