.modal {
  position: fixed;
  z-index: 30;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

.modal-container {
  background-color: #f7f5ec;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  padding: 2em 4em;
  width: 60%;
  margin: 0px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-title,
.modal-copy {
  text-align: center;
}

.modal-copy {
  margin-bottom: 2.5rem;
}

.btn-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.modal-solid-btn {
  padding: 8px 20px !important;
  border-radius: 50px !important;
  font-size: 16px !important;
  line-height: 16px !important;
  letter-spacing: 2px;
  font-weight: bold;
  transition: all 0.3s ease-in-out !important;
  box-shadow: none !important;
  text-align: center !important;
  color: var(--global-palette8, #f7fafc) !important;
  background: #3f2021 !important;
  border-top: 1px solid #3f2021 !important;
  border-right: 1px solid #3f2021 !important;
  border-bottom: 1px solid #3f2021 !important;
  border-left: 1px solid #3f2021 !important;
}

.modal-solid-btn:hover {
  border: 1px solid var(--global-palette-btn-bg, #3633e1);
  background: rgba(0, 0, 0, 0);
  color: var(--global-palette-btn-bg, #3633e1);
}

.plain-link {
  color: #000;
  opacity: 0.5;
  text-align: center;
  font-size: 12px;
  display: block;
  text-decoration: none;
  margin-top: 2rem;
  cursor: pointer;
}

.plain-link:hover {
  color: #000;
  opacity: 0.8;
}

.hidden {
  display: none;
}

/* Language Toggle Section */
.language-toggle {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.language-toggle .lang-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out !important;
  box-shadow: none !important;
  text-align: center !important;
  color: #000 !important;
  background: rgba(255, 255, 255, 0) !important;
  border: 1px solid #000 !important;
}

.language-toggle .lang-btn:hover {
  background-color: #3f2021 !important;
  color: #fff !important;
  border: 1px solid #3f2021 !important;
}

.modal-content {
  display: none;
}

.modal-content.active {
  display: block;
}

@media screen and (max-width: 1000px) {
  .modal-container {
    width: 80%;
  }
}

@media screen and (max-width: 750px) {
  .modal-container {
    width: 95%;
  }
}

@media screen and (max-width: 615px) {
  .btn-container {
    flex-direction: column;
  }

  .language-toggle {
    flex-direction: column;
  }
}
