/* ============================================================
   1. NOWOCZESNE ZMIENNE I BAZA (V3 - GLASSMORPHISM)
   ============================================================ */
:root {
	--primary-color: #2e7d32;
	/* Głęboka zieleń */
	--primary-hover: #1b5e20;
	--secondary-color: #d84315;
	/* Koral/Rdza */
	--dark-bg: #1a1a1a;
	--light-text: #f8f9fa;
	--text-color: #333;

	/* Efekt Mlecznego Szkła */
	--glass-bg: rgba(255, 255, 255, 0.85);
	/* 85% bieli */
	--glass-border: 1px solid rgba(255, 255, 255, 0.4);
	--glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
	--backdrop-blur: blur(10px);
	/* Rozmycie tła */

	--transition: all 0.3s ease-in-out;
}

body {
	font-family: 'Raleway', sans-serif;
	color: var(--text-color);
	background: transparent;
	/* Ważne dla tła slideshow */
	overflow-x: hidden;
}

.font-bebas {
	font-family: 'Bebas Neue', sans-serif;
}

/* ============================================================
   2. GŁÓWNY NAGŁÓWEK (TOP BAR)
   ============================================================ */
#main-header {
	background-color: var(--dark-bg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	padding: 15px 0;
	position: relative;
	z-index: 10000;
}

/* Logo */
.brand-wrapper {
	text-decoration: none;
	display: inline-block;
	transition: var(--transition);
}

.brand-wrapper:hover {
	transform: scale(1.02);
	text-decoration: none;
}

#header-title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 42px;
	color: var(--light-text);
	line-height: 0.9;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0;
}

#header-subtitle {
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	color: var(--secondary-color);
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	margin-top: 5px;
	display: block;
}

/* Wyszukiwarka */
.search-container {
	position: relative;
	max-width: 500px;
	width: 100%;
}

.modern-search {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	border-radius: 50px;
	padding: 10px 20px;
	height: 45px;
	width: 100%;
	transition: var(--transition);
}

.modern-search:focus {
	background: rgba(255, 255, 255, 0.2);
	outline: none;
	box-shadow: 0 0 0 2px var(--primary-color);
}

.search-btn {
	position: absolute;
	right: 5px;
	top: 5px;
	background: var(--primary-color);
	border: none;
	color: white;
	border-radius: 50%;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--transition);
}

.search-btn:hover {
	background: #43a047;
	transform: rotate(15deg);
}

/* Dropdowny w nagłówku */
.header-actions .dropdown-menu {
	background-color: #fff;
	border: none;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	padding: 10px;
	min-width: 250px;
	z-index: 10001;
	margin-top: 10px;
}

.header-actions .dropdown-item {
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
	padding: 12px 15px;
	margin-bottom: 5px;
	border-radius: 5px;
	transition: all 0.2s;
	color: #444;
	border-left: 3px solid transparent;
}

.header-actions .dropdown-item:hover {
	background-color: #f1f8e9;
	color: var(--primary-color);
	border-left: 3px solid var(--primary-color);
}

.dropdown-divider {
	border-top: 1px solid #eee;
	margin: 8px 0;
}

/* Przycisk Panelu */
.header-actions .btn-panel {
	background-color: #d84315;
	color: white;
	font-family: 'Bebas Neue', sans-serif;
	letter-spacing: 1px;
	border-radius: 4px;
	padding: 8px 20px;
	border: none;
}

.header-actions .btn-panel:hover {
	background-color: #bf360c;
}

/* ============================================================
   3. NAWIGACJA (STICKY MENU)
   ============================================================ */
#sticky-nav {
	background-color: rgba(46, 125, 50, 0.85);
	backdrop-filter: var(--backdrop-blur);
	-webkit-backdrop-filter: var(--backdrop-blur);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 0;
	z-index: 999;
}

.nav-link-custom {
	color: rgba(255, 255, 255, 0.9) !important;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 19px;
	padding: 15px 25px !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	transition: var(--transition);
}

.nav-link-custom:hover {
	background-color: rgba(255, 255, 255, 0.15);
	color: #ffffff !important;
}

/* ============================================================
   4. GŁÓWNE KONTENERY (SZKŁO)
   ============================================================ */
/* Styl wspólny */
.glass-container {
	background: var(--glass-bg);
	box-shadow: var(--glass-shadow);
	backdrop-filter: var(--backdrop-blur);
	-webkit-backdrop-filter: var(--backdrop-blur);
	border-radius: 16px;
	border: var(--glass-border);
}

