﻿.accordion .accordion-button,
.accordion .accordion-header {
  background-color: var(--app-card-header);
  color: #fff;
}

.custom-title-swall {
  color: #000 !important;
}

.accordion .accordion-header .h5 {
  color: var(--app-white);
}

.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.btn-excel,
.btn-print,
.filter-accordion > .accordion .accordion-button {
  color: #fff;
}

.accordion-item:first-of-type > .accordion-header .accordion-button {
  padding-top: 15px;
  padding-bottom: 15px;
}

.filter-accordion > .accordion .accordion-button::after,
.filter-accordion > .accordion .accordion-button:not(.collapsed)::after,
.k-grid .k-grid-header,
.k-table-group-sticky-header,
.k-table-header,
.k-table-thead {
  background-color: transparent;
}

.filter-accordion > .accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  padding-top: 15px;
  padding-bottom: 15px;
}

.filter-accordion > .accordion .accordion-body {
  border: none;
}

#btn-bersihkan,
#btn-terapkan {
  padding: 8px;
}

#btn-bersihkan:active,
#btn-terapkan:active {
  background-color: initial;
  color: initial;
}

.btn-print {
  background-color: var(--app-blue-button);
  border: 2px solid var(--app-blue-button);
  padding: 8px 18px;
}

.btn-excel {
  background-color: var(--app-orange-button);
  border: 2px solid var(--app-orange-button);
  padding: 8px 18px;
}

.btn-excel svg,
.btn-print svg {
  fill: white;
  vertical-align: sub;
}

.btn-print svg .svg-1 {
  stroke: white;
}

.btn-print:active,
.btn-print:hover {
  color: var(--app-blue-button) !important;
  border: 2px solid var(--app-blue-button) !important;
  background-color: #fff;
  filter: none;
}

.btn-excel:active,
.btn-excel:hover {
  color: var(--app-orange-button) !important;
  border: 2px solid var(--app-orange-button) !important;
  background-color: #fff;
  filter: none;
}

.btn-print:active svg,
.btn-print:hover svg {
  fill: var(--app-blue-button);
}

.btn-excel:active svg,
.btn-excel:hover svg {
  fill: var(--app-orange-button);
}

.btn-print:hover svg .svg-1 {
  stroke: var(--app-blue-button);
}

.label-tahun {
  width: 100%;
}

.btn-dalam-proses,
.btn-data-kosong,
.btn-download,
.btn-download:hover,
.btn-gagal,
.btn-gagal:hover {
  color: #fff !important;
  width: 150px;
}

.form-control,
input.ui-autocomplete-input,
select.form-control {
  border-radius: 4px !important;
}

span.select2-container--bootstrap4 {
  width: 100% !important;
}

span.select2-container--bootstrap4 .select2-selection--single {
  height: 48px !important;
  width: 100% !important;
}

.select2 .select2-selection__rendered {
  height: 48px !important;
  padding: 0 8px !important;
  display: flex !important;
  align-items: center !important;
  font-family: Inter, "Open Sans", Arial, Helvetica, sans-serif !important;
  border: var(--bs-border-width) solid var(--bs-border-color);
}

.select2-container--bootstrap4 .select2-selection--single {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23343a40' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
}

.select2-container--bootstrap4
  .select2-selection--single
  .select2-selection__arrow {
  display: none !important;
}

