/* 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: 76px auto 0;
	padding: 150px 40px 60px 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 MAIN QUOTES APP STYLES */
.kol-buddy-quotes-app {
	width: 100%;
	max-width: 1060px;
	margin: 0 auto;
	padding: 18px;
	border-radius: 12px;
	border: 1px solid;
}

html.light-mode .kol-buddy-quotes-app {
	background: #ffffff;
	border-color: #e5e7eb;
	box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

html.dark-mode .kol-buddy-quotes-app {
	background: #111827;
	border-color: #374151;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.kol-buddy-quotes-tabs {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin: 0 auto 18px;
	padding: 5px;
	border-radius: 8px;
	border: 1px solid;
	overflow-x: auto;
}

html.light-mode .kol-buddy-quotes-tabs {
	background: #f9fafb;
	border-color: #e5e7eb;
}

html.dark-mode .kol-buddy-quotes-tabs {
	background: #0f172a;
	border-color: #374151;
}

.kol-buddy-quotes-tab {
	padding: 10px 16px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	position: relative;
	white-space: nowrap;
}

html.light-mode .kol-buddy-quotes-tab {
	color: #4b5563;
}

html.dark-mode .kol-buddy-quotes-tab {
	color: #cbd5e1;
}

.kol-buddy-quotes-tab:hover,
.kol-buddy-quotes-tab.active {
	color: #4CAF50;
}

.kol-buddy-quotes-tab.active {
	border-color: #4CAF50;
}

html.light-mode .kol-buddy-quotes-tab.active {
	background: #ffffff;
}

html.dark-mode .kol-buddy-quotes-tab.active {
	background: #1f2937;
}

.kol-buddy-quotes-panel {
	display: none;
	padding: 18px;
	border-radius: 8px;
	border: 1px solid;
	min-height: 260px;
	overflow: visible;
}

html.light-mode .kol-buddy-quotes-panel {
	background: #f9fafb;
	border-color: #e5e7eb;
}

html.dark-mode .kol-buddy-quotes-panel {
	background: #0f172a;
	border-color: #374151;
}

.kol-buddy-quotes-panel.active {
	display: block;
}

.kol-buddy-quotes-login-message {
	margin: 0;
	text-align: center;
	font-size: 15px;
}

html.light-mode .kol-buddy-quotes-login-message {
	color: #4b5563;
}

html.dark-mode .kol-buddy-quotes-login-message {
	color: #cbd5e1;
}

.kol-quotes-moderation {
	max-width: 920px;
	margin: 0 auto;
}

.kol-moderation-section {
	display: none;
	margin-top: 16px;
}

.kol-moderation-section.active {
	display: block;
}

.kol-moderation-section h3 {
	margin: 0 0 14px;
	font-size: 18px;
}

html.light-mode .kol-moderation-section h3 {
	color: #1f2937;
}

html.dark-mode .kol-moderation-section h3 {
	color: #e5e7eb;
}

.kol-moderation-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.kol-moderation-tabs {
	display: flex;
	gap: 6px;
	padding: 5px;
	border: 1px solid;
	border-radius: 8px;
	overflow-x: auto;
}

html.light-mode .kol-moderation-tabs {
	background: #ffffff;
	border-color: #e5e7eb;
}

html.dark-mode .kol-moderation-tabs {
	background: #111827;
	border-color: #374151;
}

.kol-moderation-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

html.light-mode .kol-moderation-tab {
	color: #4b5563;
}

html.dark-mode .kol-moderation-tab {
	color: #cbd5e1;
}

.kol-moderation-tab.active {
	border-color: #4CAF50;
	color: #4CAF50;
}

html.light-mode .kol-moderation-tab.active {
	background: #f9fafb;
}

html.dark-mode .kol-moderation-tab.active {
	background: #1f2937;
}

.kol-moderation-tab span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	font-size: 12px;
}

html.light-mode .kol-moderation-tab span {
	background: #e5e7eb;
	color: #374151;
}

html.dark-mode .kol-moderation-tab span {
	background: #374151;
	color: #e5e7eb;
}

.kol-moderation-item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	padding: 14px;
	border-radius: 8px;
}

html.light-mode .kol-moderation-item {
	background: #ffffff;
	border: 1px solid #e5e7eb;
}

html.dark-mode .kol-moderation-item {
	background: #1a1a1a;
	border: 1px solid #333333;
}

.kol-moderation-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
}

.kol-moderation-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.kol-moderation-quote,
.kol-moderation-author,
.kol-moderation-empty {
	margin: 0;
	line-height: 1.45;
}

.kol-moderation-quote {
	font-size: 14px;
	font-style: italic;
}

.kol-moderation-author {
	margin-top: 6px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

html.light-mode .kol-moderation-quote,
html.light-mode .kol-moderation-empty {
	color: #4b5563;
}

html.dark-mode .kol-moderation-quote,
html.dark-mode .kol-moderation-empty {
	color: #cbd5e1;
}

html.light-mode .kol-moderation-author {
	color: #9ca3af;
}

html.dark-mode .kol-moderation-author {
	color: #808080;
}

.kol-moderation-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.kol-moderation-pagination {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 14px;
}

.kol-moderation-pagination button {
	min-width: 86px;
	height: 32px;
	border: 1px solid;
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
}

.kol-moderation-pagination button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

html.light-mode .kol-moderation-pagination button {
	border-color: #d1d5db;
	color: #374151;
}

html.dark-mode .kol-moderation-pagination button {
	border-color: #4b5563;
	color: #d1d5db;
}

.kol-moderation-pagination span {
	font-size: 13px;
	font-weight: 600;
}

html.light-mode .kol-moderation-pagination span {
	color: #4b5563;
}

html.dark-mode .kol-moderation-pagination span {
	color: #cbd5e1;
}

/* END MAIN QUOTES APP 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-buddy-quotes-app {
		padding: 12px;
	}
	
	.kol-buddy-quotes-tabs,
	.kol-moderation-tabs {
		justify-content: flex-start;
	}
	
	.kol-buddy-quotes-panel {
		padding: 12px;
	}
	
	.kol-quote-card {
		margin-top: 44px;
		padding: 92px 16px 44px 16px;
		gap: 12px;
	}
	
	.kol-quote-avatar {
		top: -40px;
		width: 80px;
		height: 80px;
		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%;
	}
	
	.kol-moderation-item {
		grid-template-columns: 44px minmax(0, 1fr);
	}
	
	.kol-moderation-avatar {
		width: 44px;
		height: 44px;
	}
	
	.kol-moderation-actions {
		grid-column: 1 / -1;
		justify-content: stretch;
	}
	
	.kol-moderation-pagination {
		justify-content: space-between;
	}
}

/* END RESPONSIVE STYLES */
