/* =============================================
   Newsletter Style Templates
   Each template is scoped under .nl-template-{name}
   Template "classic" = default (no class needed)
   ============================================= */

/* ─── Template: Midnight ─── */
/* Dark theme with deep navy backgrounds, bright accent text */

.newsletterArea.nl-template-midnight {
    background: #0f172a;
    padding: 48px 24px;
    border-radius: 12px;
    color: #cbd5e1;
}

.nl-template-midnight .newsletterElementRow {
    color: #e2e8f0;
}

.nl-template-midnight .newsLetterStandardText {
    color: #cbd5e1;
    font-family: 'Inter', 'Heebo', sans-serif;
}

.nl-template-midnight .newsLetterStandardText > div {
    color: inherit;
    font-family: inherit;
}

.nl-template-midnight .newsletterHeader {
    color: #38bdf8;
    font-family: 'Inter', 'Heebo', sans-serif;
    letter-spacing: -0.02em;
}

.nl-template-midnight .newsletterHeader > div {
    color: #38bdf8;
    font-family: inherit;
}

.nl-template-midnight .newsletterDivider {
    background: #334155;
}

.nl-template-midnight .newsletterQuote {
    border-left-color: #38bdf8;
    background: #1e293b;
    color: #94a3b8;
}

.nl-template-midnight .newsletterQuote > div {
    color: inherit;
}

.nl-template-midnight .newsletterButton {
    background: #38bdf8;
    color: #0f172a !important;
    font-family: 'Inter', 'Heebo', sans-serif;
    border-radius: 6px;
}

.nl-template-midnight .newsletterButton:hover {
    background: #7dd3fc;
}

.nl-template-midnight .newsletterlink {
    color: #38bdf8;
}

.nl-template-midnight .newsletterlink:hover {
    color: #7dd3fc;
}

.nl-template-midnight .newsLetterList,
.nl-template-midnight .newsLetterListOrdered {
    color: #cbd5e1;
}

.nl-template-midnight .newsLetterList > div,
.nl-template-midnight .newsLetterListOrdered > div {
    color: #cbd5e1;
}

.nl-template-midnight .newsLetterBoldText {
    color: #f1f5f9;
}

.nl-template-midnight .newsLetterItalicText {
    color: #94a3b8;
}

.nl-template-midnight .alertLabel {
    background: #1e293b;
    border-color: #38bdf8;
    color: #7dd3fc;
}


/* ─── Template: Ocean ─── */
/* Dark deep-ocean — deep teal/blue bg, luminous cyan accents */

.newsletterArea.nl-template-ocean {
    background: #042f2e;
    padding: 48px 24px;
    border-radius: 12px;
    color: #a7f3d0;
}

.nl-template-ocean .newsletterElementRow {
    color: #ccfbf1;
}

.nl-template-ocean .newsLetterStandardText {
    color: #a7f3d0;
    font-family: 'Heebo', sans-serif;
}

.nl-template-ocean .newsLetterStandardText > div {
    color: inherit;
    font-family: inherit;
}

.nl-template-ocean .newsletterHeader {
    color: #5eead4;
    font-weight: 800;
}

.nl-template-ocean .newsletterHeader > div {
    color: #5eead4;
    font-weight: 800;
}

