.select2-container .select2-dropdown,
.select2-container .select2-selection {
  background-color: var(--bs-body-bg) !important;
  border: 1px solid var(--bs-gray-300) !important;
  border-radius: 0.5rem !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 30px;
  background-color: var(--bs-body-bg) !important;
  border: none;
  border-radius: 0.5rem !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: var(--bs-gray-900) !important;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] {
  background-color: var(--bs-body-bg) !important;
  padding: 20px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--bs-gray-300) !important;
  background-color: var(--bs-body-bg) !important;
  border-radius: 0.5rem !important;
}

.richText {
  background-color: var(--bs-body-bg) !important;
  border: 1px solid var(--bs-gray-300) !important;
  border-radius: 0.5rem !important;
}

.richText .richText-editor {
  background-color: var(--bs-body-bg) !important;
  border: 1px solid var(--bs-gray-300) !important;
}

.has-feedback .smk-error-msg {
  font-size: 12px;
  margin-top: 0;
  margin-bottom: 0;
  text-align: right;
  color: #e90003;
}
.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}
.has-error input.form-control {
  border: 2px solid #e90003;
}
.has-error input.form-control:focus {
  /*background-color: #EEE;*/
  border-color: none;
  box-shadow: none;
}
#toast-container > div {
  box-shadow: none;
  border: none;
  opacity: 1;
  font-size: 16px;
  width: 500px;
  padding: 20px 20px 20px 50px;
  border-radius: 0;
}
#toast-container > :hover {
  box-shadow: 1px 0px 20px rgba(0, 0, 0, 0.07);
}
.toast-close-button {
  top: 0;
}
@media (min-width: 320px) and (max-width: 575.8px) {
  #toast-container > div {
    width: 300px !important;
  }
}
.fr-recent-review-box {
  position: relative;
  overflow: hidden;
}
.fr-recent-review-box .nothing-found {
  margin-bottom: 0;
}
.fr-recent-review-box .fr-recent-content .fr-recent-review-profile {
  float: left;
  margin-right: 18px;
}
.fr-recent-review-box .fr-recent-content .fr-recent-location-details {
  float: left;
  width: auto;
  margin-top: 2px;
}
.fr-recent-review-box .fr-recent-content .fr-recent-location-details ul {
  list-style-type: none;
  padding-left: 0;
}
.fr-recent-review-box .fr-recent-content .fr-recent-rating {
  float: right;
  color: #777;
  font-weight: normal;
  margin-top: 5px;
}
.fr-recent-review-box .fr-recent-content .fr-recent-review-profile img {
  max-width: 65px;
  border-radius: 70px;
  box-shadow: 0 9.5px 12.7px 0 rgba(0, 0, 0, 0.05);
}
.fr-recent-review-box .fr-recent-content .fr-recent-location-details h4 {
  font-size: 16px;
  color: #242424;
  margin-bottom: 0;
}
.fr-recent-review-box .fr-recent-content .fr-recent-location-details h4 i {
  background-color: #ddd;
  color: #fff;
  font-size: 8px;
  padding: 3px;
  border-radius: 50%;
  margin-left: 5px;
  vertical-align: middle;
}
.fr-recent-review-box
  .fr-recent-content
  .fr-recent-location-details
  h4
  i.verified {
  background-color: #48b300;
}
.fr-recent-review-box .fr-recent-content .fr-recent-location-details ul li {
  float: left;
  margin-right: 20px;
  position: relative;
  color: #777;
}
.fr-recent-review-box .fr-recent-content .fr-recent-location-details ul li i {
  font-size: 12px;
  color: #ccc;
  margin-right: 5px;
}
.fr-recent-review-box
  .fr-recent-content
  .fr-recent-location-details
  ul
  li
  i.colored {
  color: #fe696a;
}
.fr-recent-review-box
  .fr-recent-content
  .fr-recent-location-details
  ul
  li
  span {
  font-size: 14px;
  vertical-align: middle;
}
.fr-recent-review-box
  .fr-recent-content
  .fr-recent-location-details
  ul
  li
  .bg-green-style {
  background: #6aec12e0;
  color: #fff;
  border-radius: 20px;
  padding: 2px 3px;
  font-size: 12px;
}
.fr-recent-review-box .fr-recent-content .fr-recent-rating p {
  font-size: 30px;
  margin: 0;
  text-align: center;
  color: #242424;
  font-weight: 500;
}
.fr-recent-review-box .fr-recent-container {
  position: relative;
  overflow: hidden;
}
.fr-recent-review-box:last-child .fr-recent-container {
  border: none;
}
.fr-recent-review-box .fr-recent-content .fr-recent-rating i {
  color: #fe696a;
  margin-right: 8px;
  font-size: 14px;
}
.fr-recent-review-box .fr-recent-content .fr-recent-rating .xm {
  font-size: 14px;
}
.fr-recent-review-box .fr-recent-details-area {
  overflow: hidden;
  width: 100%;
}
.fr-recent-review-box .fr-recent-details-area p {
  line-height: 26px;
  font-size: 14px;
  margin: 0;
}
.fr-recent-review-box .fr-recent-content {
  position: relative;
  padding: 25px 15px;
}
.fr-recent-container.heading-contents h3 {
  margin-bottom: 24px;
}
.fr-recent-review-box .fr-recent-content p.feedback {
  font-size: 14px;
  padding-left: 80px;
}
.fr-recent-review-box .individual-stars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 80px;
  background-color: #f5f5f5;
  padding: 20px;
  margin-top: 20px;
  border-radius: 4px;
}
.fr-recent-review-box .individual-stars .individual-star-boxs {
  display: flex;
  flex-direction: column;
  flex-direction: row;
  justify-content: space-between;
}
.fr-recent-review-box .individual-stars .individual-star-boxs label {
  color: #242424;
  margin-bottom: 10px;
  font-size: 14px;
}
.fr-recent-review-box .individual-stars .individual-star-boxs:last-child label {
  margin-bottom: 0;
}
.fr-recent-review-box .individual-stars .individual-star-boxs i {
  color: #ccc;
  font-size: 12px;
}
.fr-recent-review-box .individual-stars .individual-star-boxs i.colored {
  color: #fe696a;
}
.fr-recent-review-box .show-reviews {
  margin-bottom: 30px;
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 30px;
}
.fr-recent-review-box .show-reviews:last-child {
  margin-bottom: 0;
  border: none;
  padding: 0;
}
.show-reviews .fr-recent-content .reviews-header {
  position: relative;
  overflow: hidden;
}