/* LEWE MENU */
#left-menu-wrapper {
	background: var(--glass-bg);
	box-shadow: var(--glass-shadow);
	backdrop-filter: var(--backdrop-blur);
	-webkit-backdrop-filter: var(--backdrop-blur);
	border-radius: 16px;
	border: var(--glass-border);
	overflow: hidden;
	margin-bottom: 20px;
}

.cat-header {
	background: linear-gradient(45deg, var(--primary-color), #43a047);
	color: white;
	padding: 15px 20px;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 24px;
	letter-spacing: 1px;
}

.cat-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cat-list li a {
	display: block;
	padding: 12px 20px;
	color: #444;
	text-decoration: none;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	font-weight: 600;
	font-size: 15px;
	transition: var(--transition);
	display: flex;
	justify-content: space-between;
}

.cat-list li a:hover {
	background-color: rgba(46, 125, 50, 0.1);
	color: var(--primary-color);
	padding-left: 25px;
}

.cat-count {
	background: rgba(0, 0, 0, 0.1);
	color: #555;
	border-radius: 10px;
	padding: 2px 8px;
	font-size: 12px;
}

/* GŁÓWNA TREŚĆ */
.content-wrapper {
	background: var(--glass-bg);
	box-shadow: var(--glass-shadow);
	backdrop-filter: var(--backdrop-blur);
	-webkit-backdrop-filter: var(--backdrop-blur);
	border-radius: 16px;
	border: var(--glass-border);
	padding: 30px;
}

/* ============================================================
   5. WIDOK PRZEPISU (STYL OSOBISTY)
   ============================================================ */
.recipe-view-container {
	animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

#recipe-buttons-toolbar {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-bottom: 15px;
	margin-bottom: 25px;
}

/* Przycisk Wróć */
.btn-back-link {
	background: rgba(255, 255, 255, 0.5);
	color: #666;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 50px;
	padding: 8px 20px;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 14px;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
}

.btn-back-link i {
	margin-right: 8px;
	font-size: 12px;
}

.btn-back-link:hover {
	background-color: #fff;
	color: var(--secondary-color);
	border-color: var(--secondary-color);
	box-shadow: 0 2px 8px rgba(216, 67, 21, 0.15);
	transform: translateX(-3px);
}

/* Przyciski Akcji */
.btn-action-soft {
	border: none;
	border-radius: 50px;
	padding: 8px 20px;
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 13px;
	margin-left: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
}

.btn-action-soft i {
	margin-right: 6px;
}

.btn-action-soft:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-soft-primary {
	background-color: var(--primary-color);
	color: #fff;
}

.btn-soft-primary:hover {
	background-color: var(--primary-hover);
}

.btn-soft-danger {
	background-color: #ffebee;
	color: #c62828;
}

.btn-soft-danger:hover {
	background-color: #c62828;
	color: #fff;
}

.btn-soft-warning {
	background-color: #fffde7;
	color: #f9a825;
}

.btn-soft-warning:hover {
	background-color: #f9a825;
	color: #fff;
}

/* Nagłówek przepisu */
.recipe-header-section {
	text-align: center;
	margin-bottom: 40px;
}

.recipe-title {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 4rem;
	color: #222;
	margin-bottom: 10px;
	line-height: 1;
	text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.title-separator {
	display: block;
	width: 80px;
	height: 3px;
	background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
	margin: 15px auto;
	border-radius: 10px;
}

.recipe-meta {
	font-family: 'Raleway', sans-serif;
	color: #666;
	font-size: 15px;
	font-weight: 600;
}

.recipe-meta span {
	margin: 0 12px;
}

.recipe-meta i {
	color: var(--secondary-color);
	margin-right: 5px;
}

/* Karty (Solidne Białe na Szkle) */
.recipe-card {
	background: #fff;
	border: none;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	height: 100%;
	position: relative;
	border-top: 4px solid var(--primary-color);
}

.recipe-card-header {
	background: #fff;
	padding: 20px 25px 10px 25px;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.6rem;
	color: var(--primary-color);
	letter-spacing: 1px;
	border-bottom: 1px dashed #eee;
}

.recipe-card-body {
	padding: 25px;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: #444;
}

.ingredients-content {
	color: #333;
	font-weight: 600;
}

/* Galeria */
.recipe-gallery-img {
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
	border: 3px solid #fff;
}

.recipe-gallery-img:hover {
	transform: scale(1.03);
}

/* ============================================================
   6. RWD (MOBILE)
   ============================================================ */
@media (max-width: 991px) {
	#main-header {
		padding: 10px 0;
	}

	.header-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.search-container {
		margin: 15px 0;
		width: 90%;
	}

	#header-title {
		font-size: 32px;
	}

	.header-actions {
		width: 100%;
		text-align: center !important;
		margin-top: 10px;
	}

	#sticky-nav .navbar-nav {
		background: rgba(46, 125, 50, 0.95);
		padding: 10px;
		border-radius: 8px;
	}

	.nav-link-custom {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		text-align: center;
		padding: 12px !important;
	}

	.recipe-title {
		font-size: 2.8rem;
	}

	#recipe-buttons-toolbar {
		text-align: center;
	}

	.btn-back-link {
		width: 100%;
		justify-content: center;
		margin-bottom: 15px;
	}

	.btn-action-soft {
		margin: 5px 2px;
	}
}

