/* styles.css */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #1c1c1c, #3a3a3a);
  color: #e0e0e0;
}

header {
  background: #1a1a1a;
  color: #fff;
  width: 100%;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 2rem;
}

main {
  background: rgba(30, 30, 30, 0.95);
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 800px;
  margin-top: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

label, input, button, select {
  display: block;
  width: 100%;
  margin: 1rem 0;
  padding: 0.8rem;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

input[type="file"] {
  background: #444;
  padding: 0.5rem;
}

input, select {
  background: #444;
}

button {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
}

button:hover {
  background: linear-gradient(135deg, #45a049, #4CAF50);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h1, h2 {
  color: #fff;
}

#products .product {
  background: #292929;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#products .remove-product {
  background: #ff4c4c;
}

#invoice-output {
  text-align: center;
}

#invoice-output button {
  display: inline-block;
  margin-top: 1rem;
  margin-right: 1rem;
}

table {
  width: 90%;
  border-collapse: collapse;
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 0.8rem;
  border: 1px solid #444;
  text-align: left;
}

th {
  background: #444;
}

tr:nth-child(even) {
  background: #333;
}

img {
  margin-bottom: 1rem;
  display: block;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}