/* Reset Elementor global heading overrides */
.vf-wrap h1, .vf-wrap h2, .vf-wrap h3, .vf-wrap h4, .vf-wrap h5, .vf-wrap h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    margin: 0 !important;
}
.vf-wrap *, .vf-wrap *::before, .vf-wrap *::after {
    box-sizing: border-box !important;
}

/* Voice Chk — Clean, minimal UI */

/* Reset Elementor global heading overrides inside plugin */
.vf-wrap h1,
.vf-wrap h2,
.vf-wrap h3,
.vf-wrap h4,
.vf-wrap h5,
.vf-wrap h6 {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	color: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	margin: 0 !important;
}

.vf-wrap *,
.vf-wrap *::before,
.vf-wrap *::after {
	box-sizing: border-box !important;
}

:root {
	--vf-accent: #6366f1 !important;
	--vf-accent-light: #f8f7ff !important;
	--vf-bg: #ffffff !important;
	--vf-text: #1e293b !important;
	--vf-btn-text: #ffffff !important;
	--vf-title-color: #0f172a !important;
	--vf-radius: 10px !important;
}

.vf-wrap {
	max-width: 700px !important;
	margin: 0 auto !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	background: var(--vf-bg) !important;
}
.vf-header {
	text-align: center !important;
	margin-bottom: 24px !important;
}
.vf-title {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: var(--vf-title-color) !important;
	margin: 0 0 4px !important;
}
.vf-subtitle {
	font-size: 14px !important;
	color: #64748b !important;
	margin: 0 !important;
}

/* Voice cards grid */
.vf-voices {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
	gap: 10px !important;
	margin-bottom: 24px !important;
}

.vf-voice-card {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 4px !important;
	padding: 14px 10px !important;
	background: #fff !important;
	border: 2px solid #e2e8f0 !important;
	border-radius: var(--vf-radius) !important;
	cursor: pointer !important;
	transition: all 0.15s !important;
	text-align: center !important;
	position: relative !important;
	font-family: inherit !important;
	font-size: inherit !important;
	color: inherit !important;
}
.vf-voice-card:hover {
	border-color: var(--vf-accent) !important;
	background: var(--vf-accent-light) !important;
}
.vf-voice-card--selected {
	border-color: var(--vf-accent) !important;
	background: #eef2ff !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

.vf-voice-card__avatar {
	width: 48px !important;
	height: 48px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
}
.vf-voice-card__name {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #0f172a !important;
}
.vf-voice-card__style {
	font-size: 11px !important;
	color: #64748b !important;
}

.vf-voice-card__play {
	position: absolute !important;
	top: 6px !important;
	right: 8px !important;
	font-size: 12px !important;
	color: #94a3b8 !important;
	background: #f1f5f9 !important;
	border-radius: 50% !important;
	width: 22px !important;
	height: 22px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.15s !important;
}
.vf-voice-card__play:hover {
	background: #6366f1 !important;
	color: #fff !important;
}

/* Text input */
.vf-input-section {
	margin-bottom: 20px !important;
}
.vf-label-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin-bottom: 6px !important;
}
.vf-label {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #334155 !important;
}
.vf-btn-insert-pause {
	background: #f1f5f9 !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 6px !important;
	padding: 4px 10px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: var(--vf-accent) !important;
	cursor: pointer !important;
	transition: all 0.15s !important;
	font-family: inherit !important;
}
.vf-btn-insert-pause:hover {
	background: #eef2ff !important;
	border-color: var(--vf-accent) !important;
}
.vf-textarea {
	width: 100% !important;
	padding: 12px 14px !important;
	border: 1.5px solid #d1d5db !important;
	border-radius: var(--vf-radius) !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
	resize: vertical !important;
	font-family: inherit !important;
	transition: border-color 0.15s !important;
	box-sizing: border-box !important;
}
.vf-textarea:focus {
	outline: none !important;
	border-color: var(--vf-accent) !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}
.vf-char-count {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 6px !important;
	font-size: 12px !important;
	color: #94a3b8 !important;
	margin-top: 4px !important;
}

.vf-pause-help-btn {
	background: none !important;
	border: none !important;
	cursor: pointer !important;
	font-size: 14px !important;
	line-height: 1 !important;
	opacity: 0.5 !important;
	transition: opacity 0.15s !important;
	padding: 0 !important;
}
.vf-pause-help-btn:hover {
	opacity: 1 !important;
}

