/* /httpdocs/offerte/css/style.css */
:root {
  --primary:    #E51C23;
  --secondary:  #333333;
  --bg:         #F4F4F4;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  line-height: 1.5;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h1 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 24px;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 5px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th {
  background: var(--primary);
  color: #fff;
  padding: 10px;
  text-align: left;
  font-size: 14px;
}

td {
  border: 1px solid #ddd;
  padding: 8px;
  vertical-align: top;
}

.actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #c41b1f;
}

/* Optional: style the “+ Regel toevoegen” link as a button */
.add-row {
  background: transparent;
  color: var(--primary);
  border: 2px dashed var(--primary);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-size: 14px;
  text-decoration: none;
}

.add-row:hover {
  background: var(--primary);
  color: #fff;
}

/* ——— dotPixel huisstijl & spacing voor offerte-formulier ——— */

.container form .field input,
.container form .field textarea {
  font-size: 1rem;
  padding: 0.6rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

#items_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

#items_table th,
#items_table td {
  padding: 0.4rem 0.6rem;
  border: 1px solid #ddd;
}

#items_table thead {
  background-color: #E31C2C;
}

#items_table thead th {
  color: #fff;
  font-weight: bold;
  text-align: left;
}

#items_table input {
  font-size: 0.9rem;
  padding: 0.4rem;
  width: 100%;
  box-sizing: border-box;
}

.add-row {
  display: inline-block;
  margin-top: 0.8rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border: 1px dashed #E31C2C;
  color: #E31C2C;
  text-decoration: none;
  border-radius: 4px;
}
.add-row:hover {
  background-color: #E31C2C;
  color: #fff;
}

button {
  background-color: #E31C2C;
  border: none;
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 4px;
  margin-right: 0.8rem;
  cursor: pointer;
}
button:hover {
  background-color: #C31A28;
}

/* Overzichtstabel */
.quote-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.quote-table th,
.quote-table td {
  border: 1px solid #ddd;
  padding: 0.6rem;
}
.quote-table thead {
  background-color: #E31C2C;
}
.quote-table thead th {
  color: #fff;
  font-weight: normal;
  text-align: left;
}
