* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Jost', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.message-container {
  width: 642px;
  height: auto;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  padding: 60px 80px 60px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hidden {
    display: none !important;
}

.message-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.message-header {
  height: auto;
  text-align: center;
  margin-bottom: 40px;
}

.mail-icon {
  padding-bottom: 8px;
  user-drag: none;
  user-select: none;
  -webkit-user-drag: none;
}

.message-header h2 {
  font-family: 'Jost', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: default;
}

.message-text {
  height: auto;
  text-align: center;
}

.message-text p {
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  line-height: 130%;
  cursor: default;
}

.break-768 {
    display: inline;
}

#user-email {
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
}

.spam {
  margin-top: 30px;
}

.button {
  display: block;
  width: 100%;
  margin-top: 30px;
  padding: 18px 24px;
  border-radius: 16px;
  background: rgba(107, 120, 235, 1);
  color: rgba(255, 255, 255, 1);
  font-family: 'Jost', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease;
}

.button:hover {
  background: rgba(92, 98, 211, 1);
}

.button:active {
  background: rgba(255, 255, 255, 1);
  color: rgba(107, 120, 235, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.resend-link {
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 24.38px;
  color: rgba(255, 255, 255, 1);
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  cursor: default;
}

.resend-link.show {
  opacity: 1;
  visibility: visible;
  height: auto;
  margin-top: 24px;
}

.resend-link a {
  color: rgba(107, 120, 235, 1);
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 768px) {
    .message-container {
        width: 288px;
        padding: 40px 21px 60px;
    }

    .message-header h2 {
        font-size: 24px;
    }

    .message-text p,
    .resend-link {
        font-size: 18px;
        line-height: 135%;
    }

    .button {
        font-size: 16px;
    }

    .break-768 {
        display: block;
    }
}
