/**
* Template Name: NiceAdmin - v2.3.1
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

:root {
  scroll-behavior: smooth;
}

body {
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Open Sans", sans-serif;
  background: #e7efff;
  color: #444444;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 20px 30px;
  transition: all 0.3s;
  background: #e7efff;
  padding-bottom: 300px;
  flex: 1;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  -webkit-animation-name: dropdown-animate;
  animation-name: dropdown-animate;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #e7efff;
}

/* Resep action dropdown:
   - lebih lembut dengan nuansa ungu muda
   - item tetap tegas tanpa radius
   - shadow dibuat sedikit lebih jelas agar terasa timbul
   Selector ini sengaja sangat spesifik agar menu lain tidak ikut berubah. */
.dropdown-menu.dropdown-menu-end.shadow-sm:has(.detail_resep),
.dropdown-menu.dropdown-menu-end.shadow-sm:has(.edit_resep),
.dropdown-menu.dropdown-menu-end.shadow-sm:has(.delete_resep) {
  background-color: #eee7ff;
  background: linear-gradient(180deg, #f2ecff 0%, #e9e0ff 100%);
  border: 1px solid rgba(122, 92, 198, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(54, 37, 89, 0.24);
  overflow: hidden;
}

.dropdown-menu.dropdown-menu-end.shadow-sm:has(.detail_resep) .dropdown-item,
.dropdown-menu.dropdown-menu-end.shadow-sm:has(.edit_resep) .dropdown-item,
.dropdown-menu.dropdown-menu-end.shadow-sm:has(.delete_resep) .dropdown-item {
  border-radius: 0 !important;
}

.dropdown-menu.dropdown-menu-end.shadow-sm:has(.detail_resep) .dropdown-item:hover,
.dropdown-menu.dropdown-menu-end.shadow-sm:has(.edit_resep) .dropdown-item:hover,
.dropdown-menu.dropdown-menu-end.shadow-sm:has(.delete_resep) .dropdown-item:hover,
.dropdown-menu.dropdown-menu-end.shadow-sm:has(.detail_resep) .dropdown-item:focus,
.dropdown-menu.dropdown-menu-end.shadow-sm:has(.edit_resep) .dropdown-item:focus,
.dropdown-menu.dropdown-menu-end.shadow-sm:has(.delete_resep) .dropdown-item:focus {
  background-color: rgba(124, 96, 214, 0.12);
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

@-webkit-keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}
.login_background {
  background: #1c3b67;
}
.nav_background {
  background: rgb(28,59,103);
  background: linear-gradient(90deg, rgba(28,59,103,1) 0%, rgba(10,40,83,1) 54%, rgba(28,59,103,1) 100%);
}
.landing_background {
  background: rgb(114,171,230);
  background: linear-gradient(90deg, #006677 37.5%, #69C8D9 97.92%, #6CCBDC 100%);
}
.login-page {
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.12), transparent 28%);
  pointer-events: none;
}
.login-page > .container {
  position: relative;
  z-index: 1;
}
.login-shell {
  max-width: 1440px;
}
.login-illustration-panel {
  position: relative;
  min-height: 720px;
  padding: 2rem;
  border-radius: 1.75rem 0 0 1.75rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(6, 23, 53, 0.94), rgba(12, 54, 107, 0.92) 48%, rgba(30, 114, 146, 0.9)),
    radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 34%);
  box-shadow: 0 30px 70px rgba(0, 20, 49, 0.28);
}
.login-illustration-panel::before,
.login-illustration-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
}
.login-illustration-panel::before {
  width: 260px;
  height: 260px;
  top: -70px;
  right: -90px;
}
.login-illustration-panel::after {
  width: 180px;
  height: 180px;
  bottom: -50px;
  left: -40px;
}
.login-illustration-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: #fff;
}
.login-illustration-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.login-illustration-panel h2 {
  margin: 1.25rem 0 0.65rem;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
}
.login-illustration-panel p {
  max-width: 28rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}
.login-illustration-card {
  position: relative;
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  min-height: 430px;
  overflow: hidden;
}
.login-illustration-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.login-orbit-1 {
  inset: 18px;
}
.login-orbit-2 {
  inset: 52px;
}
.login-orbit-3 {
  inset: 88px;
}
.login-illustration-logo {
  position: relative;
  z-index: 2;
  width: 170px;
  height: 170px;
  margin: 1rem auto 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}