.nl-template-ocean .newsletterDivider {
    background: linear-gradient(90deg, transparent, #14b8a6, transparent);
    height: 2px;
}

.nl-template-ocean .newsletterQuote {
    border-left-color: #14b8a6;
    background: #064e3b;
    color: #6ee7b7;
}

.nl-template-ocean .newsletterQuote > div {
    color: inherit;
}

.nl-template-ocean .newsletterButton {
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    color: #fff !important;
    border-radius: 24px;
    padding: 14px 36px;
}

.nl-template-ocean .newsletterButton:hover {
    background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

.nl-template-ocean .newsletterlink {
    color: #2dd4bf;
}

.nl-template-ocean .newsletterlink:hover {
    color: #5eead4;
}

.nl-template-ocean .newsLetterList,
.nl-template-ocean .newsLetterListOrdered {
    color: #a7f3d0;
}

.nl-template-ocean .newsLetterList > div,
.nl-template-ocean .newsLetterListOrdered > div {
    color: #a7f3d0;
}

.nl-template-ocean .newsLetterBoldText {
    color: #ecfdf5;
}

.nl-template-ocean .newsLetterItalicText {
    color: #6ee7b7;
}

.nl-template-ocean .alertLabel {
    background: #064e3b;
    border-color: #14b8a6;
    color: #5eead4;
}


/* ─── Template: Forest ─── */
/* Earth tones - warm greens, browns, natural feel */

.newsletterArea.nl-template-forest {
    background: #fefce8;
    padding: 48px 24px;
    border-radius: 12px;
}

.nl-template-forest .newsLetterStandardText {
    color: #3f3f46;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    line-height: 1.85;
}

.nl-template-forest .newsLetterStandardText > div {
    color: inherit;
    font-family: inherit;
}

.nl-template-forest .newsletterHeader {
    color: #15803d;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 28px;
}

.nl-template-forest .newsletterHeader > div {
    color: #15803d;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 28px;
}

.nl-template-forest .newsletterDivider {
    background: #a3e635;
    height: 2px;
    border-radius: 1px;
}

.nl-template-forest .newsletterQuote {
    border-left: 4px solid #65a30d;
    background: #ecfccb;
    color: #365314;
    font-family: Georgia, 'Times New Roman', serif;
}

.nl-template-forest .newsletterButton {
    background: #15803d;
    color: #fff !important;
    border-radius: 4px;
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 14px;
    padding: 14px 28px;
}

.nl-template-forest .newsletterButton:hover {
    background: #166534;
}

.nl-template-forest .newsletterlink {
    color: #15803d;
}

.nl-template-forest .newsletterlink:hover {
    color: #166534;
}

.nl-template-forest .newsLetterList,
.nl-template-forest .newsLetterListOrdered {
    font-family: Georgia, 'Times New Roman', serif;
}

.nl-template-forest .newsLetterList > div,
.nl-template-forest .newsLetterListOrdered > div {
    color: #3f3f46;
}

.nl-template-forest .newsLetterBoldText {
    color: #1a2e05;
}


/* ─── Template: Sunset ─── */
/* Dark evening — deep purple/wine bg, warm amber & violet accents */

.newsletterArea.nl-template-sunset {
    background: linear-gradient(180deg, #1c1033 0%, #27172a 100%);
    padding: 48px 24px;
    border-radius: 12px;
    color: #e9d5ff;
}

.nl-template-sunset .newsletterElementRow {
    color: #e9d5ff;
}

.nl-template-sunset .newsLetterStandardText {
    color: #d8b4fe;
    font-family: 'Heebo', sans-serif;
}

.nl-template-sunset .newsLetterStandardText > div {
    color: inherit;
    font-family: inherit;
}

.nl-template-sunset .newsletterHeader {
    color: #fb923c;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nl-template-sunset .newsletterHeader > div {
    color: #fb923c;
    font-weight: 800;
}

.nl-template-sunset .newsletterDivider {
    background: linear-gradient(90deg, #c084fc, #fb923c);
    height: 2px;
    border-radius: 1px;
}

.nl-template-sunset .newsletterQuote {
    border-left: 4px solid #a855f7;
    background: #2e1065;
    color: #c4b5fd;
    border-radius: 0 12px 12px 0;
}

.nl-template-sunset .newsletterQuote > div {
    color: inherit;
}

.nl-template-sunset .newsletterButton {
    background: linear-gradient(135deg, #a855f7, #f97316);
    color: #fff !important;
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 700;
}

.nl-template-sunset .newsletterButton:hover {
    background: linear-gradient(135deg, #c084fc, #fb923c);
}

.nl-template-sunset .newsletterlink {
    color: #c084fc;
}

.nl-template-sunset .newsletterlink:hover {
    color: #e9d5ff;
}

.nl-template-sunset .newsLetterList,
.nl-template-sunset .newsLetterListOrdered {
    color: #d8b4fe;
}

.nl-template-sunset .newsLetterList > div,
.nl-template-sunset .newsLetterListOrdered > div {
    color: #d8b4fe;
}

.nl-template-sunset .newsLetterBoldText {
    color: #f5f3ff;
}

.nl-template-sunset .newsLetterItalicText {
    color: #c4b5fd;
}

.nl-template-sunset .alertLabel {
    background: #2e1065;
    border-color: #a855f7;
    color: #d8b4fe;
}


/* ─── Template: Minimal ─── */
/* Ultra-clean black and white, strong typography focus */

.newsletterArea.nl-template-minimal {
    background: #fff;
    padding: 56px 24px;
    max-width: 680px;
}

.nl-template-minimal .newsLetterStandardText {
    color: #18181b;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: -0.01em;
}

.nl-template-minimal .newsLetterStandardText > div {
    color: inherit;
    font-family: inherit;
}

.nl-template-minimal .newsletterHeader {
    color: #09090b;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.nl-template-minimal .newsletterHeader > div {
    color: #09090b;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.nl-template-minimal .newsletterDivider {
    background: #e4e4e7;
    height: 1px;
}

.nl-template-minimal .newsletterQuote {
    border-left: 3px solid #18181b;
    background: transparent;
    color: #52525b;
    font-style: italic;
    padding: 8px 20px;
    border-radius: 0;
    font-family: 'Inter', system-ui, sans-serif;
}

.nl-template-minimal .newsletterButton {
    background: #18181b;
    color: #fff !important;
    border-radius: 4px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    letter-spacing: 0.01em;
}

.nl-template-minimal .newsletterButton:hover {
    background: #3f3f46;
}

.nl-template-minimal .newsletterlink {
    color: #18181b;
    text-decoration-color: #a1a1aa;
    text-underline-offset: 3px;
}

.nl-template-minimal .newsletterlink:hover {
    text-decoration-color: #18181b;
}

.nl-template-minimal .newsLetterList,
.nl-template-minimal .newsLetterListOrdered {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
}

.nl-template-minimal .newsLetterList > div,
.nl-template-minimal .newsLetterListOrdered > div {
    color: #18181b;
}

.nl-template-minimal .newsLetterBoldText {
    color: #09090b;
    font-weight: 700;
}

.nl-template-minimal .newsletterElementRow {
    margin-top: 16px;
    margin-bottom: 16px;
}

.nl-template-minimal .newsletterElementRow > img {
    border-radius: 4px;
}


/* ─── Template: Sport ─── */
/* Bold, high-energy sports magazine feel */

.newsletterArea.nl-template-sport {
    background: #111827;
    padding: 48px 24px;
    border-radius: 12px;
    color: #d1d5db;
}

.nl-template-sport .newsLetterStandardText {
    color: #d1d5db;
    font-family: 'Heebo', sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

.nl-template-sport .newsLetterStandardText > div {
    color: inherit;
    font-family: inherit;
}

.nl-template-sport .newsletterElementRow {
    color: #d1d5db;
}

.nl-template-sport .newsletterHeader {
    color: #fff;
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.15;
    border-left: 5px solid #FBC530;
    padding-left: 16px;
}

.nl-template-sport .newsletterHeader > div {
    color: #fff;
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.nl-template-sport .newsletterDivider {
    background: linear-gradient(90deg, #FBC530, transparent);
    height: 3px;
}

.nl-template-sport .newsletterQuote {
    border-left: 5px solid #FBC530;
    background: #1f2937;
    color: #e5e7eb;
    font-style: italic;
    border-radius: 0 4px 4px 0;
    font-family: 'Heebo', sans-serif;
}

.nl-template-sport .newsletterQuote > div {
    color: inherit;
}

.nl-template-sport .newsletterButton {
    background: #FBC530;
    color: #111827 !important;
    border-radius: 4px;
    font-family: 'Heebo', sans-serif;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 32px;
}

.nl-template-sport .newsletterButton:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}

.nl-template-sport .newsletterlink {
    color: #FBC530;
    text-decoration: none;
    border-bottom: 2px solid rgba(251,197,48,0.4);
}

.nl-template-sport .newsletterlink:hover {
    color: #fbbf24;
    border-bottom-color: #FBC530;
}

.nl-template-sport .newsLetterList,
.nl-template-sport .newsLetterListOrdered {
    color: #d1d5db;
}

.nl-template-sport .newsLetterList > div,
.nl-template-sport .newsLetterListOrdered > div {
    color: #d1d5db;
}

.nl-template-sport .newsLetterBoldText {
    color: #f9fafb;
}

.nl-template-sport .newsLetterItalicText {
    color: #9ca3af;
}

.nl-template-sport .newsletterElementRow > img {
    border-radius: 4px;
}

.nl-template-sport .alertLabel {
    background: #1f2937;
    border-color: #FBC530;
    color: #fbbf24;
}


/* ─── Template: Executive ─── */
/* Premium, corporate feel with navy and gold accents */

.newsletterArea.nl-template-executive {
    background: #fff;
    padding: 56px 32px;
    border-top: 4px solid #1e3a5f;
}

.nl-template-executive .newsLetterStandardText {
    color: #374151;
    font-family: 'Heebo', sans-serif;
    font-size: 17px;
    line-height: 1.8;
}

.nl-template-executive .newsLetterStandardText > div {
    color: inherit;
}

.nl-template-executive .newsletterHeader {
    color: #1e3a5f;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.01em;
    border-bottom: 2px solid #c8a951;
    padding-bottom: 8px;
    display: inline-block;
}

.nl-template-executive .newsletterHeader > div {
    color: #1e3a5f;
    font-weight: 700;
    font-size: 28px;
}

.nl-template-executive .newsletterDivider {
    background: #e5e7eb;
    height: 1px;
}

.nl-template-executive .newsletterQuote {
    border-left: 4px solid #c8a951;
    background: #f8f6f0;
    color: #4b5563;
    font-style: italic;
    border-radius: 0;
}

.nl-template-executive .newsletterButton {
    background: #1e3a5f;
    color: #fff !important;
    border-radius: 4px;
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 13px 30px;
    border: 1px solid #1e3a5f;
}

.nl-template-executive .newsletterButton:hover {
    background: #2c5282;
    border-color: #2c5282;
}

.nl-template-executive .newsletterlink {
    color: #1e3a5f;
    text-decoration-color: #c8a951;
    text-underline-offset: 3px;
}

.nl-template-executive .newsletterlink:hover {
    color: #2c5282;
}

.nl-template-executive .newsLetterList,
.nl-template-executive .newsLetterListOrdered {
    font-size: 17px;
}

.nl-template-executive .newsLetterList > div,
.nl-template-executive .newsLetterListOrdered > div {
    color: #374151;
}

.nl-template-executive .newsLetterBoldText {
    color: #1e3a5f;
}


/* ─── Dark Template: Editor Overrides ─── */
/* When a dark template is active, adapt the editor chrome to match.
   The template class sits on .newsletterArea which is a child of
   .nl-editor-content-area, so we use the child's class to style
   block cards, toolbars, and inputs within the editor. */

/* -- Midnight editor -- */
.nl-template-midnight .newsletterElementRow {
    background: #1e293b;
    border-color: #334155;
}

.nl-template-midnight .newsletterElementRow:hover {
    border-color: #475569;
    box-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.nl-template-midnight .nl-block-toolbar {
    background: #0f172a;
    border-bottom-color: #334155;
}

.nl-template-midnight .nl-block-tbtn {
    color: #94a3b8;
}

.nl-template-midnight .nl-block-tbtn:hover {
    background: #334155;
    color: #e2e8f0;
}

.nl-template-midnight .nl-block-tbtn-danger:hover {
    background: #450a0a;
    color: #fca5a5;
}

.nl-template-midnight .nl-block-separator {
    background: #334155;
}

.nl-template-midnight .nl-block-size-label {
    color: #94a3b8;
}

.nl-template-midnight .nl-dialog-input,
.nl-template-midnight input[type="text"] {
    background: #1e293b;
    border-color: #475569;
    color: #e2e8f0;
}

.nl-template-midnight .nl-dialog-input:focus,
.nl-template-midnight input[type="text"]:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}

/* -- Ocean editor -- */
.nl-template-ocean .newsletterElementRow {
    background: #064e3b;
    border-color: #065f46;
}

.nl-template-ocean .newsletterElementRow:hover {
    border-color: #047857;
    box-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.nl-template-ocean .nl-block-toolbar {
    background: #042f2e;
    border-bottom-color: #065f46;
}

.nl-template-ocean .nl-block-tbtn {
    color: #6ee7b7;
}

.nl-template-ocean .nl-block-tbtn:hover {
    background: #065f46;
    color: #a7f3d0;
}

.nl-template-ocean .nl-block-tbtn-danger:hover {
    background: #450a0a;
    color: #fca5a5;
}

.nl-template-ocean .nl-block-separator {
    background: #065f46;
}

.nl-template-ocean .nl-block-size-label {
    color: #6ee7b7;
}

.nl-template-ocean .nl-dialog-input,
.nl-template-ocean input[type="text"] {
    background: #064e3b;
    border-color: #047857;
    color: #a7f3d0;
}

.nl-template-ocean .nl-dialog-input:focus,
.nl-template-ocean input[type="text"]:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20,184,166,0.15);
}

/* -- Sunset editor -- */
.nl-template-sunset .newsletterElementRow {
    background: #2e1065;
    border-color: #3b0764;
}

.nl-template-sunset .newsletterElementRow:hover {
    border-color: #6b21a8;
    box-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.nl-template-sunset .nl-block-toolbar {
    background: #1c1033;
    border-bottom-color: #3b0764;
}

.nl-template-sunset .nl-block-tbtn {
    color: #c4b5fd;
}

.nl-template-sunset .nl-block-tbtn:hover {
    background: #3b0764;
    color: #e9d5ff;
}

.nl-template-sunset .nl-block-tbtn-danger:hover {
    background: #450a0a;
    color: #fca5a5;
}

.nl-template-sunset .nl-block-separator {
    background: #3b0764;
}

.nl-template-sunset .nl-block-size-label {
    color: #c4b5fd;
}

.nl-template-sunset .nl-dialog-input,
.nl-template-sunset input[type="text"] {
    background: #2e1065;
    border-color: #6b21a8;
    color: #e9d5ff;
}

.nl-template-sunset .nl-dialog-input:focus,
.nl-template-sunset input[type="text"]:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
}

/* -- Sport editor -- */
.nl-template-sport .newsletterElementRow {
    background: #1f2937;
    border-color: #374151;
}

.nl-template-sport .newsletterElementRow:hover {
    border-color: #4b5563;
    box-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.nl-template-sport .nl-block-toolbar {
    background: #111827;
    border-bottom-color: #374151;
}

.nl-template-sport .nl-block-tbtn {
    color: #9ca3af;
}

.nl-template-sport .nl-block-tbtn:hover {
    background: #374151;
    color: #e5e7eb;
}

.nl-template-sport .nl-block-tbtn-danger:hover {
    background: #450a0a;
    color: #fca5a5;
}

.nl-template-sport .nl-block-separator {
    background: #374151;
}

.nl-template-sport .nl-block-size-label {
    color: #9ca3af;
}

.nl-template-sport .nl-dialog-input,
.nl-template-sport input[type="text"] {
    background: #1f2937;
    border-color: #4b5563;
    color: #e5e7eb;
}

.nl-template-sport .nl-dialog-input:focus,
.nl-template-sport input[type="text"]:focus {
    border-color: #FBC530;
    box-shadow: 0 0 0 3px rgba(251,197,48,0.15);
}

/* -- Dark template: editor content area background -- */
/* These use :has() to style the parent .nl-editor-content-area
   based on the dark template class on .newsletterArea inside it. */
.nl-editor-content-area:has(.nl-template-midnight) {
    background: #0b1120;
}

.nl-editor-content-area:has(.nl-template-ocean) {
    background: #022c22;
}

.nl-editor-content-area:has(.nl-template-sunset) {
    background: #150d26;
}

.nl-editor-content-area:has(.nl-template-sport) {
    background: #0d1117;
}

/* -- Dark template: drop areas -- */
.nl-template-midnight .newsLetterDropArea,
.nl-template-ocean .newsLetterDropArea,
.nl-template-sunset .newsLetterDropArea,
.nl-template-sport .newsLetterDropArea {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.25);
}

.nl-template-midnight .newsLetterDropArea.drag-enter,
.nl-template-ocean .newsLetterDropArea.drag-enter,
.nl-template-sunset .newsLetterDropArea.drag-enter,
.nl-template-sport .newsLetterDropArea.drag-enter {
    border-color: rgba(255,255,255,0.4) !important;
    background: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.6);
}

/* -- Dark template: text selection actions -- */
.nl-template-midnight .nl-block-text-actions .nl-block-tbtn {
    color: #38bdf8;
}

.nl-template-midnight .nl-block-text-actions .nl-block-tbtn:hover {
    background: rgba(56,189,248,0.1);
    color: #7dd3fc;
}

.nl-template-ocean .nl-block-text-actions .nl-block-tbtn {
    color: #2dd4bf;
}

.nl-template-ocean .nl-block-text-actions .nl-block-tbtn:hover {
    background: rgba(45,212,191,0.1);
    color: #5eead4;
}

.nl-template-sunset .nl-block-text-actions .nl-block-tbtn {
    color: #c084fc;
}

.nl-template-sunset .nl-block-text-actions .nl-block-tbtn:hover {
    background: rgba(192,132,252,0.1);
    color: #e9d5ff;
}

.nl-template-sport .nl-block-text-actions .nl-block-tbtn {
    color: #FBC530;
}

.nl-template-sport .nl-block-text-actions .nl-block-tbtn:hover {
    background: rgba(251,197,48,0.1);
    color: #fbbf24;
}

/* -- Dark template: styled span hover in editor -- */
.nl-template-midnight .newsLetterStandardText span[style].nl-span-hover,
.nl-template-midnight .newsletterQuote span[style].nl-span-hover,
.nl-template-midnight .newsletterButton span[style].nl-span-hover {
    background-color: rgba(56,189,248,0.15) !important;
    outline-color: #38bdf8;
}

.nl-template-ocean .newsLetterStandardText span[style].nl-span-hover,
.nl-template-ocean .newsletterQuote span[style].nl-span-hover,
.nl-template-ocean .newsletterButton span[style].nl-span-hover {
    background-color: rgba(20,184,166,0.15) !important;
    outline-color: #14b8a6;
}

.nl-template-sunset .newsLetterStandardText span[style].nl-span-hover,
.nl-template-sunset .newsletterQuote span[style].nl-span-hover,
.nl-template-sunset .newsletterButton span[style].nl-span-hover {
    background-color: rgba(168,85,247,0.15) !important;
    outline-color: #a855f7;
}

.nl-template-sport .newsLetterStandardText span[style].nl-span-hover,
.nl-template-sport .newsletterQuote span[style].nl-span-hover,
.nl-template-sport .newsletterButton span[style].nl-span-hover {
    background-color: rgba(251,197,48,0.15) !important;
    outline-color: #FBC530;
}

/* -- Dark template: spacer pattern -- */
.nl-template-midnight .newsletterSpacer,
.nl-template-ocean .newsletterSpacer,
.nl-template-sunset .newsletterSpacer,
.nl-template-sport .newsletterSpacer {
    background: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255,255,255,0.04) 5px, rgba(255,255,255,0.04) 10px);
}


/* ─── Template Selector Preview Swatches ─── */
/* Used in the editor sidebar template picker */

.nl-template-swatch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    border: 2px solid transparent;
}

.nl-template-swatch:hover {
    background: #f3f4f6;
}

.nl-template-swatch.nl-template-active {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
    font-weight: 600;
}

.nl-template-swatch-colors {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.nl-template-swatch-dot {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 768px) {
    .newsletterArea.nl-template-midnight,
    .newsletterArea.nl-template-ocean,
    .newsletterArea.nl-template-forest,
    .newsletterArea.nl-template-sunset,
    .newsletterArea.nl-template-minimal,
    .newsletterArea.nl-template-sport,
    .newsletterArea.nl-template-executive {
        padding: 24px 16px;
    }
}
