:root {
  --custom-color: rgb(63, 63, 63); /* Define a custom color variable */
}

.menu-box {
  position: absolute;
  padding: 20px;
  float: left;
  z-index: 2;
}
.lang-box {
  padding: 20px;
  float: right;
}
.dropbtn {
  cursor: pointer;
  width: 36px;
  border: none;
  border-radius: 10%;
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.dropbtn-menu {
  cursor: pointer;
  border: none;
  background-color: transparent;
  color: white;
  font-size: 1.25rem;
}

.lang-icon {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
}
.dropdown {
  position: relative;
  display: inline-block;
  z-index: 2;
}

.dropdown-content {
  margin-top: 5px;
  border-radius: 10px;
  display: none;
  position: absolute;
  background-color: var(--custom-color);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 3;
  left: -125px;
}

.dropdown-content a {
  color: white; /* Change text color to white */
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  border-radius: 20px;
  background-color: #c9c9c9;
  color: black !important;
}

.lang-selected {
  border-radius: 5px;
  background-color: #c9c9c9; /* Define the background color for selected language */
  color: black !important;
}

.show {
  display: block;
}

.menu-title {
  cursor: pointer;
  font-size: 1.1rem;
  color: whitesmoke;
  margin-left: 3rem;
}

/* table Css */
table {
  border-collapse: collapse;
  width: 95%;
  min-width: 884px;
}

th,
td {
  border: 1px solid #ffffff;
  text-align: left;
  padding: 8px;
  vertical-align: top;
}

th {
  background-color: rgb(36, 36, 36);
  color: wheat;
}

/* Style for odd rows */
tr:nth-child(odd) td {
  background-color: #ffffffa8; /* Light gray background */
}

/* Style for even rows */
tr:nth-child(even) td {
  background-color: #ffffffd2; /* White background */
}

/* Styles for the table */
.orders-table {
  background-color: rgba(66, 66, 66, 0.7);
  display: flex;
  flex-wrap: wrap;
  max-height: calc(100vh - 17rem);
  /* Adjust as needed */
  overflow-y: auto;
  overflow-x: auto;
  padding: 20px;
}

.items-header {
  background-color: rgb(36, 36, 36);
  color: wheat;
  width: 95%;
  border: 1px solid #ccc;
  padding: 10px;
}

/* Styles for the card */
.card-container {
  background-color: rgba(66, 66, 66, 0.7);;
  max-height: calc(100vh - 18rem);
  /* Adjust as needed */
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  scrollbar-width: thin
}

.brand-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

/* Styles for the card */
.card {
  display: flex;
  width: 11rem;
  border-color: rgb(36, 36, 36);
  background-color: rgba(245, 245, 245, 0.7);
  border-radius: 8px;
  padding: 20px;
  margin: 20px;
}

/* Style for the text container */
.card-text {
  flex: 1;
}

/* Styles for the card title */
.brand-header {
  border: 1px solid rgb(0, 0, 0);
  background-color: rgba(217, 217, 217, 0.7);
  border-radius: 10px;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
  width: 97%;
  padding: 5px 10px; /* Adjust the padding as needed */
}
.card-subtitle {
  font-size: 15px;
  margin-top: 5px;
}

/* Styles for the card content */
.card-content-title {
  font-weight: bold;
  padding: 10px;
}

.card-content {
  padding: 10px;
}

.content-container {
  margin-top: 5px;
  border: 1px solid #ccc; /* Add border to the container */
  border-radius: 8px; /* Optional: Add border radius for rounded corners */
}
/* Style for the thumbnail container */
.thumbnail-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  min-height: 246px;
  max-height: 246px;
}

/* Style for the thumbnail */
.card img {
  max-width: 100%;
  height: auto;
}


.action-container {
  padding: 10px;
  background-color: #c8c1c1;
  width: 95%;
  min-width: 884px;
}

.cancel-button {
  background-color: #fc705d; /* Green */
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  padding: 10px;
  float: right;
  cursor: pointer;
  border-radius: 8px;
}

.cancel-button:hover {
  background-color: #f08f82; /* Darker Green */
}


.cancel-button:active {
  background-color: #fc705d;
  transform: translateY(1px);
}

.return-button {
  background-color: #5d68fc; /* Green */
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  padding: 10px;
  float: right;
  cursor: pointer;
  border-radius: 8px;
}

.return-button:hover {
  background-color: #5d7afc; /* Darker Green */
}


.return-button:active {
  background-color: #5d68fc;
  transform: translateY(1px);
}



/* Style for the switch */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 20px;
}

/* Hide the default checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Style the slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 17px; /* Make the slider circle */
}

/* Style the indicator when switch is active */
.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%; /* Make the button circle */
}

/* Add rounded corners to slider */
.slider.round {
  border-radius: 34px;
}

/* Styling for when switch is checked */
input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(10px);
  -ms-transform: translateX(10px);
  transform: translateX(10px);
}

.switch-label {
  margin-left: 5px;
  color: white;
}

.switch-div {
  position: absolute;
  right: 30px;
  bottom: 1px;
}

.reason-container {
  padding: 10px;
  background-color: #c8c1c1;
  width: 95%;
  border: 1px solid white;
  text-align: center;
}

.reason-input {
  height: 20vh;
  width: 60%;
  resize: none;
}

.mobile-mode {
  display: none;
}

.pc-mode {
  display: block;
}


@media screen and (max-height: 950px) and (max-aspect-ratio: 1/1) {
  .row {
    display: block;
  }

  .card {
    width: 9rem;
  }

  section {
    padding: 0rem;
  }

  .pc-mode {
    display: none;
  }

  .mobile-mode {
    display: block;
  }

.nav-dropdown {
position: relative;
display: inline-block;
z-index: 2;
}

.nav-dropdown-content {
margin-top: 5px;
border-radius: 10px;
display: none;
position: absolute;
background-color: var(--custom-color);
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 3;
}

.nav-dropdown-content.show {
  display: block;
  }

.nav-dropbtn {
  border: 1px solid wheat;
  background-color: var(--custom-color);
  cursor: pointer;
  border-radius: 5px;
  min-width: 36px;
  min-height: 30px;
}

.nav-dropbtn:active {
  background-color: black ;
  transform: translateX(1px);
}

.icon-bar {
  border-radius: 50px;
  display: block;
  margin-bottom: 2px;
  background: #fff;
  width: 26px;
  height: 3px;
}

.nav-menu-title {
  cursor: pointer;
  font-size: 1.1rem;
  color: whitesmoke;
  margin-left: 1rem;
  padding: 10px;
  list-style-type: none;
}

.nav-menu {
  position: absolute;
  padding: 20px;
  float: left;
  z-index: 2;
}

}