/**
 *
 * You can write your CSS code here, DO NOT touch the default JavaScript file
 * because it will make it harder for you to update.
 * 
 */

:root {
  --simontar-green: #128c45;
  --simontar-green-dark: #0d6e35;
  --simontar-gold: #f1c40f;
  --simontar-page-bg: #f7faf8;
  --simontar-border: #e8edf0;
  --simontar-text: #34395e;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.table-responsive {
  -webkit-overflow-scrolling: touch;
}

.btn,
.badge,
.form-control,
.custom-select,
.dropdown-menu,
.modal-content {
  max-width: 100%;
}

.card-header h4,
.section .section-header h1,
.modal-title,
.alert-body,
.table td,
.table th {
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  body {
    background: var(--simontar-page-bg);
  }

  .navbar-bg {
    height: 82px !important;
  }

  .main-navbar {
    left: 0 !important;
    width: 100% !important;
    padding-left: 10px;
    padding-right: 10px;
  }

  .navbar .nav-link.nav-link-user {
    padding-right: 4px;
  }

  .navbar .nav-link.nav-link-user img {
    margin-right: 0 !important;
  }

  .main-sidebar .sidebar-brand {
    height: 98px !important;
    padding-top: 10px !important;
    margin-bottom: 0 !important;
  }

  .main-sidebar .sidebar-brand img {
    max-height: 48px !important;
  }

  .main-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 82px !important;
  }

  .section .section-header {
    min-height: auto;
    margin: -8px 0 16px;
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 8px;
  }

  .section .section-header h1 {
    width: 100%;
    font-size: 20px;
    line-height: 1.35;
  }

  .section-title {
    font-size: 18px;
    line-height: 1.35;
  }

  .section-lead {
    font-size: 13px;
    line-height: 1.5;
  }

  .card {
    margin-bottom: 16px;
    border-radius: 8px;
  }

  .card .card-header {
    min-height: auto;
    padding: 16px;
    display: block;
  }

  .card .card-header h4 {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.35;
  }

  .card .card-header .card-header-form,
  .card .card-header .card-header-action {
    display: block;
    width: 100%;
    margin-left: 0;
  }

  .card .card-header .input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .card .card-header .input-group > .btn,
  .card .card-header .input-group > a.btn {
    width: 100%;
    margin-right: 0 !important;
  }

  .card .card-header .input-group > .form-control {
    min-width: 0;
    flex: 1 1 calc(100% - 48px);
  }

  .card .card-body {
    padding: 16px;
  }

  .card-body.p-0 {
    padding: 12px !important;
  }

  .card-statistic-1 {
    display: flex;
    min-height: 96px;
  }

  .card-statistic-1 .card-icon {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    line-height: 74px;
    margin: 12px;
  }

  .card-statistic-1 .card-wrap {
    flex: 1;
    min-width: 0;
    padding: 10px 8px 10px 0;
  }

  .card-statistic-1 .card-header,
  .card-statistic-1 .card-body {
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    padding: 24px !important;
    border-radius: 8px !important;
  }

  .alert {
    padding: 14px 16px;
  }

  .alert.alert-has-icon {
    padding-left: 16px;
  }

  .alert.alert-has-icon .alert-icon {
    display: none;
  }

  .nav-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .nav-pills .nav-item,
  .nav-pills .nav-link {
    width: 100%;
  }

  .modal-dialog,
  .modal-lg,
  .modal-xl {
    width: calc(100% - 18px);
    max-width: calc(100% - 18px);
    margin: 9px auto;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .modal-header {
    align-items: flex-start;
  }

  .modal-title {
    max-width: calc(100% - 34px);
    font-size: 17px;
    line-height: 1.35;
  }

  .modal-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .modal-footer > * {
    width: 100%;
    margin: 0 !important;
  }

  #modalModulViewer .modal-body {
    height: 68vh !important;
  }

  .empty-state {
    padding: 18px 8px;
  }

  .empty-state h2 {
    font-size: 18px;
    line-height: 1.35;
  }

  .empty-state .lead {
    font-size: 14px;
  }

  .main-footer {
    margin-left: 0 !important;
    padding: 16px 12px;
    font-size: 12px;
    line-height: 1.5;
  }

  .main-footer .footer-left {
    display: block !important;
  }
}

