body {
  background-color: #8e89cb;
  background-image: url(./photos/background-photo.png);
  background-size: cover;
  font-family: sans-serif;
  margin: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow-y: auto;
}
#header-logo {
  height: auto;
  max-height: 100%;
  width: 100vw;
  object-fit: contain;
  border-left: solid 1px black;
}

header {
  width: 100%;
  display: flex;
  height: 80px;
  background-color: #cddffc;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  align-items: center;
}

.menu-drop {
  top: 0;
  right: 0;
  border-radius: 12px;

  display: flex;
  gap: 5px;
  margin: 0;
  padding: 5px;
  align-items: center;
  min-width: calc(100vw - 290px);
}
.menu-drop :last-child {
  border-left: none;
}

.menu-drop .menu-btn {
  display: none;
}

nav {
  max-width: 900px;
  border-radius: 20px;
  direction: rtl;
  text-align: center;
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  border-radius: 20px;
  direction: rtl;
  align-items: center;
}

.side-button {
  display: flex;

  color: #070606;
  padding: 10px 0;

  text-decoration: solid;

  gap: 15px;

  white-space: nowrap;
  padding-right: 10px;
  font-size: 18px;
  width: 18%;
  border-left: solid 1px #070606;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  background-color: aliceblue;
  border-radius: 20px;
  direction: rtl;
  text-align: right;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 10px 15px 0 rgba(0, 0, 0, 0.48);
  align-items: center;
}
.error-icon {
  height: 80%;
  width: 80%;
}
.container h1 {
  text-align: center;
}
.container h2 {
  text-align: center;
}
.link-cube {
  display: flex;
  background-color: rgb(254, 253, 255);
  color: #333;
  padding: 30px;
  width: 166px;
  border-radius: 20px;
  text-decoration: solid;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border-width: 24px;
  gap: 10px;
  justify-content: center;
}
.link-cube:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
footer {
  background-color: #787777;
  height: 20px;
  width: 100vw;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.foot-buttom {
  display: flex;
  padding: 10px 0;
  color: #fff;
  text-decoration: solid;

  gap: 5px;

  width: auto;
  white-space: nowrap;
  font-size: 18px;
  justify-content: center;
  align-items: center;
  direction: rtl;
}

.back-homepage {
  position: fixed;
  bottom: 30px;
  left: 5px;
  z-index: 9999;
  display: inline-block;
  direction: rtl;
  text-align: right;
  padding: 15px 25px;
  font-size: 24px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background-color: #272525c6;
  border-radius: 15px;
  margin-right: 80%;
}
.open {
  display: flex;
  flex-direction: column;
  gap: 10px;
  direction: rtl;
  line-height: 30px !important;
}

#form {
  min-width: 525px;
  margin: 40px auto;
  background-color: aliceblue;
  border-radius: 20px;
  direction: rtl;
  text-align: center;
  border: 1px solid #9e9e9e;
  box-shadow: -10px 10px 15px 0 rgba(0, 0, 0, 0.48);
  padding-bottom: 20px;
  display: grid;
  height: 600px;
  align-items: center;
  font-family: sans-serif;
}

#form select {
  border-radius: 10px;
  background-color: #ffffff;
  height: 30px;
  min-width: 257px;
}
::file-selector-button {
  border: 1px solid rgb(103, 102, 102);
  border-radius: 15px;
  background-color: #6f6e6e;
  margin-top: 7px;
  margin-right: 3px;
  color: white;
}
form option {
  border-bottom: #070606 10px;
}
.form-group {
  display: flex;
  margin-left: 25px;
  justify-content: space-between;
  margin-right: 25px;
}

.form-check {
  display: flex;
  flex-direction: row-reverse;
  margin-left: 65px;
}
#description {
  background: rgba(255, 255, 255, 0.608);
  color: #000000;
  border-radius: 10px;
  border: 1px solid #070606;
  min-width: 250px;
  height: 50px;
}
.form-group::placeholder {
  color: #060606;
  text-align: right;
}
.form-group input {
  background: rgba(255, 255, 255, 0.608);
  color: #000000;
  border-radius: 10px;
  border: 1px solid #070606;
  min-width: 250px;
  height: 31px;
}
.form-group label {
  min-width: 100px;
  text-align: right;
  font-size: larger;
}

