:root {
  --topbar-height: 88px; /* desktop */
}

@media (max-width: 768px) {
  :root {
    --topbar-height: 77px; /* mobile */
  }
}

/* Sort Dropdown Styles */
.sort__dropdown {
	position: relative;
}
.sort__select__wrapper {
	position: relative;
	display: inline-block;
}
.sort__select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 13.5px 40px 13.5px 16px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	cursor: pointer;
	min-width: 150px;
	transition: all 0.3s ease;
}
.sort__select:hover {
	border-color: var(--rts-primary);
}
.sort__select:focus {
	outline: none;
	border-color: var(--rts-primary);
	box-shadow: 0 0 0 3px rgba(var(--rts-primary-rgb), 0.1);
}
.sort__icon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #666;
	font-size: 12px;
}

/* Mobile responsive adjustments */
@media (max-width: 575.98px) {
	.sort__select {
		min-width: 130px;
		padding: 13.5px 40px 13.5px 16px;
		font-size: 13px;
	}
	.top__query {
		gap: 12px !important;
	}
	.sort__dropdown label {
		display: none;
	}
}

@media (max-width: 767.98px) {
	.top__query {
		flex-direction: column;
		align-items: flex-start !important;
	}
	.top__query > span {
		width: 100%;
		margin-bottom: 8px;
	}
	.top__query > div {
		width: 100%;
		justify-content: space-between;
	}
}

/* Mobile Filter Toggle Styles */
.mobile__filter__toggle {
	display: none;
	width: 100%;
	padding: 14px 20px;
	background: var(--rts-primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	margin-bottom: 20px;
	transition: all 0.3s ease;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.mobile__filter__toggle:hover {
	background: var(--rts-primary);
}
.mobile__filter__toggle i {
	transition: transform 0.3s ease;
}
.mobile__filter__toggle.active i.fa-chevron-down {
	transform: rotate(180deg);
}
.filter__content__wrapper {
	transition: all 0.35s ease;
}

@media (max-width: 991.98px) {
	.mobile__filter__toggle {
		display: flex;
	}
	.filter__content__wrapper {
		display: none;
		overflow: hidden;
	}
	.filter__content__wrapper.show {
		display: block;
	}
	.job__search__section {
		padding: 20px;
		border-radius: 12px;
	}
}

@media (min-width: 991.98px) {
	.logo__image{width:230px;}
	.dashboard__content ~ .footer-placement {margin-left: 360px;}
	.dashboard__content ~ .footer-placement {margin-left: 360px;}
	
	.dashboard_minHeight{
		min-height:600px;
		}
}

.bookmark__btn_on {
   background-color: var(--rts-primary) !important;
   color: var(--rts-white) !important;
}

.change__password_regheight{
	min-height:revert-layer !important;
	}
.menu-item-disabled{
	color: lightgray !important;
	}
.header__right__btn button {
	color: var(--rts-button-1) !important;
	}
	
#about-shluchim-placement {
  scroll-margin-top: var(--topbar-height);
}

.dash__catName{
	border-bottom-left-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
	border-top-left-radius: 16px !important;
	border-top-right-radius: 16px !important;
	font-weight:bold !important;
	margin-bottom: 0px !important;
	}
	
.pghdr{line-height:1.1em;}

.company__icon, .author__image, .author__icon {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.company__icon img, .author__image img, .author__icon img {
    width: 100% !important;
    height: 100% !important;
	object-fit: cover;     
    object-position: center;
}

.author__image img, .author__icon img {
	max-width:160px;
	max-height:160px;
}

.p_form input[type='text'].required-error, .p_form input[type='email'].required-error, .p_form input[type='date'].required-error, .p_form input[type='number'].required-error, .p_form textarea.required-error, .p_form select.required-error + div.nice-select {
	border-color: var(--color-warning) !important;
    border-width: 2px !important;
	}
	
label.required-error{
	color: var(--color-warning) !important;
	}
label.required-error:after {
	content: "\AOops! Incorrect info. Please check.";
	margin-top: 5px;
	margin-bottom: 10px;
	color: var(--color-pinterest);
	white-space: pre;
	font-size: 0.875rem;
	}
	
.rt-input-group textarea {
    line-height:1.20em !important;
	}
	
.bookmark__btn:not(.bookmark__btn_on):hover {
	background-color: var(--rts-gray) !important;
    color: var(--rts-heading) !important;
}
.btn_forcewhite.bookmark__btn:not(.bookmark__btn_on) {
	background-color: white !important;
}

.p_btn-round_tooltip{
	--bs-tooltip-bg: var(--rts-primary);
	--bs-tooltip-color: var(--bs-white);
}