.ideas-entry {
	position: relative;
}

.ideas-entry__marker {
	position: absolute;
	left: -6px;
	top: 8px;
	width: 12px;
	height: 12px;
	background: #fff7ed;
	border: 3px solid #f59e0b;
	border-radius: 50%;
}

.ideas-entry__meta time {
	font-size: 11px;
	font-weight: 700;
	color: #9ca3af;
	text-transform: uppercase;
}

.ideas-entry__card {
	background: white;
	padding: 16px;
	border-radius: 16px;
	border: 1px solid #f3f4f6;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.ideas-entry__card p {
	font-size: 16px;
	line-height: 1.5;
	color: #374151;
	font-weight: 500;
}

.ideas-entry__footer {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid #f3f4f6;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ideas-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;

	display: flex;
	align-items: center;
	justify-content: center;
}

/* Размытие фона */
.ideas-modal__backdrop {
	position: absolute;
	inset: 0;

	background: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

/* Панель */
.ideas-modal__panel {
	position: relative;
	z-index: 1;

	background: #ffffff;
	border-radius: 2rem;

	padding: 2rem;
	width: 100%;
	max-width: 420px;

	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;

	box-shadow: 0 25px 50px rgba(0,0,0,0.15);

	animation: ideas-modal-appear 0.25s ease;
}

/* Иконка */
.ideas-modal__icon {
	width: 64px;
	height: 64px;

	border-radius: 50%;
	background: #fef2f2;

	display: flex;
	align-items: center;
	justify-content: center;

	margin-bottom: 1.5rem;
	color: #ef4444;
}

.ideas-modal__icon svg {
	width: 32px;
	height: 32px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

/* Заголовок */
.ideas-modal__panel h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #111827;

	margin-bottom: 0.75rem;
}

/* Текст */
.ideas-modal__text {
	color: #6b7280;
	font-weight: 500;
	line-height: 1.5;

	margin-bottom: 2rem;
}

/* Кнопки */
.ideas-modal__actions {
	display: flex;
	gap: 1rem;
	width: 100%;
}

.ideas-modal .ideas-delete-modal-btn-holder{
	display: flex;
	flex: 1;
}

.ideas-modal .btn {
	flex: 1;
	border: none;
	border-radius: 0.75rem;

	padding: 0.875rem;
	font-weight: 700;

	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
}

/* Cancel */
.ideas-modal .btn-secondary {
	background: #f3f4f6;
	color: #374151;
}

.ideas-modal .btn-secondary:hover {
	background: #e5e7eb;
}

/* Delete */
.ideas-modal .btn-danger {
	background: #ef4444;
	color: #ffffff;

	box-shadow: 0 10px 20px rgba(239,68,68,0.25);
}

.ideas-modal .btn-danger:hover {
	background: #dc2626;
}

/* Анимация */
@keyframes ideas-modal-appear {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.kodo-ideas-entry-edit-dialog {
	background: #ffffff;
	padding: 1.25rem;
	border-radius: 1rem;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	border: 1px solid rgba(255,255,255,0.6);
	position: relative;
	overflow: hidden;
	display: block;
}

/* Убираем стандартную "карточную" стилизацию Bootstrap */
.kodo-ideas-entry-edit-dialog .card {
	background: transparent;
	border: none;
	box-shadow: none;
	margin: 0;
}

.kodo-ideas-entry-edit-dialog .card-body {
	padding: 0;
}

.kodo-ideas-entry-edit-dialog .card-footer {
	padding: 0;
	border: none;
	margin-top: 0.75rem;
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
}

/* Убираем form-floating поведение */
.kodo-ideas-entry-edit-dialog .form-floating {
	display: block;
}

.kodo-ideas-entry-edit-dialog .form-floating > label {
	display: none;
}

/* Инпут как textarea */
.kodo-ideas-entry-edit-dialog textarea.form-control {
	width: 100%;
	background: #f9fafb;
	color: #374151;
	border-radius: 0.75rem;
	padding: 0.75rem;
	outline: none;
	resize: none;
	min-height: 100px;
	font-size: 1.125rem;
	border: 1px solid #e5e7eb;
	transition: border-color 0.2s;
}

.kodo-ideas-entry-edit-dialog textarea.form-control:focus {
	border-color: #fcd34d;
	box-shadow: none;
}

/* Кнопки */
.kodo-ideas-entry-edit-dialog koi-idbutton button {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 0.5rem;
	transition: background-color 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	cursor: pointer;
}

/* Cancel */
.kodo-ideas-entry-edit-dialog koi-idbutton[item_action="ideas_entry_cancel"] button {
	background: transparent;
	color: #6b7280;
	border: none;
}

.kodo-ideas-entry-edit-dialog koi-idbutton[item_action="ideas_entry_cancel"] button:hover {
	background: #f3f4f6;
}

/* Save */
.kodo-ideas-entry-edit-dialog koi-idbutton[item_action="ideas_entry_save"] button {
	background: #fef3c7;
	color: #b45309;
	border: none;
}

.kodo-ideas-entry-edit-dialog koi-idbutton[item_action="ideas_entry_save"] button:hover {
	background: #fde68a;
}

/* Спиннер */
.kodo-ideas-entry-edit-dialog .spinner-border {
	margin-right: 0.25rem !important;
}
