:root {
  --accent: #000;
  --card-bg: rgba(255, 255, 255, 0.95);
  --muted: #666;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  color: #111;
  padding: 30px;
}

.page-content{
padding-top:80px;
padding-bottom:30px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 14px;
  display: block;
  padding: 8px 14px;
  border: 3px solid var(--accent);
  border-radius: 10px;
  background: #fff;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.6px;
}

/* layout adjustments requested */
.form-row {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.form-row .field {
  flex: 1 1 48%;
  min-width: 0;
} /* keep fields inside form border, prevent overflow */

label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
select,
textarea,
input[type="number"] {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

/* make note full width when required */
.form-row.fullwidth .field {
  flex: 1 1 100%;
}

/* Note textarea styling: taller and scrollable */
.note-textarea {
  min-height: 160px;
  max-height: 420px;
  overflow: auto;
  resize: vertical;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 1rem;
}

/* table */
.table-wrap {
  margin-top: 14px;
  overflow: auto;
  border-radius: 12px;
  border: 3px solid var(--accent);
  background: #fff;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.order-table thead th {
  background: var(--accent);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: 800;
}

.order-table th,
.order-table td {
  border: 2px solid var(--accent);
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

.order-table td.left {
  text-align: left;
}

.add-row {
  margin: 14px 0;
  display: inline-block;
  padding: 10px 14px;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.add-row:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

/* small muted feature text */
.sub-features {
  font-size: 0.9rem;
  color: var(--muted);
  padding-top: 6px;
  text-align: left;
}

/* remove button */
.remove-row {
  background: #fff;
  border: 2px solid #c33;
  color: #c33;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.remove-row:hover {
  background: #c33;
  color: #fff;
}

/* totals */
.totals {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.totals .label {
  font-weight: 800;
}

.totals .value {
  font-weight: 900;
  font-size: 1.1rem;
}

/* attachment box */
.drop-area {
  border: 2px dashed #ccc;
  padding: 18px;
  border-radius: 10px;
  text-align: center;
  color: #444;
  background: #fafafa;
}

.drop-area.dragover {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.small-muted {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Form messages */
.error-box {
  background: #ffecec;
  border: 2px solid #ffb5b5;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.success-box {
  background: #e9ffef;
  border: 2px solid #baf5c6;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.hidden-field {
  display: none;
}

.hidden-file-input {
  display: none;
}

.service-header {
  min-width: 180px;
}

.subservice-header {
  min-width: 240px;
}

/* Important points styling (modified content) */
.important-points {
  background: #fff9f0;
  border: 1px solid #ffd8a8;
  padding: 12px 14px;
  border-radius: 10px;
  color: #0b2a44;
  margin-top: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.important-points h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.important-points ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.important-points li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* submit */
.btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  cursor: pointer;
  margin-top: 14px;
}

.btn-submit:hover {
  background: #fff;
  color: var(--accent);
}

/* responsive */
@media (max-width: 900px) {
  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .order-table {
    min-width: 700px;
  }
}

.success-box{
    background:#ecfdf5;
    color:#166534;
    border:1px solid #bbf7d0;
    padding:15px 20px;
    border-radius:8px;
    margin-bottom:20px;
    font-weight:500;
}