/* Adjustments for smaller screens (Mobile) */
@media (min-width: 320px) and (max-width: 480px) {
  /* Your existing mobile styles here */
  body {
    padding-top: 50px; /* Adjust this value to match your navbar height */
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
  #homeOrder {
    padding: 8px; /* Reduce padding for smaller screens */
  }
  #homeOrder h1 {
    font-size: 12px; /* Reduce padding for smaller screens */
  }
}

/* Adjustments for medium screens (Tablets) */
@media (min-width: 481px) and (max-width: 1024px) {
  /* Adjust styles for tablets here */
  body {
    padding-top: 70px; /* Adjust this value to match your navbar height */
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
  #homeOrder {
    padding: 8px; /* Reduce padding for smaller screens */
  }
  .card {
    width: 50%; /* Adjust card width for tablets */
  }
}

.card-body {
  height: 200px; /* Adjust this value as needed */
  overflow: hidden; /* Hide overflow content */
}

body {
    background-color: #2B2D42;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.bg-body-tertiary {
    padding: 10px;
    background-color: #EDF2F4 !important;
}

input {
  margin-top: 6px;
}

select {
  margin-top: 6px;
}

#content {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 50px;
    width: 220px;
    margin-right: 10px;
}

#content .card {
    background-color: #8D99AE;
    color: #FFFFFF;
}

#content .btn {
    display: flex;
    justify-content: center;
    background-color: #2B2D42;
    color: #FFFFFF;
}

#ordercon {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center; 
}

#ordercon .card {
    background-color: #8D99AE;
    color: #FFFFFF;  
}

#ordercon table {
    background-color: #FFFFFF;
    border: solid 1px black;
}

tr .topbar {
    border: solid black;
    display: flex;
    width: 250px;
    flex-direction: row;
}

  #detailDigital1 {
    border-radius: 15px 15px 15px 15px;
    height: 60px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
  }

  #detailDigital2 {
    border-radius: 15px 15px 15px 15px;
    height: fit-content;
    padding: 20px;
    margin-top: 10px;
  }
  
  #tabelDetaildigital {
    margin-top: 50px;
  }

  #inputBayarmedia {
    border-radius: 15px 15px 15px 15px;
    height: fit-content;
    padding: 20px;
    margin-top: 10px;
    justify-content: center;
  }
  
  .kolomInput {
    width: 25%;
  }

  #tombolSimpan {
    width: 150px;
    margin-top: 20px;
    display: flex;
  }

  #crudOrder {
    border-radius: 15px 15px 15px 15px;
    display: flex;
    align-items: center;
    height: 80px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #EDF2F4;
  }

  .btnLaporan {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  a {
    text-decoration: none;
  }

  hr {
    margin-top: 5px;
  }

  .modal-footer {
    margin-top: 10px;
  }

  #tombolTambahdetail {
    display: flex;
    align-items: center;
  }

  #homeOrder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%; /* Use percentage to make it responsive */
    max-width: 900px; /* Set maximum width */
    height: auto; /* Allow height to adjust based on content */
    padding: 20px; /* Add padding */
    border-radius: 15px; /* Rounded corners */
    background-color: #FFFFFF;
    margin: 0 auto; /* Center the container horizontally */
  }

  .imgHome {
    width: 100%; /* Adjust image width to fit container */
    max-width: 500px; /* Set maximum image width */
    height: auto; /* Allow height to adjust based on width */
    border-radius: 10px; /* Rounded corners for the image */
  }

  #editDigital {
    border-radius: 15px 15px 15px 15px;
    align-items: center;
    height: fit-content;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #EDF2F4;
  }

  .action {
    background-color: transparent;
    margin-left: 8px;
  }

  .inputData {
    width: 150px;
    text-align: center;
    margin-left: 8px;
    margin-right: 8px;
  }

  .dt-buttons {
    margin-top: 8px;
    margin-bottom: 5px;
    margin-left: 16px;
  }

  .dataTables_length{
    margin-top: 12px;
  }

  .dataTables_filter{
    margin-top: 10px;
  }

  .inputTgl{
    margin-top: 10px;
  }

  .custom-nav-item .nav-link {
    color: white; /* Default text color */
}

.custom-nav-item .nav-link.active {
    color: black; /* Active text color */
}

#digihomeOrder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%; /* Use percentage to make it responsive */
  max-width: 900px; /* Set maximum width */
  height: auto; /* Allow height to adjust based on content */
  padding: 20px; /* Add padding */
  border-radius: 15px; /* Rounded corners */
  background-color: #EDF2F4;
  margin: 0 auto; /* Center the container horizontally */
}