/* ============================================================
   7. TRYB CZYTANIA I DUŻE PRZYCISKI
   ============================================================ */
body.phone-mode {
	background: #fff !important;
}

body.phone-mode #main-header,
body.phone-mode #sticky-nav,
body.phone-mode #left-menu-wrapper,
body.phone-mode footer,
body.phone-mode #recipe-buttons-toolbar,
body.phone-mode .recipe-header-section .recipe-meta,
body.phone-mode .title-separator {
	display: none !important;
}

body.phone-mode .container {
	max-width: 100%;
	padding: 0 10px;
}

body.phone-mode .content-wrapper {
	/* W trybie czytania usuwamy efekt szkła, zostaje czysta biel */
	background: #fff !important;
	box-shadow: none;
	border: none;
	padding: 10px 0;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

body.phone-mode .recipe-title {
	font-size: 2.5rem;
	margin-top: 20px;
}

body.phone-mode #ingredients-card {
	flex: 0 0 100%;
	max-width: 100%;
	margin-bottom: 20px;
}

body.phone-mode .recipe-card {
	box-shadow: none;
	border: 1px solid #eee;
	border-top-width: 4px;
}

/* PRZYCISK WŁĄCZANIA (Zielona Książka - NAPRAWIONY) */
#mobile-read-trigger {
	position: fixed !important;
	/* Musi być fixed */
	bottom: 25px !important;
	/* Odstęp od dołu */
	right: 20px !important;
	/* Odstęp od prawej */
	z-index: 200000 !important;
	/* Musi być nad wszystkim */

	/* Wygląd */
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: var(--primary-color);
	color: white;
	border: 3px solid white;
	/* Biała ramka, żeby odcinał się od tła */

	/* Centrowanie */
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;

	/* Cień */
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
	cursor: pointer;
	transition: transform 0.2s ease;
}

#mobile-read-trigger:active {
	transform: scale(0.90);
}

/* Ukrywamy go w trybie czytania */
body.phone-mode #mobile-read-trigger {
	display: none !important;
}

/* PRZYCISK WYJŚCIA (Czerwony X - DUŻY) */
#exit-phone-mode-btn {
	position: fixed !important;
	top: 20px !important;
	right: 20px !important;
	z-index: 200001 !important;
	width: 55px;
	height: 55px;
	font-size: 24px;
	border: 3px solid white;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   8. NAPRAWA I STYLIZACJA MODALA LOGOWANIA (Z-INDEX FIX)
   ============================================================ */
/* 1. NAPRAWA Z-INDEX */
.modal-backdrop {
	z-index: 100040 !important;
	background-color: rgba(0, 0, 0, 0.6);
}

.modal {
	z-index: 100050 !important;
}

/* 2. SZKLANY WYGLĄD OKNA */
.modal-content {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.5);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
	border-radius: 15px;
}

.modal-header {
	background: var(--primary-color);
	color: white;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	border-bottom: none;
	padding: 20px 25px;
}

.modal-title {
	font-family: 'Bebas Neue', sans-serif;
	letter-spacing: 1px;
	font-size: 1.5rem;
}

.modal-header .close {
	color: white;
	opacity: 0.8;
	text-shadow: none;
	transition: opacity 0.2s;
}

.modal-header .close:hover {
	opacity: 1;
}

.modal-body {
	padding: 30px 25px;
	font-family: 'Raleway', sans-serif;
}

/* Inputy w modalu */
.modal-body input.form-control {
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid #ccc;
	height: 45px;
	border-radius: 8px;
	margin-bottom: 15px;
	font-size: 15px;
	color: #333;
}

.modal-body input.form-control:focus {
	background: #fff;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.modal-body label {
	font-weight: 700;
	color: #555;
	margin-bottom: 5px;
	display: block;
}

