body {
  margin: 0;
  padding-top: 4rem; /* Add padding to body to avoid content being hidden by the fixed nav */
  background-color: oklch(1 0.1 50)
}

.dev-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: oklch(0.2 0 0);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 1000;
}

.dev-nav a {
    color: oklch(0.9 0 0);
    text-decoration: none;
    font-family: sans-serif;
}

.card {
  background-color: oklch(1 0.01 50);
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 8px;
  z-index: 1;
  transition: all 0.2s ease;
}
.card::before {
  content: '';
  position: absolute;
  opacity: 0;
  border-radius: 8px;
  transform: scale(.75);
  transition: all 0.2s ease;
  background-color: oklch(0.1 0.1 190);
  
    z-index: -1;
  inset: -10px;
  
}
img {
  pointer-events: none;
}
.card:hover::before {
  transform: scale(1);
  opacity: .05;
}
.card:hover {
  transform:scale(1.01)
}

.card.selected {
  outline: 5px solid oklch(.6 0.1 150);
  outline-offset: 4px;
  border-radius: 8px;
  transform: scale(0.97);
}

.listings { 
  padding-block: 3rem;
}

.wrapper {
  box-sizing: content-box;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1300px; 
}
.card button {
  all: unset;
  font-size: 20px;
  background-color: oklch(0.35 0 0);
  color: oklch(0.95 0 0);
  padding-block: .5rem;
  border-end-start-radius: 8px;
  border-end-end-radius: 8px;
  margin-top: auto;
  display: grid;
  place-items: center;
}
.card.selected button {
  background-color: oklch(0.6 0.1 150);
}
.thumbnail {

  width: 100%;
  height: auto;
}
h2 {
  padding-inline: 0.5rem;
}
.price {
 padding-inline: 0.5rem; 
}
img {
  display: block;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  pointer-events: none;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  min-width: 0;
}
.request {
  display: block;
  margin-inline: auto;
  width: max-content;
  background-color: oklch(0.6 0.1 150);
  color: oklch(1 0.1 60);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 20px;
  margin-top: 50px;
}

table {
  width: 100%;
  border: 4px solid oklch(0 0 0)
}
th {
  padding: .71rem;
  text-align: start;
}
td {
  padding: .71rem;
}
thead {
  background-color: black;
  color: wheat;
  font-family: sans-serif;
}
tbody tr:nth-child(odd):not(:last-child) {
  background-color: oklch(1 0 0 / .6);
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: oklch(1 0.01 50);
    border-radius: 8px;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: oklch(0.95 0 0);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: oklch(0.95 0 0);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid oklch(0.35 0 0);
    border-radius: 4px;
    background-color: oklch(1 0.01 50);
    color: oklch(0.95 0 0);
}

.order-summary, .payment-info, .order-status {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid oklch(0.35 0 0);
    border-radius: 8px;
}

h2 {
    border-bottom: 2px solid oklch(0.6 0.1 150);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.order-status p {
    font-size: 1.2rem;
}

#status {
    font-weight: bold;
    color: oklch(0.6 0.1 150);
}

/* Restaurant view styles */
.orders-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.order-card {
    background-color: oklch(1 0.01 50);
    border: 1px solid oklch(0.35 0 0);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-card h3 {
    margin-top: 0;
    color: oklch(0.95 0 0);
}

.order-card.confirmed {
    border-left: 5px solid oklch(0.7, 0.2, 80);
}

.order-card.cooking {
    border-left: 5px solid oklch(0.8, 0.2, 50);
}

.order-card.out-for-delivery {
    border-left: 5px solid oklch(0.8, 0.2, 150);
}

.order-card.delivered {
    border-left: 5px solid oklch(0.5 0 0);
    opacity: 0.7;
}

.status-management select {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid oklch(0.35 0 0);
    margin-top: 0.5rem;
}
