@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.subscribe-form {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
}

.subscribe-form .message {
  margin: 12px 0 0 0;
  min-height: 40px;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 1.4;
}

/* Состояния сообщения */
.subscribe-form .message.note {
  color: #666; /* Стандартный цвет для примечания */
}

.subscribe-form .message.success {
  color: #28a745;
}

.subscribe-form .message.error {
  color: #dc3545;
}

.subscribe-form .message.warning {
  color: #ffc107;
}

.subscribe-form .message.info {
  color: #0066cc;
}

.subscribe-form .input {
  box-sizing: border-box;
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  height: 48px;
  font-size: 16px;
  margin-bottom: 12px;
}

.subscribe-form .button {
  padding: 12px 16px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.subscribe-form .button:hover {
  opacity: 0.9;
}

.subscribe-form .button.unsubscribe-btn {
  background-color: #dc3545;
}

.subscribe-form .input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,123,255,.25);
}

.subscribe-form #emailDisplay {
  font-size: 22px;
  width: 100%;
  word-break: break-all;
  color: #2c3e50;
  text-align: center;
  box-sizing: border-box;
}