/* Stopka modala */
.modal-footer {
	border-top: none;
	padding: 15px 25px 25px;
	justify-content: space-between;
}

.modal-footer .btn {
	border-radius: 50px;
	padding: 8px 25px;
	font-family: 'Bebas Neue', sans-serif;
	letter-spacing: 1px;
	font-size: 16px;
}

.modal-footer .btn-secondary {
	background-color: #eee;
	color: #555;
	border: none;
}

.modal-footer .btn-secondary:hover {
	background-color: #e0e0e0;
}

.modal-footer .btn-primary {
	background-color: var(--secondary-color);
	border: none;
}

.modal-footer .btn-primary:hover {
	background-color: #bf360c;
}

/* ============================================================
   11. NOWY SYSTEM FORMULARZY - STYL "PRZEPIŚNIK"
   ============================================================ */

/* Główny kontener - Tło szare, żeby odciąć się od strony */
.cookbook-form-container {
	background-color: #f4f4f4;
	/* Jasny szary, techniczny */
	border-radius: 4px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	/* Cień */
	padding: 0;
	/* Padding zerowy, bo marginesy robią rowy */
	overflow: hidden;
	border: 1px solid #dcdcdc;
	margin-bottom: 40px;
}

/* Pasek tytułowy formularza */
.form-main-header {
	background-color: #17a2b8;
	/* Ciemny jak nagłówek strony */
	color: #fff;
	padding: 15px 20px;
	border-bottom: 4px solid var(--primary-green);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.form-main-header h2 {
	font-family: 'Bebas Neue', sans-serif;
	margin: 0;
	font-size: 1.8rem;
	letter-spacing: 1px;
}

/* Wnętrze formularza */
.form-body {
	padding: 25px;
}

/* Pola formularza - WYRAŹNE */
.recipe-input {
	background-color: #fff !important;
	/* Czysta biel */
	border: 1px solid #aaa !important;
	/* Ciemniejsza ramka */
	border-radius: 3px !important;
	/* Lekkie zaokrąglenie */
	padding: 10px 12px;
	font-size: 14px !important;
	/* Standardowa wielkość */
	color: #333;
	font-family: 'Raleway', sans-serif;
	transition: all 0.2s ease-in-out;
}

.recipe-input:focus {
	border-color: var(--primary-green) !important;
	box-shadow: 0 0 0 3px rgba(62, 143, 62, 0.2) !important;
	outline: none;
}

/* Select (Kategoria) - Poprawiona wysokość */
select.recipe-input {
	height: 42px !important;
}

/* Etykiety nad polami */
.recipe-label {
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	color: #555;
	margin-bottom: 5px;
	display: block;
	letter-spacing: 0.5px;
}

/* SEKCJE SKŁADNIKI I TREŚĆ */
.recipe-section {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	height: 100%;
}

.recipe-section-header {
	color: #ffffff !important;
	/* Wymuszony biały tekst */
	padding: 12px 15px;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.3rem;
	letter-spacing: 1px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Wymuszamy kolory tła kodami HEX (zamiast zmiennych), żeby na pewno działało */
.header-green {
	background-color: #3e8f3e !important;
	/* Klasyczna zieleń */
}

.header-coral {
	background-color: #d84315 !important;
	/* Koralowy/Rdza */
}

/* Dodatkowo upewnijmy się, że kontenery mają ramkę */
.recipe-section {
	border: 1px solid #ccc;
	background-color: #fff;
	border-radius: 4px;
	overflow: hidden;
}

/* #d84315 */

/* Obszar tekstowy wewnątrz sekcji */
.recipe-textarea {
	border: none !important;
	/* Bez ramki, bo sekcja ma ramkę */
	width: 100%;
	padding: 15px;
	resize: vertical;
	font-size: 14px;
	background: #fff;
}

.recipe-textarea:focus {
	outline: none;
	background: #fafafa;
}

/* Przyciski */
.btn-solid {
	border-radius: 3px;
	padding: 8px 20px;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: none;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: transform 0.1s;
}

.btn-solid:active {
	transform: translateY(1px);
}

/* Dropzone */
.custom-dropzone {
	background: #e8f5e9;
	/* Bardzo jasny zielony */
	border: 2px dashed var(--primary-green);
	border-radius: 4px;
	padding: 20px;
	margin-top: 20px;
	text-align: center;
}

/* ============================================================
   STYLIZACJA MODALA USUWANIA (DANGER STYLE)
   ============================================================ */

#modal-usun-przepis .modal-content {
	border: none;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

#modal-usun-przepis .modal-header {
	background-color: #dc3545;
	/* Czerwony kolor ostrzegawczy */
	color: white;
	border-bottom: none;
	padding: 15px 20px;
}

#modal-usun-przepis .modal-title {
	font-family: 'Bebas Neue', sans-serif;
	letter-spacing: 1px;
	font-size: 1.4rem;
}