.login-illustration-logo img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.2));
}
.login-illustration-stats {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.9rem;
}
.login-illustration-stats div {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.login-illustration-stats strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
.login-illustration-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}
.login-illustration-stats i {
  margin-right: 0.35rem;
}
.login-form-column {
  padding: 2.5rem 2.25rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0 1.75rem 1.75rem 0;
  box-shadow: 0 30px 70px rgba(1, 41, 112, 0.18);
}
.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
}
.login-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(65, 84, 241, 0.1);
  color: #4154f1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(65, 84, 241, 0.08);
}
.login-brand-badge i {
  font-size: 0.9rem;
}
.login-brand-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 12px 25px rgba(1, 41, 112, 0.15));
}
.login-brand-title {
  margin: 0;
  color: #012970;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.login-brand-text {
  color: #51678f;
  margin: 0.5rem 0 0;
  max-width: 28rem;
  font-size: 0.95rem;
}
.login-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}
.login-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.login-highlights i {
  font-size: 0.85rem;
}
.login-form {
  width: 100%;
}
.login-form-inner {
  width: 100%;
  position: relative;
  max-width: 100%;
  padding: 0.25rem 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.login-input-group {
  border-radius: 0.45rem;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(1, 41, 112, 0.06);
  background: #fff;
  border: 2px solid #9fb3d1;
}
.login-input-icon {
  background: #f2f6ff;
  color: #012970;
  border: 0;
  border-right: 2px solid #9fb3d1;
}
.login-control {
  border: 0;
  min-height: 3.25rem;
  padding: 1.05rem 1rem;
  background: #fff;
}
.login-input-group:focus-within {
  border-color: #4154f1;
  box-shadow: 0 0 0 0.2rem rgba(65, 84, 241, 0.14);
}
.login-control:focus {
  box-shadow: none;
}
.login-password-wrap {
  position: relative;
}
.login-password-input {
  border-right: 0;
}
.login-password-toggle {
  border: 0;
  border-left: 2px solid #9fb3d1;
  background: #f9fbff;
  color: #012970;
  min-width: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}
.login-password-toggle:hover {
  background: #edf4ff;
  color: #4154f1;
}
.login-captcha-wrap {
  position: relative;
  border: 2px solid #9fb3d1;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 16px rgba(1, 41, 112, 0.06);
}
.login-captcha-image {
  width: 100%;
  display: block;
}
.login-captcha-reload {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.55rem;
  height: 2.55rem;
  min-width: 2.55rem;
  min-height: 2.55rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(1, 41, 112, 0.9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(1, 41, 112, 0.28);
  transform: translateZ(0);
}
.login-captcha-reload:hover {
  background: #4154f1;
  color: #fff;
  box-shadow: 0 16px 30px rgba(1, 41, 112, 0.34);
  transform: translateY(-1px);
}
.login-helper-text {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: #51678f;
}
.login-submit-btn {
  padding: 1rem 1rem;
  border-radius: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 14px 28px rgba(65, 84, 241, 0.24);
}
.login-submit-btn i {
  font-size: 1.1rem;
}
.login-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(65, 84, 241, 0.28);
}
.login-footer-note {
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  opacity: 0.9;
}
.credits .text-dark,
.login-footer-note.text-dark {
  color: #111827 !important;
}
.login-submit-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (max-width: 576px) {
  .login-brand-title {
    font-size: 1.65rem;
  }
  .login-brand-text {
    font-size: 0.9rem;
  }
  .login-highlights {
    gap: 0.4rem;
  }
  .login-highlights span {
    font-size: 0.74rem;
    padding: 0.38rem 0.65rem;
  }
  .login-form-inner {
    padding: 0.25rem 0 0;
  }
  .login-captcha-reload {
    width: 2.2rem;
    height: 2.2rem;
    min-width: 2.2rem;
    min-height: 2.2rem;
  }
}
@media (max-width: 991.98px) {
  .login-form-column {
    border-radius: 1.5rem;
    padding: 1.5rem;
  }
}
.menu_background {
  background: rgb(35,49,66);
  background: linear-gradient(90deg, rgba(35,49,66,1) 0%, rgba(35,49,66,1) 35%, rgba(35,49,66,1) 100%);
}
/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #012970;
  font-family: "Poppins", sans-serif;
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 0 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #012970;
  background-color: #e7efff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #949ef7;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #949ef7;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #949ef7;
  border-bottom: 2px solid #949ef7;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}

.logo img {
  max-height: 26px;
  margin-right: 6px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #012970;
  font-family: "Nunito", sans-serif;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #012970;
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #012970;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #e7efff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #e7efff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #e7efff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  left: -300px;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: all 0.3s;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aab7cf transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

#main,
#footer {
  margin-left: 0;
}

.toggle-sidebar .sidebar {
  left: 0;
}

@media (min-width: 1200px) {
  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 300px;
  }
}