.accordion-item:first-of-type,
.filter-accordion > .accordion .accordion-header {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.btn-deletePagu {
  background-color: var(--app-red);
  color: #fff;
  border: 1px solid var(--app-red);
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-deletePagu:hover {
  background-color: #cc0000;
  border-color: #cc0000;
  transform: scale(1.03);
}

.btn-deletePagu:active {
  background-color: #990000;
  border-color: #990000;
}

.center-header {
  text-align: center !important;
  justify-content: center;
}

.container-title {
  padding-top: 20px;
  display: grid;
  grid-template-columns: 200px 10px auto;
  gap: 5px;
}

.btn-download {
  background-color: var(--app-download-blue) !important;
}

.btn-downloadPagu {
  background-color: #fff;
  color: #000;
  border: 1.5px solid #000;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-downloadPagu:hover {
  background-color: #f8f9fa;
  color: #000;
  border-color: #000;
  transform: scale(1.03);
}

.btn-downloadPagu:active {
  background-color: #e9ecef;
  border-color: #000;
}

.btn-dalam-proses,
.btn-data-kosong {
  background-color: var(--app-download-orange) !important;
}

.btn-gagal {
  background-color: var(--app-download-red) !important;
}

.btn-download:hover {
  background-color: var(--app-blue-hover) !important;
}

.btn-dalam-proses:hover,
.btn-data-kosong:hover {
  background-color: var(--app-download-orange-hover) !important;
  color: #fff !important;
  width: 150px;
}

.btn-gagal:hover {
  background-color: var(--app-red-hover) !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.header-profile-container {
  display: none;
}

.p-hover {
  margin-bottom: 10px;
  padding: 5px;
  cursor: pointer;
  font-weight: 300;
}

.p-hover:hover {
  background-color: #fff0e6;
}

@media (min-width: 992px) {
  .header-profile-container {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .container-title {
    grid-template-columns: 120px 10px auto;
  }
}

@media (max-width: 425px) {
  .container-title {
    grid-template-columns: 100px 10px auto;
  }
}

#materi-container {
  min-height: 400px;
  position: relative;
}

.content-main,
.content-main2 {
  width: 75%;
}

.content-sidebar,
.content-sidebar2 {
  width: 25%;
}

.cblue-bantuan {
  color: var(--app-text-bantuan);
}

.cgrey-bantuan {
  color: #cdcdcd;
}

.style-img-bantuan {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  #materi-container {
    min-height: 300px;
    position: relative;
  }

  .responsive-wrapper {
    flex-direction: column;
  }

  .content-main,
  .content-sidebar {
    width: 100% !important;
  }

  .content-sidebar #materiList {
    max-height: 250px;
    overflow-y: auto;
  }

  .content-sidebar nav {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 1rem;
  }
}

@media (max-width: 991px) {
  #parameterGrid {
    overflow-x: auto !important;
  }

  #materi-container2 {
    min-height: 300px;
    position: relative;
  }

  .responsive-wrapper2 {
    flex-direction: column;
  }

  .content-main2,
  .content-sidebar2 {
    width: 100% !important;
  }

  .content-sidebar2 #materiList {
    max-height: 250px;
    overflow-y: auto;
  }

  .content-sidebar2 nav {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 1rem;
  }
}

@media (max-width: 587px) {
  .k-pager-numbers-wrap
    select.k-dropdown.k-picker.k-dropdown-list.k-rounded-md.k-picker-md {
    display: none;
  }
}

.custom-pager-style {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: transparent;
}

/* Extra Small to Extra Large Font Sizes */
.text-xs {
  font-size: 0.75rem; /* 12px */
}

.text-sm {
  font-size: 0.875rem; /* 14px */
}

.text-base {
  font-size: 1rem; /* 16px */
}

.text-lg {
  font-size: 1.125rem; /* 18px */
}

.text-xl {
  font-size: 1.25rem; /* 20px */
}

.text-2xl {
  font-size: 1.5rem; /* 24px */
}

.text-3xl {
  font-size: 1.875rem; /* 30px */
}

.text-4xl {
  font-size: 2.25rem; /* 36px */
}

.text-5xl {
  font-size: 3rem; /* 48px */
}

.text-6xl {
  font-size: 3.75rem; /* 60px */
}

.text-7xl {
  font-size: 4.5rem; /* 72px */
}

.text-8xl {
  font-size: 6rem; /* 96px */
}

.text-9xl {
  font-size: 8rem; /* 128px */
}

/* Min Height Utilities - Tailwind CSS Inspired */
.min-h-0 {
  min-height: 0;
}

.min-h-full {
  min-height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

/* Fractional heights */
.min-h-1\/2 {
  min-height: 50%;
}
.min-h-1\/3 {
  min-height: 33.3333%;
}
.min-h-2\/3 {
  min-height: 66.6667%;
}
.min-h-1\/4 {
  min-height: 25%;
}
.min-h-3\/4 {
  min-height: 75%;
}

/* Fixed rem-based heights */
.min-h-4 {
  min-height: 1rem; /* 16px */
}
.min-h-8 {
  min-height: 2rem; /* 32px */
}
.min-h-12 {
  min-height: 3rem; /* 48px */
}
.min-h-16 {
  min-height: 4rem; /* 64px */
}
.min-h-24 {
  min-height: 6rem; /* 96px */
}
.min-h-32 {
  min-height: 8rem; /* 128px */
}
.min-h-40 {
  min-height: 10rem; /* 160px */
}
.min-h-48 {
  min-height: 12rem; /* 192px */
}
.min-h-64 {
  min-height: 16rem; /* 256px */
}
.min-h-80 {
  min-height: 20rem; /* 320px */
}
.min-h-96 {
  min-height: 24rem; /* 384px */
}
