html {
    background: #f9f9f9!important;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.header {
    background: #0047ba;
    position: sticky;
    top: 0;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 10;
}

.header .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header .left img {
  width: 50px;
  height: 50px;
}

.header .left .title {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 5px;
}

.header .subtitle {
  font-size: 14px;
  margin-top: -5px;
}

.header .right {
  text-align: right;
  font-size: 14px;
  margin-top: 10px;
}

.header .right .user-icon {
  font-size: 24px;
  vertical-align: middle;
  margin-left: 10px;
}

.container {
  padding: 40px 20px;
  text-align: center;
  opacity: 1;
  transition: opacity 500ms ease;
}

.container h1 {
  color: #0039a6;
  font-size: 28px;
  font-weight: bold;
}

.container p {
  font-weight: bold;
  /*color: #333;*/
  max-width: 700px;
  margin: 10px auto 40px;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.btn {
  background: #e50914;
  color: white;
  font-size: 20px;
  font-weight: bold;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
}

.btn:hover {
  background: #c40812;
}

.background-logo {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.05;
  z-index: -1;
  max-width: 90%;
}

.form-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.form-fields {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.form-fields label {
  font-weight: bold;
  text-align: left;
}

.form-fields input, .form-fields select {
  padding: 12px;
  border-radius: 25px;
  border: 2px solid #0047ba;
  font-size: 16px;
  outline: none;
}

.next-btn {
  background: #e50914;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 30px;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
}

.back-btn {
    background: #e50914;
    display: flex;
    position: fixed;
    bottom: 20px;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 9999px;
    font-size: 18px;
    cursor: pointer;
    width: 50px;
    aspect-ratio: 1/1;
    align-items: center;
    justify-content: center;
}

.form-image {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-box {
  background: #aab0b5;
  width: 100%;
  height: 250px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-style: italic;
  max-width: 400px;
  text-align: center;
}

.dropdownMenu-1 {
    position: absolute;
    right: 0px;
    margin-top: 0.5rem;
    width: /*14rem*/max-content;
    background: white;
    border-radius: 0.75rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px;
    border: 1px solid rgb(209, 213, 219);
    display: none;
    z-index: 50;
    color: gray;
    cursor: pointer;
    text-select: none;
}

.receipt {
  padding: 2em;
  border: 2px solid #4CAF50;
  border-radius: 10px;
  background: #f0fff0;
  max-width: 600px;
  margin: 2em auto;
}

.receipt h2 {
  color: #2e7d32;
}

.receipt ul {
  padding-left: 1.5em;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.modal.show {
  display: flex;
}

.modal-content {
    display: flex;
    background-color: #fff;
    color: #111;
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    flex-direction: column;
    gap: 16px;
}

.modal-content.dark {
  background-color: #1f2937;
  color: #f9fafb;
}

.enrollee-dashboard {
  text-align: center;
  margin-top: 40px;
}
.dashboard-options button {
  margin: 10px;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
}

html.dark-mode .modal-content {
    background-color: #1f2937;
    color: #f9fafb;
}

.modal-content button {
  background-color: #dc2626;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-content button:hover {
  background-color: #b91c1c;
}

@media (prefers-color-scheme: dark) {
  .modal-content {
    background-color: #1f2937;
    color: #f9fafb;
  }
}

html.dark-mode .dropdownMenu-1 {
    background: var(--luna-theme-background-color-primary);
}

/* Dark mode toggle button */
/*.dark-mode-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 8px 12px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1000;
}*/

.dark-mode-toggle:hover {
  background-color: #444;
}

/* DARK MODE OVERRIDES */
html.dark-mode {
  background-color: #121212!important;
  color: #f0f0f0;
}

html.dark-mode .container {
  color: #ffffff;
}

html.dark-mode input,
html.dark-mode button,
html.dark-mode textarea,
html.dark-mode select {
  background-color: #2a2a2a;
  color: white;
  border: 1px solid #444;
}

html.dark-mode .btn {
  background-color: #444;
  color: white;
}

html.dark-mode .btn:hover {
  background-color: #555;
}

html.dark-mode .header {
  background-color: #181818;
  border-bottom: 1px solid #333;
}

html.dark-mode .dropdownMenu-1 {
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .header {
    /*flex-direction: column;
    align-items: flex-start;*/
  }

  .header .right {
    text-align: left;
  }

  .container h1 {
    font-size: 24px;
  }

  .btn {
    font-size: 18px;
    padding: 12px 30px;
  }
}