.sidebar-backdrop {
  display: none;
}

.toggle-sidebar .sidebar-backdrop {
  display: block;
  position: fixed;
  inset: 60px 0 0;
  z-index: 995;
  background: rgba(0, 0, 0, 0.25);
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .menu-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  margin: 14px 0;
  opacity: 1;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #899bbd;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #dbe7f5;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  padding: 10px 15px;
  border-radius: 8px;
  border-left: 3px solid transparent;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: #9fb3c8;
  transition: color 0.2s ease;
}

.sidebar-nav .nav-link.collapsed {
  color: #ffffff;
}

.sidebar-nav .nav-link.collapsed i {
  color: #ffffff;
}

.sidebar-nav .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.sidebar-nav .nav-link:hover i {
  color: #5eead4;
}

.sidebar-nav .nav-link.active {
  color: #ffffff;
  background: rgba(45, 212, 191, 0.18);
  border-left-color: #5eead4;
  box-shadow: inset 0 0 18px rgba(45, 212, 191, 0.06);
}

.sidebar-nav .nav-link.active i {
  color: #5eead4;
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #edf0f5;
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.1);
}

.sidebar-nav .nav-content-nested > li > a.active i {
  background-color: #5eead4;
}

.sidebar-nav .nav-content .nav-content-toggle {
  padding: 10px 15px 10px 40px;
  color: #edf0f5;
}

.sidebar-nav .nav-content .nav-content-toggle i {
  font-size: 16px;
  margin-right: 10px;
  line-height: normal;
  border-radius: 0;
  background-color: transparent;
}

.sidebar-nav .nav-content .nav-content-toggle > .bi-circle {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content .nav-content-toggle.collapsed {
  color: #edf0f5;
}

.sidebar-nav .nav-content .nav-content-toggle:hover,
.sidebar-nav .nav-content .nav-content-toggle.active {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.1);
}

.sidebar-nav .nav-content .nav-content-toggle .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-content .nav-content-toggle:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content .nav-content-nested {
  padding-top: 0;
}

.sidebar-nav .nav-content .nav-content-nested a {
  padding-left: 65px;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #4154f1;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}
.dashboard .purple-card .card-icon {
  color: #b10b9b;
  background: #fac5ef;
}
.dashboard .blue-card .card-icon {
  color: #929292;
  background: #dbdbdb;
}

.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}
.dashboard .transsaction-card .card-icon {
  color: #c852e6;
  background: #f3e0f8;
}
/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: #012970;
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #4154f1;
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #012970;
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #012970;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #4154f1;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #012970;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #4154f1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #4154f1;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #4154f1;
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #012970;
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}
@media (max-width: 576px) {
  .email-text {
      font-size: 9px !important; /* Ukuran font lebih kecil */
  }
  .mobile-text {
    font-size: 11px !important; /* Ukuran font lebih kecil */
  }
}
@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: center;
  color: #012970;
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}


canvas {
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  width: 100%;
  height: 200px;
}

.scroll_div {
  overflow-y: scroll;
  height: 300px; /* Atur ketinggian sesuai kebutuhan */
  /* Atur atribut lain sesuai kebutuhan */
}
body .title_page_app {
  font-family: 'Roguelai', sans-serif !important;
  font-size: 14pt;
  color: #f0b906;
}
.custom-list {
  list-style-type: none; /* Menghilangkan titik default */
}

.custom-list li::before {
  content: ""; /* Ganti 'Kata ' dengan teks yang diinginkan */
  font-weight: bold; /* Opsi: Anda bisa menyesuaikan gaya teks */
  margin-right: 10px; /* Memberi jarak antara teks dan isi list */
}
.card .album img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  filter: brightness(100%);
}
.card .album img:hover {
  filter: brightness(40%);
}