@media (max-width: 800px) {
  .table-responsive {
    overflow: visible;
  }

  .table-mobile-cards {
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
    min-width: 0 !important;
    margin-bottom: 0;
  }

  .table-mobile-cards thead {
    display: none !important;
  }

  .table-mobile-cards,
  .table-mobile-cards tbody,
  .table-mobile-cards tr,
  .table-mobile-cards td {
    display: block !important;
    width: 100% !important;
  }

  .table-mobile-cards tr {
    background: #fff;
    border: 1px solid var(--simontar-border);
    border-top: 4px solid var(--simontar-green);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 8px 14px;
    box-shadow: 0 6px 14px rgba(40, 54, 70, 0.06);
  }

  .table-mobile-cards td {
    min-height: 42px;
    border: 0 !important;
    border-bottom: 1px solid #f0f3f5 !important;
    padding: 10px 0 !important;
    text-align: left !important;
  }

  .table-mobile-cards td:not(.mobile-empty-cell):not([colspan]) {
    display: grid !important;
    grid-template-columns: minmax(104px, 38%) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .table-mobile-cards td:last-child {
    border-bottom: 0 !important;
  }

  .table-mobile-cards td::before {
    content: attr(data-label);
    color: var(--simontar-text);
    font-weight: 700;
    text-align: left;
  }

  .table-mobile-cards td.mobile-empty-cell,
  .table-mobile-cards td[colspan] {
    text-align: center !important;
  }

  .table-mobile-cards td.mobile-empty-cell::before,
  .table-mobile-cards td[colspan]::before {
    display: none;
  }

  .table-mobile-cards .text-center {
    text-align: left !important;
  }

  .table-mobile-cards td:last-child .btn,
  .table-mobile-cards td[data-label*="Aksi"] .btn,
  .table-mobile-cards td[data-label*="Pengaturan"] .btn {
    width: 100%;
    margin: 0 0 8px !important;
    white-space: normal;
  }

  .table-mobile-cards td:last-child form,
  .table-mobile-cards td[data-label*="Aksi"] form,
  .table-mobile-cards td[data-label*="Pengaturan"] form {
    display: block !important;
    width: 100%;
  }

  .table-mobile-cards .badge {
    white-space: normal;
    line-height: 1.35;
  }
}

@media (max-width: 800px) {
  body:has(.carousel-fullscreen) {
    background: #fff;
  }

  .carousel-fullscreen,
  .carousel-fullscreen .carousel-inner,
  .carousel-fullscreen .carousel-item,
  .carousel-fullscreen .carousel-item img {
    height: 34vh !important;
    min-height: 240px !important;
  }

  .min-vh-100 {
    min-height: auto !important;
  }

  .absolute-bottom-left {
    left: 12px !important;
    right: 12px !important;
    bottom: 14px !important;
  }

  .absolute-bottom-left .p-4 {
    padding: 1rem !important;
  }

  .absolute-bottom-left h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .absolute-bottom-left h5 {
    max-width: 100% !important;
    font-size: 14px;
    line-height: 1.45;
  }

  .section .d-flex.flex-wrap.align-items-stretch > .col-lg-4 {
    order: 1;
  }

  .section .d-flex.flex-wrap.align-items-stretch > .col-lg-8 {
    order: 2;
  }

  .section .col-lg-4 .p-4.m-3 {
    margin: 0 !important;
    padding: 24px 18px !important;
  }

  .section .col-lg-4 .form-group.text-right {
    text-align: stretch !important;
  }

  .section .col-lg-4 .btn-lg {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .main-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .table-mobile-cards td:not(.mobile-empty-cell):not([colspan]) {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .table-mobile-cards td::before {
    font-size: 12px;
    text-transform: uppercase;
  }

  .card-statistic-1 .card-icon {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
    line-height: 62px;
  }
}

/*# sourceMappingURL=custom.css.map */
