.charit-dokan-feed-dashboard-wrap,
.charit-dokan-feed-store-tab {
	width: 100%;
}

.charit-dokan-feed-dashboard-area,
.charit-dokan-feed-form-wrap,
.charit-dokan-feed-list-wrap {
	max-width: 100%;
}

.charit-dokan-feed-dashboard-wrap .dokan-settings-content,
.charit-dokan-feed-dashboard-wrap .dokan-settings-area {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.charit-dokan-feed-notice {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
}

.charit-dokan-feed-notice-success {
	background: #ecfdf3;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.charit-dokan-feed-notice-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.charit-dokan-feed-notice-warning {
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
}

.charit-dokan-feed-form-wrap,
.charit-dokan-feed-existing-posts {
	margin-bottom: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.charit-dokan-feed-section-divider {
	margin: 18px 0;
	border-top: 1px solid #eef2f7;
}

.charit-dokan-feed-unsaved-notice {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.charit-dokan-feed-unsaved-notice-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.charit-dokan-feed-unsaved-notice-copy p {
	margin: 6px 0 0;
}

.charit-dokan-feed-unsaved-notice-actions {
	flex: 0 0 auto;
	justify-content: flex-end;
	margin-left: auto;
}

.charit-dokan-feed-composer {
	margin-bottom: 0;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.charit-dokan-feed-autosave-status {
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 88px;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.18s ease, transform 0.18s ease;
	pointer-events: none;
}

.charit-dokan-feed-form-actions .charit-dokan-feed-autosave-status {
	display: inline-flex;
	margin-right: 4px;
	transform: none;
	align-self: center;
}

.charit-dokan-feed-autosave-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #4b5563;
}

.charit-dokan-feed-autosave-toggle input {
	margin: 0;
}

.charit-dokan-feed-form-error {
	display: none;
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #991b1b;
	font-size: 13px;
	line-height: 1.4;
}

.charit-dokan-feed-form-error.is-visible {
	display: block;
}

.charit-dokan-feed-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border-radius: 999px;
	background: #fff7ed;
	border: 1px solid #fdba74;
	color: #9a3412;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	flex: 0 0 auto;
}

.charit-dokan-feed-item-toggle .charit-dokan-feed-status-badge {
	margin-left: 2px;
}

.charit-dokan-feed-autosave-status.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.charit-dokan-feed-autosave-status[data-state="saving"] {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1d4ed8;
}

.charit-dokan-feed-autosave-status[data-state="saved"] {
	background: #ecfdf3;
	border-color: #a7f3d0;
	color: #065f46;
}

.charit-dokan-feed-autosave-status[data-state="error"] {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.charit-dokan-feed-autosave-status[data-state="idle"] {
	display: none;
}

.charit-dokan-feed-composer-head {
	padding: 0;
}

.charit-dokan-feed-composer-head .charit-dokan-feed-form-row {
	align-items: center;
}

.charit-dokan-feed-composer-head .charit-dokan-feed-field > label {
	display: none;
}

.charit-dokan-feed-composer-head .charit-dokan-feed-field {
	margin-bottom: 0;
}

.charit-dokan-feed-composer-head .charit-dokan-feed-field input[type="date"] {
	width: 100%;
	font-size: 13px;
	line-height: 1.4;
	padding: 16px;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: right;
}

.charit-dokan-feed-composer-head .charit-dokan-feed-field-title .dokan-form-control,
.charit-dokan-feed-composer-head .charit-dokan-feed-field-title input[type="text"] {
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 14px 18px;
	border: 0;
	outline: none;
	background: #fff;
	box-shadow: none;
	font-size: 18px;
	line-height: 1.35;
}

.charit-dokan-feed-composer .charit-dokan-feed-composer-body {
	transition: opacity 0.18s ease, max-height 0.18s ease, margin-top 0.18s ease;
}

.charit-dokan-feed-composer.is-collapsed .charit-dokan-feed-composer-body {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	margin-top: 0;
}

.charit-dokan-feed-composer.is-expanded .charit-dokan-feed-composer-body {
	max-height: 5000px;
	opacity: 1;
	overflow: visible;
	pointer-events: auto;
	margin-top: 0;
	padding: 0;
	position: relative;
}

.charit-dokan-feed-form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.charit-dokan-feed-form-col {
	flex: 1 1 0;
	min-width: 0;
}

.charit-dokan-feed-form-col-title {
	flex: 1 1 auto;
}

.charit-dokan-feed-form-col-date {
	display: none;
	flex: 0 0 168px;
	max-width: 168px;
	margin-left: auto;
}

.charit-dokan-feed-composer.has-title .charit-dokan-feed-form-col-date {
	display: block;
}

.charit-dokan-feed-composer.has-title .charit-dokan-feed-composer-head .charit-dokan-feed-form-col-date {
	display: block;
}

.charit-dokan-feed-field {
	margin: 0 0 12px;
}

.charit-dokan-feed-field label {
	display: block;
	margin: 0 0 8px;
	font-weight: 600;
}

.charit-dokan-feed-field input[type="text"],
.charit-dokan-feed-field input[type="date"],
.charit-dokan-feed-field textarea {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	background: #fff;
	box-sizing: border-box;
}

.charit-dokan-feed-field .wp-editor-wrap {
	max-width: 100%;
}

.charit-dokan-feed-field-editor .wp-editor-wrap,
.charit-dokan-feed-field-editor .wp-editor-container,
.charit-dokan-feed-field-editor .wp-editor-area {
	box-shadow: none !important;
}

.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor {
	margin-bottom: 0;
}

.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor label {
	display: none;
}

.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor .wp-editor-wrap {
	margin: 0;
	border: 0;
	box-shadow: none !important;
}

.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor .wp-editor-container {
	border: 0;
	box-shadow: none !important;
}

.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor .wp-editor-area {
	padding: 0;
	box-shadow: none !important;
}

.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor .mce-toolbar-grp,
.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor .mce-statusbar {
	border: 0 !important;
	box-shadow: none !important;
}

.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor .mce-edit-area {
	border: 0 !important;
	box-shadow: none !important;
}

.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor .mce-tinymce,
.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor .mce-top-part,
.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor .wp-editor-tools {
	box-shadow: none !important;
	border: 0 !important;
}

.charit-dokan-feed-composer-body .charit-dokan-feed-field-editor .mce-tinymce {
	margin: 0;
}

.charit-dokan-feed-form-actions,
.charit-dokan-feed-item-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0 6px 6px 0;
}

.charit-dokan-feed-composer-body .charit-dokan-feed-form-actions {
	justify-content: flex-end;
}

.charit-dokan-feed-cancel-link {
	display: inline-flex;
	align-items: center;
	padding: 9px 12px;
	text-decoration: none;
}

.charit-dokan-feed-list {
	display: block;
}

.charit-dokan-feed-item {
	padding: 14px 0;
	border-bottom: 1px solid #eef2f7;
	display: block;
}

.charit-dokan-feed-dashboard-wrap .charit-dokan-feed-item.is-collapsed .charit-dokan-feed-item-content {
	display: none;
}

.charit-dokan-feed-item.is-last {
	border-bottom: 0;
}

.charit-dokan-feed-item-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.charit-dokan-feed-item-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.charit-dokan-feed-item-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: left;
	cursor: pointer;
}

.charit-dokan-feed-item-chevron {
	flex: 0 0 auto;
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 1;
	color: #9ca3af;
	transition: transform 0.15s ease, color 0.15s ease;
}

.charit-dokan-feed-item.is-expanded .charit-dokan-feed-item-chevron {
	transform: rotate(180deg);
	color: #6b7280;
}

.charit-dokan-feed-item-header-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	margin-left: auto;
}