#FormPreviewSertifikat iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#FormPreviewSertifikat {
  height: calc(100vh - 120px); /* Sesuaikan dengan tinggi header dan footer modal */
}

/* Untuk Garis Putus-putus */
.dashed-underline {
  border-bottom: 2px dashed #000; /* Warna hitam */
  display: inline-block; /* Agar hanya sepanjang teks */
  padding-bottom: 5px; /* Jarak ke teks */
}

.text-grayish{
  color: #a7a7a7;
}

#show_readme img {
  max-width: 100%;  /* Agar gambar tidak melebihi lebar parent */
  height: auto;     /* Menjaga rasio aspek gambar */
  width: 100%;     /* Atur lebar sesuai keinginan */
  border-radius: 8px; /* Opsional, untuk sudut membulat */
}

/* Card tanggal dan jam */
#card_jam_menarik {
  padding: 15px;
  border-radius: 12px;
  background: linear-gradient(120deg, #087f8c 0%, #19a974 52%, #7ac943 100%);
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid #fff;
  overflow: hidden;
}

#card_jam_menarik::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  top: -115px;
  right: 8%;
  border: 28px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

#card_jam_menarik::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -35px;
  bottom: -80px;
  border: 18px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  z-index: 1;
}

#card_jam_menarik .card-body {
  position: relative;
  z-index: 2;
}

#tanggal_menarik {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
}

#jam_menarik {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 2px;
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
}

@media (min-width: 768px) {
  .dashboard-report-row {
    align-items: stretch;
  }

  .dashboard-report-column {
    display: flex;
  }

  .dashboard-report-card {
    flex: 1 1 auto;
  }
}

.dashboard-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.dashboard-quick-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dashboard-quick-action:hover,
.dashboard-quick-action:focus {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-1px);
}

.dashboard-quick-action i {
  font-size: 1rem;
}

@media (max-width: 575px) {
  .dashboard-quick-action {
    flex: 1 1 130px;
    justify-content: center;
  }
}


/* Table custome */
.table_custome {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.table_custome th, 
.table_custome td {
  border: 1px solid #000000;
  padding: 3px;
}

.table_custome th {
  color: rgb(0, 0, 0);
  font-size: 10pt;
}

.table_custome td {
  color: #000000;
}

/*--------------------------------------------------------------
# Dark Mode
--------------------------------------------------------------*/
html.dark-mode,
html.dark-mode body,
body.dark-mode {
  background-color: #0f172a !important;
  background: #0f172a !important;
  color: #cbd5e1 !important;
}

html.dark-mode #main,
body.dark-mode #main {
  background-color: #0f172a !important;
  background: #0f172a !important;
  color: #cbd5e1 !important;
}

html.dark-mode h1, html.dark-mode h2, html.dark-mode h3, html.dark-mode h4, html.dark-mode h5, html.dark-mode h6,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6,
html.dark-mode .pagetitle h1, body.dark-mode .pagetitle h1 {
  color: #f8fafc !important;
}

