body {
  margin: 0;
  font-family: "Arial", "Helventica", sans-serif;
  background-color: #272a2c;
  color: white;
  font-family: "Poppins";
  font-size: 1.2rem;
  /*  overflow-x: hidden; */
  scroll-behavior: smooth;
}

select, ::picker(select) {
    appearance: base-select;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

select::picker-icon {
  content: "🍔";
  background-size: contain;
  background-repeat: no-repeat;
  width: 1em;
  height: 1em;
  margin-left: 0.5em;
  transition: transform 0.3s ease;
}

select:open::picker-icon {
  transform: rotate(180deg);
}
option:checked::checkmark {
  content: "🍺";
  margin-right: 0.5em;
  color: green;
}


.header-container {
  display: flex;
  column-gap: 4rem;
  align-items: center;
}

.featuredProduct {
  border: 3px dotted #d0a756;
  padding: 0.5rem;
  margin-bottom: 1.4rem;
  margin-top: 2.6rem;
}

.title {
  background: linear-gradient(45deg, #d0a756, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2.5rem;
  font-weight: bold;
}

.container {
  display: grid;
  place-items: center;
  width: 80%;
  margin: 0 auto;
}

.buttons-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  background: var(--color-back);
  border-radius: 0.5em;
  box-shadow: inset 0px -6px 18px -6px rgba(3, 15, 20, 0),
    inset rgba(54, 69, 75, 1) -1px -1px 6px 0px,
    inset 12px 0px 12px -6px rgba(3, 15, 20, 0),
    inset -12px 0px 12px -6px rgba(3, 15, 20, 0),
    rgba(54, 69, 75, 1) -1px -1px 6px 0px;
  border: solid 2px #030f14;
  cursor: pointer;
  font-size: 18px;
  padding: 0.5em 1.5em;
  outline: none;
  transition: all 0.3s;
  user-select: none;
}

.button:hover {
  box-shadow: inset 0px -6px 18px -6px rgba(3, 15, 20, 1),
    inset 0px 6px 18px -6px rgba(3, 15, 20, 1),
    inset 12px 0px 12px -6px rgba(3, 15, 20, 0),
    inset -12px 0px 12px -6px rgba(3, 15, 20, 0),
    -1px -1px 6px 0px rgba(54, 69, 75, 1);
}

.button:active {
  box-shadow: inset 0px -12px 12px -6px rgba(3, 15, 20, 1),
    inset 0px 12px 12px -6px rgba(3, 15, 20, 1),
    inset 12px 0px 12px -6px rgba(3, 15, 20, 1),
    inset -12px 0px 12px -6px rgba(3, 15, 20, 1),
    -1px -1px 6px 0px rgba(54, 69, 75, 1);
}

.text {
  color: #d0a756;
  font-weight: 700;
  margin: auto;
  transition: all 0.3s;
  width: fit-content;
}

.button:hover .text {
  transform: scale(0.9);
}

.button:active .text {
  transform: scale(0.8);
}

.delete-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.164);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: relative;
}

.delete-svgIcon {
  width: 15px;
  transition-duration: 0.3s;
}

.delete-svgIcon path {
  fill: white;
}

.delete-button:hover {
  width: 90px;
  border-radius: 50px;
  transition-duration: 0.5s;
  background-color: rgb(255, 69, 69);
  align-items: center;
}

.delete-button:hover .delete-svgIcon {
  width: 20px;
  transition-duration: 0.3s;
  transform: translateY(60%);
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  transform: rotate(360deg);
}

.delete-button::before {
  display: none;
  content: "Delete";
  color: white;
  transition-duration: 0.3s;
  font-size: 2px;
}

.delete-button:hover::before {
  display: block;
  padding-right: 10px;
  font-size: 13px;
  opacity: 1;
  transform: translateY(0px);
  transition-duration: 0.3s;
}

/* tags */
.tag__name {
  display: inline-block;
  color: #fff;
  font-size: 0.75em;
  background-color: #c0afd5;
  text-shadow: 1px 1px #4e4f51;
  padding: 5px 12px 5px;
  border-radius: 70em;
  margin: 8px 6px 8px 0;
  margin-left: 0px;
  position: relative;
  text-transform: lowercase;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.tag__name::before {
  left: 7px;
}

.tag__name::after {
  right: 7px;
}

.tag__name:hover {
  transform: scale(1.1);
  background-color: #9c87c0;
}

table {
  padding-top: 1em;
  overflow: scroll;
}
.discount-header {
  border-bottom: dotted 3px #d0a756;
}

th {
  text-align: left;
}

th,
td {
  padding: 0.1em 0.5em;
}

td li,
td ul {
  margin: 0;
  padding: 0;
}

td li {
  display: inline;
}

td li::after {
  content: ",";
}

td li:last-child::after {
  content: "";
}

.supersaver {
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: underline;
  background: linear-gradient(45deg, #d0a756, #ff6b6b, #4ecdc4);
  text-align: center;
  border-radius: 2rem;
  padding: 0 1rem;
}

footer {
  
  background: linear-gradient(45deg, #4e2020, #713030, #272a2c);
  height: 1.2rem;
  margin-top: 5rem;
  text-align: center;
  padding: 1.2rem 0;
  
}

.modal {
  padding: 2em;
  min-width: 35vw;
  max-width: 50ch;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 1em rgb(0 0 0 / 0.3);
  background-color: #272a2c;
  color: white;
}

.modal::backdrop {
  background: rgb(0 0 0 / 0.4);
  backdrop-filter: blur(4px);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-input {
  padding: 0.8em;
  border-radius: 4px;
  border: 1px solid #4e4f51;
  background: #1a1c1e;
  color: white;
  font-family: "Poppins";
}

.login-input:focus {
  outline: none;
  border-color: #d0a756;
}

select.login-input {
  padding: 0.8em;
  border-radius: 4px;
  border: 1px solid #4e4f51;
  background: #1a1c1e;
  color: #d0a756;
  font-weight: bold;
  font-size: 1rem;
  min-width: 150px;
  cursor: pointer;
}

select.login-input option {
  background: #1a1c1e;
  color: white;
  padding: 10px;
}

select.login-input:focus {
  outline: none;
  border-color: #d0a756;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 2rem;
}

.brand-title {
  letter-spacing: 1px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Improve contrast ratios */
.tag__name {
  color: #000000;
}

.delete-button {
  background: #dc3545;
  color: white;
}

.login-form-button {
  background: #0056b3;
  color: white;
}
@media screen and (max-width: 768px) {
  table.responsive-table {
      border: 0;
      width: 100%;
  }
  
  table.responsive-table thead {
      display: none; /* Hide table header on mobile */
  }
  
  table.responsive-table tr {
      margin-bottom: 20px;
      display: block;
      border: 1px solid #ddd;
      border-radius: 8px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      background-color: rgba(255, 255, 255, 0.1);
  }
  
  table.responsive-table td {
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: right;
      padding: 12px 15px;
      border-bottom: 1px solid #eee;
  }
  
  table.responsive-table td:last-child {
      border-bottom: 0;
  }
  
  table.responsive-table td:before {
      content: attr(data-label);
      font-weight: bold;
      text-align: left;
      width: 40%;
      margin-right: 10px;
  }
  
  /* delete button*/
  table.responsive-table td.actions-cell {
      justify-content: flex-end;
  }
  
  table.responsive-table td.actions-cell:before {
      content: '';
      width: 0;
  }
  
  /* cell */
  table.responsive-table td.tags-cell ul {
      margin: 0;
      padding: 0;
      text-align: right;
  }
}