/* newsletter/newsletter.css */

/* Container */
.n1-newsletter-section {
  max-width: 560px;
  margin: 24px auto;
  padding: 20px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.n1-title {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  line-height: 1.3;
}

/* Form */
.n1-form { display: grid; gap: 12px; }
.n1-field { display: grid; gap: 6px; }
.n1-label { font-size: 0.95rem; }

.n1-input {
  padding: 10px 12px;
  border: 1px solid #d4d7dc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  outline: none;
}
.n1-input:focus {
  border-color: #2f6feb;
  box-shadow: 0 0 0 3px rgba(47,111,235,0.15);
}

.n1-gdpr-wrap { display: flex; align-items: center; gap: 8px; }
.n1-checkbox { width: 18px; height: 18px; }
.n1-checkbox-label { font-size: 0.95rem; }
.n1-gdpr-link { color: #2f6feb; text-decoration: underline; }

/* Buttons */
.n1-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.n1-btn-primary { background: #2f6feb; color: #fff; }
.n1-btn-primary:hover { background: #1d58c8; }
.n1-btn-secondary { background: #eef2f7; color: #1d2939; }
.n1-btn-secondary:hover { background: #e2e8f0; }

/* Messages */
.n1-msg { min-height: 1.2em; font-size: 0.95rem; }
.n1-msg-success { color: #0a7d32; }
.n1-msg-info { color: #0a58ca; }
.n1-msg-error { color: #b42318; }

/* Modal */
.n1-gdpr-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}
.n1-gdpr-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.n1-gdpr-modal-content {
  position: relative;
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.n1-gdpr-modal-title { margin-top: 0; }
.n1-gdpr-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.n1-gdpr-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}