/* Belion Mailer – styly */

.bm-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: bm-spin 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes bm-spin { to { transform: rotate(360deg); } }

[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.bm-field-error {
  outline: 2px solid #e53e3e;
}
.bm-error {
  display: block;
  color: #e53e3e;
  font-size: 0.85em;
  margin-top: 0.25rem;
}

.bm-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95em;
}
.bm-feedback--success {
  background: #f0fff4;
  color: #276749;
  border: 1px solid #9ae6b4;
}
.bm-feedback--error {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #feb2b2;
}

.bm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.bm-modal-box {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.bm-modal--success { border-top: 4px solid #48bb78; }
.bm-modal--error   { border-top: 4px solid #e53e3e; }
.bm-modal-msg {
  font-size: 1rem;
  margin: 0 0 1.5rem;
  color: #2d3748;
}
.bm-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #718096;
  line-height: 1;
  padding: 0.25rem;
}
.bm-modal-close:hover { color: #2d3748; }