.vf-pause-help {
	background: #fff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 10px !important;
	padding: 16px !important;
	margin-top: 8px !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}
.vf-pause-help__header {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin-bottom: 10px !important;
}
.vf-pause-help__header strong {
	font-size: 14px !important;
	color: #0f172a !important;
}
.vf-pause-help__close {
	background: none !important;
	border: none !important;
	font-size: 20px !important;
	cursor: pointer !important;
	color: #94a3b8 !important;
	line-height: 1 !important;
	padding: 0 !important;
}
.vf-pause-help__close:hover {
	color: #0f172a !important;
}
.vf-pause-help__table {
	width: 100% !important;
	border-collapse: collapse !important;
	font-size: 13px !important;
}
.vf-pause-help__table td {
	padding: 5px 10px !important;
	border-bottom: 1px solid #f1f5f9 !important;
}
.vf-pause-help__table td:first-child {
	font-weight: 600 !important;
	width: 50px !important;
	text-align: center !important;
}
.vf-pause-help__table td:last-child {
	text-align: right !important;
	color: #6366f1 !important;
	font-weight: 600 !important;
}
.vf-pause-help__tip {
	font-size: 12px !important;
	color: #94a3b8 !important;
	margin: 10px 0 0 !important;
	font-style: italic !important;
}

/* Format selector */
.vf-format-row {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	margin-bottom: 16px !important;
}
.vf-select {
	padding: 8px 12px !important;
	border: 1.5px solid #d1d5db !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-family: inherit !important;
	background: #fff !important;
	cursor: pointer !important;
	transition: border-color 0.15s !important;
}
.vf-select:focus {
	outline: none !important;
	border-color: var(--vf-accent) !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

/* Buttons */
.vf-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 12px 24px !important;
	border-radius: 8px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.15s !important;
	font-family: inherit !important;
}
.vf-btn:disabled {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
}
.vf-btn--primary {
	background: var(--vf-accent) !important;
	color: var(--vf-btn-text) !important;
}
.vf-btn--primary:hover:not(:disabled) {
	background: var(--vf-accent) !important;
	filter: brightness(0.9) !important;
}
.vf-btn--download {
	background: #059669 !important;
	color: #fff !important;
	text-decoration: none !important;
}
.vf-btn--download:hover {
	background: #047857 !important;
	color: #fff !important;
}

.vf-actions {
	margin-bottom: 20px !important;
	text-align: center !important;
}

/* Result */
.vf-result {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 16px !important;
	background: #f0fdf4 !important;
	border: 1px solid #bbf7d0 !important;
	border-radius: var(--vf-radius) !important;
	margin-bottom: 16px !important;
}
.vf-player {
	flex: 1 !important;
	height: 40px !important;
}

/* Status */
.vf-status {
	padding: 12px 16px !important;
	border-radius: var(--vf-radius) !important;
	font-size: 14px !important;
	margin-top: 12px !important;
}
.vf-status--loading {
	background: #eff6ff !important;
	color: #1d4ed8 !important;
}
.vf-status--error {
	background: #fef2f2 !important;
	color: #dc2626 !important;
}
.vf-status--success {
	background: #f0fdf4 !important;
	color: #16a34a !important;
}

/* Terms & Conditions */
.vf-terms {
	background: var(--vf-accent-light) !important;
	border: 1px solid #e0e7ff !important;
	border-radius: var(--vf-radius) !important;
	padding: 14px 16px !important;
	margin-bottom: 16px !important;
}
.vf-terms__switch {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	cursor: pointer !important;
	user-select: none !important;
}
.vf-terms__switch input[type='checkbox'] {
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	position: absolute !important;
}
.vf-terms__slider {
	position: relative !important;
	width: 44px !important;
	height: 24px !important;
	background: #cbd5e1 !important;
	border-radius: 12px !important;
	transition: background 0.2s !important;
	flex-shrink: 0 !important;
}
.vf-terms__slider::after {
	content: '' !important;
	position: absolute !important;
	top: 3px !important;
	left: 3px !important;
	width: 18px !important;
	height: 18px !important;
	background: #fff !important;
	border-radius: 50% !important;
	transition: transform 0.2s !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}