.charit-dokan-feed-item-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
}

.charit-dokan-feed-item-meta {
	margin: 0;
	flex: 0 0 140px;
	width: 140px;
	font-size: 13px;
	line-height: 1.4;
	color: #9ca3af;
	white-space: nowrap;
	text-align: right;
}

.charit-dokan-feed-item-actions {
	gap: 8px;
}

.charit-dokan-feed-item-content {
	font-size: 15px;
	line-height: 1.7;
	color: #374151;
}

.charit-dokan-feed-load-more-wrap {
	margin-top: 16px;
	text-align: center;
}

.charit-dokan-feed-load-more {
	min-width: 160px;
}

.charit-dokan-feed-empty {
	padding: 18px;
	border: 1px dashed #d1d5db;
	border-radius: 14px;
	color: #6b7280;
	background: #fafafa;
}

@media (max-width: 640px) {
	.charit-dokan-feed-form-wrap,
	.charit-dokan-feed-existing-posts {
		margin-bottom: 0;
	}

	.charit-dokan-feed-form-row {
		flex-direction: column;
		gap: 0;
	}

	.charit-dokan-feed-form-col-date {
		flex: 1 1 auto;
		max-width: none;
	}

	.charit-dokan-feed-unsaved-notice {
		flex-direction: column;
	}

	.charit-dokan-feed-unsaved-notice-actions {
		margin-left: 0;
		justify-content: flex-start;
	}

	.charit-dokan-feed-item {
		padding: 12px 0;
	}

	.charit-dokan-feed-item-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.charit-dokan-feed-item-meta {
		white-space: normal;
		text-align: left;
		flex-basis: auto;
		width: auto;
	}

	.charit-dokan-feed-item-header-right {
		flex-wrap: wrap;
		justify-content: flex-start;
		margin-left: 0;
	}
}

html body .charit-dokan-feed-item-actions .dokan-btn-sm,
html body .charit-dokan-feed-item-actions form button[type=submit].dokan-btn-sm {
	min-width: 40px;
	padding: 6px 12px !important;
}
html body .charit-dokan-feed-form-actions button[type=submit].dokan-btn-sm {
	padding: 10px 20px !important;
	margin: 0 6px 6px;
	border-radius: 6px !important;
}

.charit-dokan-feed-form .wp-editor-tools {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: right;
	height: 40px;
	width: 120px;
}
.charit-dokan-feed-form .wp-editor-tools .insert-media {
	margin-top: 0;
	margin-bottom: 0;
}
.charit-dokan-feed-form .wp-editor-tools .nectar-shortcode-generator {
	display: none;
}

.mce-container-body .mce-toolbar-grp {
	padding-right: 120px;
}
