.warning-message {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
  width: 100%;
}

.alert {
  display: flex;
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  border: 1px solid #ffe4b0;
  background: #fff6e6;
  color: #212121;
  margin: 0;
  align-self: stretch;
  padding: 0.5rem 1rem;
  text-align: center;
  box-sizing: border-box;
}

.alert-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.alert-message {
  flex: 1;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.4;
}

.link {
  color: #47788d;
  text-decoration: underline;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
}

.action-buttons .button_to {
  width: 100%;
}

.login_icon {
  margin-right: 8px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Primary button - Beige/cream filled button */
.button-primary {
  height: 44px;
  padding: 1rem;
  width: 100%;
  color: #0f0e0d;
  font-family: "PPNeueMontreal";
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  border-radius: 9999px;
  background: #feeedc;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px;
  box-sizing: border-box;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.button-primary:hover {
  background: #fde5c8;
}

/* Secondary button - Dark button with light text */
.button-secondary {
  height: 44px;
  padding: 1rem;
  width: 100%;
  color: #feeedc;
  font-family: "PPNeueMontreal";
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  border-radius: 9999px;
  background: #0f0e0d;
  cursor: pointer;
  border: 1px solid #feeedc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px;
  box-sizing: border-box;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.button-secondary:hover {
  background: #1f1e1d;
}

/* Tertiary button - Text-only/transparent button */
.button-tertiary {
  color: #feeedc;
  font-family: "PPNeueMontreal";
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  background-color: inherit;
  border: none;
  padding: 0.9375rem 2rem;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.button-tertiary:hover {
  opacity: 0.8;
}

.login_button_disabled {
  background-color: rgba(0, 0, 0, 0.04);
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* login button loader */
.loader {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #3498db;
  width: 16px;
  height: 16px;
  animation: spin 2s linear infinite;
  margin-left: 8px;
  flex-shrink: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Desktop-specific optimizations */
@media screen and (min-width: 1920px) {
  .button-primary,
  .button-secondary,
  .button-tertiary {
    font-size: 1rem;
  }
}

/* MS Exchange Individual Consent Form Styles */
.consent-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.consent-form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.consent-input-wrapper {
  display: flex;
  height: 44px;
  padding: 12px 16px;
  align-items: center;
  gap: 4px;
  align-self: stretch;
  border-radius: 4px;
  border: 1px solid #4e4842;
  background: #37332e;
}
.consent-input {
  flex: 1 0 0;
  overflow: hidden;
  color: #988f84;
  text-overflow: ellipsis;
  font-family: "PPNeueMontreal";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
}
.consent-input::placeholder {
  color: #988f84;
}
.consent-input:focus {
  color: #feeedc;
}
.consent-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.consent-connect-button {
  display: flex;
  height: 44px;
  min-width: 100px;
  padding: 0 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  background: #feeedc;
  color: #0f0e0d;
  font-family: "PPNeueMontreal";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  border: none;
  cursor: pointer;
}
.consent-connect-button:hover {
  opacity: 0.9;
}
.consent-back-button {
  display: flex;
  height: 44px;
  min-width: 100px;
  padding: 0 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid #feeedc;
  background: transparent;
  color: #feeedc;
  font-family: "PPNeueMontreal";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  cursor: pointer;
}
.consent-back-button:hover {
  opacity: 0.9;
}
