.app-container{
  width: 100%;        /* mengikuti lebar container */
  max-width: 500px;   /* batas saat desktop */
  margin: 0 auto;
  position: relative; /* penting agar tidak fixed ke viewport */
}

i.fa, i.fas, i.far, i.fab {
  font-size: 20px;      /* sesuaikan dengan icon Ionicons Anda */
  vertical-align: middle;
}

.btn-app:active {
  transform: scale(0.8);      /* bayangan mengecil */
}

/* Untuk desktop */
@media (min-width: 300px) {
  body {
    background: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.app-container {
    max-width: 500px;
    width: 100%;
    min-height: 100vh;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    overflow: hidden;
    font-size: 16px !important;   /* mengikuti lebar layar */
    line-height: 1.4; 
  }

  /* Pastikan header tidak membentang penuh */
  .myheader{
    width: 100%;
    max-width: 500px;
    left: auto;
    right: auto;
  }
}

.menu-table td {
    text-align: center;
    padding: 15px 0;
    width: 33.3%
}

.menu-table a {
    display: inline-block;
    text-decoration: none;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
  margin-bottom: 0.5rem;
  display: inline-block;
  font-weight: 500;
}

@font-face {
  font-family: digital;
  src: url("fonts/DS-DIGIB.TTF");
}

.jam {
  font-family: digital;
}

.table {
  width: 100%;

  margin-bottom: 1rem;

  color: #212529;

  background-color: transparent;
}

.table th,
.table td {
  padding: 0.5rem;

  vertical-align: top;

  border-top: 1px solid #dee2e6;

  text-align: center;
}

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

.table thead th {
  vertical-align: bottom;

  border-bottom: 2px solid #dee2e6;
}

.table tbody + tbody {
  border-top: 2px solid #dee2e6;
}

.table-sm th,
.table-sm td {
  padding: 0.1rem;
}

.table-bordered {
  border: 1px solid #dee2e6;
  border-collapse: collapse;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #dee2e6;
}

.table-bordered thead th,
.table-bordered thead td {
  border-bottom-width: 2px;
}

.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody + tbody {
  border: 0;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-hover tbody tr:hover {
  color: #212529;

  background-color: rgba(0, 0, 0, 0.075);
}

.table-primary,
.table-primary > th,
.table-primary > td {
  background-color: #b8daff;
}

.table-primary th,
.table-primary td,
.table-primary thead th,
.table-primary tbody + tbody {
  border-color: #7abaff;
}

.table-hover .table-primary:hover {
  background-color: #9fcdff;
}

.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
  background-color: #9fcdff;
}

.table-secondary,
.table-secondary > th,
.table-secondary > td {
  background-color: #d6d8db;
}

.table-secondary th,
.table-secondary td,
.table-secondary thead th,
.table-secondary tbody + tbody {
  border-color: #b3b7bb;
}

.table-hover .table-secondary:hover {
  background-color: #c8cbcf;
}

.table-hover .table-secondary:hover > td,
.table-hover .table-secondary:hover > th {
  background-color: #c8cbcf;
}

.table-success,
.table-success > th,
.table-success > td {
  background-color: #c3e6cb;
}

.table-success th,
.table-success td,
.table-success thead th,
.table-success tbody + tbody {
  border-color: #8fd19e;
}

.table-hover .table-success:hover {
  background-color: #b1dfbb;
}

.table-hover .table-success:hover > td,
.table-hover .table-success:hover > th {
  background-color: #b1dfbb;
}

.table-info,
.table-info > th,
.table-info > td {
  background-color: #bee5eb;
}

.table-info th,
.table-info td,
.table-info thead th,
.table-info tbody + tbody {
  border-color: #86cfda;
}

.table-hover .table-info:hover {
  background-color: #abdde5;
}

.table-hover .table-info:hover > td,
.table-hover .table-info:hover > th {
  background-color: #abdde5;
}

.table-warning,
.table-warning > th,
.table-warning > td {
  background-color: #ffeeba;
}

.table-warning th,
.table-warning td,
.table-warning thead th,
.table-warning tbody + tbody {
  border-color: #ffdf7e;
}

.table-hover .table-warning:hover {
  background-color: #ffe8a1;
}

.table-hover .table-warning:hover > td,
.table-hover .table-warning:hover > th {
  background-color: #ffe8a1;
}

.table-danger,
.table-danger > th,
.table-danger > td {
  background-color: #f5c6cb;
}

.table-danger th,
.table-danger td,
.table-danger thead th,
.table-danger tbody + tbody {
  border-color: #ed969e;
}

.table-hover .table-danger:hover {
  background-color: #f1b0b7;
}

.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
  background-color: #f1b0b7;
}

.table-light,
.table-light > th,
.table-light > td {
  background-color: #fdfdfe;
}

.table-light th,
.table-light td,
.table-light thead th,
.table-light tbody + tbody {
  border-color: #fbfcfc;
}

.table-hover .table-light:hover {
  background-color: #ececf6;
}

.table-hover .table-light:hover > td,
.table-hover .table-light:hover > th {
  background-color: #ececf6;
}

.table-dark,
.table-dark > th,
.table-dark > td {
  background-color: #c6c8ca;
}

.table-dark th,
.table-dark td,
.table-dark thead th,
.table-dark tbody + tbody {
  border-color: #95999c;
}

.table-hover .table-dark:hover {
  background-color: #b9bbbe;
}

.table-hover .table-dark:hover > td,
.table-hover .table-dark:hover > th {
  background-color: #b9bbbe;
}