.primary-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.option-icon {
  width: 20px;
  height: 20px;
}
#open {
  text-align: center;
  justify-content: center;
  direction: rtl;
}
#open ol {
  list-style-position: inside;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  text-align: right;
}
.status-btn {
  padding: 15px 25px;
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #2d8dda;
  border: none;
  border-radius: 15px;
  box-shadow: 0 3px #78777745;
  width: 172px;
}
.submit-btn {
  display: inline-block;
  padding: 15px 25px;
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  color: #fff;
  background-color: #2d8dda;
  border: none;
  border-radius: 15px;
}
.submit-btn:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.6);
}
.submit-btn:active {
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
#check-status-form {
  display: flex;
  width: 500px;
  margin: 40px auto;
  flex-direction: column;
  background-color: aliceblue;
  border-radius: 20px;
  direction: rtl;
  text-align: center;
  border: 1px solid #9e9e9e;
  box-shadow: -10px 10px 15px 0 rgba(0, 0, 0, 0.48);
  padding-bottom: 20px;
  gap: 25px;
  align-items: center;
  font-family: sans-serif;
}

.primary_container {
  max-width: 900px;
  padding: 40px;
  background-color: aliceblue;
  border-radius: 20px;
  direction: ltr;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid #9e9e9e;
  box-shadow: -10px 10px 15px 0 rgba(0, 0, 0, 0.48);
  align-items: center;
  margin-bottom: 100px;
}

.primary_container h1 {
  text-align: center;
  direction: rtl;
}

.options {
  max-width: 900px;
  width: 900px;
  border: 1px;
  padding: 10px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 65px;
  direction: rtl;
}
.option_cube {
  display: block;
  width: 100px;
  gap: 20px;
  background-color: rgb(246, 244, 248);
  color: #333;
  padding: 20px;
  margin: 10px;
  max-width: 250px;
  border-radius: 20px;
  text-decoration: solid;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border-width: 24px;
  text-align: center;
  white-space: nowrap;
}
.option_cube:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
#result-container {
  width: 500px;
  direction: rtl;
  text-align: center;
  box-shadow: -10px 10px 15px 0 rgba(0, 0, 0, 0.48);
  font-family: sans-serif;
  display: none;
  margin-top: 15px;
  padding: 20px;
  background-color: aliceblue;
  border-radius: 20px;
  margin-bottom: 10px;
  align-items: center;
}

#success-box {
  width: 50%;
}

.modal_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  overflow-y: auto;
}

.search-btn {
  background-color: #2d8dda;
  color: white;
  padding: 12px 30px;
  font-size: 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px #999;
  transition: all 0.2s;
  margin-top: 25px;
}

.search-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.search-btn:active {
  box-shadow: 0 2px #666;
  transform: translateY(2px);
}

.trash_waste_schedule table {
  width: 700px;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: white;
}
.trash_waste_schedule h3 {
  color: #040504;
  font-family: sans-serif;
  font-size: xx-large;
}
.table-select {
  justify-content: space-between;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: baseline;
  width: 370px;
}
.trash_waste_schedule th,
.trash_waste_schedule td {
  border: 2px solid black;
  padding: 12px;
  text-align: center;
}

.trash_waste_schedule th {
  background-color: #04aa6d;
  color: white;
}

.highlight-row {
  background-color: #fff176 !important;
  transition: background-color 0.5s ease;
}

.tables-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  background-color: aliceblue;
  border-radius: 20px;
  direction: rtl;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 10px 15px 0 rgba(0, 0, 0, 0.48);
  align-items: center;
}
.tables-container select {
  border-radius: 10px;
  background-color: #ffffff;
  height: 30px;
  width: 257px;
}
.tables {
  border-radius: 20px;
  direction: rtl;
  text-align: right;
  display: flex;
}