.duration-option.active {
  background-color: #e7f1ff;
  border-color: #0d6efd !important;
}

/* الكرت الافتراضي */
#lawyer-options label.card {
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  border: 1px solid #dee2e6;
}

/* Hover */
#lawyer-options label.card:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* الكرت المختار */
#lawyer-options input[type="radio"]:checked + .dropdown,
#lawyer-options input[type="radio"]:checked ~ .card-body,
#lawyer-options input[type="radio"]:checked ~ .card-footer {
  pointer-events: none;
}

/* التأثير الأساسي عند الاختيار */
#lawyer-options input[type="radio"]:checked ~ .card-body,
#lawyer-options input[type="radio"]:checked ~ .card-footer,
#lawyer-options input[type="radio"]:checked {
  /* فقط لضمان التفعيل */
}

/* الحل الصحيح: استهداف الـ label */
#lawyer-options label.card:has(input[type="radio"]:checked) {
  border-color: var(--bs-primary);
  box-shadow: 0 0.75rem 2rem rgba(13, 110, 253, 0.25);
  background-color: rgba(13, 110, 253, 0.03);
}
#lawyer-options
  label.card:has(input[type="radio"]:checked)
  .lawyer-selected-badge {
  display: inline-block !important;
}

.sticky-element {
  position: fixed;
  bottom: 50px;
  right: 50px;
  width: 300px;
  visibility: hidden;
  z-index: 1000;
  opacity: 0;
  -webkit-transform: translateX(50%);
  transform: translateX(50%);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.sticky-element.sticky-element-sticked {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

#instant-toast-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.instant-toast {
  width: 340px;
  border-radius: 14px;
  padding: 18px;
  color: #fff;
  animation: slideUp 0.35s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

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

.instant-toast .close-btn {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 32px;
  height: 32px;
  background: #dc3545;
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.instant-toast .title {
  font-weight: 700;
  font-size: 16px;
}

.instant-toast .meta {
  font-size: 13px;
  opacity: 0.9;
}

.instant-toast .live-dot {
  width: 8px;
  height: 8px;
  background: #00e676;
  border-radius: 50%;
  display: inline-block;
  margin-inline: 6px;
}

.user-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.user-online {
  background-color: #28a745;
  box-shadow: 0 0 6px rgba(40, 167, 69, 0.8);
}

.user-offline {
  background-color: #dc3545;
  opacity: 0.7;
}

.toast-association {
  background: #1f2a44;
  color: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.toast-association .toast-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 8px;
}

.toast-association .icon {
  font-size: 18px;
}

.toast-association .toast-message {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.toast-association .btn-primary {
  background-color: #6f42c1;
  border: none;
}







/* ====== Footer Theme ====== */
	.kss-footer {
		position: relative;
		background: #24292D;
		color: #E9E9E9;
		overflow: hidden;
	}

	.kss-footer>.container {
		position: relative;
		z-index: 2;
	}

	.kss-footer-brand {
		color: #E9E9E9;
	}

	.kss-footer-logo {
		width: 52px;
		height: 52px;
		object-fit: contain;
		border-radius: 14px;
		background: rgba(255, 255, 255, .06);
		padding: 8px;
		box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
	}

	.kss-footer-title {

		letter-spacing: .2px;
		line-height: 1.1;
	}

	.kss-footer-sub {
		font-size: .9rem;
		opacity: .8;
		margin-top: 2px;
	}

	.kss-footer-text {
		opacity: .85;
		line-height: 1.8;
		max-width: 34ch;
	}

	.kss-footer-heading {

		margin-bottom: 12px;
		color: #E9E9E9;
	}

	.kss-footer-links li {
		margin: 10px 0;
	}

	.kss-footer-links a {
		color: #E9E9E9;
		text-decoration: none;
		opacity: .85;
		transition: .2s ease;
		display: inline-flex;
		gap: 8px;
		align-items: center;
	}

	.kss-footer-links a:hover {
		opacity: 1;
		transform: translateX(-2px);
	}

	.kss-footer-divider {
		border-color: rgba(255, 255, 255, .35);
		/* فاصل أبيض */
		opacity: 1;
	}

	/* Social icons */
	.kss-social {
		width: 42px;
		height: 42px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 14px;
		border: 1px solid rgba(220, 220, 220, .22);
		background: rgba(255, 255, 255, .04);
		color: #E9E9E9;
		/* اللون الفاتح */
		text-decoration: none;
		transition: .2s ease;
	}

	.kss-social i {
		font-size: 1.1rem;
	}

	.kss-social:hover {
		transform: translateY(-2px);
		border-color: rgba(220, 220, 220, .45);
		background: rgba(255, 255, 255, .07);
	}

	/* Policy links */
	.kss-policy-link {
		color: #E9E9E9;
		text-decoration: none;
		opacity: .88;
		transition: .2s ease;
	}

	.kss-policy-link:hover {
		opacity: 1;
		text-decoration: underline;
	}

	.kss-dot {
		opacity: .55;
	}

	/* Copyright */
	.kss-copy {
		opacity: .85;
		color: #E9E9E9;
	}

	.kss-copy2 {
		opacity: .65;
		color: #E9E9E9;
	}

	/* Mobile tweaks */
	@media (max-width: 576px) {
		.kss-footer-logo {
			width: 46px;
			height: 46px;
			border-radius: 12px;
		}

		.kss-social {
			width: 40px;
			height: 40px;
			border-radius: 12px;
		}

		.kss-footer-text {
			max-width: 100%;
		}
	}