/*============================================================================================*/
/* Starbazar – formulár pridať / upraviť inzerát – dizajn 2027                                 */
/*============================================================================================*/
.insert-item {
	border: 1px solid #e3ecf2;
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(15, 34, 48, 0.08);
	padding: 32px 36px;
}

.insert-item hr {
	margin: 28px 0;
	border-color: #edf2f6;
}

/* kroky */
.insert-item .form_title h3 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 21px;
	font-weight: 700;
	color: var(--sb-ink, #0f2230);
}

.insert-item .form_title h3 strong {
	position: static;
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	margin: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, #1495d6, #0b6f9e);
	color: #fff;
	font-size: 17px;
	line-height: 1;
}

.insert-item .form_title p {
	margin: 4px 0 0 50px;
	padding: 0;
	font-size: 14px;
	color: var(--sb-muted, #6d7d89);
}

.insert-item .form_title .red {
	color: #e5484d;
}

/* polia */
.insert-item .form-control {
	height: auto;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid #dbe6ee;
	border-radius: 12px;
	background-color: #fff;
	font-size: 15px;
	color: var(--sb-ink, #0f2230);
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.insert-item .form-control:focus {
	border-color: var(--sb-accent, #1495d6);
	box-shadow: 0 0 0 3px rgba(20, 149, 214, 0.15);
}

.insert-item .form-control::placeholder {
	color: #8a9aa6;
}

.insert-item select.form-control {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9aa6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 14px no-repeat;
}

.insert-item .form-group {
	margin-bottom: 16px;
}

.insert-item small,
.insert-item .form-group small {
	color: var(--sb-muted, #6d7d89);
}

/* telefón + SMS */
.insert-item .phone_number_field {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	position: relative;
}

.insert-item .phone_number_field .number-format {
	position: absolute;
	left: 14px;
	top: 13px;
	z-index: 2;
	font-size: 15px;
	color: var(--sb-ink, #0f2230);
}

.insert-item .phone_number_field input#phone {
	flex: 1 1 200px;
	padding-left: 26px;
	letter-spacing: 0.02em;
}

.insert-item #sent_sms_code {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 12px;
	background: var(--sb-accent, #1495d6);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.insert-item #sent_sms_code:hover {
	background: var(--sb-accent-dark, #0b6f9e);
}

.insert-item #sent_sms_code[disabled] {
	opacity: 0.7;
	cursor: wait;
}

.insert-item .phone_number_field > small {
	flex: 1 0 100%;
	font-size: 12px;
}

.insert-item .sms-status {
	display: block;
	font-size: 13px;
	font-weight: 600;
}

.insert-item .sms-status.is-ok {
	color: #0f8a45;
}

.insert-item .sms-status.is-error {
	color: #c2410c;
}

/* výber rubriky */
.insert-item #click {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
	gap: 10px;
	padding: 0;
	margin: 6px 0 0;
	list-style: none;
}

.insert-item li.main_category {
	width: auto;
	height: auto;
	margin: 0;
	float: none;
	border: 1px solid #e3ecf2;
	border-radius: 14px;
	background: #fff;
	box-shadow: none;
	transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.insert-item li.main_category > a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 8px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--sb-ink, #0f2230);
	text-align: center;
}

.insert-item li.main_category img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.insert-item li.main_category:hover {
	border-color: #b9dcf0;
	transform: translateY(-1px);
}

.insert-item li.main_category.active {
	border-color: var(--sb-accent, #1495d6);
	background: #eaf6fd;
	box-shadow: 0 0 0 2px rgba(20, 149, 214, 0.2);
}

.insert-item li.main_category.active > a {
	color: var(--sb-accent-dark, #0b6f9e);
}

/* rozbaľovacie časti */
.insert-item .message,
.insert-item .card-header {
	border-radius: 14px;
}

/* tlačidlá */
.insert-item .btn_1,
.insert-item input.btn_1 {
	min-height: 48px;
	padding: 0 22px;
	border-radius: 12px;
	background: var(--sb-accent, #1495d6);
	font-weight: 600;
	box-shadow: 0 8px 20px rgba(20, 149, 214, 0.28);
}

.insert-item .btn_1:hover {
	background: var(--sb-accent-dark, #0b6f9e);
}

.insert-item .big_btn {
	width: 100%;
	min-height: 58px;
	font-size: 18px;
	border-radius: 14px;
}

/* galéria (jquery.filer) */
.insert-item .jFiler-input-dragDrop {
	width: 100%;
	border: 2px dashed #b9dcf0;
	border-radius: 16px;
	background: #f6fbfe;
}

@media (max-width: 767.98px) {
	.insert-item {
		padding: 20px 16px;
		border-radius: 16px;
	}

	.insert-item .form_title h3 {
		font-size: 18px;
	}

	.insert-item .form_title p {
		margin-left: 0;
		margin-top: 8px;
	}

	.insert-item #click {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.insert-item li.main_category > a {
		padding: 10px 4px;
		font-size: 12px;
	}

	.insert-item li.main_category img {
		width: 34px;
		height: 34px;
	}

	.insert-item #sent_sms_code {
		flex: 1 1 100%;
		justify-content: center;
	}
}

/* nadpisy krokov bez starého odsadenia */
.insert-item .form_title {
	padding-left: 0;
	margin-bottom: 22px;
}

/*============================================================================================*/
/* Nový formulár „Pridať inzerát“ (4 kroky + bočný panel)                                      */
/*============================================================================================*/
.sb-post-page { padding: 20px 0 64px; }
.sb-post-head { margin-bottom: 18px; }
.sb-post-head h1 { margin: 10px 0 4px; font-size: 32px; font-weight: 700; letter-spacing: -0.01em; color: var(--sb-ink, #0f2230); }
.sb-post-head p { margin: 0; color: var(--sb-muted, #6d7d89); font-size: 16px; }

.sb-post-login { padding: 14px 18px; }
.sb-post-login summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-size: 15px; color: var(--sb-ink, #0f2230); }
.sb-post-login summary::-webkit-details-marker { display: none; }
.sb-post-login summary strong { color: var(--sb-accent-dark, #0b6f9e); }
.sb-post-login summary svg { width: 22px; height: 22px; color: var(--sb-accent, #1495d6); }
.sb-post-login__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 14px; }

.sb-post { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.sb-post__form { min-width: 0; }
.sb-post__aside { position: sticky; top: 96px; }

/* krok */
.sb-step { padding: 26px 28px; scroll-margin-top: 110px; }
.sb-step__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.sb-step__num { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #1495d6, #0b6f9e); color: #fff; font-size: 18px; font-weight: 700; }
.sb-step__head h2 { margin: 0; font-size: 21px; font-weight: 700; color: var(--sb-ink, #0f2230); }
.sb-step__head p { margin: 2px 0 0; font-size: 14px; color: var(--sb-muted, #6d7d89); }
.sb-step .sb-field { margin-bottom: 16px; }
.sb-field__hint { display: block; margin-top: 6px; font-size: 12px; color: var(--sb-muted, #6d7d89); }
.sb-field__error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #c2410c; }
.sb-step input.is-invalid, .sb-step select.is-invalid, .sb-step textarea.is-invalid { border-color: #e5484d !important; }

.sb-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.sb-post-grid--3 { grid-template-columns: 1.4fr 0.8fr 1.2fr; }
.sb-field--suffix { position: relative; }
.sb-field--suffix input { padding-right: 40px; font-size: 18px; font-weight: 600; }
.sb-field--suffix em { position: absolute; right: 14px; top: 38px; font-style: normal; font-weight: 700; color: var(--sb-muted, #6d7d89); }

/* prepínače (radio ako tlačidlá) */
.sb-toggle { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sb-field .sb-toggle { margin-bottom: 0; }
.sb-toggle label { position: relative; margin: 0; cursor: pointer; }
.sb-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sb-toggle span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--sb-card-border, #e3ecf2); border-radius: 12px; background: #fff; font-size: 15px; font-weight: 600; color: var(--sb-ink, #0f2230); transition: all 0.15s ease; }
.sb-toggle--small span { min-height: 40px; padding: 0 14px; font-size: 14px; }
.sb-toggle label:hover span { border-color: #b9dcf0; }
.sb-toggle input:checked + span { color: #fff; background: var(--sb-accent, #1495d6); border-color: var(--sb-accent, #1495d6); box-shadow: 0 6px 16px rgba(20, 149, 214, 0.25); }
.sb-toggle input:focus-visible + span { outline: 2px solid var(--sb-accent, #1495d6); outline-offset: 2px; }

/* výber kategórie */
.sb-cattiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.sb-cattile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border: 1px solid var(--sb-card-border, #e3ecf2); border-radius: 14px; background: #fff; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--sb-ink, #0f2230); cursor: pointer; transition: all 0.15s ease; }
.sb-cattile img { width: 40px; height: 40px; object-fit: contain; }
.sb-cattile:hover { border-color: #b9dcf0; transform: translateY(-1px); }
.sb-cattile.is-active { border-color: var(--sb-accent, #1495d6); background: #eaf6fd; color: var(--sb-accent-dark, #0b6f9e); box-shadow: 0 0 0 2px rgba(20, 149, 214, 0.2); }
.sb-catlevel { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--sb-card-border, #e3ecf2); }
.sb-catlevel__label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sb-muted, #6d7d89); }
.sb-catchips { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-catchip { min-height: 40px; padding: 0 16px; border: 1px solid var(--sb-card-border, #e3ecf2); border-radius: 999px; background: #fff; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--sb-ink, #0f2230); cursor: pointer; transition: all 0.15s ease; }
.sb-catchip:hover { border-color: var(--sb-accent, #1495d6); color: var(--sb-accent-dark, #0b6f9e); }
.sb-catchip.is-active { color: #fff; background: var(--sb-accent, #1495d6); border-color: var(--sb-accent, #1495d6); }
.sb-catchips__loading { font-size: 14px; color: var(--sb-muted, #6d7d89); }
.sb-catpath { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid #bfe3d0; border-radius: 14px; background: #eef9f2; font-weight: 600; color: #14532d; }
.sb-catpath svg { flex: 0 0 auto; width: 20px; height: 20px; color: #16a34a; }
.sb-catpath span { flex: 1 1 auto; min-width: 0; }
.sb-catpath button { padding: 0; border: 0; background: none; font-family: inherit; font-weight: 600; color: var(--sb-accent-dark, #0b6f9e); text-decoration: underline; cursor: pointer; }
.sb-error { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: #c2410c; }

/* editor a fotky */
.sb-step .note-editor.note-frame { border: 1px solid var(--sb-card-border, #e3ecf2); border-radius: 12px; overflow: hidden; box-shadow: none; }
.sb-step .note-editor .note-toolbar { background: #f7fafc; border-bottom: 1px solid var(--sb-card-border, #e3ecf2); }
.sb-step .jFiler-input-dragDrop { width: 100%; margin: 0; padding: 28px 16px; border: 2px dashed #b9dcf0; border-radius: 16px; background: #f6fbfe; color: var(--sb-ink, #0f2230); }

/* ďalšie možnosti */
.sb-more-options { margin-top: 4px; padding: 14px 16px; border: 1px solid var(--sb-card-border, #e3ecf2); border-radius: 14px; }
.sb-more-options summary { cursor: pointer; font-weight: 600; color: var(--sb-ink, #0f2230); }
.sb-more-options summary small { font-weight: 400; color: var(--sb-muted, #6d7d89); }
.sb-more-options[open] summary { margin-bottom: 14px; }

/* telefón + SMS */
.sb-phone { position: relative; display: flex; gap: 8px; }
.sb-phone__prefix { position: absolute; left: 14px; top: 12px; font-size: 15px; color: var(--sb-ink, #0f2230); z-index: 1; }
.sb-phone input[type="tel"] { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 10px 14px 10px 26px; border: 1px solid var(--sb-card-border, #e3ecf2); border-radius: 12px; font-size: 16px; letter-spacing: 0.03em; color: var(--sb-ink, #0f2230); }
.sb-phone input[type="tel"]:focus { outline: 0; border-color: var(--sb-accent, #1495d6); box-shadow: 0 0 0 3px rgba(20, 149, 214, 0.15); }
.sb-phone .sb-btn { flex: 0 0 auto; }
.sb-step .sms-status { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; }
.sb-step .sms-status.is-ok { color: #0f8a45; }
.sb-step .sms-status.is-error { color: #c2410c; }
.sb-field--code input { max-width: 220px; font-size: 20px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }

/* checkboxy */
.sb-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: 14px; line-height: 1.45; color: var(--sb-ink, #0f2230); cursor: pointer; }
.sb-check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--sb-accent, #1495d6); }
.sb-check a { color: var(--sb-accent-dark, #0b6f9e); text-decoration: underline; }
.sb-consents { margin: 18px 0 20px; padding-top: 18px; border-top: 1px dashed var(--sb-card-border, #e3ecf2); }
.sb-post__submit { min-height: 58px; font-size: 18px; border-radius: 14px; }
.sb-post__note { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--sb-muted, #6d7d89); }

/* bočný panel */
.sb-progress ol { list-style: none; margin: 0; padding: 0; }
.sb-progress li a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--sb-muted, #6d7d89); }
.sb-progress li i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #cfdde7; font-style: normal; }
.sb-progress li.is-current a { background: var(--sb-soft, #f4f8fb); color: var(--sb-ink, #0f2230); font-weight: 600; }
.sb-progress li.is-current i { border-color: var(--sb-accent, #1495d6); }
.sb-progress li.is-done i { border-color: #16a34a; background: #16a34a url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%223.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12l5 5L20 7%22/%3E%3C/svg%3E") center / 13px no-repeat; }

.sb-preview__label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sb-muted, #6d7d89); }
.sb-preview__img { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 10px; border-radius: 12px; background: var(--sb-soft, #f4f8fb); overflow: hidden; color: #b6c6d2; }
.sb-preview__img svg { width: 40px; height: 40px; }
.sb-preview__img img { width: 100%; height: 100%; object-fit: cover; }
.sb-preview__title { display: block; font-size: 16px; line-height: 1.3; color: var(--sb-ink, #0f2230); overflow-wrap: anywhere; }
.sb-preview__meta { display: block; margin-top: 4px; font-size: 13px; color: var(--sb-muted, #6d7d89); }
.sb-preview__price { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--sb-card-border, #e3ecf2); font-size: 20px; font-weight: 700; color: var(--sb-ink, #0f2230); }

.sb-tips { padding: 16px 18px; border-radius: 16px; background: #fff8e6; color: #5c4400; font-size: 13px; }
.sb-tips strong { display: block; margin-bottom: 6px; font-size: 14px; }
.sb-tips ul { margin: 0; padding-left: 18px; }
.sb-tips li + li { margin-top: 4px; }

@media (max-width: 991.98px) {
	.sb-post { grid-template-columns: minmax(0, 1fr); }
	.sb-post__aside { display: none; }
}

@media (max-width: 767.98px) {
	.sb-post-head h1 { font-size: 25px; }
	.sb-step { padding: 18px 16px; }
	.sb-step__num { width: 34px; height: 34px; font-size: 16px; }
	.sb-step__head h2 { font-size: 18px; }
	.sb-post-grid, .sb-post-grid--3, .sb-post-login__form { grid-template-columns: minmax(0, 1fr); }
	.sb-cattiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.sb-cattile { padding: 10px 4px; font-size: 12px; }
	.sb-cattile img { width: 32px; height: 32px; }
	.sb-toggle span { padding: 0 12px; }
	.sb-phone { flex-direction: column; }
	.sb-phone .sb-btn { width: 100%; }
}

/* fotky: výrazná plocha na pretiahnutie (jquery.filer changeInput) */
.sb-step .jFiler-input-dragDrop {
	padding: 0;
	border: 0;
	background: transparent;
}

.sb-step .import-image {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 170px;
	padding: 26px 16px;
	border: 2px dashed #b9dcf0;
	border-radius: 16px;
	background: #f6fbfe;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.sb-step .import-image::before {
	content: "";
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: #e2f1fb url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%231495d6%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 8a2 2 0 0 1 2-2h2l2-2h6l2 2h2a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z%22/%3E%3Ccircle cx=%2212%22 cy=%2213%22 r=%223.5%22/%3E%3C/svg%3E") center / 24px no-repeat;
}

.sb-step .import-image br {
	display: none;
}

.sb-step .import-image:hover,
.sb-step .jFiler-input-dragDrop.dragged .import-image {
	border-color: var(--sb-accent, #1495d6);
	background: #eef8fe;
}

.sb-step .import-text {
	font-size: 15px;
	font-weight: 600;
	color: var(--sb-ink, #0f2230);
}

.sb-step .import-image .tag.choose {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	padding: 0 18px;
	border-radius: 10px;
	background: var(--sb-accent, #1495d6);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

.sb-field--code input::placeholder {
	letter-spacing: 0.08em;
	font-weight: 500;
	text-transform: none;
	color: #9aabb7;
}

/*============================================================================================*/
/* Úprava inzerátu                                                                            */
/*============================================================================================*/
.sb-post--edit .sb-post__aside { display: grid; gap: 16px; }
.sb-alert { margin: 0 0 18px; padding: 14px 18px; border: 1px solid #f3c6c6; border-radius: 14px; background: #fdecec; color: #8e2222; font-size: 15px; }
.sb-alert ul { margin: 6px 0 0; padding-left: 18px; }

.sb-editcard { padding: 0; overflow: hidden; }
.sb-editcard__img { display: grid; place-items: center; aspect-ratio: 16 / 10; background: #eef4f8; color: #a9bac6; }
.sb-editcard__img img { width: 100%; height: 100%; object-fit: cover; }
.sb-editcard__img svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.sb-editcard__body { padding: 16px 18px 18px; }
.sb-editcard__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.sb-editcard__badges .sb-badge { position: static; }
.sb-editcard__body > strong { display: block; margin-bottom: 10px; font-size: 16px; line-height: 1.35; color: var(--sb-ink, #0f2230); }
.sb-editcard dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0 0 14px; font-size: 14px; }
.sb-editcard dt { color: #6d7d89; font-weight: 500; }
.sb-editcard dd { margin: 0; text-align: right; font-weight: 600; color: var(--sb-ink, #0f2230); }

.sb-topbox { position: relative; padding: 20px 18px 18px; border: 1px solid #f3dfa6 !important; background: linear-gradient(160deg, #fffaf0, #fff) !important; scroll-margin-top: 110px; }
.sb-topbox.is-on { border-color: #e9c45b !important; box-shadow: 0 0 0 3px rgba(242, 183, 5, .14); }
.sb-topbox__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 12px; background: #f2b705; color: #fff; box-shadow: 0 8px 18px rgba(242, 183, 5, .35); }
.sb-topbox__icon svg { width: 22px; height: 22px; fill: currentColor; }
.sb-topbox strong { display: block; font-size: 16px; color: #3d2c00; }
.sb-topbox p { margin: 4px 0 14px; font-size: 14px; line-height: 1.5; color: #6b5310; }
.sb-topbox p:last-child { margin-bottom: 0; }
.sb-topbox p a { color: #8a5a00; font-weight: 700; text-decoration: underline; }

.sb-dangerbox { padding: 18px; }
.sb-dangerbox strong { display: block; font-size: 15px; color: var(--sb-ink, #0f2230); }
.sb-dangerbox p { margin: 2px 0 12px; font-size: 14px; color: #6d7d89; }

.sb-btn--top { background: linear-gradient(135deg, #f7c531, #e0a400); border-color: #e0a400; color: #3d2c00 !important; box-shadow: 0 8px 20px rgba(224, 164, 0, .3); }
.sb-btn--top:hover { filter: brightness(1.04); color: #3d2c00 !important; }
.sb-btn--top svg { fill: currentColor; stroke: none; }
.sb-btn--danger { background: #fff; border-color: #f1c4c4; color: #c93636 !important; }
.sb-btn--danger:hover { background: #fdecec; border-color: #e9a9a9; color: #ad2a2a !important; }

@media (max-width: 991.98px) {
	.sb-post--edit .sb-post__aside { display: grid; position: static; order: -1; grid-template-columns: 1fr 1fr; }
	.sb-post--edit .sb-editcard { grid-column: 1 / -1; display: grid; grid-template-columns: 120px 1fr; }
	.sb-post--edit .sb-editcard__img { aspect-ratio: auto; height: 100%; min-height: 120px; }
}
@media (max-width: 575.98px) {
	.sb-post--edit .sb-post__aside { grid-template-columns: 1fr; }
	.sb-post--edit .sb-editcard dl { display: none; }
}
.sb-edit-delete-mobile { display: none; }
@media (max-width: 991.98px) {
	.sb-post--edit .sb-dangerbox { display: none; }
	.sb-edit-delete-mobile { display: block; margin-top: 16px; text-align: center; color: #c93636 !important; font-weight: 600; font-size: 15px; }
}
