* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #e0e6f8;
  min-height: 100vh;
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #14213d;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 0 15px #00ffc8;
}

.header h1 {
  font-weight: 700;
  font-size: 1.8rem;
  color: #00ffc8;
  display: flex;
  align-items: center;
  gap: 12px;
}

#logout-btn {
  background: #ff004d;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: white;
  transition: background 0.3s ease;
  box-shadow: 0 0 8px #ff004d;
}

#logout-btn:hover {
  background: #ff3366;
  box-shadow: 0 0 20px #ff3366;
}

.container {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 20px;
}

.card {
  background: rgba(10, 30, 50, 0.75);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 0 10px #00ffc8;
  border: 1.5px solid #00ffc8;
  min-height: 160px;
}

.card h2 {
  margin-bottom: 15px;
  color: #00ffc8;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

ul {
  list-style: none;
  max-height: 120px;
  overflow-y: auto;
  padding-right: 10px;
}

ul::-webkit-scrollbar {
  width: 6px;
}

ul::-webkit-scrollbar-thumb {
  background-color: #00ffc8;
  border-radius: 10px;
}

li {
  margin-bottom: 8px;
  border-bottom: 1px solid #004d40;
  padding-bottom: 6px;
}

#clientes-container {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 10px;
}

@media(max-width: 480px) {
  .container {
    grid-template-columns: 1fr;
  }
}

.cliente-btn {
  all: unset;
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px;
  cursor: pointer;
}

.cliente-btn:hover {
  background-color: #004d40;
  color: #fff;
}

#novo-pedido input, #novo-pedido select {
  display: block;
  width: 100%;
  margin: 6px 0;
  padding: 8px;
  border: 1px solid #ccc;
}
