/* Public CSS for Voice Widgets */

:root {
	--delovore-front-primary: #0B3D91;
	--delovore-front-secondary: #38BDF8;
	--delovore-front-bg: #FFFFFF;
	--delovore-front-text: #333333;
	--delovore-front-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--delovore-mic-size: 24px;
}

/* Helper Display Utilities */
.delovore-d-none {
	display: none;
}

/* Standalone Widget Container */
.delovore-widget-container {
	position: relative;
	display: inline-block;
	margin: 10px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Floating Widget Container */
.delovore-widget-floating {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
}

/* Primary Recording Layout */
.delovore-record-main {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Microphone Button */
.delovore-mic-btn {
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
	color: #ffffff;
	border: none;
	border-radius: 14px;
	width: calc(var(--delovore-mic-size) * 2);
	height: calc(var(--delovore-mic-size) * 2);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	outline: none;
	padding: 0;
	flex-shrink: 0;
}

.delovore-mic-btn:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 8px 20px rgba(2, 132, 199, 0.45);
	background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}

.delovore-mic-btn svg {
	width: var(--delovore-mic-size);
	height: var(--delovore-mic-size);
	fill: currentColor;
}

/* Mic Button Wrapper with Tooltip */
.delovore-mic-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Tooltip Styling for .delovore-status-label */
.delovore-status-label {
	position: absolute;
	bottom: calc(100% + 12px);
	left: 50%;
	transform: translate(-50%, 6px);
	background: #0F172A;
	color: #FFFFFF;
	padding: 5px 12px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	pointer-events: none;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
	z-index: 30;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0;
	visibility: hidden;
	letter-spacing: 0.3px;
}

/* Tooltip Arrow */
.delovore-status-label::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-width: 5px 5px 0 5px;
	border-style: solid;
	border-color: #0F172A transparent transparent transparent;
	transition: border-color 0.2s ease;
}

/* Hover & Focus effect on mic button reveals tooltip */
.delovore-mic-wrapper:hover .delovore-status-label,
.delovore-mic-btn:focus ~ .delovore-status-label {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translate(-50%, -2px) !important;
	background: var(--delovore-front-primary);
}

.delovore-mic-wrapper:hover .delovore-status-label::after,
.delovore-mic-btn:focus ~ .delovore-status-label::after {
	border-color: var(--delovore-front-primary) transparent transparent transparent;
}

/* Recording State Tooltip */
.delovore-is-recording + .delovore-status-label,
.delovore-mic-wrapper.delovore-is-recording-wrapper .delovore-status-label {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translate(-50%, -2px) !important;
	background: #ef4444 !important;
	color: #ffffff !important;
}

.delovore-is-recording + .delovore-status-label::after {
	border-color: #ef4444 transparent transparent transparent !important;
}

.delovore-recording-status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--delovore-front-text);
}

.delovore-timer {
	display: none;
	background: #fee2e2;
	color: #dc2626;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 12px;
	letter-spacing: 0.5px;
	animation: delovore-fade-in 0.3s ease;
}

/* Waveform Canvas Wrapper */
.delovore-wave-wrap {
	display: none;
	margin-top: 10px;
	padding: 8px 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	justify-content: center;
	align-items: center;
}

.delovore-wave-canvas {
	max-width: 100%;
	height: auto;
}

