@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap");

/* ========================================== 
TOOLS CSS 
=============================================*/
:root {
  --primary-color: rgb(33, 24, 51);
  --secondary-color: rgb(55, 77, 110);
  --tertary-color: rgb(255, 165, 0);
}
body {
  font-family: "Inter", sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #222222;
  font-size: 0.85rem;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 0px !important;
}

/* Firefox */
* {
  scrollbar-width: none !important;
}

/* IE / Edge lama */
* {
  -ms-overflow-style: none !important;
}

a {
  text-decoration: none !important;
}

.callout-top-success {
  border-top: 3px solid green;
}

.callout {
  position: relative;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 6px;
  background-color: #f8f9fa;
  color: #212529;
}

.callout-primary-left {
  border: rgb(198, 221, 241) 1px solid;
  border-left: 3px solid #0047b2;
  /* background-color: #f0f6ff; */
}

/* Optional title */
.callout-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  color: #0047b2;
}
.callout-p {
  margin: 0 !important;
}
.callout-ul {
  margin: 0;
  padding-left: 18px;
}
.table-borderless {
  width: 100%;
  border-collapse: collapse;
}

.table-borderless th,
.table-borderless td {
  border: none !important;
  padding: 0.5rem 0.75rem;
  vertical-align: middle;
}

/* Optional: header styling */
.table-borderless thead th {
  font-weight: 600;
  background-color: transparent;
}

/* Optional: row spacing */
.table-borderless tbody tr {
  border-bottom: 1px solid transparent;
}

.form-label-bold {
  font-weight: bold;
}

.form-help-custom {
  background-color: orange !important;
}

.bg-grey {
  background-color: #eaefef !important;
}

/* ========================================== 
LOGIN CSS 
=============================================*/
.login-left-section {
  height: 30vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.login-right-section {
  min-height: 70vh;
  padding: 50px 32px;
}
.login-logo-image {
  height: 50px;
  margin-bottom: 2rem;
}
.login-title {
  font-weight: bold;
}
.login-description-btn {
  font-weight: bold;
  transition: all ease 0.3s;
}
.login-description-btn:hover {
  color: orange;
}
.login-form {
  margin-top: 2rem;
}
.password-wrapper {
  position: relative;
}
.password-wrapper input {
  padding-right: 2.5rem;
}
.password-wrapper .toggle-password {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(50%);
  cursor: pointer;
  z-index: 2;
  color: #6c757d;
}
.login-form input::placeholder {
  font-size: 0.85rem;
}
.form-control-login {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.login-form-lupa-sandi {
  margin-top: 16px;
}
.lupa-sandi-btn {
  font-weight: bold;
  transition: all ease 0.3s;
}
.lupa-sandi-btn:hover {
  color: orange;
}
.login-footer {
  margin-top: 2rem;
  font-size: smaller;
}

@media (min-width: 768px) {
  .login-left-section {
    height: 30vh;
  }
  .login-right-section {
    height: 70vh;
  }
}

@media (min-width: 992px) {
  .login-left-section {
    height: 100vh;
  }
  .login-right-section {
    height: 100vh;
  }
}

/* ========================================== 
RESET SANDI CSS 
=============================================*/
.reset-section {
  padding: 50px 0;
  text-align: center;
}
.reset-section-image {
  height: 50px;
}
.reset-title {
  font-size: 1.5rem;
  margin-top: 32px;
}
.reset-form {
  width: 100%;
  justify-self: center;
}
.reset-form input {
  text-align: center;
}
.reset-form input::placeholder {
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .reset-form {
    width: 40%;
  }
}

/* ========================================== 
MAIN CSS 
=============================================*/
.profil-dropdown-menu {
  padding: 0;
}
.profil-dropdown-menu-content {
  background-image: url("/core/assets/images/pattern.png");
}
.profil-dropdown-menu-avatar {
  height: 80px;
  width: 81px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  margin-bottom: 10px;
}
.profil-dropdown-menu-name .nama {
  font-weight: bold;
  color: whitesmoke;
}
.profil-dropdown-menu-name .role-user {
  color: whitesmoke;
}
.profil-dropdown-menu-button {
  padding: 10px 10px 5px 10px;
}
.btn-profil {
  margin-bottom: 5px;
}
.dropdown-menu {
  padding: 0;
}
.dropdown-item {
  transition: all ease 0.3s;
}
.dropdown-item:not(:last-child) {
  border-bottom: 1px solid #ddd;
}
.dropdown-item:hover {
  background-color: rgb(231, 231, 231);
}
.page-pretitle {
  margin-bottom: 10px;
}
.modal-header {
  background-color: #213448 !important;
  color: whitesmoke !important;
}
.modal-header .btn-close {
  filter: invert(1);
}
.modal-header .btn-close:focus {
  outline: none;
  box-shadow: none;
}
thead tr th {
  background-color: #213448 !important;
  color: white !important;
  font-size: 0.75rem !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
.custom-option {
  padding-top: 10px;
  padding-bottom: 10px;
}
.card-border-top-green {
  border-top: 3px solid #00a65a;
  border-radius: 0.25rem;
}

/* ========================================== 
INPUT FILE CSS 
=============================================*/
.file-drop-area {
  position: relative;
  display: flex;
  align-items: center;
  width: 450px;
  width: 100%;
  padding: 25px;
  border: 2px dashed rgba(118, 118, 118, 0.4);
  border-radius: 3px;
  transition: 0.2s;
}

.choose-file-button {
  flex-shrink: 0;
  background-color: rgba(141, 141, 141, 0.5);
  border: 1px solid rgba(159, 159, 159, 0.1);
  border-radius: 3px;
  padding: 8px 15px;
  margin-right: 10px;
  font-size: 12px;
  text-transform: uppercase;
}

.file-drop-area:hover > .choose-file-button {
  background-color: rgba(112, 111, 109, 0.5) !important;
}

.file-message {
  font-size: small;
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  opacity: 0;
}

.navigator-panel {
  margin-bottom: 1rem;
}

/* ========================================== 
CARD PROFIL CSS 
=============================================*/
.card-header-profil {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 150px;
  border-radius: 5px 5px 0 0;
  margin-bottom: 80px;
}
.profil-image {
  position: absolute;
  width: 150px;
  height: 150px;
  bottom: -60px;
  left: 50%;
  border-radius: 50%;
  transform: translateX(-50%);
  border: 5px solid white;
  padding: 5px;
  background-size: cover;
  background-position: center;
}
.navigator-panel,
.profil-content {
  text-align: center;
}
.profil-name {
  font-size: 2rem;
}
.profil-content {
  margin-top: 50px;
}
@media (min-width: 768px) {
  .card-header-profil {
    margin-bottom: 20px;
  }
  .navigator-panel {
    text-align: end;
  }
  .profil-content {
    text-align: start;
    margin-top: 20px;
  }
  .profil-image {
    width: 150px;
    height: 150px;
    left: 15px;
    transform: translateX(0%);
  }
}

/* ========================================== 
KATA SANDI CSS 
=============================================*/
#strengthBar {
  width: 100%;
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 5px;
}
#strengthBar div {
  height: 100%;
  width: 0;
  transition: width 0.3s;
}
.weak {
  background-color: red !important;
  width: 33% !important;
}
.medium {
  background-color: orange !important;
  width: 66% !important;
}
.strong {
  background-color: green !important;
  width: 100% !important;
}
#togglePassword1 {
  margin-top: -22px;
  right: 20px;
}
#togglePassword2 {
  margin-top: -12px;
  right: 20px;
}
.text-bold {
  font-weight: bold;
}
.menu-row {
  background-color: #dfdfdf;
}
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
}
.hide-on-desktop {
  display: none;
}
@media (max-width: 768px) {
  .hide-on-desktop {
    display: block;
  }
}
.submenu-row {
  margin-left: 0px;
}
@media (min-width: 768px) {
  .submenu-row {
    margin-left: 28px;
  }
}
.child-row {
  margin-left: 28px;
}
@media (min-width: 768px) {
  .child-row {
    margin-left: 56px;
  }
}
.navpagination {
  margin-top: 20px;
}
.pagesselect {
  padding: 5px 10px;
}
.role-list {
  display: block;
  margin-top: 10px;
}
@media (min-width: 768px) {
  .role-list {
    margin-left: 0.5rem;
    display: inline;
  }
}
@media (max-width: 768px) {
  .btn-icon {
    margin-top: 10px;
  }
}

