
.custom-checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    user-select: none; 
    margin: 15px 0;
}

.custom-checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    height: 22px;
    width: 22px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 12px;
    transition: background-color 0.2s ease;
}

.custom-checkbox-container:hover .checkmark {
    background-color: #ddd;
}

.custom-checkbox-container input:checked ~ .checkmark {
    background-color: #28a745; 
    border-color: #218838;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.custom-checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* --- 2. Стилизиране на бутона за качване на файлове --- */

input[type="file"]#file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.custom-file-upload {
	display: inline-block;
	padding: 12px 20px;
	cursor: pointer;
	background-color: #2980b9;
	color: white;
	border: none;
	border-radius: 5px;
	color: #fff;
	font: bold 15px Arial;
	transition: background-color 0.2s ease;
	margin-bottom: 15px;
}

.custom-file-upload:hover {
	background-color: #3498db; 
}

.AddAdsSubmit {
	background-color: #28a745;
	color: white;
	font: bold 15px Arial;	
	text-transform: uppercase;
	padding: 12px 20px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	letter-spacing: 0.5px;
}

.AddAdsSubmit:hover {
    background-color: #218838; 
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px); 
	    border: none;
}

.AddAdsSubmit:active {
    transform: translateY(0); 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);  border: none;
}

#file-limit-warning {
	color:red; font: normal 14px Arial; display:none;
}

