/* START QUOTE WIDGET STYLES */
.kol-quotes-widget {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 0;
	width: 100%;
	background: transparent;
}

.kol-quote-card {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 180px 40px 80px 40px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

html.light-mode .kol-quote-card {
	background: #ffffff;
	border: 5px solid #cccccc;
}

html.dark-mode .kol-quote-card {
	background: #1a1a1a;
	border: 5px solid #404040;
}

.kol-quote-avatar {
	position: absolute;
	top: -70px;
	left: 50%;
	transform: translateX(-50%);
	flex-shrink: 0;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	overflow: hidden;
	border: 5px solid #cccccc;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	background: transparent;
}

html.dark-mode .kol-quote-avatar {
	border-color: #404040;
	background: transparent;
}

.kol-quote-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.kol-quote-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

.kol-quote-bubble,
.kol-quote-text {
	position: relative;
	padding: 0;
	border-radius: 0;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	line-height: 1.6;
	font-size: 18px;
	font-style: italic;
	letter-spacing: 0px;
}

html.light-mode .kol-quote-bubble,
html.light-mode .kol-quote-text {
	color: #999999;
	background: none;
	border: none;
}

html.light-mode .kol-quote-bubble::before,
html.light-mode .kol-quote-text::before {
	content: none;
}

html.light-mode .kol-quote-bubble::after,
html.light-mode .kol-quote-text::after {
	content: none;
}

html.dark-mode .kol-quote-bubble,
html.dark-mode .kol-quote-text {
	color: #b0b0b0;
	background: none;
	border: none;
}

html.dark-mode .kol-quote-bubble::before,
html.dark-mode .kol-quote-text::before {
	content: none;
}

html.dark-mode .kol-quote-bubble::after,
html.dark-mode .kol-quote-text::after {
	content: none;
}

.kol-quote-author {
	font-weight: 400;
	margin-top: 0;
	padding-top: 0;
	letter-spacing: 2px;
	font-size: 14px;
	text-transform: uppercase;
}

.kol-quote-avatar-link {
	display: inline-block;
	text-decoration: none;
}

.kol-quote-author-link {
	text-decoration: none;
	display: inline-block;
}

html.light-mode .kol-quote-author-link {
	color: #cccccc;
}

html.dark-mode .kol-quote-author-link {
	color: #808080;
}

.kol-quote-submit-link {
	display: inline-block;
	text-decoration: none;
	font-weight: 500;
	letter-spacing: 0.5px;
	transition: opacity 0.2s;
}

html.light-mode .kol-quote-submit-link {
	color: #cccccc;
}

html.light-mode .kol-quote-submit-link:hover {
	text-decoration: underline;
	color: #999999;
}

html.dark-mode .kol-quote-submit-link {
	color: #808080;
}

html.dark-mode .kol-quote-submit-link:hover {
	text-decoration: underline;
	color: #a0a0a0;
}

.kol-quote-card-empty {
	padding: 60px 40px;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kol-widget-status {
	text-align: center;
	padding: 40px 20px;
	font-size: 14px;
}

html.light-mode .kol-widget-status {
	color: #999999;
}

html.dark-mode .kol-widget-status {
	color: #b0b0b0;
}

.kol-widget-submit-hint {
	text-align: center;
	font-size: 12px;
	margin-top: 16px;
	margin-bottom: 0;
	padding-top: 12px;
	border-top: 1px solid;
}

html.light-mode .kol-widget-submit-hint {
	border-color: #cccccc;
	color: #999999;
}

html.dark-mode .kol-widget-submit-hint {
	border-color: #404040;
	color: #808080;
}

.kol-widget-submit-hint a {
	text-decoration: none;
	font-weight: 500;
	transition: opacity 0.2s;
}

html.light-mode .kol-widget-submit-hint a {
	color: #999999;
}

html.light-mode .kol-widget-submit-hint a:hover {
	text-decoration: underline;
	color: #666666;
}

html.dark-mode .kol-widget-submit-hint a {
	color: #a0a0a0;
}

html.dark-mode .kol-widget-submit-hint a:hover {
	text-decoration: underline;
	color: #c0c0c0;
}

/* END QUOTE WIDGET STYLES */

/* START QUOTE GALLERY STYLES */
.kol-quotes-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	width: 100%;
}

@media (max-width: 900px) {
	.kol-quotes-gallery {
		grid-template-columns: 1fr;
	}
}

/* END QUOTE GALLERY STYLES */

/* START QUOTE FORM STYLES */
.kol-quote-form-container {
	width: 100%;
	max-width: 600px;
	margin: 20px auto;
	padding: 32px;
	border-radius: 12px;
}

html.light-mode .kol-quote-form-container {
	background: #ffffff;
	border: 1px solid #e5e7eb;
}

html.dark-mode .kol-quote-form-container {
	background: #1a1a1a;
	border: 1px solid #333;
}

.kol-quote-form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}