/* Header Dark Mode */
html.dark-mode .header,
body.dark-mode .header,
html.dark-mode .nav_background,
body.dark-mode .nav_background {
  background-color: #1e293b !important;
  background: #1e293b !important;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode .header .logo span,
body.dark-mode .header .logo span {
  color: #f8fafc !important;
}

html.dark-mode .header .toggle-sidebar-btn,
body.dark-mode .header .toggle-sidebar-btn {
  color: #f8fafc !important;
}

html.dark-mode .header .search-form input,
body.dark-mode .header .search-form input {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

html.dark-mode .header .search-form button i,
body.dark-mode .header .search-form button i {
  color: #cbd5e1 !important;
}

html.dark-mode .header-nav .nav-icon,
body.dark-mode .header-nav .nav-icon {
  color: #f8fafc !important;
}

html.dark-mode .header-nav .nav-profile,
body.dark-mode .header-nav .nav-profile {
  color: #f8fafc !important;
}

/* Sidebar Dark Mode */
html.dark-mode .sidebar,
body.dark-mode .sidebar {
  background-color: #1e293b !important;
  background: #1e293b !important;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3) !important;
  scrollbar-color: #334155 #1e293b !important;
}

html.dark-mode .sidebar::-webkit-scrollbar,
body.dark-mode .sidebar::-webkit-scrollbar {
  background-color: #1e293b !important;
}

html.dark-mode .sidebar::-webkit-scrollbar-thumb,
body.dark-mode .sidebar::-webkit-scrollbar-thumb {
  background-color: #334155 !important;
}

html.dark-mode .sidebar-nav .nav-heading,
body.dark-mode .sidebar-nav .nav-heading {
  color: #64748b !important;
}

html.dark-mode .sidebar-nav .nav-link,
body.dark-mode .sidebar-nav .nav-link {
  color: #e2e8f0 !important;
  background-color: transparent !important;
}

html.dark-mode .sidebar-nav .nav-link.active,
body.dark-mode .sidebar-nav .nav-link.active {
  color: #f8fafc !important;
  background-color: rgba(45, 212, 191, 0.18) !important;
  border-left-color: #5eead4 !important;
}

html.dark-mode .sidebar-nav .nav-link i,
body.dark-mode .sidebar-nav .nav-link i {
  color: #818cf8 !important;
}

html.dark-mode .sidebar-nav .nav-link.collapsed,
body.dark-mode .sidebar-nav .nav-link.collapsed {
  color: #cbd5e1 !important;
  background-color: transparent !important;
}

html.dark-mode .sidebar-nav .nav-link.collapsed i,
body.dark-mode .sidebar-nav .nav-link.collapsed i {
  color: #94a3b8 !important;
}

html.dark-mode .sidebar-nav .nav-link:hover,
body.dark-mode .sidebar-nav .nav-link:hover {
  color: #818cf8 !important;
  background-color: #334155 !important;
  background: #334155 !important;
}

html.dark-mode .sidebar-nav .nav-content a,
body.dark-mode .sidebar-nav .nav-content a {
  color: #94a3b8 !important;
}

html.dark-mode .sidebar-nav .nav-content a:hover,
html.dark-mode .sidebar-nav .nav-content a.active,
body.dark-mode .sidebar-nav .nav-content a:hover,
body.dark-mode .sidebar-nav .nav-content a.active {
  color: #818cf8 !important;
  background-color: rgba(129, 140, 248, 0.12) !important;
}

/* Cards & Containers Dark Mode */
html.dark-mode .card,
body.dark-mode .card {
  background-color: #1e293b !important;
  background: #1e293b !important;
  color: #cbd5e1 !important;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid #334155 !important;
}

html.dark-mode .card-header,
html.dark-mode .card-footer,
body.dark-mode .card-header,
body.dark-mode .card-footer {
  background-color: #1e293b !important;
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #94a3b8 !important;
}

html.dark-mode .card-title,
body.dark-mode .card-title {
  color: #f8fafc !important;
}

html.dark-mode .card-title span,
body.dark-mode .card-title span {
  color: #64748b !important;
}

/* Tables Dark Mode */
html.dark-mode .table, html.dark-mode .table_custome, html.dark-mode .dataTable-table,
body.dark-mode .table, body.dark-mode .table_custome, body.dark-mode .dataTable-table {
  color: #cbd5e1 !important;
  border-color: #334155 !important;
}

html.dark-mode .table th, html.dark-mode .table td, html.dark-mode .table_custome th, html.dark-mode .table_custome td, html.dark-mode .dataTable-table th, html.dark-mode .dataTable-table td,
body.dark-mode .table th, body.dark-mode .table td, body.dark-mode .table_custome th, body.dark-mode .table_custome td, body.dark-mode .dataTable-table th, body.dark-mode .dataTable-table td {
  color: #cbd5e1 !important;
  border-color: #334155 !important;
}

html.dark-mode .table thead th, html.dark-mode .table_custome th, html.dark-mode .dashboard .recent-sales .table thead, html.dark-mode .dashboard .top-selling .table thead,
body.dark-mode .table thead th, body.dark-mode .table_custome th, body.dark-mode .dashboard .recent-sales .table thead, body.dark-mode .dashboard .top-selling .table thead {
  background-color: #0f172a !important;
  background: #0f172a !important;
  color: #f8fafc !important;
}

html.dark-mode .table-striped > tbody > tr:nth-of-type(odd),
body.dark-mode .table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.02) !important;
  color: #cbd5e1 !important;
}

html.dark-mode .table-hover > tbody > tr:hover,
body.dark-mode .table-hover > tbody > tr:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #f8fafc !important;
}