.vf-terms__switch input:checked + .vf-terms__slider {
	background: var(--vf-accent) !important;
}
.vf-terms__switch input:checked + .vf-terms__slider::after {
	transform: translateX(20px) !important;
}
.vf-terms__switch input:focus-visible + .vf-terms__slider {
	outline: 2px solid var(--vf-accent) !important;
	outline-offset: 2px !important;
}
.vf-terms__label {
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	color: var(--vf-text) !important;
}
.vf-terms__required {
	color: var(--vf-accent) !important;
	font-weight: 700 !important;
	margin-left: 2px !important;
}
.vf-terms__toggle {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	margin-top: 8px !important;
	background: none !important;
	border: none !important;
	color: var(--vf-accent) !important;
	font-size: 0.85rem !important;
	cursor: pointer !important;
	text-decoration: underline !important;
	padding: 0 !important;
	font-family: inherit !important;
}
.vf-terms__toggle:hover {
	opacity: 0.8 !important;
}
.vf-terms__text {
	background: #fff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	padding: 14px 16px !important;
	margin-top: 10px !important;
	font-size: 0.82rem !important;
	line-height: 1.6 !important;
	color: #475569 !important;
	max-height: 280px !important;
	overflow-y: auto !important;
	white-space: pre-wrap !important;
}
.vf-terms__text a {
	color: var(--vf-accent) !important;
}

/* Sales Pitch */
.vf-pitch {
	background: #f8f7ff !important;
	border: 1px solid #e0e7ff !important;
	border-radius: 10px !important;
	padding: 20px !important;
	margin-top: 16px !important;
	text-align: center !important;
}
.vf-pitch__heading {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 0 0 8px !important;
}
.vf-pitch__text {
	font-size: 14px !important;
	color: #475569 !important;
	margin: 0 0 12px !important;
}
.vf-pitch__contact {
	font-size: 13px !important;
	color: #64748b !important;
	margin: 0 0 16px !important;
}
.vf-pitch__contact a {
	color: #6366f1 !important;
	text-decoration: none !important;
}
.vf-pitch__cta {
	display: inline-block !important;
	padding: 10px 24px !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	font-size: 0.88rem !important;
	text-decoration: none !important;
}

/* Sales Pitch Popup */
.vf-pitch-popup-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: rgba(0, 0, 0, 0.5) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 99999 !important;
}
.vf-pitch-popup-box {
	position: relative !important;
	border-radius: 12px !important;
	padding: 32px !important;
	max-width: 480px !important;
	width: 90% !important;
	text-align: center !important;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}
.vf-pitch-popup-close {
	position: absolute !important;
	top: 10px !important;
	right: 14px !important;
	background: none !important;
	border: none !important;
	font-size: 24px !important;
	cursor: pointer !important;
	color: #94a3b8 !important;
	line-height: 1 !important;
}
.vf-pitch-popup-close:hover {
	color: #0f172a !important;
}

/* Usage Wall */
.vf-usage-wall {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: rgba(0, 0, 0, 0.5) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 9999 !important;
}
.vf-usage-wall__box {
	background: #fff !important;
	border-radius: 12px !important;
	padding: 32px !important;
	max-width: 400px !important;
	width: 90% !important;
	text-align: center !important;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important;
}
.vf-usage-wall__heading {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 0 0 8px !important;
}
.vf-usage-wall__text {
	font-size: 14px !important;
	color: #64748b !important;
	margin: 0 0 20px !important;
}
.vf-usage-wall__input {
	width: 100% !important;
	padding: 12px 14px !important;
	border: 1.5px solid #d1d5db !important;
	border-radius: 8px !important;
	font-size: 15px !important;
	font-family: inherit !important;
	box-sizing: border-box !important;
	margin-bottom: 8px !important;
	transition: border-color 0.15s !important;
}
.vf-usage-wall__input:focus {
	outline: none !important;
	border-color: #6366f1 !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}
.vf-usage-wall__status {
	font-size: 13px !important;
	margin: 0 0 12px !important;
	min-height: 18px !important;
}
.vf-usage-wall .vf-btn {
	width: 100% !important;
}
.vf-usage-wall a {
	cursor: pointer !important;
	pointer-events: auto !important;
	position: relative !important;
	z-index: 10 !important;
	display: inline-block !important;
	padding: 8px !important;
}

/* Responsive */
@media (max-width: 600px) {
	.vf-voices {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.vf-result {
		flex-direction: column !important;
	}
	.vf-player {
		width: 100% !important;
	}
}
