:root {
  /* Colors */
  --primary-color: #00A199;
  --primary-light-color: #E3F2F1;
  --text-color: #333333;
}

.tmNotificationPanel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    min-width: 260px;
    max-width: 450px;
    padding: 20px;
    border-radius: 8px;
    display: none;
    align-items: center;
	justify-content: center;
	text-align: center;
    color: white;
    background-color: var(--primary-color);
    font-family: Raleway, sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 999999999;
    cursor: pointer;
}
.tmNotificationPanel.center {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
}
.tmNotificationPanel__icon > span {
	font-size: 3rem;
    color: white;
	font-variation-settings: 'FILL' 1;
}

.tmNotificationPanel__text {
	margin-top: 10px;
    flex: 1;
}
.tmNotificationPanel__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.tmNotificationPanel__btn {
    padding: 5px 10px;
	color: white;
	background-color: var(--primary-color);
	border-radius: 20px;
	font-family: Raleway;
	line-height: 1;
	border: none;
	cursor: pointer;
}

.tmNotificationPanel__btn--confirm {
    background: white;
    color: var(--text-color);
}

.tmNotificationPanel__btn--cancel {
    background: #f2f2f2;
    color: var(--text-color);
}

/* Button T-Master */
.tmBtn {
	padding: 5px 10px;
	color: white;
	background-color: var(--primary-color);
	border: 1px solid var(--primary-color);
	border-radius: 20px;
	font-size: 0.9rem;
	font-family: Raleway;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}
.tmBtn.btnOutline {
	
	border: 1px solid var(--primary-color);
	background-color: white;
	color: 1px solid var(--primary-color);
}

/* PSZOK edit classified ad*/
.pszokEditClassifiedAdForm {
	margin: 20px auto;
	width: 400px;
	max-width: 100%;
	padding: 20px;
	font-family: Raleway;
	text-align: left;
	border-radius: 20px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 7px 50px;
}

.pszokEditClassifiedAdForm__header {
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: bold;
	color: var(--primary-color);
}

.pszokEditClassifiedAdForm__formGroup {
	margin-bottom: 20px;
	width: 100%;
}

.pszokEditClassifiedAdForm__formGroup > h5 {
	margin: 0 0 5px;
	text-align: left;
	font-height: normal;
}
.pszokEditClassifiedAdForm__formGroup > input[type=text],
.pszokEditClassifiedAdForm__formGroup > input[type=tel],
.pszokEditClassifiedAdForm__formGroup > textarea {
	width: inherit;
	padding: 10px;
	border: 1px solid lightgrey;
	border-radius: 10px;
	font-size: 1rem;
	font-family: Raleway;
}
.pszokEditClassifiedAdForm__imgWrapper > img {
	margin: 0 10px 5px 0;
	width: 100px;
	height: auto;
	border-radius: 7px;
}
.pszokEditClassifiedAdForm__imgWrapper input {
	cursor: pointer;
}
.pszokEditClassifiedAdForm__resultMessage {
	margin-top: 30px;
	text-align: center;
}
.pszokEditClassifiedAdForm__submitBtn {
	display: block;
	margin: 30px auto 0;
	padding: 12px 40px;
	border-radius: 20px;
	font-size: 1rem;
	border: 0;
	color: white;
	background-color: var(--primary-color);
	cursor: pointer;
}


/* tile classifiedAd */
.classifiedAd__card {
	display: flex;
	align-items: center;
	width: 100%;
	background-color: #e3f2f1;
	border-radius: 16px;
	padding: 14px;
	margin-bottom: 10px;
	box-sizing: border-box;
	gap: 14px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
	font-family: Raleway;
}

.classifiedAd__imgContainer {
	flex-shrink: 0;
	width: 70px;
	height: 70px;
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	background-color: lightgray;
}

.classifiedAd__myBadge {
	align-self: flex-start;
	border: 1px solid #48bcae;
	color: #48bcae;
	background-color: white;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 16px;
	margin-bottom: 6px;
}

.classifiedAd__title {
	font-size: 14px;
	font-weight: 700;
	color: #000000;
	margin: 10px 0 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.classifiedAd__date {
	font-size: 12px;
	color: #8c8c8c;
	margin: 0;
}

@media (max-width: 480px) {
	.classifiedAd__card {
		padding: 12px;
		gap: 12px;
	}
	.classifiedAd__imgContainer {
		width: 70px;
		height: 70px;
	}
	.ad-title {
		font-size: 15px;
	}
}

/* LIGHTBOX */
#lightbox {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.85);
	justify-content: center;
	align-items: center;
}

#lightbox img {
	margin-top: 100px;
	max-width: 85%;
	max-height: 85%;
	border-radius: 10px;
	cursor: zoom-out;
}

