/* Newsletter button + modal (replaces hosted SevenRooms widget) */

/* --- Button --- */
.sr-newsletter-btn {
  appearance: none; border: none; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; padding: 0;
  font-family: inherit; color: #ffffff99 !important; transition: opacity .2s;
}
.sr-newsletter-btn:hover { opacity: .8; }
.sr-newsletter-btn .sr-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
}
.sr-newsletter-btn .sr-icon svg { width: 20px; height: 20px; fill: currentColor; }
.sr-newsletter-btn .sr-label {
  font-size: 14px; font-weight: 400; letter-spacing: .02em;
  white-space: nowrap; color: #ffffff99 !important;
}
.sr-newsletter-btn .sr-icon svg { fill: #ffffff99 !important; }

/* --- Backdrop --- */
.sr-nl-backdrop {
  position: fixed; inset: 0; z-index: 2147483640;
  background: rgba(10,10,10,.3); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.sr-nl-backdrop.sr-open { opacity: 1; pointer-events: all; }

/* --- Modal --- */
.sr-nl-modal {
  width: 88vw; max-width: 560px; max-height: 90vh;
  background: #fff; border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.35);
  transform: translateY(40px); opacity: 0; transition: transform .35s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}
.sr-nl-backdrop.sr-open .sr-nl-modal { transform: translateY(0); opacity: 1; }

.sr-nl-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid rgba(0,0,0,.08);
}
.sr-nl-header h2 { margin: 0; font-size: 22px; font-weight: 600; color: #111; }
.sr-nl-close {
  appearance: none; border: none; background: transparent; cursor: pointer;
  padding: 4px; line-height: 0; color: #555;
}
.sr-nl-close:hover { color: #000; }
.sr-nl-close svg { width: 20px; height: 20px; }

.sr-nl-body { padding: 24px; overflow-y: auto; flex: 1; }

/* --- Form --- */
.sr-nl-form { display: flex; flex-direction: column; gap: 16px; }
.sr-nl-field { display: flex; flex-direction: column; gap: 4px; }
.sr-nl-field label { font-size: 13px; font-weight: 600; color: #333; }
.sr-nl-field input, .sr-nl-field select {
  border: 1px solid #ccc; border-radius: 4px; padding: 10px 12px;
  font-size: 15px; font-family: inherit; color: #111; background: #fff;
  transition: border-color .2s;
}
.sr-nl-field input:focus, .sr-nl-field select:focus {
  outline: none; border-color: #09223A;
}
.sr-nl-field .sr-req { color: #b00020; }
.sr-nl-submit {
  appearance: none; border: none; border-radius: 4px;
  padding: 12px 24px; font-size: 15px; font-weight: 600;
  background: #09223A; color: #fff; cursor: pointer;
  transition: background .2s; align-self: flex-start;
}
.sr-nl-submit:hover { background: #0d2e4f; }
.sr-nl-submit:disabled { opacity: .5; cursor: wait; }

.sr-nl-success {
  text-align: center; padding: 32px 16px; font-size: 17px; line-height: 1.5; color: #111;
}
.sr-nl-success strong { display: block; font-size: 20px; margin-bottom: 8px; }

@media (max-width: 600px) {
  .sr-nl-modal { width: 96vw; max-width: none; }
  .sr-nl-submit { width: 100%; }
}
