/* create-quotation.css */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f4f8;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 900px;
  background: #fff;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

header {
  text-align: center;
  margin-bottom: 1rem;
}

header h1 {
  margin: 0;
  color: #0f172a;
}

header p {
  margin: 0.2rem 0;
  color: #475569;
}

.quote-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.quote-info div {
  flex: 1 1 45%;
  margin: 0.5rem 0;
}

.quote-info input {
  padding: 0.5rem;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.items-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  overflow-x: auto;
  display: block;
}

.items-table th,
.items-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
  min-width: 120px;
}

.items-table th {
  background-color: #e2e8f0;
}

.items-table input {
  width: 100%;
  padding: 0.4rem;
  border: none;
  background: transparent;
}

button[type="button"] {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #10b981;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button[type="submit"] {
  display: block;
  margin-top: 2rem;
  padding: 0.8rem;
  width: 100%;
  background-color: #0f172a;
  color: white;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.totals {
  margin-top: 1.5rem;
  text-align: right;
  font-size: 1.1rem;
}

.notes,
.signature {
  margin-top: 2rem;
}

.notes ul {
  padding-left: 1.2rem;
}

.signature p {
  margin: 0.2rem 0;
  text-align: right;
}

@media (max-width: 600px) {
  .quote-info {
    flex-direction: column;
  }

  .quote-info div {
    width: 100%;
  }

  .totals,
  .signature p {
    text-align: left;
  }

  .items-table th,
  .items-table td {
    font-size: 0.85rem;
    padding: 0.5rem;
  }

  button[type="button"] {
    width: 100%;
  }
}