.center-wrapper {
    display: flex;
    justify-content: center;
}



	
	
	
	
	
	.user-menu-container {
		position: relative;
		display: inline-block;
	}

	.user-menu-trigger {
		display: flex;
		align-items: center;
		gap: 8px;
		cursor: pointer;
		font-size: 14px;
		padding: 5px;
		border-radius: 5px; 
		transition: background-color 0.2s ease, color 0.2s ease; 
		font: bold 13px Arial;	
	}

	.user-menu-trigger:hover {
		background-color: #f0f0f0; 
	}

	.user-menu-trigger .fa-user-circle {
		font-size: 20px;
		color: #555;
	}

	.user-menu-dropdown {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		background-color: white;
		border: 1px solid #ddd;
		border-radius: 5px;
		box-shadow: 0 4px 10px rgba(0,0,0,0.1);
		min-width: 170px; 
		z-index: 1000;
		list-style: none;
		margin: 0 -5px 0 0;
		overflow: hidden; 
		font: bold 15px Arial;	
		text-align: left; 
		padding: 10px; 
		min-width: 230px; 
	}

	.user-menu-container:hover .user-menu-dropdown {
		display: block;
	}

	.user-menu-dropdown li a {
		display: flex; 
		align-items: center; 
		gap: 7px; 
		padding: 10px 20px;
		color: #333;
		text-decoration: none;
		font-size: 13px;
		transition: background-color 0.2s ease, color 0.2s ease;
	}

	.user-menu-dropdown li a:hover {
		background-color: #296eae;
		color: white; 
	}

	.user-menu-dropdown li a i {
		width: 20px;
		text-align: center;
		color: #888; 
		transition: color 0.2s ease;
	}

	.user-menu-dropdown li a:hover i {
		color: white;
	}

	.panel-section {
		margin-top: 0px;
		margin-bottom: 0px;
	}
	
	.user-nav.sub-menu {
		padding-left: 10px;
	}
	.user-nav.sub-menu-message {
		border:1px solid red;
		padding: 10px;
	}
	.user-nav a .count {
		color: #888;
		font-size: 0.9em;
		padding-left: 10px; 
		transition: color 0.2s ease;
	}

	.user-menu-dropdown .panel-section-title {
		font-size: 11px;
		font-weight: bold;
		color: #888;
		text-transform: uppercase;
		padding: 0 15px 5px 15px;
		margin: 0;
	}

	.user-menu-dropdown .user-nav {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.user-menu-dropdown li {
		list-style: none;
	}


	.user-menu-dropdown .user-nav a {
		border-radius: 5px; 
	}
	.user-menu-dropdown .panel-divider {
		height: 1px;
		background-color: #dadada;
		margin: 0px 0  10px 0;
	}

	.wallet-info {
		padding: 5px 25px;
	}
	.wallet-info .balance-label {
		font-size: 13px;
		color: #555;
		display: block;
	}
	.wallet-info .balance-amount {
		font-size: 18px;
		font-weight: bold;
		color: #28a745;
		display: block;
		margin-top: 2px;
	}

		.login-register-buttons {
			display: flex;
			align-items: center;
			gap: 5px; 
			font: bold 15px Arial;
			margin-left:-30px;
			letter-spacing:0.5px;
		}

		.auth-btn {
			display: flex;
			align-items: center;
			gap: 8px;
			padding: 8px 15px;
			border-radius: 5px;
			font-size: 14px;
			font-weight: bold;
			text-decoration: none;
			border: 2px solid transparent; 
			transition: all 0.2s ease-in-out;
		}

		.auth-btn.btn-login {
			color: #333;
			background-color: #f0f0f0; 
			border-color: #f0f0f0;
		}

		.auth-btn.btn-login:hover {
			background-color: #e0e0e0; 
			border-color: #e0e0e0;
		}

		.auth-btn.btn-register {
			color: white;
			background-color: #28a745; 
			border-color: #28a745;
		}

		.auth-btn.btn-register:hover {
			background-color: #218838; 
			border-color: #218838;
		}

		.auth-btn i {
			font-size: 16px;
		}


	#hamburger-btn {
		background: none; border: none; font-size: 24px; color: #333; cursor: pointer;
		padding: 10px; position: absolute; top: 15px; right: 65px; z-index: 1001;
		
	}

	#nav-overlay {
		position: fixed; top: 0; left: 0; width: 100%; height: 100%;
		background-color: rgba(0, 0, 0, 0.6); z-index: 1002;
		opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
	}
	#nav-overlay.panel-open { opacity: 1; visibility: visible; }

	#mobile-nav-panel {
		position: fixed; top: 0; right: 0; width: 280px; height: 100%;
		background-color: #f9f9f9; 
		z-index: 1003; box-shadow: -2px 0 15px rgba(0,0,0,0.15);
		transform: translateX(100%); transition: transform 0.3s ease-in-out;
		display: flex; flex-direction: column;	font: bold 15px Arial;
	}
	#mobile-nav-panel.panel-open { transform: translateX(0); }

	#mobile-nav-panel .panel-header {
		display: flex; justify-content: flex-end; 
		padding: 10px;
	}
	#close-panel-btn {
		background: none; border: none; font-size: 32px; cursor: pointer; color: #aaa;
	}
	#close-panel-btn:hover { color: #333; }

	#mobile-nav-panel .panel-content {
		padding: 0 20px 20px 20px; flex-grow: 1;
	}

	.panel-content .user-info {
		display: flex; flex-direction: column; align-items: center;
		gap: 10px; font-weight: bold; text-align: center;
		padding: 20px 0; border-bottom: 1px solid #eee; margin-bottom: 20px;
	}
	.panel-content .user-info .fa-user-circle { font-size: 48px; color: #ccc; }
	.panel-content .user-info span { font-size: 16px; word-break: break-all; }

	.panel-content .user-nav { list-style: none; padding: 0; margin: 0; }
	.panel-content .user-nav a {
		display: flex; align-items: center; gap: 10px;
		padding: 7px 7px; text-decoration: none; color: #333;
		font-size: 13px; border-radius: 8px; transition: background-color 0.2s, color 0.2s;
	}
	.panel-content .user-nav a:hover {
		background-color: #e9e9e9; color: #000;
	}

	.auth-buttons-mobile {
		display: flex; flex-direction: column; gap: 15px; margin-top: 20px;
	}
	.auth-buttons-mobile .auth-btn { text-align: center; justify-content: center; padding: 12px; }

.shareLink {
    display: block;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 4px;
    text-align: center;
    color: white !important;
    text-decoration: none;
    font-weight: bold;
}

.facebookShare {
    background-color: #3b5998; 
}

.facebookShare:hover {
    background-color: #2d4373;
}

.listing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0px!important;
    align-items: center;
}

.action-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.action-btn i {
    font-size: 16px; 
    line-height: 1;
}


.btn-promote {
    padding: 2px 6px;
    background-color: #dc3545!important;
    color: #b10000 !important;
    border-color: #dadada;
    font-family: 'Roboto Condensed', Arial!important;
}
.btn-promote .action-btn-text {
    white-space: normal; 
    text-align: left; 
    font-size: 13px;
    font-weight: bold;;
}
.btn-promote:hover {
	background-color: #c90808!important;
	border-color: #800000!important;
	 color: #fff !important;
}

