.subscribe-modal,
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.subscribe-modal-content {
  position: relative;
  background-color: rgb(247, 247, 247);
  margin: 5% auto;
  padding: 10px;
  border: 1px solid #888;
  border-radius: 15px;
  width: 80%;
  min-height: 500px;
  max-height: 80%;
  overflow: auto;
}

.modal-content {
  position: relative;
  background-color: rgb(247, 247, 247);
  margin: 15% auto;
  padding: 10px;
  border: 1px solid #888;
  border-radius: 15px;
  width: 80%;
}

.subscribe-close-button,
.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  display: inline-block;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  width: 42px;
  height: 42px;
  text-align: center;
}

.subscribe-close-button::after,
.close-button::after {
  clear: both;
}

.services-list {
  list-style-type: none;
}

.services-list-item {
  align-items: center;
}

.services-list input[type="checkbox"] {
  max-height: 15px;
  max-width: 15px;
  margin-top: 7px;
  margin-right: 10px;
}

.required {
  color: red;
}

.my-toggle {
  float: right;
}

.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 70px;
  padding: 0px;
}

.dropdown-header {
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #fff;
  padding: 15px;
  color: #000;
  cursor: pointer;
  border: none;
  border-bottom: 2px solid var(--color--accent);
  font-weight: 700;
}

.dropdown-content {
  display: none;
  width: 100%;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  max-height: 250px;
  overflow: auto;
  z-index: 1;
}

.show {
  display: block;
}

#subscriber-notify-button {
  float: right;
  margin-right: 20px;
  border-radius: 10px;
  background-color: hsl(226, 54%, 22%);
  color: white;
  font-weight: 500;
  padding: 10px 20px;
}

#subscriber-range-id {
  accent-color: hsl(226, 54%, 22%);
  width: 100%;
}

.centered-unsubscribe {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  height: 100px; /* Ensures the container takes full viewport height */
}


.frm-table-wrapper table tr:nth-child(even) {
  background-color: #f2f2f2; /* Light grey background for even rows */
}

.frm-table-wrapper table th {
    white-space: nowrap;
    border-bottom: 1px solid black;
}

.frm-table-wrapper table td {
    vertical-align: top;
}