/* Audio Preview Check Card */
.delovore-preview-card {
	display: none;
	margin-top: 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 16px;
	box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -4px rgba(0,0,0,0.03);
	width: 320px;
	max-width: 100%;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.delovore-preview-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.delovore-preview-title {
	font-weight: 600;
	font-size: 13px;
	color: #1e293b;
}

.delovore-main-preview-toggle-btn {
	display: none;
	background: #f1f5f9;
	color: #0B3D91;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none;
}

.delovore-main-preview-toggle-btn:hover {
	background: #e2e8f0;
	color: #38BDF8;
}

.delovore-preview-header-meta {
	display: flex;
	align-items: center;
	gap: 8px;
}

.delovore-preview-toggle-btn {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	color: #64748b;
	border-radius: 50%;
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.delovore-preview-toggle-btn:hover {
	background: #e2e8f0;
	color: #0B3D91;
}

.delovore-preview-toggle-btn.delovore-collapsed {
	transform: rotate(180deg);
}

.delovore-preview-duration {
	font-size: 12px;
	color: #64748b;
	font-weight: 600;
}

.delovore-preview-waveform-box {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f1f5f9;
	padding: 10px;
	border-radius: 12px;
	margin-bottom: 12px;
}

.delovore-preview-play-btn {
	background: var(--delovore-front-primary);
	color: #ffffff;
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
	flex-shrink: 0;
	padding: 0;
}

.delovore-preview-play-btn:hover {
	background: var(--delovore-front-secondary);
	transform: scale(1.08);
}

.delovore-preview-play-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.delovore-preview-wave-canvas {
	flex-grow: 1;
	height: 40px;
}

/* Transcript Section */
.delovore-transcript-box {
	margin-bottom: 12px;
}

.delovore-transcript-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.delovore-transcript-input {
	width: 100%;
	font-size: 13px;
	line-height: 1.4;
	color: #334155;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 8px 10px;
	resize: vertical;
	box-sizing: border-box;
}

.delovore-transcript-input:focus {
	outline: none;
	border-color: var(--delovore-front-secondary);
	background: #ffffff;
}

/* Preview Actions */
.delovore-preview-actions {
	display: flex;
	gap: 10px;
}

.delovore-btn-rerecord,
.delovore-btn-save {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none;
}

.delovore-btn-rerecord {
	background: #f1f5f9;
	color: #475569;
	border: 1px solid #cbd5e1;
}

.delovore-btn-rerecord:hover {
	background: #e2e8f0;
	color: #1e293b;
}

.delovore-btn-save {
	background: var(--delovore-front-primary);
	color: #ffffff;
	border: 1px solid transparent;
}

.delovore-btn-save:hover {
	background: var(--delovore-front-secondary);
}

.delovore-btn-save:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Attached Input Container */
.delovore-input-wrapper {
	position: relative !important;
	display: inline-block !important;
	width: 100% !important;
}

.delovore-input-wrapper input,
.delovore-input-wrapper textarea {
	padding-right: 42px !important;
	box-sizing: border-box !important;
}

.delovore-input-wrapper.delovore-has-audio-url input,
.delovore-input-wrapper.delovore-has-audio-url textarea {
	padding-right: 110px !important;
}

/* Universal Floating Tooltip System for Attached Controls */
.delovore-attached-controls [data-tooltip] {
	position: relative !important;
}

.delovore-attached-controls [data-tooltip]::before {
	content: attr(data-tooltip);
	position: absolute !important;
	bottom: calc(100% + 8px) !important;
	left: 50% !important;
	transform: translateX(-50%) translateY(4px) !important;
	background: #0f172a !important;
	color: #ffffff !important;
	padding: 5px 10px !important;
	border-radius: 8px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	white-space: nowrap !important;
	pointer-events: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s !important;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3), 0 8px 10px -6px rgba(15, 23, 42, 0.2) !important;
	z-index: 99999 !important;
	letter-spacing: 0.3px !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	line-height: 1.2 !important;
	backdrop-filter: blur(8px) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.delovore-attached-controls [data-tooltip]::after {
	content: '' !important;
	position: absolute !important;
	bottom: calc(100% + 3px) !important;
	left: 50% !important;
	transform: translateX(-50%) translateY(4px) !important;
	border-width: 5px 5px 0 5px !important;
	border-style: solid !important;
	border-color: #0f172a transparent transparent transparent !important;
	pointer-events: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s !important;
	z-index: 99999 !important;
}

.delovore-attached-controls [data-tooltip]:hover::before,
.delovore-attached-controls [data-tooltip]:hover::after {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateX(-50%) translateY(0) !important;
}

/* Previous Classic Design Overrides */
.delovore-attached-controls.delovore-design-classic {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	padding: 0 !important;
}

.delovore-attached-controls.delovore-design-classic .delovore-input-attached-btn {
	background: transparent !important;
	color: var(--delovore-front-primary, #0B3D91) !important;
	box-shadow: none !important;
	border: none !important;
}

.delovore-attached-controls.delovore-design-classic .delovore-input-attached-btn:hover {
	color: var(--delovore-front-secondary, #38BDF8) !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Modern 2026 Design CSS for Attached Controls Bar */
.delovore-attached-controls {
	position: absolute !important;
	right: 6px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	z-index: 10 !important;
	margin: 0 !important;
	padding: 3px 6px !important;
	background: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	border: 1px solid rgba(226, 232, 240, 0.8) !important;
	border-radius: 20px !important;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.delovore-input-wrapper textarea ~ .delovore-attached-controls,
.delovore-input-wrapper textarea + .delovore-attached-controls {
	top: 10px !important;
	transform: none !important;
}

/* Modern Attached Mic Button */
.delovore-input-attached-btn {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	transform: none !important;
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
	border: none !important;
	color: #ffffff !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	z-index: 10 !important;
	border-radius: 9px !important;
	width: 28px !important;
	height: 28px !important;
	min-width: 28px !important;
	min-height: 28px !important;
	outline: none !important;
	box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35) !important;
	visibility: visible !important;
	opacity: 1 !important;
	line-height: 1 !important;
	overflow: visible !important;
	flex-shrink: 0 !important;
}

.delovore-input-attached-btn:hover {
	color: #ffffff !important;
	background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important;
	transform: translateY(-1px) scale(1.08) !important;
	box-shadow: 0 5px 14px rgba(2, 132, 199, 0.45) !important;
}

.delovore-input-wrapper > .delovore-input-attached-btn {
	position: absolute !important;
	right: 8px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

.delovore-input-wrapper textarea + .delovore-input-attached-btn {
	top: 12px !important;
	transform: none !important;
}

.delovore-input-attached-btn.delovore-is-recording {
	background: linear-gradient(135deg, #dc2626, #ef4444) !important;
	color: #ffffff !important;
	box-shadow: 0 0 14px rgba(239, 68, 68, 0.6) !important;
	animation: delovore-pulse-red 1.2s infinite ease-in-out !important;
}

/* Modern Attached Audio Controls & Preview Bar */
.delovore-attached-audio-preview {
	display: none !important;
	align-items: center !important;
	gap: 5px !important;
	background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
	padding: 3px 8px !important;
	border-radius: 16px !important;
	border: 1px solid #cbd5e1 !important;
	box-shadow: inset 0 1px 2px rgba(255,255,255,0.8), 0 2px 4px rgba(0,0,0,0.03) !important;
	animation: delovore-fade-in 0.25s ease !important;
}

.delovore-attached-audio-preview.delovore-is-visible {
	display: inline-flex !important;
}

.delovore-attached-play-btn {
	background: linear-gradient(135deg, #0284c7, #0369a1) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 50% !important;
	width: 22px !important;
	height: 22px !important;
	min-width: 22px !important;
	min-height: 22px !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	font-size: 10px !important;
	line-height: 1 !important;
	box-shadow: 0 2px 5px rgba(2, 132, 199, 0.3) !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.delovore-attached-play-btn:hover {
	background: linear-gradient(135deg, #0369a1, #0f172a) !important;
	transform: scale(1.12) !important;
	box-shadow: 0 4px 10px rgba(3, 105, 161, 0.4) !important;
}

.delovore-attached-reset-btn {
	display: none !important;
	background: linear-gradient(135deg, #fee2e2, #fecaca) !important;
	color: #b91c1c !important;
	border: 1px solid #fca5a5 !important;
	border-radius: 50% !important;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	min-height: 24px !important;
	padding: 0 !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	font-size: 12px !important;
	line-height: 1 !important;
	font-weight: bold !important;
	box-shadow: 0 2px 5px rgba(220, 38, 38, 0.15) !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.delovore-attached-reset-btn.delovore-is-visible {
	display: inline-flex !important;
}

.delovore-attached-reset-btn:hover {
	background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
	color: #ffffff !important;
	border-color: #b91c1c !important;
	transform: scale(1.12) !important;
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4) !important;
}

.delovore-input-attached-btn svg {
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	min-height: 16px !important;
	max-width: 16px !important;
	max-height: 16px !important;
	fill: currentColor !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: none !important;
	transition: transform 0.2s ease !important;
}

.delovore-input-attached-btn svg path {
	fill: currentColor !important;
}

/* Recording State & Wave Animation Effect for Attached Input Button */
.delovore-input-attached-btn.delovore-is-recording {
	background-color: #ef4444 !important;
	color: #ffffff !important;
	animation: delovore-attached-pulse 1.4s infinite !important;
	border-radius: 50% !important;
}

.delovore-input-attached-btn.delovore-is-recording svg {
	fill: #ffffff !important;
	animation: delovore-attached-mic-bounce 1s infinite ease-in-out !important;
}

.delovore-input-attached-btn.delovore-is-recording svg path {
	fill: #ffffff !important;
}

@keyframes delovore-attached-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8) !important;
		transform: translateY(-50%) scale(1) !important;
	}
	50% {
		box-shadow: 0 0 0 8px rgba(239, 68, 68, 0) !important;
		transform: translateY(-50%) scale(1.12) !important;
	}
	100% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0) !important;
		transform: translateY(-50%) scale(1) !important;
	}
}

.delovore-input-wrapper textarea + .delovore-input-attached-btn.delovore-is-recording {
	animation: delovore-textarea-attached-pulse 1.4s infinite !important;
}

@keyframes delovore-textarea-attached-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8) !important;
		transform: scale(1) !important;
	}
	50% {
		box-shadow: 0 0 0 8px rgba(239, 68, 68, 0) !important;
		transform: scale(1.12) !important;
	}
	100% {
		box-shadow: 0 0 0 0 rgba(239, 68, 68, 0) !important;
		transform: scale(1) !important;
	}
}

@keyframes delovore-attached-mic-bounce {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.15);
	}
}

/* Notifications */
.delovore-save-notice {
	display: none;
	margin-top: 10px;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
}

.delovore-notice-success {
	background: #dcfce7;
	color: #15803d;
	border: 1px solid #bbf7d0;
}

.delovore-notice-error {
	background: #fee2e2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

/* Fallback Notice */
.delovore-fallback-msg {
	display: none;
	font-size: 12px;
	color: #ef4444;
	margin-top: 5px;
}
.delovore-no-support .delovore-fallback-msg {
	display: block;
}
.delovore-no-support .delovore-mic-btn,
.delovore-no-support .delovore-input-attached-btn,
.delovore-no-support .delovore-record-main {
	display: none;
}

@keyframes delovore-fade-in {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   5 MODERN WIDGET STYLES (STATE-OF-THE-ART DESIGN PRESETS)
   ========================================================================== */

/* --- Style 1: Modern Glassmorphic (Glass Prism Card) --- */
.delovore-standalone-widget.delovore-style-1 {
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(20px) saturate(190%);
	-webkit-backdrop-filter: blur(20px) saturate(190%);
	border: 1px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 20px 50px -10px rgba(14, 165, 233, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	border-radius: 24px;
	padding: 22px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.delovore-standalone-widget.delovore-style-1:hover {
	box-shadow: 0 25px 60px -10px rgba(14, 165, 233, 0.28), inset 0 1px 0 rgba(255, 255, 255, 1);
}
.delovore-standalone-widget.delovore-style-1 .delovore-mic-btn {
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
	color: #ffffff;
	box-shadow: 0 10px 25px -3px rgba(14, 165, 233, 0.45);
	width: 46px;
	height: 46px;
	border-radius: 50%;
}
.delovore-standalone-widget.delovore-style-1 .delovore-mic-btn:hover {
	transform: scale(1.1);
	box-shadow: 0 14px 30px -3px rgba(14, 165, 233, 0.65);
}
.delovore-standalone-widget.delovore-style-1 .delovore-status-label {
	background: #0f172a;
	color: #38bdf8;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.5px;
	border-radius: 20px;
	padding: 5px 12px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}
.delovore-standalone-widget.delovore-style-1 .delovore-status-label::after {
	border-top-color: #0f172a;
}
.delovore-standalone-widget.delovore-style-1 .delovore-preview-card {
	background: rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 18px;
}
.delovore-standalone-widget.delovore-style-1 .delovore-btn-save {
	background: linear-gradient(135deg, #0284c7, #0369a1);
	color: #ffffff;
	font-weight: 700;
	border-radius: 12px;
	box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

/* --- Style 2: Cyber Neon (Dark Cyberpunk Visualizer) --- */
.delovore-standalone-widget.delovore-style-2 {
	background: #030712;
	border: 1px solid rgba(56, 189, 248, 0.5);
	box-shadow: 0 0 35px -5px rgba(56, 189, 248, 0.3), inset 0 0 20px rgba(56, 189, 248, 0.05);
	border-radius: 24px;
	padding: 22px;
	color: #f8fafc;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.delovore-standalone-widget.delovore-style-2:hover {
	border-color: #00f0ff;
	box-shadow: 0 0 45px -5px rgba(0, 240, 255, 0.45);
}
.delovore-standalone-widget.delovore-style-2 .delovore-mic-btn {
	background: linear-gradient(135deg, #00f0ff 0%, #7000ff 50%, #ff007f 100%);
	color: #ffffff;
	box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
	width: 48px;
	height: 48px;
	border-radius: 50%;
}
.delovore-standalone-widget.delovore-style-2 .delovore-mic-btn:hover {
	transform: scale(1.12);
	box-shadow: 0 0 35px rgba(0, 240, 255, 0.95);
}
.delovore-standalone-widget.delovore-style-2 .delovore-status-label {
	background: #090d16;
	color: #00f0ff;
	border: 1px solid #00f0ff;
	box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
	font-family: monospace;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.5px;
	border-radius: 20px;
	padding: 5px 12px;
}
.delovore-standalone-widget.delovore-style-2 .delovore-status-label::after {
	border-top-color: #00f0ff;
}
.delovore-standalone-widget.delovore-style-2 .delovore-timer {
	background: rgba(0, 240, 255, 0.1);
	color: #00f0ff;
	border: 1px solid rgba(0, 240, 255, 0.4);
	text-shadow: 0 0 8px rgba(0, 240, 255, 0.8);
	font-family: monospace;
	font-size: 13px;
	font-weight: 700;
	border-radius: 20px;
	padding: 4px 12px;
}
.delovore-standalone-widget.delovore-style-2 .delovore-preview-card {
	background: #070c18;
	border: 1px solid #1e293b;
	color: #f8fafc;
	border-radius: 18px;
}
.delovore-standalone-widget.delovore-style-2 .delovore-preview-title,
.delovore-standalone-widget.delovore-style-2 .delovore-transcript-label {
	color: #00f0ff;
	font-weight: 700;
	text-shadow: 0 0 6px rgba(0, 240, 255, 0.5);
}
.delovore-standalone-widget.delovore-style-2 .delovore-preview-play-btn {
	background: linear-gradient(135deg, #00f0ff, #7000ff);
	color: #ffffff;
	box-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
}
.delovore-standalone-widget.delovore-style-2 .delovore-transcript-input {
	background: #020617;
	border: 1px solid #334155;
	color: #00f0ff;
	caret-color: #00f0ff;
	border-radius: 12px;
	font-family: monospace;
}
.delovore-standalone-widget.delovore-style-2 .delovore-transcript-input:focus {
	border-color: #00f0ff;
	box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}
.delovore-standalone-widget.delovore-style-2 .delovore-btn-save {
	background: linear-gradient(135deg, #00f0ff, #3b82f6);
	color: #030712;
	font-weight: 900;
	border: none;
	border-radius: 12px;
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}
.delovore-standalone-widget.delovore-style-2 .delovore-btn-save:hover {
	box-shadow: 0 0 28px rgba(0, 240, 255, 0.8);
}

/* --- Style 3: Compact Floating Pill (Modern Minimal Pill) --- */
.delovore-standalone-widget.delovore-style-3 {
	border-radius: 50px;
	padding: 10px 22px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 30px -5px rgba(79, 70, 229, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}
.delovore-standalone-widget.delovore-style-3 .delovore-mic-btn {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #6366f1, #4f46e5);
	color: #ffffff;
	box-shadow: 0 6px 16px -2px rgba(79, 70, 229, 0.4);
}
.delovore-standalone-widget.delovore-style-3 .delovore-mic-btn:hover {
	background: linear-gradient(135deg, #4f46e5, #4338ca);
	transform: scale(1.08);
	box-shadow: 0 8px 20px -2px rgba(79, 70, 229, 0.55);
}
.delovore-standalone-widget.delovore-style-3 .delovore-status-label {
	background: #4f46e5;
	color: #ffffff;
	font-size: 11px;
	font-weight: 600;
	border-radius: 20px;
	padding: 4px 12px;
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.delovore-standalone-widget.delovore-style-3 .delovore-status-label::after {
	border-top-color: #4f46e5;
}
.delovore-standalone-widget.delovore-style-3 .delovore-preview-card {
	border-radius: 24px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}
.delovore-standalone-widget.delovore-style-3 .delovore-btn-save {
	background: #4f46e5;
	color: #ffffff;
	border-radius: 30px;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

/* --- Style 4: Royal Sunset Gradient (Gradient Pro Card) --- */
.delovore-standalone-widget.delovore-style-4 {
	background: linear-gradient(135deg, #312e81 0%, #4c1d95 35%, #581c87 70%, #1e1b4b 100%);
	color: #ffffff;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0 25px 50px -12px rgba(76, 29, 149, 0.5);
	padding: 22px;
}
.delovore-standalone-widget.delovore-style-4 .delovore-mic-btn {
	background: #ffffff;
	color: #4c1d95;
	width: 46px;
	height: 46px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.delovore-standalone-widget.delovore-style-4 .delovore-mic-btn svg {
	fill: #4c1d95 !important;
}
.delovore-standalone-widget.delovore-style-4 .delovore-mic-btn:hover {
	transform: scale(1.12);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}
.delovore-standalone-widget.delovore-style-4 .delovore-status-label {
	background: #ffffff;
	color: #4c1d95;
	font-weight: 800;
	font-size: 11px;
	border-radius: 20px;
	padding: 5px 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.delovore-standalone-widget.delovore-style-4 .delovore-status-label::after {
	border-top-color: #ffffff;
}
.delovore-standalone-widget.delovore-style-4 .delovore-timer {
	background: rgba(254, 240, 138, 0.25);
	color: #fef08a;
	border: 1px solid rgba(254, 240, 138, 0.5);
	font-weight: 800;
	border-radius: 20px;
	padding: 4px 12px;
	font-size: 13px;
}
.delovore-standalone-widget.delovore-style-4 .delovore-preview-card {
	background: rgba(15, 23, 42, 0.7);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	border-radius: 18px;
}
.delovore-standalone-widget.delovore-style-4 .delovore-preview-title,
.delovore-standalone-widget.delovore-style-4 .delovore-transcript-label,
.delovore-standalone-widget.delovore-style-4 .delovore-preview-duration {
	color: #e0e7ff;
	font-weight: 700;
}
.delovore-standalone-widget.delovore-style-4 .delovore-transcript-input {
	background: rgba(255, 255, 255, 0.95);
	color: #1e1b4b;
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-weight: 600;
	border-radius: 12px;
}
.delovore-standalone-widget.delovore-style-4 .delovore-btn-save {
	background: linear-gradient(135deg, #10b981, #059669);
	color: #ffffff;
	font-weight: 800;
	border: none;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

/* --- Style 5: Clean Minimal Light (Nordic Slate) --- */
.delovore-standalone-widget.delovore-style-5 {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 20px;
	box-shadow: 0 12px 35px -8px rgba(15, 23, 42, 0.1);
	color: #0f172a;
	padding: 20px;
}
.delovore-standalone-widget.delovore-style-5 .delovore-mic-btn {
	background: #0f172a;
	color: #ffffff;
	width: 46px;
	height: 46px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}
.delovore-standalone-widget.delovore-style-5 .delovore-mic-btn:hover {
	background: #1e293b;
	transform: scale(1.08);
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.35);
}
.delovore-standalone-widget.delovore-style-5 .delovore-status-label {
	background: #0f172a;
	color: #f8fafc;
	font-weight: 700;
	font-size: 11px;
	border-radius: 20px;
	padding: 5px 12px;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}
.delovore-standalone-widget.delovore-style-5 .delovore-status-label::after {
	border-top-color: #0f172a;
}
.delovore-standalone-widget.delovore-style-5 .delovore-preview-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	color: #0f172a;
}
.delovore-standalone-widget.delovore-style-5 .delovore-preview-play-btn {
	background: #0f172a;
	color: #ffffff;
}
.delovore-standalone-widget.delovore-style-5 .delovore-btn-save {
	background: #0284c7;
	color: #ffffff;
	font-weight: 800;
	border: none;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

/* --- Layout Structure CSS --- */
.delovore-glass-card-layout {
	text-align: center;
}
.delovore-widget-card-header,
.delovore-widget-brand-header {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-bottom: 20px !important;
	width: 100% !important;
	text-align: center !important;
	position: relative !important;
	z-index: 2 !important;
}
.delovore-glass-header-badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
	color: #0284c7 !important;
	background: rgba(14, 165, 233, 0.12) !important;
	padding: 6px 16px !important;
	border-radius: 20px !important;
	border: 1px solid rgba(14, 165, 233, 0.25) !important;
	box-shadow: 0 2px 8px rgba(14, 165, 233, 0.12) !important;
	line-height: 1.2 !important;
}

.delovore-neon-bar-layout .delovore-record-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	width: 100%;
}
.delovore-neon-bar-layout .delovore-wave-wrap {
	flex-grow: 1;
	margin: 0;
}

.delovore-pill-layout .delovore-record-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.delovore-gradient-card-layout {
	text-align: center;
}
.delovore-gradient-card-layout .delovore-widget-brand-header {
	margin-bottom: 14px;
}
.delovore-gradient-card-layout .delovore-brand-badge {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
	padding: 5px 14px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.delovore-minimal-split-layout .delovore-record-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	width: 100%;
}
.delovore-minimal-split-layout .delovore-split-col-left {
	display: flex;
	align-items: center;
}
.delovore-minimal-split-layout .delovore-split-col-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* --- Style 6: Cyber Purple Search & Listening Waveform (Mockup Style) --- */
.delovore-standalone-widget.delovore-style-6 {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	width: 100%;
	max-width: 580px;
	margin: 15px auto;
	box-sizing: border-box;
}

.delovore-style-6 .delovore-search-form {
	margin: 0;
	padding: 0;
	width: 100%;
	display: block;
}

/* Floating Mode Override for Style 6 (Cyber Purple Search) */
.delovore-widget-floating.delovore-style-6 {
	position: fixed !important;
	bottom: 25px !important;
	right: 25px !important;
	z-index: 99999 !important;
	margin: 0 !important;
	width: auto !important;
	max-width: calc(100vw - 40px) !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
}

.delovore-widget-floating.delovore-style-6 .delovore-purple-search-layout {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
	position: relative !important;
}

.delovore-widget-floating.delovore-style-6 .delovore-search-form {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
}

/* Collapsed State: Hide input field, remove pill container border & background */
.delovore-widget-floating.delovore-style-6:not(.delovore-floating-active):not(.delovore-is-recording-active) .delovore-search-pill-bar {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	width: auto !important;
}

.delovore-widget-floating.delovore-style-6:not(.delovore-floating-active):not(.delovore-is-recording-active) .delovore-search-input-field {
	display: none !important;
	width: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
}

/* Expanded Active State: Expand into full pill search bar */
.delovore-widget-floating.delovore-style-6.delovore-floating-active .delovore-search-pill-bar,
.delovore-widget-floating.delovore-style-6.delovore-is-recording-active .delovore-search-pill-bar {
	width: 340px !important;
	max-width: calc(100vw - 50px) !important;
	background: #ffffff !important;
	border: 2px solid #a855f7 !important;
	box-shadow: 0 10px 35px rgba(168, 85, 247, 0.35) !important;
	padding: 6px 8px 6px 20px !important;
	border-radius: 50px !important;
	animation: delovore-pop-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.delovore-widget-floating.delovore-style-6.delovore-floating-active .delovore-search-input-field,
.delovore-widget-floating.delovore-style-6.delovore-is-recording-active .delovore-search-input-field {
	display: block !important;
	opacity: 1 !important;
	flex-grow: 1 !important;
}

/* Listening Overlay Box in Floating Mode */
.delovore-widget-floating.delovore-style-6 .delovore-listening-overlay {
	width: 340px !important;
	max-width: calc(100vw - 50px) !important;
	background: rgba(255, 255, 255, 0.98) !important;
	backdrop-filter: blur(16px) !important;
	-webkit-backdrop-filter: blur(16px) !important;
	padding: 14px 18px !important;
	border-radius: 20px !important;
	box-shadow: 0 12px 35px rgba(124, 58, 237, 0.3) !important;
	border: 1px solid rgba(168, 85, 247, 0.35) !important;
	margin-bottom: 12px !important;
	box-sizing: border-box !important;
}

/* Listening Overlay Section */
.delovore-style-6 .delovore-listening-overlay {
	display: none;
	text-align: center;
	margin-bottom: 12px;
	animation: delovore-fade-in 0.3s ease;
}

.delovore-style-6 .delovore-listening-header {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 8px;
}

.delovore-style-6 .delovore-listening-text {
	font-size: 20px;
	font-weight: 500;
	color: #334155;
	letter-spacing: 0.3px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Spinning Loader Icon */
.delovore-style-6 .delovore-listening-spinner {
	width: 14px;
	height: 14px;
	border: 2px dashed #94a3b8;
	border-radius: 50%;
	animation: delovore-spin 1.8s linear infinite;
	display: inline-block;
}

@keyframes delovore-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Purple Waveform Area */
.delovore-style-6 .delovore-purple-wave-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	background: transparent;
	border: none;
	padding: 0;
	margin: 0 auto;
}

/* Integrated Search Pill Bar */
.delovore-style-6 .delovore-search-pill-bar {
	position: relative;
	display: flex;
	align-items: center;
	background: #ffffff;
	border: 2px solid #a855f7;
	border-radius: 50px;
	padding: 6px 8px 6px 24px;
	box-shadow: 0 8px 30px rgba(168, 85, 247, 0.25), 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-sizing: border-box;
}

.delovore-style-6 .delovore-search-pill-bar:focus-within,
.delovore-style-6.delovore-is-recording-active .delovore-search-pill-bar {
	border-color: #9333ea;
	box-shadow: 0 10px 35px rgba(147, 51, 234, 0.38), 0 0 0 4px rgba(168, 85, 247, 0.15);
}

.delovore-style-6 .delovore-search-input-field {
	flex-grow: 1;
	border: none !important;
	background: transparent !important;
	outline: none !important;
	box-shadow: none !important;
	font-size: 16px;
	color: #1e293b;
	padding: 8px 12px 8px 0;
	font-family: inherit;
}

.delovore-style-6 .delovore-search-input-field::placeholder {
	color: #94a3b8;
	font-weight: 400;
}

/* Purple Gradient Microphone Button */
.delovore-style-6 .delovore-mic-btn-purple {
	background: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #d946ef 100%) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 40px !important;
	width: 48px !important;
	height: 48px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	box-shadow: 0 4px 18px rgba(124, 58, 237, 0.45) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	outline: none !important;
	padding: 0 !important;
	flex-shrink: 0 !important;
}

.delovore-style-6 .delovore-mic-btn-purple:hover {
	transform: scale(1.06) !important;
	box-shadow: 0 8px 24px rgba(124, 58, 237, 0.65) !important;
	background: linear-gradient(135deg, #c084fc 0%, #7c3aed 50%, #e879f9 100%) !important;
}

.delovore-style-6 .delovore-mic-btn-purple.delovore-is-recording {
	background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
	box-shadow: 0 0 25px rgba(239, 68, 68, 0.75) !important;
	animation: delovore-attached-pulse 1.2s infinite !important;
}