#modal-usun-przepis .close {
	color: white;
	opacity: 0.8;
	text-shadow: none;
}

#modal-usun-przepis .close:hover {
	opacity: 1;
}

#modal-usun-przepis .modal-body {
	padding: 25px 20px;
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
	color: #333;
	background: #fff;
}

#modal-usun-przepis .modal-footer {
	background: #f8f9fa;
	border-top: 1px solid #eee;
	padding: 15px 20px;
}

#modal-usun-przepis .btn {
	border-radius: 50px;
	padding: 8px 25px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
}

/* ============================================================
   12. NAPRAWA KOLORÓW POWIADOMIEŃ (NOTY)
   ============================================================ */

/* Styl bazowy dymka */
.noty_theme__metroui.noty_bar {
	margin: 4px 0;
	overflow: hidden;
	position: relative;
	border: 1px solid transparent;
	border-radius: 4px;
	/* Zaokrąglone rogi */
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	/* Cień */
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
}

.noty_theme__metroui .noty_body {
	padding: 15px 20px;
	font-weight: 600;
}

.noty_theme__metroui .noty_progressbar {
	height: 3px;
}

/* --- KOLORY --- */

/* SUKCES (Zielony) */
.noty_theme__metroui.noty_type__success {
	background-color: #3e8f3e !important;
	/* Twój zielony */
	color: #fff !important;
	border-bottom: 2px solid #2b6b2b;
}

/* BŁĄD (Czerwony) */
.noty_theme__metroui.noty_type__error {
	background-color: #dc3545 !important;
	color: #fff !important;
	border-bottom: 2px solid #a71d2a;
}

/* INFO (Niebieski/Szary - używany przy 'Teraz dodaj zdjęcia') */
.noty_theme__metroui.noty_type__info {
	background-color: #17a2b8 !important;
	color: #fff !important;
	border-bottom: 2px solid #117a8b;
}

/* OSTRZEŻENIE (Żółty/Pomarańczowy) */
.noty_theme__metroui.noty_type__warning {
	background-color: #ffc107 !important;
	color: #333 !important;
	border-bottom: 2px solid #d39e00;
}

/* ============================================================
   13. STYLIZACJA WYNIKÓW WYSZUKIWANIA (AUTOCOMPLETE)
   ============================================================ */

/* Kontener główny (lista, która się pojawia) */
#suggestions {
	position: absolute;
	width: 100%;
	z-index: 10002;
	/* Musi być nad wszystkim */
	top: 100%;
	/* Dokładnie pod inputem */
	left: 0;
}

#autoSuggestionsList {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	/* Solidny cień */
	border: 1px solid #e0e0e0;
	overflow: hidden;
	/* Żeby rogi nie wystawały */
	margin-top: 10px;
	padding: 0;
}

/* Pojedynczy element (link) */
.search-item {
	display: flex;
	align-items: center;
	padding: 12px 20px;
	text-decoration: none !important;
	/* Usuwamy podkreślenie */
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.2s ease;
	color: #444;
}

.search-item:last-child {
	border-bottom: none;
}

/* Efekt najechania */
.search-item:hover {
	background-color: #f8f9fa;
	/* Jasne tło */
	padding-left: 25px;
	/* Lekkie przesunięcie w prawo */
	color: var(--primary-green) !important;
	/* Zielony tekst */
}

/* Ikona po lewej */
.search-icon {
	width: 30px;
	color: #ccc;
	font-size: 14px;
	transition: color 0.2s;
}

.search-item:hover .search-icon {
	color: var(--primary-green);
}

/* Tekst przepisu */
.search-text {
	flex-grow: 1;
	/* Zajmuje całą dostępną przestrzeń */
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
	font-size: 14px;
}

/* Strzałka po prawej */
.search-arrow {
	color: #eee;
	font-size: 12px;
}

.search-item:hover .search-arrow {
	color: var(--primary-green);
}

/* Brak wyników */
.search-no-results {
	padding: 20px;
	text-align: center;
	color: #888;
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	background: #fff;
}

.search-no-results i {
	font-size: 24px;
	margin-bottom: 5px;
	color: var(--accent-coral);
	/* Koralowa minka */
	opacity: 0.6;
}