html.dark-mode .dataTable-selector, html.dark-mode .dataTable-input,
body.dark-mode .dataTable-selector, body.dark-mode .dataTable-input {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border: 1px solid #334155 !important;
}

html.dark-mode .dataTable-pagination a,
body.dark-mode .dataTable-pagination a {
  color: #cbd5e1 !important;
  background-color: #1e293b !important;
}

/* Forms Dark Mode */
html.dark-mode .form-control, html.dark-mode .form-select, html.dark-mode input, html.dark-mode textarea, html.dark-mode select,
body.dark-mode .form-control, body.dark-mode .form-select, body.dark-mode input, body.dark-mode textarea, body.dark-mode select {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

html.dark-mode .form-control:focus, html.dark-mode .form-select:focus, html.dark-mode input:focus, html.dark-mode textarea:focus, html.dark-mode select:focus,
body.dark-mode .form-control:focus, body.dark-mode .form-select:focus, body.dark-mode input:focus, body.dark-mode textarea:focus, body.dark-mode select:focus {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25) !important;
}

html.dark-mode .form-control::placeholder,
body.dark-mode .form-control::placeholder {
  color: #64748b !important;
}

html.dark-mode .input-group-text,
body.dark-mode .input-group-text {
  background-color: #1e293b !important;
  color: #cbd5e1 !important;
  border-color: #334155 !important;
}

html.dark-mode .form-label, html.dark-mode label,
body.dark-mode .form-label, body.dark-mode label {
  color: #e2e8f0 !important;
}

/* Modals Dark Mode */
html.dark-mode .modal-content,
body.dark-mode .modal-content {
  background-color: #1e293b !important;
  background: #1e293b !important;
  color: #cbd5e1 !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

html.dark-mode .modal-header, html.dark-mode .modal-footer,
body.dark-mode .modal-header, body.dark-mode .modal-footer {
  border-color: #334155 !important;
  background-color: #1e293b !important;
  background: #1e293b !important;
}

html.dark-mode .modal-title, body.dark-mode .modal-title,
html.dark-mode .modal-title i, body.dark-mode .modal-title i,
html.dark-mode .modal-title span, body.dark-mode .modal-title span {
  color: #f8fafc !important;
}

html.dark-mode .btn-close,
body.dark-mode .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%) !important;
}

