:root {
}

/* ========================
   MODAL BACKGROUND
   ======================== */
#bni-modal {
  display: none; /* hidden initially */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* ========================
   MODAL CONTENT
   ======================== */
#bni-modal-content {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px 40px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333333;
}

/* ========================
   HEADINGS
   ======================== */
#bni-form h1 {
  font-size: 1.8em;
  color: #c0392b; /* BNI dark blue */
  margin-bottom: 10px;
}

#bni-form h2 {
  font-size: 1.4em;
  color: #e74c3c; /* lighter blue */
  margin-top: 20px;
  margin-bottom: 10px;
}

#bni-form h3 {
  font-size: 1.2em;
  color: #e74c3c;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* ========================
   PARAGRAPHS AND TEXT
   ======================== */
#bni-form p,
#bni-form b,
#bni-form li {
  line-height: 1.5;
}

#bni-form ul {
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 15px;
}

#bni-form .flex {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

#bni-form .icon img {
  width: 40px;
  height: 40px;
}

/* Container for side-by-side fields */
.bni-form-row {
  display: flex;
  gap: 20px; /* space between columns */
  flex-wrap: wrap; /* wrap on smaller screens */
  margin-bottom: 15px;
}

/* Each field in the row */
.bni-form-row .bni-form-field {
  flex: 1; /* equal width */
  min-width: 200px; /* prevent too small on narrow screens */
}

/* Labels above inputs */
#bni-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #c0392b; /* red like your screenshot */
}

/* Inputs */
.bni-form-row .bni-form-field input,
.bni-form-row .bni-form-field select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

/* ========================
   INPUTS & SELECTS
   ======================== */
#bni-form input[type="text"],
#bni-form input[type="email"],
#bni-form input[type="number"],
#bni-form input[type="file"],
#bni-form select {
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

#bni-form input[type="checkbox"] {
  margin-right: 8px;
}

/* ========================
   BUTTONS
   ======================== */
#bni-form button {
  background: #004c97;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease-in-out;
}

#bni-form button:hover {
  background: #e74c3c;
}

/* ========================
   ADDITIONAL ELEMENTS
   ======================== */
#bni-form fieldset {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
}

#bni-form hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

/* ========================
   TOTAL PRICE
   ======================== */
#total-price {
  font-weight: bold;
  font-size: 1.1em;
  color: #004c97;
  margin-top: 15px;
}

/* ========================
   SCROLLBAR FOR MODAL
   ======================== */
#bni-modal-content::-webkit-scrollbar {
  width: 8px;
}

#bni-modal-content::-webkit-scrollbar-thumb {
  background: #e74c3c;
  border-radius: 4px;
}

#bni-modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  #bni-modal-content {
    padding: 20px;
  }
}
