/* Base styles */
body {
  font-family: ui-sans-serif, -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica, Apple Color Emoji, Arial, Segoe UI Emoji, Segoe UI Symbol;
  font-variation-settings: normal;
  margin: 0;
  padding: 0;
  background-color: rgb(33, 33, 33);
  color: #ECECEC;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

.header__title {
  text-align: center;
  font-size: 2em;
  margin-top: 3rem;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  gap: 40px;
}

.main.main-privacy {
  align-items: start;
  text-align: left;
  gap: 10px;
}

.ad {
  flex: 0 0 auto;
  width: 100%;
  /* min-height: 10px;   */
  background-color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  padding: 0 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex-grow: 1;
  justify-content: flex-start;
  gap: 20px;
}

.input-group__text-input,
.animated-input__input {
  width: 80%;
  padding: 15px 20px;
  font-size: 1em;
  margin-bottom: 20px;
  background-color: rgb(47, 47, 47);
  color: #ECECEC;
  border: none;
  border-radius: 26px;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease-in-out;
}

.input-group__text-input:focus,
.animated-input__input:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(213, 242, 213, 0.2);
}

.button-group {
  display: flex;
  flex-direction: row;
  gap: 6px;
}

.input-group__button,
.secondary-button,
.action-button,
#copy-button {
  padding: 15px 40px;
  font-size: 1em;
  cursor: pointer;
  border: none;
  border-radius: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -20px 0 10px;
  box-sizing: border-box;
  /* -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box; */
}

#copy-button {
  margin: 10px 0;
}

.input-group__button {
  background-color: #6BA368;
  color: white;
}

#instructions-toggle {
  background-color: transparent;
  border: 2px solid #6BA368;
  color: #FFF;
}

.instructions-content {
  width: 80%;
  max-width: 500px;
}

.action-button {
  background-color: #6BA368;
  color: white;
  transition: background-color 0.3s ease;
}

.action-button.inactive {
  background-color: #a9a9a9;
}

@keyframes glow-pulse {
  0% {
    box-shadow: 0 0 10px rgba(144, 238, 144, 0.8);
  }
  50% {
    box-shadow: 0 0 10px rgba(144, 238, 144, 0.2);
  }
  100% {
    box-shadow: 0 0 10px rgba(144, 238, 144, 0.8);
  }
}

.glow {
  animation: glow-pulse 1.2s infinite;
}

#success-text {
  width: 80%;
  max-width: 500px;
}

#dots {
  display: inline-block;
  width: 8px; /* Adjust width as needed */
  text-align: left;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: rgb(47, 47, 47);
  margin: 5px auto;
  padding: 20px;
  border: 1px solid rgba(213, 242, 213, 0.2);
  width: calc(100% - 52px);
  max-width: 600px;
  border-radius: 10px;
  color: #ECECEC;
  text-align: center;
  position: relative;
  top: 30%;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: #FFF;
  text-decoration: none;
  cursor: pointer;
}

.link-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.link-container a {
  color: #6BA368;
  margin-bottom: 20px;
  word-break: break-all;
}

#copy-button {
  background-color: #6BA368;
  color: white;
}

#copy-button i {
  margin-left: 8px;
  font-size: 1.2em;
}

.privacy__link {
  color: #eee;
}

.privacy__link:visited {
  color: rgb(186, 114, 139);
}

/* Responsive design adjustments */
@media (max-width: 600px) {
  .input-group__text-input,
  .animated-input__input {
    width: 100%;
  }

  .modal-content {
    margin-left: 5px;
    margin-right: 5px;
    width: calc(100% - 52px);
  }
}