/* Dropdowns Dark Mode */
html.dark-mode .dropdown-menu,
body.dark-mode .dropdown-menu {
  background-color: #1e293b !important;
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

html.dark-mode .dropdown-item,
body.dark-mode .dropdown-item {
  color: #cbd5e1 !important;
}

html.dark-mode .dropdown-item:hover, html.dark-mode .dropdown-item:focus,
body.dark-mode .dropdown-item:hover, body.dark-mode .dropdown-item:focus {
  background-color: #334155 !important;
  color: #f8fafc !important;
}

html.dark-mode .dropdown-header,
body.dark-mode .dropdown-header {
  color: #94a3b8 !important;
}

html.dark-mode .dropdown-divider,
body.dark-mode .dropdown-divider {
  border-color: #334155 !important;
}

html.dark-mode .dropdown-menu-arrow::before,
body.dark-mode .dropdown-menu-arrow::before {
  background-color: #1e293b !important;
  border-top-color: #334155 !important;
  border-left-color: #334155 !important;
}

/* Accordions Dark Mode */
html.dark-mode .accordion-item,
body.dark-mode .accordion-item {
  background-color: #1e293b !important;
  border-color: #334155 !important;
}

html.dark-mode .accordion-button,
body.dark-mode .accordion-button {
  background-color: #1e293b !important;
  color: #cbd5e1 !important;
}

html.dark-mode .accordion-button:not(.collapsed),
body.dark-mode .accordion-button:not(.collapsed) {
  background-color: #0f172a !important;
  color: #818cf8 !important;
}

html.dark-mode .accordion-body,
body.dark-mode .accordion-body {
  color: #cbd5e1 !important;
}

/* Breadcrumbs & Tabs Dark Mode */
html.dark-mode .breadcrumb-item, html.dark-mode .breadcrumb-item.active,
body.dark-mode .breadcrumb-item, body.dark-mode .breadcrumb-item.active {
  color: #94a3b8 !important;
}

html.dark-mode .breadcrumb a,
body.dark-mode .breadcrumb a {
  color: #cbd5e1 !important;
}

html.dark-mode .nav-tabs-bordered,
body.dark-mode .nav-tabs-bordered {
  border-bottom-color: #334155 !important;
}

html.dark-mode .nav-tabs-bordered .nav-link,
body.dark-mode .nav-tabs-bordered .nav-link {
  color: #94a3b8 !important;
}

html.dark-mode .nav-tabs-bordered .nav-link.active,
body.dark-mode .nav-tabs-bordered .nav-link.active {
  background-color: #1e293b !important;
  color: #818cf8 !important;
  border-bottom-color: #818cf8 !important;
}

/* List group & Badges Dark Mode */
html.dark-mode .list-group-item,
body.dark-mode .list-group-item {
  background-color: #1e293b !important;
  color: #cbd5e1 !important;
  border-color: #334155 !important;
}

html.dark-mode .bg-white, html.dark-mode .bg-light,
body.dark-mode .bg-white, body.dark-mode .bg-light {
  background-color: #1e293b !important;
  color: #cbd5e1 !important;
}

html.dark-mode .text-dark,
body.dark-mode .text-dark {
  color: #f8fafc !important;
}

html.dark-mode .text-secondary, html.dark-mode .text-muted,
body.dark-mode .text-secondary, body.dark-mode .text-muted {
  color: #94a3b8 !important;
}

/* Footer Dark Mode */
html.dark-mode .footer,
body.dark-mode .footer {
  background-color: #0f172a !important;
  background: #0f172a !important;
  border-top-color: #334155 !important;
}

html.dark-mode .footer .copyright, html.dark-mode .footer .credits,
body.dark-mode .footer .copyright, body.dark-mode .footer .credits {
  color: #94a3b8 !important;
}

/* Dashboard Dark Mode */
html.dark-mode .dashboard .info-card h6,
body.dark-mode .dashboard .info-card h6 {
  color: #f8fafc !important;
}

html.dark-mode .dashboard .activity .activity-item .activite-label,
body.dark-mode .dashboard .activity .activity-item .activite-label {
  color: #94a3b8 !important;
}

html.dark-mode .dashboard .activity .activity-item .activite-label::before,
body.dark-mode .dashboard .activity .activity-item .activite-label::before {
  background-color: #334155 !important;
}

html.dark-mode .dashboard .news h4 a,
body.dark-mode .dashboard .news h4 a {
  color: #f8fafc !important;
}

html.dark-mode .dashboard .news p,
body.dark-mode .dashboard .news p {
  color: #94a3b8 !important;
}

/* TOAST */
#appToast {
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

#appToast.toast-success {
    background: rgba(59, 185, 126, 0.85);
    color: rgb(46, 119, 56);
}

#appToast.toast-error {
    background: rgba(220, 53, 69, 0.85);
    color: white;
}

#appToast.toast-warning {
    background: rgba(255, 193, 7, 0.85);
    color: #212529;
}

#appToast.toast-info {
    background: rgba(13, 202, 240, 0.85);
    color: #212529;
}

#appToast .toast-header {
    background: transparent;
    color: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#appToast .toast-body {
    background: transparent;
}

#appToast .btn-close {
    filter: none;
}

#appToastIcon {
    margin-right: 12px;
}

/* =========================================================
   INPUT READONLY
   Hanya INPUT dan TEXTAREA
   ========================================================= */

input.form-control[readonly],
textarea.form-control[readonly] {
    background-color: #e9ecef !important;
    color: #495057;
    cursor: not-allowed;
    opacity: 1;
}

/* Fokus tetap abu-abu */
input.form-control[readonly]:focus,
textarea.form-control[readonly]:focus {
    background-color: #e9ecef !important;
    color: #495057;
    box-shadow: none;
    border-color: #ced4da;
}
/* =========================================================
   CARD MOBILE CARD
   ========================================================= */
   
.MobileCard-grid > [class*="col-"],
.MobileCard-grid #MobileCardList > [class*="col-"] {
    display: flex;
}

.MobileCard-grid > [class*="col-"] > .card,
.MobileCard-grid #MobileCardList > [class*="col-"] > .card {
    width: 100%;
    margin-bottom: 0;
}

.MobileCard-grid .card-tambah,
.MobileCard-grid .card-resep {
    min-height: 200px;
}

