/* Weekly Events Digest subscribe form */
.kvltx-subscribe-wrap { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif; position: relative; z-index: 5; max-width: 1400px; margin-left: auto; margin-right: auto; }
.kvltx-subscribe-wrap * { box-sizing: border-box; }

.kvltx-sf { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 0; overflow: visible; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.kvltx-sf-top { display: flex; align-items: center; gap: 20px; padding: 20px 24px; flex-wrap: wrap; }
.kvltx-sf-icon { width: 40px; height: 40px; background: #1a3c6e; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kvltx-sf-icon svg { width: 20px; height: 20px; color: #c9a84c; }
.kvltx-sf-info { flex: 1; min-width: 160px; }
.kvltx-sf-info h3 { margin: 0 0 2px; font-size: 16px; font-weight: 700; color: #111827; }
.kvltx-sf-info p { margin: 0; font-size: 13px; color: #6b7280; }
.kvltx-sf-fields { display: flex; gap: 8px; align-items: center; flex: 1; min-width: 280px; }
.kvltx-sf-fields input[type="text"],
.kvltx-sf-fields input[type="email"] { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; background: #f9fafb; color: #111827; transition: border-color .15s, background .15s; margin: 0 !important; }
.kvltx-sf-fields input:focus { outline: none; border-color: #1a3c6e; box-shadow: 0 0 0 2px rgba(26,60,110,.12); background: #fff; }
.kvltx-sf-fields button { white-space: nowrap; height: 42px; padding: 0 24px; background: #1a3c6e; color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; }
.kvltx-sf-fields button:hover { background: #0f2847; }
.kvltx-sf-fields button:disabled { opacity: .6; cursor: not-allowed; }

.kvltx-sf-cats { position: relative; margin: 0; padding: 12px 24px 16px; border: 0; border-top: 1px solid #f3f4f6; background: #f9fafb; border-radius: 0 0 16px 16px; min-width: 0; }
.kvltx-sf-cats legend { display: none; }
.kvltx-sf-multi { position: relative; }
.kvltx-sf-multi-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 9px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; color: #374151; cursor: pointer; transition: border-color .15s, box-shadow .15s; min-height: 42px; }
.kvltx-sf-multi-btn:hover, .kvltx-sf-multi-btn.open { border-color: #1a3c6e; box-shadow: 0 0 0 2px rgba(26,60,110,.1); }
.kvltx-sf-multi-btn svg { width: 16px; height: 16px; color: #9ca3af; transition: transform .2s; flex-shrink: 0; }
.kvltx-sf-multi-btn.open svg { transform: rotate(180deg); }
.kvltx-sf-multi-tags { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; min-width: 0; }
.kvltx-sf-tag { display: inline-flex; align-items: center; gap: 3px; padding: 3px 10px; background: #1a3c6e; color: #fff; border-radius: 14px; font-size: 11px; font-weight: 600; line-height: 1.3; }
.kvltx-sf-tag-x { cursor: pointer; font-size: 14px; line-height: 1; opacity: .7; margin-left: 2px; }
.kvltx-sf-tag-x:hover { opacity: 1; }
.kvltx-sf-placeholder { color: #9ca3af; font-size: 13px; }

.kvltx-sf-dropdown { display: none; position: absolute; bottom: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 -8px 30px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06); z-index: 9999; max-height: 260px; overflow: hidden; }
.kvltx-sf-dropdown.open { display: block; }
.kvltx-sf-dropdown-head { display: flex; align-items: center; gap: 0; border-bottom: 1px solid #f3f4f6; }
.kvltx-sf-search { flex: 1; padding: 11px 14px; border: none; font-size: 13px; outline: none; color: #111827; background: #fff; border-radius: 12px 0 0 0; }
.kvltx-sf-search::placeholder { color: #a8a29e; }
.kvltx-sf-select-all { white-space: nowrap; padding: 8px 14px; background: none; border: none; border-left: 1px solid #f3f4f6; font-size: 12px; font-weight: 600; color: #1a3c6e; cursor: pointer; }
.kvltx-sf-opts { overflow-y: auto; max-height: 206px; padding: 4px 0; }
.kvltx-sf-opt { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 13px; color: #374151; cursor: pointer; transition: background .1s; }
.kvltx-sf-opt:hover { background: #f3f4f6; }
.kvltx-sf-opt.selected { color: #1a3c6e; font-weight: 600; }
.kvltx-sf-opt-check { width: 18px; height: 18px; border: 2px solid #d1d5db; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .15s; }
.kvltx-sf-opt.selected .kvltx-sf-opt-check { background: #1a3c6e; border-color: #1a3c6e; }
.kvltx-sf-opt.selected .kvltx-sf-opt-check::after { content: ''; display: block; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); }

.kvltx-sf-msg { margin: 12px 24px 16px; padding: 10px 14px; border-radius: 8px; font-size: 13px; display: none; }
.kvltx-sf-msg.success { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.kvltx-sf-msg.error { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

@media (max-width: 640px) {
	.kvltx-sf-top { flex-direction: column; align-items: stretch; padding: 16px 18px; }
	.kvltx-sf-fields { flex-direction: column; }
	.kvltx-sf-fields input, .kvltx-sf-fields button { width: 100%; }
	.kvltx-sf-cats { padding: 12px 18px 16px; }
	.kvltx-sf-msg { margin: 12px 18px 16px; }
}