@media (max-width: 767px) {
  #header-logo {
    width: 50% !important;

    max-height: 100px;

    margin: 10px auto;

    display: none;
  }

  header {
    width: 93%;
    height: auto;
    flex-direction: column;
    background-color: #cddffc;
    padding: 15px 15px;
  }

  .menu-drop .menu-btn {
    display: flex;
    gap: 10px;
  }

  .menu-drop {
    flex-direction: column;
    width: 100%;
    min-width: unset;
    gap: 0;
    height: 34px;
    transition: height 0.3s ease-in;
    overflow: hidden;
  }

  .menu-drop.open {
    height: 200px;
    overflow-y: scroll;
  }

  .side-button {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    font-size: 16px;
    background-color: #cddffc;
  }
  #check-status-form {
    width: 70% !important;
    margin: 20px auto;
    padding: 15px;
    box-sizing: border-box;
    height: auto !important;
  }
  #ticket-number {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: medium;
    text-align: center;
  }
  #form {
    width: 92%;
    min-width: 92% !important;
    box-sizing: border-box;
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .primary_container {
    width: 92%;
    min-width: 92% !important;
    margin: 20px auto;
    padding: 0;
    box-sizing: border-box;
    height: auto !important;
  }
  .container,
  .tables-container {
    width: 70%;

    min-width: 70% !important;

    margin: 20px auto;

    padding: 15px;

    box-sizing: border-box;

    height: auto !important;
  }
  .table-select {
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: baseline;
    width: 80%;
  }
  .link-cube {
    width: 145px;
    font-size: smaller;
  }
  .tables {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .trash_waste_schedule table {
    width: 100%;
  }
  .table-wrapper {
    overflow-x: auto;
    width: 100%;
  }

  .table-wrapper table {
    width: 100%;
    border-collapse: collapse;
  }

  td,
  th {
    white-space: normal;
  }
  #result-container {
    margin-top: 30px !important;
    width: 80% !important;
    background-color: #cddffc;
  }

  body {
    justify-content: space-between;
  }
  .form-group {
    justify-content: center;
    flex-direction: column;
    display: flex;
    margin-top: 17px;
    gap: 5px;
    min-width: 20%;
    width: 80%;
    align-content: stretch;
    align-items: center;
    flex-wrap: wrap;
  }
  #description {
    min-width: 100%;
    height: 70px;
  }

  form select {
    margin-left: 5px;
    max-width: 100%;
    height: 39px;
    width: 100%;
    font-size: initial;
    margin-top: -7px;
    margin-left: 10px;
    text-align: center;
  }

  .form-group label {
    text-align: center;

    margin-bottom: 5px;
  }
  .form-check {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 0;
  }

  .form-group input {
    max-width: 100%;
    height: 39px;
    width: 100%;
    font-size: 22px;
    margin-top: -7px;
    margin-left: 10px;
    padding-left: -28px;
  }
  .submit-btn {
  }

  .options {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    max-height: none;
    padding-right: 0;
  }

  .option_cube {
    width: auto;

    margin: 5px;

    padding: 15px 5px;

    font-size: 14px;

    white-space: normal;
  }

  .back-homepage {
    position: static;

    display: block;

    margin: 20px auto;

    text-align: center;

    width: 80%;
  }

  footer {
    display: flex;
    height: 85px;
    padding: 0px;
    flex-wrap: wrap;
    margin-bottom: -50px;
    background-color: #787777;
    width: 100%;
    justify-content: center;
    gap: 10px;
    flex-direction: row;
    align-content: center;
  }

  .open-info {
    max-width: 680px;
    background-color: aliceblue;
    border-radius: 20px;
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 10px 15px 0 rgba(0, 0, 0, 0.48);
    align-items: center;
    width: 92%;
    margin: 20px auto;
    padding: 15px;
    box-sizing: border-box;
    height: auto !important;
  }
  .open-info h1 {
    margin-top: -2px;
    margin-bottom: 33px;
  }
  .table-wrapper {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    padding-bottom: 8px;
  }

  .table-wrapper table,
  .tables table,
  .trash_waste_schedule table {
    width: auto !important;
    max-width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse;
    margin: 0 auto;
  }

  .table-wrapper th,
  .table-wrapper td {
    padding: 8px 10px;
    white-space: normal !important;
    word-break: keep-all;
    vertical-align: middle;
    text-align: right;
  }

  .table-wrapper th.icon,
  .table-wrapper td.icon {
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    padding: 6px;
  }
  .tables {
    width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  header {
    height: auto !important;
    min-height: 70px !important;
    padding: 10px 20px !important;
    display: flex !important;
    /* flex-direction: row-reverse !important; */
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #header-logo {
    height: 50px !important;
    width: auto !important;
    margin: 0 !important;
  }

  .menu-drop {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    min-width: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .side-button {
    width: auto !important;
    font-size: 14px !important;
    padding: 5px 10px !important;
    border-left: 1px solid rgba(0, 0, 0, 1);
    white-space: inherit;
  }

  .container,
  .primary_container,
  #form {
    width: 90% !important;
    max-width: 90% !important;
    margin: 20px auto !important;
    padding: 30px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }

  .options {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0;
    padding-right: 0;
  }

  .option_cube {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px !important;
  }

  body {
    background-attachment: fixed !important;
  }
  .tables-container {
    width: 90% !important;
    max-width: 90% !important;
    margin: 20px auto !important;
    padding: 30px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }
  .trash_waste_schedule table {
    width: 100%;
  }
  .tables {
    box-sizing: border-box;
  }
  .primary-actions {
    display: grid;
    gap: 10px;
  }
}