.classifiedsMainTab {
	margin: 20px auto;
	width: 1000px;
	max-width: 100vw;
    display: flex;
    flex-direction: column;
}
.classifiedsMainTab__item {
	margin-bottom: 20px;
	display: flex;
	padding: 20px;
	background-color: #E3F2F1;
	text-align: left;
	font-family: Raleway;
	//border: 1px solid lightgray;
	border-radius: 15px;
	box-shadow: 0 0px 8px rgba(0, 0, 0, 0.1);
	cursor: zoom-in;
}
.classifiedsMainTab__item,
.classifiedsMainTab__item:visited,
.classifiedsMainTab__item:hover,
.classifiedsMainTab__item:active {
    text-decoration: none;
	color: #333333;
}

.classifiedsMainTab__itemImg {
	flex-shrink: 0;
	margin-right: 20px;
	width: 100px;
	height: 100px;
	background-size: cover;
	background-position: center;
	border-radius: 10px;
}
.classifiedsMainTab__itemTextWrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.classifiedsMainTab__itemDate {
	margin: 5px 0 0;
	font-size: 0.9rem;
	color: #888888;
}
.classifiedsMainTab__itemTitle {
	margin: 5px 0 0;
	font-weight: bold;
}
.classifiedsMainTab__itemDesc {
	margin: 5px 0 0;
	font-size: 0.9rem;
}
.classifiedsMainTab__itemActionWrapper {
	flex-shrink: 0;
	box-sizing: border-box;
	margin-left: 20px;
	padding-left: 15px;
	width: 135px;
	display: flex;
	flex-direction: column;
	align-items: end;
	border-left: 1px solid lightgray;
}
.classifiedsMainTab__itemLikeIcon {
	color: var(--primary-color);
	cursor: pointer;
}
.classifiedsMainTab__itemLikeIcon.liked {
    color: var(--primary-color);
    font-variation-settings: 'FILL' 1;
}
.classifiedsMainTab__isMy {
	display: block;
	width: fit-content;
	padding: 3px 8px;
	font-size: 0.8rem;
	color: var(--primary-color);
	background-color: white;
	border: 1px solid var(--primary-color);
	border-radius: 7px;
}
.classifiedsMainTab__itemEditDelWrapper {
	margin-top: auto;
	display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.classifiedsHistoryTab__img {
	width: 100px;
	margin: 5px;
	border-radius: 3px;
}

/* CLASSIFIED AD MODAL */
.classifiedsModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.classifiedsModal.show {
    display: flex;
}

.classifiedsModal__content {
    width: min(1000px, 95vw);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    gap: 40px;
    position: relative;
    box-sizing: border-box;
	text-align: left;
	font-family: Raleway;
}

.classifiedsModal__closeBtn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f3f3f3;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: .2s;
}

.classifiedsModal__closeBtn:hover {
    background: #e5e5e5;
}

.classifiedsModal__left {
    width: 400px;
    flex-shrink: 0;
}

.classifiedsModal__slider {
    position: relative;
}

.classifiedsModal__sliderTrack {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 16px;
    background: #f5f5f5;
}

.classifiedsModal__sliderTrack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.classifiedsModal__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255,255,255,.95);
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    z-index: 2;
}

.classifiedsModal__prev {
    left: 10px;
}

.classifiedsModal__next {
    right: 10px;
}

.classifiedsModal__favoriteBtn {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    background: #18b0a4;
    color: white;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
    z-index: 2;
}
.classifiedsModal__favoriteBtn > span {
	padding: 16px;
}
.classifiedsModal__favoriteBtn > span.liked {
	font-variation-settings: 'FILL' 1;
}
.classifiedsModal__right {
    flex: 1;
    min-width: 0;
	overflow-y: auto;
}

.classifiedsModal__date {
    color: #777;
    font-size: 15px;
    margin-bottom: 10px;
}

#listingTitle {
    margin: 0 0 20px;
    color: #1d9b8f;
    font-size: 24px;
	font-weight: bold;
    line-height: 1.3;
}

#listingDesc {
    color: #444;
    line-height: 1.7;
    white-space: pre-wrap;
}

.classifiedsModal__phone {
    margin-top: 25px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

@media (max-width: 768px) {

    .classifiedsModal__content {
        flex-direction: column;
        gap: 25px;
        padding: 20px;
        width: 95vw;
    }

    .classifiedsModal__left {
        width: 100%;
    }

    .classifiedsModal__sliderTrack {
        height: 250px;
    }

    #listingTitle {
        font-size: 22px;
    }
}

.moderationClassifiedsPrepareDelete {
	font-family: Raleway, sans-serif;
}

.moderationClassifiedsPrepareDelete__reasonWrapper {
	display: none;
}

.moderationClassifiedsPrepareDelete__reasonWrapper textarea {
	width: 400px;
}

.moderationClassifiedsPrepareDelete__btnWrapper {
	margin-top: 20px;
}