.MobileCard-grid .card-tambah {
    align-items: center;
    justify-content: center;
    padding: 25px;
    border: 2px dashed #aab7cf;
    background: #fff;
    color: inherit;
    cursor: default;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: none;
}

.MobileCard-grid .card-tambah .card-body {
    min-height: 0;
    padding: 0;
}

.MobileCard-grid .aksi-resep {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.MobileCard-grid .icon-tambah {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce3f0;
    border-radius: 50%;
    background: #f6f8ff;
    color: #4154f1;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    appearance: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.MobileCard-grid .icon-tambah:hover {
    border-color: #4154f1;
    box-shadow: 0 3px 10px rgba(1, 41, 112, 0.10);
}

.MobileCard-grid #tombol_tambah {
    background: #f3f5ff;
    color: #4154f1;
}

.MobileCard-grid #tombol_cari {
    background: #f8f9fa;
    color: #51678f;
}

.MobileCard-grid .card-tambah h6 {
    color: #012970;
    font-weight: 700;
}



/* =========================================================
   CARD AKSI RESEP
   ========================================================= */

#list_resep {
    display: contents;
}

#list_resep > [class*="col-"] {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

.resep-grid > [class*="col-"],
.resep-grid #list_resep > [class*="col-"] {
    display: flex;
}

.resep-grid > [class*="col-"] > .card,
.resep-grid #list_resep > [class*="col-"] > .card {
    width: 100%;
    margin-bottom: 0;
}

.resep-grid .card-tambah-resep,
.resep-grid .card-resep {
    min-height: 300px;
}

.resep-grid .card-tambah-resep {
    align-items: center;
    justify-content: center;
    padding: 25px;
    border: 2px dashed #aab7cf;
    background: #fff;
    color: inherit;
    cursor: default;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: none;
}

.resep-grid .card-tambah-resep .card-body {
    min-height: 0;
    padding: 0;
}

.resep-grid .aksi-resep {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.resep-grid .icon-tambah-resep {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce3f0;
    border-radius: 50%;
    background: #f6f8ff;
    color: #4154f1;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    appearance: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.resep-grid .icon-tambah-resep:hover {
    border-color: #4154f1;
    box-shadow: 0 3px 10px rgba(1, 41, 112, 0.10);
}

.resep-grid #tombol_tambah {
    background: #f3f5ff;
    color: #4154f1;
}

.resep-grid #tombol_cari {
    background: #f8f9fa;
    color: #51678f;
}

.resep-grid .card-tambah-resep h6 {
    color: #012970;
    font-weight: 700;
}

.resep-grid .card-resep {
    border: 1px solid #ebeef4;
    box-shadow: 0 3px 12px rgba(1, 41, 112, 0.06);
}

.resep-grid .card-resep .card-body {
    flex: 1 1 auto;
    padding: 28px 22px 16px;
}

.resep-grid .resep-card-heading {
    min-height: 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.resep-grid .resep-card-code {
    min-width: 0;
    color: #012970;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.resep-grid .resep-card-heading .badge {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
}

.resep-grid .resep-card-info {
    display: grid;
    gap: 12px;
    margin-bottom: 0;
}

.resep-grid .resep-card-info div {
    min-width: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.resep-grid .resep-card-info small {
    flex: 0 0 72px;
    color: #899bbd;
    font-size: 12px;
}

    .resep-grid .resep-card-info strong,
.resep-grid .resep-card-info span {
    min-width: 0;
    color: #3e4f6f;
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
    text-align: right;
}

.resep-grid .resep-card-footer {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 22px;
    border-top: 1px solid #ebeef4;
}

.resep-grid .resep-card-footer .btn-floating {
    flex: 0 0 auto;
}

.resep-grid .card-footer {
    margin-top: auto;
}


/* =========================================================
   NO ACCESS
   ========================================================= */

.no-access-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff3f3;
    color: #dc3545;
    font-size: 36px;
}

.no-access-icon + * {
    color: #012970;
}

@media (max-width: 575.98px) {
    .no-access-icon {
        width: 68px;
        height: 68px;
        font-size: 30px;
    }
}


#FormCetak {
    overflow-x: auto;
    background: #f3f3f3;
    padding: 15px;
}

#lembar_resep {
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
#lembar_resep table,
#lembar_resep tr,
#lembar_resep .item-resep {
    page-break-inside: avoid;
    break-inside: avoid;
}