.user-image {
  border: #6c757d 2px solid;
}
.btn-list {
  margin-bottom: 5px;
}
.text-justify {
  text-align: justify;
}
.form-check-keywords {
  padding-top: 20px !important;
}

.page-wrapper {
  min-height: 500px;
}
.table-bordered th,
.table-bordered td {
  border: 1px solid #dee2e6 !important;
}
.a-link {
  text-decoration: none !important;
  transition: all ease 0.3s;
}
.a-link:hover {
  font-weight: bold;
}

/* ========================================== 
DARK MODE CSS 
=============================================*/
.theme-dark table td,
.theme-dark table th {
  color: #fff !important;
}
[data-bs-theme="dark"] table td,
[data-bs-theme="dark"] table th {
  color: var(--tblr-body-color) !important;
}

/* ========================================== 
MOBILE MODE NAVIGATOR 
=============================================*/
@media (max-width: 768px) {
  .navigator-panel .btn-nav {
    display: block;
    text-align: start !important;
  }
  .navigator-panel-end {
    justify-content: end;
  }
  .navigator-panel {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .w-sm-100 {
    display: block;
    width: 100%;
  }
}
.select2-container--default .form-select {
  background-image: var(--tblr-form-select-bg-image);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}
.select2-selection__arrow {
  display: none !important;
}
/* ===============================
   FIX TEXT ALIGN TABLER + SELECT2
================================ */

/* container */
.select2-container--default .select2-selection--single {
  height: 2.5rem !important; /* tinggi form-select Tabler */
  padding: 0.4375rem 2.25rem 0.4375rem 0.75rem !important;
  font-size: 0.875rem !important;
  line-height: 1.4285714 !important;
  display: flex !important;
  align-items: center !important;
  border-color: #dadfe5;
}

/* text */
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.875rem !important;
  line-height: 1.4285714 !important;
  color: var(--tblr-body-color) !important;
}

/* placeholder */
.select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  color: var(--tblr-muted) !important;
}

/* arrow dimatikan */
.select2-selection__arrow {
  display: none !important;
}

body.swal2-shown {
  overflow: auto !important;
  padding-right: 0 !important;
}
body.swal2-height-auto {
  height: 100% !important;
}
