* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: bisque;
  display: grid;
  grid-template-areas:
      "header header"
      "aside main"
      "footer footer";
  grid-template-columns: 1fr 6fr;
  gap: 1px;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
}
.login h1 {
  text-align: center;
}
a {
  text-decoration: none;
  color: black;
}
a:hover {
  text-decoration: underline;
}
header {
  grid-area: header;
  padding: 20px;
  background-color: beige;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}
header nav {
  display: flex;
  gap: 20px;
}
aside {
  background-color: blanchedalmond;
  padding: 20px;
  width: fit-content;
  grid-area: aside;
}

aside section {
  padding: 10px 0;
}
ul {
  list-style: none;
}
main {
  background-color: bisque;
  padding: 20px;
  
  grid-area: main;
}
body.login {
  h1 {
    text-align: center;
    margin: 30px 0;
  }
}
.login main form {
  background-color: rgb(206, 241, 231);
  padding: 30px;
  max-width: 350px;
  margin: 0 auto;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;

  input {
    border-radius: 3px;
    border: 1px solid transparent;
  }
}
main article {
  padding: 20px 0;
}
main article section {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
main article section p {
  font-size: 1.2rem;
  width: fit-content;
}
main article form button {
  border: none;
  padding: 5px 15px;
  font-size: 1.2rem;
  border-radius: 5px;
  background-color: rgb(233, 233, 233);
}
main article form button:hover {
  background-color: #b2d6ce;
}
.main.restaurante form {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 300px;
  input {
    border: none;
    border-radius: 3px;
    padding: 2px 3px;
    background-color: beige;
  }
  .btn {
    background-color: aquamarine;
    border: 1px solid transparent;
  }
  .btn:hover {
    color: brown;
    border: 1px solid black;
  }
}
table {
  border-collapse: collapse;
  margin-bottom: 20px;
  input {
    padding: 2px 3px;
  }
}
th, td {
  border: 1px solid #cccccc;
  padding: 8px 12px;
  text-align: left;
  width: fit-content;
}
th {
  background-color: #b2d6ce;
  font-weight: bold;
}
tr {
  background-color: rgb(233, 233, 233);
}
tr:nth-child(even) {
  background-color: #ffffff;
}
body.logout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
