.flm-ms-open-btn {
    padding: 10px 16px;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  .flm-ms-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .flm-ms-modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }

  .flm-ms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }

  .flm-ms-close-btn {
    border: none;
    font-size: 24px;
    cursor: pointer;
  }

  .student-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 10px;
    margin-bottom: 12px;
    /* align-items: center; */
  }

  .student-row input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .flm-ms-remove-btn {
    padding: 10px 12px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
  }

  .flm-ms-add-btn {
    padding: 10px 16px;
    background: #16a34a;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
  }

  .flm-ms-submit-btn {
    padding: 10px 16px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    margin-left: 8px;
  }

  .actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }

  .flm-error-msg, .flm-phone-error-msg {
    color: #d93025;
    font-size: 0.85rem;
  }

  @media (max-width: 768px) {
    .student-row {
      grid-template-columns: 1fr;
    }
  }