.kol-quote-form-group label {
	font-weight: 600;
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
	letter-spacing: 0.5px;
}

html.light-mode .kol-quote-form-group label {
	color: #1f2937;
}

html.dark-mode .kol-quote-form-group label {
	color: #e0e0e0;
}

.kol-quote-form-group textarea {
	padding: 14px;
	border-radius: 8px;
	border: 1px solid;
	font-family: inherit;
	font-size: 14px;
	resize: vertical;
	min-height: 120px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	line-height: 1.6;
}

html.light-mode .kol-quote-form-group textarea {
	background: #f9fafb;
	border-color: #e5e7eb;
	color: #1f2937;
}

html.light-mode .kol-quote-form-group textarea::placeholder {
	color: #9ca3af;
}

html.dark-mode .kol-quote-form-group textarea {
	background: #2a2a2a;
	border-color: #404040;
	color: #e0e0e0;
}

html.dark-mode .kol-quote-form-group textarea::placeholder {
	color: #6b7280;
}

.kol-quote-form-group small {
	display: block;
	margin-top: 6px;
	font-size: 13px;
}

html.light-mode .kol-quote-form-group small {
	color: #6b7280;
}

html.dark-mode .kol-quote-form-group small {
	color: #9ca3af;
}

.kol-quote-form-buttons {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
}

.kol-quote-submit-btn,
.kol-quote-cancel-btn {
	height: 32px;
	padding: 0 15px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	border: 1px solid;
	transition: transform 0.2s, opacity 0.2s;
	letter-spacing: 0.5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.kol-quote-submit-btn {
	background: linear-gradient(135deg, #383838, #343434);
	color: white;
	border-color: #282828;
	box-shadow: 0px 4px 8px #555555;
}

.kol-quote-submit-btn:hover {
	transform: translateY(-2px);
	opacity: 0.9;
}

.kol-quote-submit-btn:active {
	transform: translateY(0);
}

.kol-quote-cancel-btn {
	background: transparent;
	color: #999999;
	border-color: #555555;
}

html.dark-mode .kol-quote-cancel-btn {
	color: #b0b0b0;
	border-color: #404040;
}

.kol-quote-cancel-btn:hover {
	opacity: 0.8;
}

#kol-quote-message {
	margin-top: 16px;
	padding: 14px;
	border-radius: 8px;
	display: none;
	text-align: center;
	font-size: 14px;
}

#kol-quote-message.success {
	display: block;
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

html.dark-mode #kol-quote-message.success {
	background: #1e4620;
	color: #6ec476;
	border: 1px solid #2d6b2f;
}

#kol-quote-message.error {
	display: block;
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

html.dark-mode #kol-quote-message.error {
	background: #4a1f1f;
	color: #f8a5a5;
	border: 1px solid #7a2a2a;
}

#kol-buddy-quote-status-message {
	padding: 14px;
	border-radius: 8px;
	display: none;
	text-align: center;
	font-size: 14px;
	margin-bottom: 16px;
}

#kol-buddy-quote-status-message.success {
	display: block;
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

html.dark-mode #kol-buddy-quote-status-message.success {
	background: #1e4620;
	color: #6ec476;
	border: 1px solid #2d6b2f;
}

#kol-buddy-quote-status-message.warning {
	display: block;
	background: #fff3cd;
	color: #856404;
	border: 1px solid #ffeaa7;
}

html.dark-mode #kol-buddy-quote-status-message.warning {
	background: #66512c;
	color: #fbbf24;
	border: 1px solid #78350f;
}

#kol-buddy-quote-status-message.error {
	display: block;
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

html.dark-mode #kol-buddy-quote-status-message.error {
	background: #4a1f1f;
	color: #f8a5a5;
	border: 1px solid #7a2a2a;
}

#kol-buddy-quote-display-wrapper {
	margin-bottom: 20px;
}

#kol-buddy-quote-display {
	max-width: 600px;
	margin: 0 auto;
}

/* END QUOTE FORM STYLES */

/* START RESPONSIVE STYLES */
@media (max-width: 600px) {
	.kol-quote-card {
		padding: 120px 16px 80px 16px;
		gap: 12px;
	}
	
	.kol-quote-avatar {
		width: 80px;
		height: 80px;
		margin-bottom: 16px;
		border-width: 3px;
	}
	
	.kol-quote-bubble {
		padding: 0;
		font-size: 14px;
	}
	
	.kol-quote-form-container {
		padding: 24px;
		margin: 16px auto;
	}
	
	.kol-quotes-widget {
		padding: 16px;
	}
	
	.kol-quote-form-buttons {
		flex-direction: column;
	}
	
	.kol-quote-submit-btn,
	.kol-quote-cancel-btn {
		width: 100%;
	}
}

/* END RESPONSIVE STYLES */
