body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom,
      #a8e6cf,
      #c9f2d6,
      #e0f7e9);
}

.btn-box {
  width: 120px;
  height: 120px;
  margin-left: 5px;
  margin-top: 5px;
  display: block;
  padding-top: 10px;
  padding-right: 0;
  padding-left: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#view_content {
  background: rgba(220, 237, 193, 0.85);
  /* sesuai gradien background */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  /* opsional, biar lebih soft */
}

.btn-box-menu {
  width: 120px;
  height: 215px;
}

.btn-box-md {
  width: 80px;
  height: 80px;
}

.btn-box-sm {
  width: 60px;
  height: 60px;
}

.round-box {
  padding: 5px;
  border: 1px solid #e5e5e5;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.grad-down {
  color: #2f4f4f;
  /* teks hijau tua soft */
  text-shadow: none;
  /* biar lebih clean */
  background: linear-gradient(to bottom, #a8e6cf, #dcedc1);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  /* garis bawah halus */
  padding: 10px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  /* bayangan lembut */
}

.grad-up {
  /* background: linear-gradient(to right, #81c784, #66bb6a); */
  background: linear-gradient(to top, #a8e6cf, #dcedc1);
  /* hijau fresh */
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 6px 6px 0 0;
  /* sudut atas membulat */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  /* bayangan lembut */
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.grad-up .page-title-text a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.grad-up .page-title-text a:hover {
  color: #050505;
  /* hijau muda saat hover */
  transform: translateY(-1px);
}

.grad-up i {
  font-size: 18px;
}

/* Active menu di parent */
.navbar-nav>li.active,
.navbar-nav>li.active>a,
.navbar-nav>li.active>a:hover,
.navbar-nav>li.active>a:focus {
  color: #225d35 !important;
  background: linear-gradient(to right, #a8e6cf, #dcedc1) !important;
  border: 1px solid #a5d6a7 !important;
  border-radius: 6px !important;
  text-shadow: none !important;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Dropdown hover & focus */
.dropdown-menu li>a:focus,
.dropdown-menu li>a:hover,
.dropdown-submenu:hover>a {
  color: #225d35;
  /* tetap konsisten dengan tombol */
  text-decoration: none;
  background: linear-gradient(to right, #a8e6cf, #dcedc1);
  /* gradasi hijau muda → hijau kekuningan */
  border-radius: 4px;
}

li.item-auto {
  font-size: 0.8em;
}

table {
  font-size: 1em;
}

#ui-datepicker-div {
  font-size: .8em;
  line-height: 12px
}

#ui-datepicker-div select {
  font-size: .8em;
  line-height: 12px;
  height: 20px;
  padding: 0
}

.table td.div_center,
.div_center,
.table td.tengah,
.tengah {
  margin-bottom: auto;
  text-align: center;
  vertical-align: middle;
  margin-top: auto;
}

.table td.v-center,
.v-center,
table th.v-center {
  margin-bottom: auto;
  vertical-align: middle;
  margin-top: auto;
}

.table td.kanan,
.kanan,
th.kanan {
  text-align: right;
  vertical-align: middle;
}

.table td.kiri,
.kiri,
th.kiri {
  text-align: left;
  vertical-align: middle;
}

/* saat salah satu td di-hover, seluruh tr berubah */
.table tr:hover td {
  background: linear-gradient(to top, #a8e6cf, #dcedc1);
  color: #000;
}

.bg_silver {
  background: #fefefe url('../img/td_bg1.gif') repeat-x;
}

.page-title {
  border-top: none;
  margin-top: 0px;
  padding: 5px;
  font-size: 16px;
  font-weight: bold;
}

.page-title-login {
  border-top: none;
  margin-top: -40px;
  padding: 10px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
}

.table_form {
  padding: 5px;
  border: 1px solid #E2FFB5;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

select.sembunyikan {
  display: none;
}

.ui-autocomplete-loading {
  background: white url('ui-anim_basic_16x16.gif') right center no-repeat;
}

.table-nonfluid {
  margin: auto;
  width: auto;
}

.table-nonfluid th,
.table-nonfluid td {
  padding: 5px;
}

.no-margin-bottom {
  margin-bottom: 0;
}

a.link-nodecor {
  font-weight: normal;
}

.link-nodecor:hover {
  font-size: small;
  text-decoration: none;
}

.order-by {
  color: green;
}

td.green-td {
  color: green;
}

td.blue-td {
  color: blue;
}

td.red-td {
  color: red;
}

#myModal .modal-body {
  max-height: 400px;
}

#myModal {
  width: 1000px;
  /* SET THE WIDTH OF THE MODAL */
  margin: -50px 0 0 -500px;
  /* CHANGE MARGINS TO ACCOMODATE THE NEW WIDTH (original = margin: -250px 0 0 -280px;) */
}

#menu-utama {
  margin-bottom: 0;
}

.welcome {
  padding: 5px;
  font-size: smaller;
  border: 1px solid #D6D6D6;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.ui-button-text,
span.ui-button-text,
.ui-widget button.ui-button,
.ui-widget .fc button,
.ui-dialog-titlebar-close {
  /*font-size: .8em;*/
  font-weight: normal;
}

.ui-button-text {
  font-size: .8em;
  color: #456001;
}

.ui-state-active .ui-button-text {
  font-weight: bold;
}

.ui-state-default.ui-state-active {
  color: #4C6002;
}

.table td.clear-border,
.clear-border {
  border-color: #347235;
  background-color: #347235;
}

.merah {
  color: red;
}

.hijau {
  color: green;
}

.biru {
  color: blue;
}

.orange {
  color: orange;
}

.gelap {
  color: #7C2F00;
}

.ungu {
  color: purple;
}