.action-btn:not(.btn-promote) {
	flex-direction: column;
	justify-content: center;
	width: 45px;
	height: 45px; 
	gap: 4px;     
	background-color: #fff;
	color: #444 !important;
}
.action-btn:not(.btn-promote):hover {
	border-color: #bbb;
	color: #111 !important;
}

.action-btn-subtext {
    font-size: 10px;
    line-height: 1;
    font-family: 'Roboto Condensed', Arial, sans-serif!important;
	 font-weight: bold; 
}

.action-btn:not(.btn-promote)::before, 
.action-btn:not(.btn-promote)::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;	
    font-family: 'Roboto Condensed', Arial!important;
    transform: translateX(-50%) translateY(5px);
}
.action-btn:not(.btn-promote)::after {
    content: attr(data-tooltip);
    bottom: 115%;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid transparent;
}
.action-btn:not(.btn-promote)::before {
    content: '';
    bottom: 115%;
    margin-bottom: -5px;
    border: 5px solid transparent;
}
.action-btn:not(.btn-promote):hover::before, 
.action-btn:not(.btn-promote):hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


.btn-refresh::after { background-color: darkorange; border-color: #cc7000!important; }
.btn-refresh::before { border-top-color: #cc7000!important; }

.btn-edit::after { background-color: #2A6EAE; border-color: #245d94; }
.btn-edit::before { border-top-color: #245d94; }

.btn-niviplus::after { background-color: #189157; border-color: #137546; }
.btn-niviplus::before { border-top-color: #137546; }

.btn-delete::after { background-color: #222; border-color: #111; }
.btn-delete::before { border-top-color: #111; }


.listing-actions {
	display: flex;
	flex-wrap: wrap;
	gap:  4px;
	margin-top: 0px;
	align-items: center;
}

.action-btn {
    position: relative; display: inline-flex; align-items: center; height: 40px; border: 1px solid #ddd;
    border-radius: 5px; font-family: Arial, sans-serif; text-decoration: none; cursor: pointer; transition: all 0.2s ease-in-out;
}
.action-btn i {
    font-size: 16px; line-height: 1;
}

.btn-promote {
    padding: 0 12px; background-color: #b10000; color: #fff !important; border-color: #910000;
    font-family: 'Roboto Condensed', Arial!important;
}
.btn-promote .action-btn-text {
    white-space: normal; text-align: center; line-height: 1.2; font-size: 14px; font-weight: bold; margin-left: 8px;
}
.btn-promote:hover {
    background-color: #c90808; border-color: #800000;
}

.action-btn:not(.btn-promote) {
    flex-direction: column; justify-content: center; width: 55px; height: 40px; gap: 4px;
    background-color: #fff; color: #555 !important;
}
.action-btn:not(.btn-promote):hover {
    border-color: #bbb;
}
.action-btn-subtext {
    font-size: 10px; line-height: 1; font-family: Arial, sans-serif;
}


.listing-card {
    display: flex; background-color: #fff; border: 1px solid #e0e0e0; border-radius: 8px;
    margin-bottom: 20px; box-shadow: 0 4px 8px rgba(0,0,0,0.05); transition: box-shadow 0.3s ease;
    overflow: hidden;
}
.listing-card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.card-image {
    position: relative; flex-shrink: 0; width: 190px; height: 140px; margin:10px 0 0 10px;
    background-color: #f0f2f5; 
    display: flex; align-items: center; justify-content: center;
}
.card-image img {
    width: 100%; height: 100%;
    object-fit: contain; 
}
.placeholder-image i {
    color: #c0c5d1;
    font-size: 50px;
}

.card-image .card-promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.card-header .card-promo-badge {
    margin-right: 8px; 
    flex-shrink: 0;    
}

.card-promo-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}
.card-promo-badge.vip { background-color: #007bff; color: #fff;font-size:13px; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);}
.card-promo-badge.top { background-color: #dc3545; font-size:13px; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);}
.card-content { flex-grow: 1; padding: 10px; display: flex; flex-direction: column; }
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.card-title { font-size: 16px; font-weight: bold; color: #222; text-decoration: none; line-height: 1.3; }
.card-meta { display: flex; flex-wrap: wrap; gap: 15px; font-size: 12px; color: #666; margin-bottom: 10px; margin-top: -5px; }
.card-meta span { display: flex; align-items: center; gap: 5px; }
.card-meta i { color: #999; }
.card-details { display: flex; gap: 10px; color: #555; background-color: #f9f9f9; border-radius: 6px; padding: 2px 2px; margin-top: -10px; margin-bottom: 5px; font-size: 13px; line-height:15px}
.card-details span { display: flex; align-items: center; gap: 6px; }
.card-description { font-size: 13px; line-height: 1.5; color: #333; flex-grow: 1;margin-bottom:10px;margin-top: -5px }


.action-btn:not(.btn-promote)::before, 
.action-btn:not(.btn-promote)::after {
    position: absolute; left: 50%; transform: translateX(-50%); opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease; z-index: 10; font-family: 'Roboto Condensed', Arial!important;
    transform: translateX(-50%) translateY(5px);
}
.action-btn:not(.btn-promote)::after {
    content: attr(data-tooltip); bottom: 115%; color: #fff; padding: 6px 10px; border-radius: 5px;
    font-size: 13px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); border: 1px solid transparent;
}
.action-btn:not(.btn-promote)::before {
    content: ''; bottom: 115%; margin-bottom: -5px; border: 5px solid transparent;
}
.action-btn:not(.btn-promote):hover::before, 
.action-btn:not(.btn-promote):hover::after {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.btn-refresh::after { background-color: darkorange; border-color: #cc7000!important; }
.btn-refresh::before { border-top-color: #cc7000!important; }
.btn-edit::after { background-color: #2A6EAE; border-color: #245d94; }
.btn-edit::before { border-top-color: #245d94; }
.btn-niviplus::after { background-color: #189157; border-color: #137546; }
.btn-niviplus::before { border-top-color: #137546; }
.btn-delete::after { background-color: #222; border-color: #111; }
.btn-delete::before { border-top-color: #111; }

.card-expiry-info {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 2px 8px;
    background-color: #f8f9fa; 
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    color: #444;
    font-family: 'Roboto Condensed', Arial, sans-serif;
	 line-height: 1.4;
}
.card-expiry-info i {
    color: #888;
}

.card-expiry-info-vip { background-color: #007bff; color: #fff;padding:2px; font-size:10px;border-radius: 2px; }
.card-expiry-info-top { background-color: #dc3545;  color: #fff;padding:2px 4px; font-size:10px;border-radius: 2px;}

 a.readMore,
 a.readMore:link,
 a.readMore:visited,
 a.readMore:active {	
	color:#555;
	font: normal 14px 'Roboto Condensed';
	text-decoration: none;
}
a.readMore:hover {
	color: #111;
	text-decoration: none;
}
 a.CardTitle,
 a.CardTitle:link,
 a.CardTitle:visited,
 a.CardTitle:active {	
	color:#2E5483;
	font: bold 15px Arial;
	text-decoration: none;
}
a.CardTitle:hover {
	color: #444;
	text-decoration: none;
}

.photo-count-badge {
	position: absolute;
	bottom: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.8)!important; 
	backdrop-filter: blur(2px);  
	color: #222;
	padding: 1px 8px;
	display: flex;
	align-items: center;
	font-size: 13px;
	font-weight: bold;
	z-index: 1; 
	border-top-left-radius: 7px;
}
.photo-count-badge i {
    font-size: 14px;
    margin-right: 5px;
}

.sub-nav-pills {
    display: flex;
    gap: 10px; 
    margin-bottom: 20px;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background-color: #f8f9fa;
    color: #333!important; 
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Roboto Condensed', Arial, sans-serif;
}

.pill-count {
    display: inline-block;
    background-color: #e9ecef;
    color: #444;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 50px;
}

.nav-pill:not(.activeLink):hover {
	background-color: #e9ecef;
	border-color: #ccc;
}
.nav-pill.activeLink:hover {
	background-color: #0B4D8B;
	border-color: #0B4D8B;
}
.nav-pill.activeLink {
    background-color: #2A6EAF; 
    border-color: #0B4D8B!important; 
    color: #fff!important; 
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}
.nav-pill.activeLink .pill-count {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.page-content-title {
	font-size: 20px;
	font-weight: bold;
	color: #444;
	margin-bottom: 15px;
	padding-bottom: 0px;
	border-bottom: 1px solid #dadada;
	font-family: 'Roboto Condensed', Arial!important;
}

.toggle-description-link {
    display: inline-flex; 
    align-items: center;  
    gap: 5px;             
    color: #007bff;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    margin-left: 4px;
}
.toggle-description-link:hover {
    text-decoration: underline;
}

.description-full { display: none; }
.description-short { display: inline; }

.card-description.is-expanded .description-full { display: inline; }
.card-description.is-expanded .description-short { display: none; }

.toggle-description-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #007bff;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    margin-left: 4px;
}
.toggle-description-link:hover {
    text-decoration: underline;
}
.card-description.is-toggleable {
    cursor: pointer;
}
.card-description.is-toggleable:hover {
    background-color: #f8f9fa;
}

.update-success-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 41px;
    gap: 4px;
    background-color: #e8f5e9; 
    color: #2e7d32 !important; 
    border: 1px solid #c8e6c9;
    border-radius: 5px;
    font-size: 16px;
}

.lm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lm-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.lm-modal-window {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 450px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.lm-modal-overlay.is-visible .lm-modal-window {
    transform: scale(1);
}

.lm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}
.lm-modal-title {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
	color: #333;
	font-family: 'Roboto Condensed', Arial!important;
}
.lm-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}
.lm-modal-close:hover {
    color: #333;
}

.lm-modal-body {
    padding: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}
.lm-modal-body p {
	margin: 0;
	font-family: 'Roboto', Arial!important;
}

.lm-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.lm-modal-btn {
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	font-weight: bold;
	font-family: 'Roboto', Arial!important;
	cursor: pointer;
	transition: background-color 0.2s, box-shadow 0.2s;
}
.lm-modal-btn-cancel {
	background-color: #f0f0f0;
	color: #444;
	border: 1px solid #ddd;
	font-family: 'Roboto', Arial!important;
}
.lm-modal-btn-cancel:hover {
    background-color: #e0e0e0;
}
.lm-modal-btn-confirm {
    background-color: #28a745; 
    color: #fff;
}
.lm-modal-btn-confirm:hover {
    background-color: #c82333;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
}

.inline-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(30, 30, 30, 0.5);
    color: #fff;
    border: none;
    width: 30px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    opacity: 0; 
    transition: opacity 0.2s ease;
}
.inline-gallery-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.card-image:hover .inline-gallery-nav {
    opacity: 1;
}

.inline-gallery-nav.prev { left: 0; border-radius: 0 4px 4px 0; }
.inline-gallery-nav.next { right: 0; border-radius: 4px 0 0 4px; }

.inline-gallery-nav.hidden {
    opacity: 0 !important; 
    pointer-events: none;
}

.photo-count-badge {
    bottom: 8px;
    right: 8px;
    left: auto;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.6); 
}


	.page-header-with-action {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 15px;
		padding-bottom: 10px;
		border-bottom: 1px solid #eee;
	}
	.page-header-with-action h2 {
		margin: 0; 
	}

	.btn-update-all {
		padding: 8px 16px;
		background-color: darkorange; 
		border: none!important; 
		color: #fff;
		border-radius: 5px;
		font-size: 13px;
		font-weight: bold;
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		transition: background-color 0.2s;	
		font: bold 17px 'Roboto Condensed', Arial!important;
	}
	.btn-update-all:hover {
		background-color: #darkorange;
				color: #333;
	}
	.btn-update-all:disabled {
		background-color: #6c757d;
		cursor: not-allowed;
	}




	.promo-bubble {
		position: fixed;
		bottom: 45px;
		left: 65px;
		z-index: 1000;
		max-width: 420px;
		
		background-color: #ffffff;
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		color: #333;
		padding: 20px;
		box-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
		
		transform: translateY(20px);
		opacity: 0;
		animation: slide-up-fade-in 0.6s ease-out forwards;
		animation-delay: 0.5s;
	}

	@keyframes slide-up-fade-in {
		from {
			transform: translateY(20px);
			opacity: 0;
		}
		to {
			transform: translateY(0);
			opacity: 1;
		}
	}

	.promo-content {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 20px;
	}

	.promo-main-content {
		display: flex;
		align-items: center;
		gap: 15px; 
	}


	.promo-icon {
		flex-shrink: 0; 
		color: #337ab7 ;
		line-height: 0; 
	}

	.promo-text strong {
		font-size: 17px;
		color: #2c3e50;
		display: block;
		margin-bottom: 5px;
		line-height:19px;
	}

	.promo-text p {
		font-size: 14px;
		margin: 0; 
		line-height: 1.5;
		color: #555;
	}

	.promo-bubble a {
		display: inline-block;
		background-color: #28a745;
		color: #ffffff!important;
		padding: 9px 18px;
		border-radius: 5px;
		text-decoration: none;
		font-weight: bold;
		font-size: 14px;
		white-space: nowrap; 
		transition: background-color 0.2s ease;
	}

	.promo-bubble a:hover {
		background-color: #218838;
	}

	.promo-close-btn {
		position: absolute;
		top: 8px;
		right: 10px;
		background: none;
		border: none;
		padding: 0;
		margin: 0;
		font-size: 26px;
		line-height: 1;
		color: #aaa;
		cursor: pointer;
		transition: color 0.2s ease;
	}

	.promo-close-btn:hover {
		color: #333;
	}


/* --- СТИЛОВЕ ЗА НОВАТА НОТИФИКАЦИЯ --- */


.user-menu-trigger {
    position: relative;
    cursor: pointer;
}


.notification-badge {
    position: absolute;
    top: -5px;    
    right: -8px;    
    
    width: 20px;
    height: 20px;
    
    background-color: #d9534f;
    color: #ffffff;
    
    border-radius: 50%; 
    border: 2px solid #ffffff;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
    
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.notification-badge:hover {
    transform: scale(1.1); 
    background-color: #c9302c; 
}

.new-message-link {
    font-weight: bold !important;
    color: #266BBF !important; 
}
.new-message-link:hover {
    color: #fff !important;
}
.new-message-link i {
    color: #266BBF !important; 
}
.new-message-link:hover i {
    color: #fff !important;
}




.announcement-container {
    max-width: 580px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 15px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}


.conclusion {
    margin-top: 30px;
    font-style: italic;
    color: #555;
    text-align: center;
}

.important-note {
    background-color: #fffbe6;
    border-left: 5px solid #ffc107;
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 6px;
}

.important-note p {
    margin: 0;
    font-size: 15px;
}

.important-note strong {
    color: #d39e00;
}

.promo-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
}

.promo-table thead {
    background-color: #f8f9fa;
}

.promo-table th, .promo-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;    text-align: center;
}

.promo-table th {
    font-weight: 600;
    color: #333;
}

.promo-table tbody tr:nth-of-type(even) {
    background-color: #fdfdfd;
}

.promo-table tbody tr:hover {
    background-color: #f1f3f5;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


@media screen and (max-width: 600px) {
    .announcement-container {padding: 15px 20px;}
    h1 {font-size: 20px;}
    h2 {font-size: 18px;}
    .promo-table {font-size: 13px;}
    .promo-table th, .promo-table td {padding: 10px 8px;}
}



/* =================================================================== */
/*    СЕКЦИЯ 1: СТРАНИЦА СЪС СЪОБЩЕНИЕТО (message.php)           */
/* =================================================================== */

/* --- Контейнер на съобщението --- */
.announcement-container {
    max-width: 580px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 15px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.announcement-container h1 {
    color: #222;
    font-size: 21px;
    margin-bottom: 25px;	
}

.announcement-container h2 {
    color: #34495e;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}

.announcement-container p {
    margin-bottom: 15px;
    font-size: 15px;
}

.announcement-container .conclusion {
    margin-top: 30px;
    font-style: italic;
    color: #555;
    text-align: center;
}

/* --- Секция "Важно" --- */
.important-note {
    background-color: #fffbe6;
    border-left: 5px solid #ffc107;
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 6px;
}

.important-note p {
    margin: 0;
    font-size: 15px;
}

.important-note strong {
    color: #d39e00;
}

/* --- Таблици с цени --- */
.promo-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
}

.promo-table thead {
    background-color: #f8f9fa;
}

.promo-table th, .promo-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap; 
}

.promo-table th {
    font-weight: 600;
    color: #495057;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
}


/* --- Responsive за страницата със съобщението --- */
@media screen and (max-width: 600px) {
    .announcement-container {
        padding: 15px 20px;
    }
    .announcement-container h1 {
        font-size: 20px;
    }
    .announcement-container h2 {
        font-size: 18px;
    }
    .promo-table {
        font-size: 13px;
    }
    .promo-table th, .promo-table td {
        padding: 10px 8px;
    }
}


/* =================================================================== */
/*    СЕКЦИЯ 2: ПОТРЕБИТЕЛСКО МЕНЮ И СИСТЕМА ЗА НОТИФИКАЦИИ     */
/* =================================================================== */

/* --- Нотификационно кръгче (Badge) --- */
.user-menu-trigger {
    position: relative;
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -5px;      
    right: -8px;    
    width: 20px;
    height: 20px;
    background-color: #d9534f;
    color: #ffffff;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.notification-badge:hover {
    transform: scale(1.1);
    background-color: #c9302c;
}

/* --- Кликаем картон със съобщение (в падащото меню) --- */
.notification-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.notification-card {
    position: relative;
    background-color: #f0f8ff;
    margin: -10px -15px 10px -15px;
    padding: 15px;
    padding-right: 35px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.notification-card-link:hover .notification-card {
    background-color: #e6f3ff;
}

.notification-card-body {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 26px;
    color: #d9534f; 
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.2s ease; 
}

.notification-card-link:hover .notification-icon {
    color: #337ab7; 
}

.notification-text strong {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.notification-text p {
    font-size: 13px;
    color: #555;
    margin: 4px 0 0 0;
    line-height: 1.4;
}

.notification-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #b0c4de;
    transition: right 0.2s ease, color 0.2s ease;
}

.notification-card-link:hover .notification-arrow {
    right: 12px;
    color: #337ab7;
}






	@media (max-width: 768px) {
		.MobileNot { display:none!important;}
		.listing-card { flex-direction: column;padding:10px; }
		.card-image { width: 100%; height: 100%; margin:0}
		.card-content { padding: 12px 0 0 0 ; }
		.card-title { font-size: 15px;  }
		.card-meta {gap: 0px 12px; line-height:21px;}
		.btn-promote {
			padding: 2px 6px;
			
		}
		.btn-promote .action-btn-text {
			font-size:12px!important; margin-left: 0px;
		}

	.listing-actions {
		gap: 2px; 
	}

	.action-btn:not(.btn-promote) {
		width: 45px;  
		height: 45px;
	}

	.action-btn:not(.btn-promote) .action-btn-subtext {
		font-size: 9px;
	}

	.inline-gallery-nav {
		opacity: 1; 
		background-color: rgba(30, 30, 30, 0.4); 
	}

	.card-image:hover .inline-gallery-nav {
		opacity: 1; 
	}
	.card-details { display: flex; gap: 10px!important; color: #555; background-color: #f9f9f9; border-radius: 6px; padding: 2px 2px!important; margin-top: -10px; margin-bottom: 5px; font-size: 13px; line-height:15px}

	.promo-bubble {
		left: 50%;
		bottom: 35px;
		width: 80%;
		max-width: 420px;
		transform: translateX(-50%);
		padding: 20px 15px;
		animation: none;
		transform: translateX(-50%) translateY(20px);
		animation: slide-up-fade-in-mobile 0.6s ease-out forwards;
		animation-delay: 0.5s;
	}

	@keyframes slide-up-fade-in-mobile {
		from {
			transform: translateX(-50%) translateY(20px);
			opacity: 0;
		}
		to {
			transform: translateX(-50%) translateY(0);
			opacity: 1;
		}
	}

	.promo-content {
		flex-direction: column; 
		text-align: center;
		gap: 15px;
	}

	.promo-main-content {
		justify-content: center; 
	}
	.promo-text {
		text-align: left; 
	}
	

			/* #mobile-nav-panel .notification-card { */
				/* margin: 0; */
				/* border-radius: 8px; */
				/* border: 1px solid #dbeaf5; */
				/* padding-right: 40px; */
			/* } */

			/* #mobile-nav-panel .notification-card-link:hover .notification-card { */
				/* background-color: #e1effc; */
			/* } */

			/* #mobile-nav-panel .notification-text strong { */
				/* font-size: 16px; */
			/* } */
			/* #mobile-nav-panel .notification-text p { */
				/* font-size: 14px; */
			/* } */
	
}