.table-active,
.table-active > th,
.table-active > td {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-hover .table-active:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-hover .table-active:hover > td,
.table-hover .table-active:hover > th {
  background-color: rgba(0, 0, 0, 0.075);
}

.table .thead-dark th {
  color: #ffffff;

  background-color: #212529;

  border-color: #383f45;
}

.table .thead-light th {
  color: #495057;

  background-color: #e9ecef;

  border-color: #dee2e6;
}

.table-dark {
  color: #ffffff;

  background-color: #212529;
}

.table-dark th,
.table-dark td,
.table-dark thead th {
  border-color: #383f45;
}

.table-dark.table-bordered {
  border: 0;
}

.table-dark.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.05);
}

.table-dark.table-hover tbody tr:hover {
  color: #ffffff;

  background-color: rgba(255, 255, 255, 0.075);
}

@media (max-width: 575.98px) {
  .table-responsive-sm {
    display: block;

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
  }

  .table-responsive-sm > .table-bordered {
    border: 0;
  }
}

@media (max-width: 767.98px) {
  .table-responsive-md {
    display: block;

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
  }

  .table-responsive-md > .table-bordered {
    border: 0;
  }
}

@media (max-width: 991.98px) {
  .table-responsive-lg {
    display: block;

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
  }

  .table-responsive-lg > .table-bordered {
    border: 0;
  }
}

@media (max-width: 1199.98px) {
  .table-responsive-xl {
    display: block;

    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
  }

  .table-responsive-xl > .table-bordered {
    border: 0;
  }
}

.table-responsive {
  display: block;

  width: 100%;

  overflow-x: auto;

  -webkit-overflow-scrolling: touch;
}

.table-responsive > .table-bordered {
  border: 0;
}

button.opsi {
  width: 32px;

  height: 32px;

  text-align: center;

  padding: 0;

  line-height: 0;

  font-size: 16px;

  z-index: 10;
}

.bg-body {
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.15) 2px,
      transparent 2px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);

  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;

  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
}

.responsive-iframe {
  position: absolute;

  top: 0;

  left: 0;

  bottom: 0;

  right: 0;

  width: 100%;

  height: 100%;
}

.table2 {
  width: 100%;

  color: #212529;

  background-color: transparent;
}

.table2 th,
.table2 td {
  vertical-align: top;

  border-top: 1px solid #dee2e6;
}

.sc-13 {
  transform: scale(1.3);
}

.sc-14 {
  transform: scale(1.4);
}

.sc-15 {
  transform: scale(1.5);
}

.i {
  font-style: italic;
}

.j {
  text-align: justify;
}

.l {
  text-align: left;
}

.blue-app {
  background-color: #bdd5fa;
}

.green-app {
  background: rgba(76, 175, 80, 0.8);
}

.center {
  text-align: center;
}

.mt-0 {
  margin-top: 5px;
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

.mt-4 {
  margin-top: 40px;
}

.mt-5 {
  margin-top: 50px;
}

.mb-0 {
  margin-bottom: 5px !important;
}

.mb-1 {
  margin-bottom: 10px !important;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px !important;
}

.mb-4 {
  margin-bottom: 40px !important;
}

.mb-5 {
  margin-bottom: 50px !important;
}

.ml-0 {
  margin-left: 5px;
}
.ml-1 {
  margin-left: 10px;
}

.pt-0 {
  padding-top: 5px;
}

.pt-1 {
  padding-top: 10px;
}

.pt-2 {
  padding-top: 20px;
}

.pt-3 {
  padding-top: 30px;
}

.pt-4 {
  padding-top: 40px;
}

.pt-5 {
  padding-top: 50px;
}

.pl-1 {
  padding-left: 10px;
}

.pb-1 {
  padding-bottom: 10px;
}

.t-app {
  color: #224c8f;
}

.t-ypk {
  color: #03048a;
}

.t-blu {
  color: blue;
}

.t-ora {
  color: orange;
}

.t-whi {
  color: white;
}

.fs-6 {
  font-size: 6pt;
}

.fs-8 {
  font-size: 8pt;
}

.fs-9 {
  font-size: 9pt;
}

.fs-10 {
  font-size: 10pt;
}

.fs-11 {
  font-size: 11pt;
}

.fs-12 {
  font-size: 12pt;
}

.fs-14 {
  font-size: 14pt;
}

.spc-09 {
  height: 9px;
}

.layer {
  position: fixed;

  display: block;

  width: 100%;

  height: 100%;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background-color: rgba(0, 0, 0, 0.1);

  z-index: 200;

  cursor: pointer;
}

.loader {
  margin: auto;

  height: 48px;

  width: 48px;

  color: yellow;

  border: 3px solid;

  border-radius: 50%;

  border-right-color: #787878;

  animation: rotate 1s linear infinite;

  margin-top: 50%;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

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

.input0 {
  width: 100%;

  display: inline-block;

  box-sizing: border-box;

  background-color: #f5f5f5;

  font-size: 12pt;

  color: blue;

  margin-bottom: 8px;

  padding: 5px;

  text-transform: uppercase;
}

.input1 {
  width: 100%;

  display: inline-block;

  border: 1px solid grey;

  border-radius: 4px;

  box-sizing: border-box;

  background-color: white;

  font-size: 12pt;

  color: blue;

  margin-bottom: 8px;

  padding: 6px;
}

.input1:focus::placeholder {
  color: transparent;
}

.readonly{
  background-color: #e0e0e0;
}

input::-moz-placeholder {
  color: #fcfcfc;
}

input:-moz-placeholder {
  color: #fcfcfc;

  font-size: 12px !important;
}

*::-webkit-input-placeholder {
  color: #fcfcfc;

  font-size: 12px !important;
}

*:-ms-input-placeholder {
  color: #fcfcfc;

  font-size: 12px !important;
}

*:-moz-placeholder {
  color: #fcfcfc;

  font-size: 12px !important;
}