 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
  }

  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 20px;
  }
  h4 {
    font-size: 16px;
  }
  h5 {
    font-size: 10px;
  }
  p {
    font-size: 16px;
  }
  
  hr {
    width: 100%;
    color: black;
  }

  body {
    margin: 15px;
    background-color: #eef2f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .container {
    max-width: 540px;
    width: 100%;
    background-color: #eef2f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .card {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  /* Header */
  .header {
    background: linear-gradient(135deg, #7b1fa2, #512da8);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .logo-head {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
  }

  .logo-image {
    width: 75px;
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .headiing {
    background: linear-gradient(135deg, #7b1fa2, #512da8);
    color: white;
    text-align: center;
  }

  /* Notes */
  .warning {
    border-left: 5px solid #ffc107;
    background: #fff3cd;
  }

  ol {
    list-style-position: inside;
  }

  ol li {
    margin-bottom: 10px;
  }

  /* Forms */
  h4.title {
    border-left: 4px solid #1a73e8;
    padding-left: 10px;
    color: #343231;
    margin-bottom: 20px;
  }

  .required {
    color: red;
  }

  .input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }

  label.bold {
    font-size: 20px;
    font-weight: bold;
  }

  label {
    font-size: 16px;
    font-weight: 600;
  }

  input, select, textarea {
    -webkit-appearance: none; /* Removes native iOS styling */
    -moz-appearance: none;
    appearance: none;

    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    display: block;
    font-size: 16px; /* Prevents auto-zoom on iOS focus */
    background-color: #fff;
    color: #333;
  }

  input::-webkit-date-and-time-value {
    text-align: left;
    min-height: 1.2em; /* Prevents height collapse */
  }

  input:focus, select:focus, textarea:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 5px rgba(26,115,232,0.3);
  }

  .input-group p {
    font-size: 12px;
  }

  .address-line {
    display: flex;
    flex-direction: row;
    justify-self: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
  }

  .member-table {
    width: 100%;
    overflow-x: scroll;
  }

  table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
  }

  th {
    white-space: break-spaces;
  }

  th, td {
    padding: 5px;
    border: 1px solid #333;
    width: 200px;
  }

  .add-btn {
    padding: 10px 20px;
    border: 0;
    outline: 0;
    background: #5f6368;
    color: white;
    border-radius: 5px;
    margin-top: 20px;
    width: 150px;
  }

  /*  */
  .submit-btn {
    background: #1a73e8;
    color: white;
    width: 100%;
    border-radius: 5px;
    padding: 10px 20px;
    border: 0;
    outline: 0;
  }

  /* Footer */
.footer {
  text-align: center;
  font-size: 13px;
  color: #555;
  margin-top: 15px;
  padding: 15px;
}

/* Overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Loader Box */
.loader-box {
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
}

/* Spinner */
.spinner {
  border: 4px solid #eee;
  border-top: 4px solid #1a73e8;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  animation: spin 1s linear infinite;
  margin: auto;
  margin-bottom: 10px;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}