body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #1f2937;
}

.navbar {
  background: #0b5f58;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  color: white;
  font-size: 22px;
  font-weight: bold;
  margin-right: 20px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 15px;
}

.navbar a:hover {
  text-decoration: underline;
}

.header {
  background: #0f766e;
  color: white;
  padding: 35px;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 25px auto;
  padding: 15px;
}

.card, .item-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

textarea {
  min-height: 80px;
}

button {
  background: #0f766e;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-right: 5px;
  margin-top: 5px;
}

.delete-btn {
  background: #dc2626;
}

.edit-btn {
  background: #2563eb;
}

.cancel-btn {
  background: #6b7280;
}

.item-card {
  border-left: 5px solid #0f766e;
}

.item-card h3 {
  margin-top: 0;
  color: #0f766e;
}

.small {
  color: #6b7280;
  font-size: 14px;
}

.stat {
  font-size: 34px;
  font-weight: bold;
  color: #0f766e;
}

.client-line {
  background: #f9fafb;
  padding: 10px;
  border-radius: 8px;
  margin-top: 8px;
}

.search-box {
  margin-bottom: 20px;
}

.status-box {
  padding: 14px;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
}

.purple { background: #8b00ff; color: white; }
.dark-blue { background: #0033cc; color: white; }
.green { background: #00e600; color: #111827; }
.cyan { background: #22d3ee; color: #111827; }
.yellow { background: #facc15; color: #111827; }
.pink { background: #ff00cc; color: white; }
.orange { background: #fb923c; color: #111827; }
.red { background: #ff0000; color: white; }
.gray { background: #6b7280; color: white; }

.status-column h3 {
  margin-top: 0;
}

.client-card {
  background: #f9fafb;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
}

.purple-border { border-top: 6px solid #8b00ff; }
.blue-border { border-top: 6px solid #0033cc; }
.green-border { border-top: 6px solid #00e600; }



.cyan-border { border-top: 6px solid #22d3ee; }
.yellow-border { border-top: 6px solid #facc15; }
.pink-border { border-top: 6px solid #ff00cc; }
.orange-border { border-top: 6px solid #fb923c; }
.red-border { border-top: 6px solid #ff0000; }
.gray-border { border-top: 6px solid #6b7280; }

.client-status-card h3 {
  margin-top: 0;
  color: #0f766e;
}

.status-badge {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 12px;
}

.purple { background: #8b00ff; color: white; }
.dark-blue { background: #0033cc; color: white; }
.green { background: #00e600; color: #111827; }
.cyan { background: #22d3ee; color: #111827; }
.yellow { background: #facc15; color: #111827; }
.pink { background: #ff00cc; color: white; }
.orange { background: #fb923c; color: #111827; }
.red { background: #ff0000; color: white; }
.gray { background: #6b7280; color: white; }

.purple-border { border-top: 6px solid #8b00ff; }
.blue-border { border-top: 6px solid #0033cc; }
.green-border { border-top: 6px solid #00e600; }
.cyan-border { border-top: 6px solid #22d3ee; }
.yellow-border { border-top: 6px solid #facc15; }
.pink-border { border-top: 6px solid #ff00cc; }
.orange-border { border-top: 6px solid #fb923c; }
.red-border { border-top: 6px solid #ff0000; }
.gray-border { border-top: 6px solid #6b7280; }

.card-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.small-btn {
  padding: 7px 11px;
  font-size: 13px;
}

.service-btn {
  background: #16a34a;
}

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal {
  background: white;
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.modal h2 {
  margin-top: 0;
  color: #0f766e;
}

.client-status-card h3 {
  margin-top: 0;
  color: #0f766e;
}

.status-badge {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 8px;
}

.ia-badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 12px;
  margin-left: 5px;
}

.ia-approved {
  background: #22c55e;
  color: white;
}

.ia-submitted {
  background: #2563eb;
  color: white;
}

.ia-sent {
  background: #dbeafe;
  color: #1e40af;
}

.ia-pending {
  background: #fef3c7;
  color: #92400e;
}

.ia-denied {
  background: #ef4444;
  color: white;
}

.ia-not-required {
  background: #e5e7eb;
  color: #374151;
}

.ia-auto-approved {
  background: #dcfce7;
  color: #166534;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.small-btn {
  padding: 7px 11px;
  font-size: 13px;
}

.service-btn {
  background: #16a34a;
}

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal {
  background: white;
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.modal h2 {
  margin-top: 0;
  color: #0f766e;
}


body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #1f2937;
}

.navbar {
  background: #0b5f58;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  color: white;
  font-size: 22px;
  font-weight: bold;
  margin-right: 20px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 15px;
}

.navbar a:hover {
  text-decoration: underline;
}

.header {
  background: #0f766e;
  color: white;
  padding: 35px;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 25px auto;
  padding: 15px;
}

.card,
.item-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

textarea {
  min-height: 80px;
}

button {
  background: #0f766e;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-right: 5px;
  margin-top: 5px;
}

.delete-btn {
  background: #dc2626;
}

.edit-btn {
  background: #2563eb;
}

.cancel-btn {
  background: #6b7280;
}

.service-btn {
  background: #16a34a;
}

.item-card {
  border-left: 5px solid #0f766e;
}

.item-card h3 {
  margin-top: 0;
  color: #0f766e;
}

.small {
  color: #6b7280;
  font-size: 14px;
}

.stat {
  font-size: 34px;
  font-weight: bold;
  color: #0f766e;
}

.client-line {
  background: #f9fafb;
  padding: 10px;
  border-radius: 8px;
  margin-top: 8px;
}

.search-box {
  margin-bottom: 20px;
}

.option-card {
  cursor: pointer;
  border-top: 6px solid #0f766e;
  transition: 0.15s;
}

.option-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.13);
}

/* CLIENT STATUS */

.client-status-card h3 {
  margin-top: 0;
  color: #0f766e;
}

.status-badge {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 8px;
}

.ia-badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 12px;
  margin-left: 5px;
}

/* Client status colors */
.purple {
  background: #8b00ff;
  color: white;
}

.dark-blue {
  background: #0033cc;
  color: white;
}

.green {
  background: #00e600;
  color: #111827;
}

.cyan {
  background: #22d3ee;
  color: #111827;
}

.yellow {
  background: #facc15;
  color: #111827;
}

.pink {
  background: #ff00cc;
  color: white;
}

.orange {
  background: #fb923c;
  color: #111827;
}

.red {
  background: #ff0000;
  color: white;
}

.gray {
  background: #6b7280;
  color: white;
}

/* Card border colors */
.purple-border {
  border-top: 6px solid #8b00ff;
}

.blue-border {
  border-top: 6px solid #0033cc;
}

.green-border {
  border-top: 6px solid #00e600;
}

.cyan-border {
  border-top: 6px solid #22d3ee;
}

.yellow-border {
  border-top: 6px solid #facc15;
}

.pink-border {
  border-top: 6px solid #ff00cc;
}

.orange-border {
  border-top: 6px solid #fb923c;
}

.red-border {
  border-top: 6px solid #ff0000;
}

.gray-border {
  border-top: 6px solid #6b7280;
}

/* IA badges */
.ia-approved {
  background: #22c55e;
  color: white;
}

.ia-submitted {
  background: #2563eb;
  color: white;
}

.ia-sent {
  background: #dbeafe;
  color: #1e40af;
}

.ia-pending {
  background: #fef3c7;
  color: #92400e;
}

.ia-denied {
  background: #ef4444;
  color: white;
}

.ia-not-required {
  background: #e5e7eb;
  color: #374151;
}

.ia-auto-approved {
  background: #dcfce7;
  color: #166534;
}

/* Buttons on client cards */
.card-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.small-btn {
  padding: 7px 11px;
  font-size: 13px;
}

/* Modal */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal {
  background: white;
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.modal h2 {
  margin-top: 0;
  color: #0f766e;
}

.modal {
  width: 95%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.full-width {
  grid-column: 1 / -1;
}

.modal-buttons {
  position: sticky;
  bottom: 0;
  background: white;
  padding-top: 15px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}