:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #cbd5e1;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  padding: 2rem 1rem;
}

.invoice-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.form-header { margin-bottom: 2rem; }
.form-header h1 { font-size: 1.5rem; color: var(--text-main); }
.form-header p { color: var(--text-muted); font-size: 0.9rem; }

.form-section { border: none; margin-bottom: 1.5rem; }
.form-section legend { font-weight: 600; margin-bottom: 0.75rem; color: var(--primary-color); }

.input-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.input-group label { font-size: 0.85rem; margin-bottom: 0.25rem; font-weight: 500; }
.input-group input, .input-group textarea {
  padding: 0.75rem; border: 1px solid var(--border-color); border-radius: var(--radius); font-size: 1rem;
}

.btn-submit {
  width: 100%; background: var(--primary-color); color: white; border: none;
  padding: 1rem; font-size: 1rem; font-weight: 600; border-radius: var(--radius); cursor: pointer;
}
.btn-submit:hover { background: var(--primary-hover); }

/* Image Logo Styling */
.brand-logo-img {
  display: block;
  margin: 0 auto 1.5rem auto; /* Centers the image and adds space below */
  max-width: 100%; /* Prevents stretching or clipping on small mobile screens */
  height: auto;
  width: 220px; /* Adjust this width to make the logo smaller or larger */
}
