body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #333;
}

.container {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 30px;
  justify-content: center;
}

.form-section,
.preview-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  width: 350px;
}

h1, h2 {
  margin-top: 0;
}

label {
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
}

input, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  margin-top: 10px;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  background: #007bff;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #0056b3;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.invoice-header img {
  height: 60px;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  margin-top: 20px;
}

