/* admin.css */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 20px;
  background-color: #fafafa;
  color: #222;
}

h2 {
  color: #34495e;
  margin-bottom: 15px;
}

input[type="password"] {
  padding: 8px 10px;
  width: 200px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
}

button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2980b9;
}

#orderData h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #2c3e50;
}

#ordersList {
  list-style-type: none;
  padding: 0;
  max-width: 800px;
}

#ordersList li {
  border: 1px solid #ccc;
  margin: 10px 0;
  padding: 10px;
  background-color: #fff;
  border-radius: 6px;
}

#ordersList p {
  margin: 5px 0;
  font-size: 15px;
}

#ordersList img {
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  max-width: 100px;
  max-height: 80px;
  margin-top: 8px;
}

select {
  padding: 5px 8px;
  margin-top: 5px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: #3498db;
}

#ordersList button {
  margin-left: 10px;
  background-color: #e74c3c;
}

#ordersList button:hover {
  background-color: #c0392b;
}

/* Modal styling */
#imgModal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

#imgModal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 15px white;
  cursor: default;
}
