@import url('https://fonts.googleapis.com/css?family=Cairo:300,400,500,600,700');

* {
  font-family: 'Cairo', sans-serif;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: none;
  color: inherit;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ SECTION DIMENSIONS FIX ============ */
.section-item.section-ui {
  padding: 18px 0 !important;
  margin: 0 !important;
}

.section-ui .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* ============ HERO SEARCH ============ */
.hero-search#search-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 60px 0 44px 0;
  background-image: linear-gradient(120deg, rgba(9, 30, 66, 0.82), rgba(35, 134, 200, 0.78)), url('/images/backgrounds/splash_2.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-search .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .30));
  pointer-events: none;
}

.hero-search .hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  margin: 0 0 10px 0;
  font-size: 36px;
  font-weight: 900;
}

.hero-subtitle {
  margin: 0 0 18px 0;
  font-size: 16px;
  opacity: .92;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hero-benefits li {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .26);
  border: 1px solid rgba(255, 255, 255, .16);
}

/* Search card */
.search-card {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .96);
  border-radius: 16px;
  padding: 20px 20px 16px 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  color: #111;
}

.search-form-ui {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.search-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.search-actions .btn-ui {
  flex: 1;
}

.search-divider {
  display: flex;
  justify-content: center;
  margin: 12px 0 10px 0;
  color: rgba(0, 0, 0, .55);
  font-weight: 900;
}

.search-divider span {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .05);
}

/* ============ SECTION HEADER (UI) ============ */
.section-header-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-header-ui .section-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.section-link {
  text-decoration: none;
  font-weight: 800;
  opacity: .9;
}

.section-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ============ CUSTOM USERS SLIDER (بديل عن Owl) ============ */
.users-slider {
  position: relative;
  margin: 8px 0 4px 0;
}

.users-slider-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.users-slide {
  flex: 0 0 calc(33.333% - 9.5px);
  scroll-snap-align: start;
}

.users-slider-track::-webkit-scrollbar {
  height: 6px;
}

.users-slider-track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .16);
  border-radius: 999px;
}

.users-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #222;
  transition: background .12s ease, transform .12s ease, box-shadow .12s ease;
  z-index: 2;
}

.users-slider-arrow:hover {
  background: #2386c8;
  color: #fff;
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, .22);
}

.users-slider-arrow-prev {
  right: -10px;
}

.users-slider-arrow-next {
  left: -10px;
}

/* ============ Buttons / Inputs (Base) ============ */
/* Base input */
.form-control-ui {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .14);
  outline: none;
  background: #fff;
  font-size: 14px;
}

/* Base button (خفيف/عام) */
.btn-ui {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.btn-ui:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, .12);
}

.btn-ui-primary {
  background: #2386c8;
  color: #fff;
}

.btn-ui-secondary {
  background: #fff;
  color: #2386c8;
  border-color: rgba(35, 134, 200, .35);
}

.btn-ui-primary:hover {
  background: #1e73ac;
}

.btn-ui-secondary:hover {
  background: #f3f7fb;
}

/* Search-card specific sizing (بدون تكرار) */
.search-card .form-control-ui {
  height: 48px;
  padding: 0 12px;
}

.search-card .form-control-ui:focus {
  border-color: rgba(35, 134, 200, .75);
  box-shadow: 0 0 0 3px rgba(35, 134, 200, .15);
}

.search-card .btn-ui {
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 14px;
  gap: 8px;
}

/* Compact button helper */
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* =========================
   Chat UI
   ========================= */
.chat-shell {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 14px;
}

.chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  flex-wrap: wrap;
}

.chat-peer__title {
  font-size: 12px;
  color: #777;
  margin-bottom: 2px;
}

.chat-peer__value {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  direction: ltr;
  text-align: right;
}

.chat-back-link {
  color: #2386c8;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chat-status-pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(35, 134, 200, 0.08);
  border: 1px solid rgba(35, 134, 200, 0.18);
  color: #555;
  white-space: nowrap;
}

.chat-status-pill.ok {
  color: #1b7f3a;
}

.chat-status-pill.bad {
  color: #b42318;
}

.chat-body {
  height: 460px;
  overflow: auto;
  padding: 14px;
  background: #f7f9fb;
}

.chat-body.is-booting {
  visibility: hidden;
}

.msg-row {
  display: flex;
  margin: 8px 0;
}

.msg-row.mine {
  justify-content: flex-start;
}

.msg-row.other {
  justify-content: flex-end;
}

.bubble {
  max-width: 78%;
  padding: 10px 12px 8px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  word-break: break-word;
  background: #fff;
}

.bubble.mine {
  background: #e8f4ff;
  border-top-right-radius: 6px;
}

.bubble.other {
  background: #ffffff;
  border-top-left-radius: 6px;
}

.meta {
  margin-top: 6px;
  font-size: 11px;
  color: #777;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.report-msg-link {
  font-size: 12px;
  font-weight: 800;
  color: #b42318;
  text-decoration: none;
}

.report-msg-link:hover {
  text-decoration: underline;
}

.chat-composer {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-top: 1px solid #eee;
  background: #fff;
}

.chat-input {
  flex: 1 1 auto;
  border: 1px solid #b8c0c8;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  background: #e6eaee;
  color: #111;
}

.chat-input::placeholder {
  color: #5f6b76;
  opacity: 1;
}

.chat-input:focus {
  background: #ffffff;
  border-color: #6c757d;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.20);
}

.chat-send-btn {
  background: #2386c8;
  border: none;
  color: #fff;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
}

.chat-send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


.profile-container {
  padding: 20px 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.profile-header {
  position: relative;
  overflow: visible;
  /* FIX: allow dropdown overflow */
  z-index: 10;
  background: linear-gradient(135deg, #2386c8 0%, #1e73ac 100%);
  padding: 40px 30px;
  color: #fff;
}

.profile-cover {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.profile-avatar-wrapper {
  flex-shrink: 0;
}

.profile-avatar {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-badge-large {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  background: #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.verified-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 36px;
  height: 36px;
  background: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-header-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.profile-name-section {
  flex: 1;
}

.profile-name {
  margin: 0 0 15px 0;
  font-size: 32px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}

.premium-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #ffd700;
  color: #333;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.profile-meta-basic {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.meta-badge i {
  font-size: 12px;
}

.profile-actions-header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: #fff;
  color: #2386c8;
}

.btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.btn-edit {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-edit:hover {
  background: rgba(255, 255, 255, 0.3);
}

.btn-fav {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-fav.active {
  background: #ffd700;
  color: #333;
}

.btn-fav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.btn-more {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 14px;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-more::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.btn-more:hover::before {
  width: 100%;
  height: 100%;
}

.btn-more:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-more.active {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-more i {
  position: relative;
  z-index: 1;
  font-size: 16px;
}

/* Dropdown */
.profile-dropdown {
  position: relative;
  z-index: 300;
}

.dropdown-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
  z-index: 299;
  cursor: pointer;
}

.profile-dropdown.active .dropdown-backdrop {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.12);
  min-width: 300px;
  max-width: 340px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px) scale(0.92);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 300;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.profile-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-arrow {
  position: absolute;
  top: -8px;
  right: 20px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: none;
  border-left: none;
  transform: rotate(-45deg);
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.05);
}

.dropdown-header {
  padding: 14px 18px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-header i {
  color: #2386c8;
  font-size: 14px;
}

.dropdown-body {
  padding: 6px 0;
}

.dropdown-divider {
  height: 1px;
  background: #e9ecef;
  margin: 4px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  color: #333;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border-right: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, transparent, rgba(35, 134, 200, 0.05));
  transition: width 0.3s;
}

.dropdown-item:hover::before {
  width: 100%;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, #f8f9fa 0%, rgba(248, 249, 250, 0.5) 100%);
  border-right-color: #2386c8;
  transform: translateX(-3px);
  padding-right: 20px;
}

.dropdown-item:active {
  background: #f0f0f0;
  transform: translateX(-2px) scale(0.98);
}

.dropdown-item-danger:hover {
  background: linear-gradient(90deg, #fff5f5 0%, rgba(255, 245, 245, 0.5) 100%);
  border-right-color: #dc3545;
}

.dropdown-item-danger:hover::before {
  background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.05));
}

.dropdown-item-gift:hover {
  background: linear-gradient(90deg, #fff8f0 0%, rgba(255, 248, 240, 0.5) 100%);
  border-right-color: #ff6b6b;
}

.dropdown-item-gift:hover::before {
  background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.05));
}

.dropdown-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0f8 100%);
  color: #2386c8;
  font-size: 17px;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(35, 134, 200, 0.1);
}

.dropdown-item-danger .dropdown-item-icon {
  background: linear-gradient(135deg, #fee 0%, #fdd 100%);
  color: #dc3545;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.15);
}

.dropdown-item-gift .dropdown-item-icon {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #ff6b6b;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.15);
}

.dropdown-item:hover .dropdown-item-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 4px 12px rgba(35, 134, 200, 0.2);
}

.dropdown-item-danger:hover .dropdown-item-icon {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.dropdown-item-gift:hover .dropdown-item-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.dropdown-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.dropdown-item-title {
  font-weight: 700;
  font-size: 14px;
  color: #212529;
  line-height: 1.4;
  transition: color 0.2s;
}

.dropdown-item-desc {
  font-size: 12px;
  color: #6c757d;
  line-height: 1.3;
  transition: color 0.2s;
}

.dropdown-item:hover .dropdown-item-title {
  color: #2386c8;
}

.dropdown-item:hover .dropdown-item-desc {
  color: #495057;
}

.dropdown-item-danger .dropdown-item-title {
  color: #dc3545;
}

.dropdown-item-danger:hover .dropdown-item-title {
  color: #c82333;
}

.dropdown-item-gift .dropdown-item-title {
  color: #ff6b6b;
}

.dropdown-item-gift:hover .dropdown-item-title {
  color: #ff5252;
}

.dropdown-item-arrow {
  color: #ced4da;
  font-size: 12px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.dropdown-item:hover .dropdown-item-arrow {
  color: #2386c8;
  transform: translateX(-3px);
}

/* Profile Content */
.profile-content {
  padding: 30px;
}

.profile-section {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

/* Scoped section title for profile (بدون تعارض) */
.profile-section .section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #2386c8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-content {
  margin-bottom: 25px;
}

.section-content:last-child {
  margin-bottom: 0;
}

.content-subtitle {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.content-text {
  margin: 0;
  line-height: 1.8;
  color: #666;
  font-size: 15px;
}

/* Details Grid */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.2s;
}

.detail-item:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2386c8;
  color: #fff;
  border-radius: 10px;
  flex-shrink: 0;
  font-size: 18px;
}

.detail-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-label {
  font-size: 13px;
  color: #999;
  font-weight: 600;
}

.detail-value {
  font-size: 15px;
  color: #333;
  font-weight: 700;
}

/* Sidebar */
.profile-sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 900;
  color: #2386c8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}

.sidebar-action-btn.btn-primary {
  background: #2386c8;
  color: #fff;
}

.sidebar-action-btn.btn-primary:hover {
  background: #1e73ac;
  transform: translateY(-1px);
}

.sidebar-action-btn.btn-fav {
  background: #f5f5f5;
  color: #2386c8;
}

.sidebar-action-btn.btn-fav-active {
  background: #ffd700;
  color: #333;
}

.sidebar-action-btn.btn-fav:hover {
  background: #e0e0e0;
}

.sidebar-action-btn.btn-gift {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: #fff;
}

.sidebar-action-btn.btn-gift:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.status-premium {
  background: #fff3cd;
  color: #856404;
}

.status-verified {
  background: #d4edda;
  color: #155724;
}

.status-complete {
  background: #d1ecf1;
  color: #0c5460;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
}

.location-item strong {
  color: #666;
  font-size: 14px;
}

.location-item span {
  color: #333;
  font-weight: 700;
  font-size: 14px;
}

/* =========================
   Scrollbars
   ========================= */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  opacity: 0.8;
  background-color: #fff;
}

::-webkit-scrollbar-thumb {
  background-color: #2386c8;
}

::-moz-scrollbar {
  width: 10px;
}

::-moz-scrollbar-track {
  opacity: 0.8;
  background-color: #fff;
}

::-moz-scrollbar-thumb {
  background-color: #2386c8;
}

::-o-scrollbar {
  width: 10px;
}

::-o-scrollbar-track {
  opacity: 0.8;
  background-color: #fff;
}

::-o-scrollbar-thumb {
  background-color: #2386c8;
}

::-ms-scrollbar {
  width: 10px;
}

::-ms-scrollbar-track {
  opacity: 0.8;
  background-color: #fff;
}

::-ms-scrollbar-thumb {
  background-color: #2386c8;
}

/* =========================
   Legacy layout / theme
   ========================= */
.row {
  margin-bottom: 0;
}

/* إذا سبب مشاكل مع Bootstrap اجعله scoped لصفحات محددة */

#main {
  width: 100%;
  min-height: 100vh;
  background: url("../images/backgrounds/splash_2.jpg");
  background-attachment: fixed;
  position: relative;
  padding: 35px 0px;
}

#main .overlayer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
}

header {
  width: 100%;
  overflow: auto;
  position: relative;
  z-index: 99999999999;
  padding: 40px 50px;
  padding-top: 0;
}

header h2 {
  color: #fff;
  font-weight: bold;
  font-size: 30pt;
  margin: 0;
  float: right;
}

header .member-options {
  float: left;
}

header .member-options ul {
  overflow: visible;
  margin: 0;
  padding: 0;
}

header .member-options ul li {
  float: none;
  display: inline-block;
  background: #2386c8;
  color: #fff;
  padding: 10px 13px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 13pt;
  margin-right: 10px;
  position: relative;
  overflow: visible;
}

header .member-options ul li div.settings-panel {
  position: absolute;
  background: #fff;
  z-index: 999999999999999999999999;
  border-radius: 5px;
  right: 0;
  padding: 12px 5px;
  top: 40px;
  width: 200px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: none;
}

header .member-options ul li div.settings-panel ul li {
  width: 100%;
  margin-right: 0;
  font-size: 13pt;
  font-weight: 400;
}

header .member-options ul li i {
  margin-left: 10px;
  position: relative;
  top: 1px;
}

header .member-options ul li span {
  position: absolute;
  left: -7px;
  top: -7px;
  background: lightgreen;
  border-radius: 50%;
  color: #fff;
  padding: 5px 10px;
  font-size: 9pt;
}

.intro {
  width: 100%;
  overflow: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  padding: 25px 0px;
}

.intro h3 {
  font-weight: 700;
  color: #fff;
  font-size: 35pt;
  line-height: 1.5;
}

.intro p {
  color: #fff;
  font-weight: 300;
  font-size: 22pt;
  line-height: 200%;
}

.register-panel {
  width: 100%;
  border-radius: 8px;
  background: #fff;
  padding: 50px;
}

.register-panel h3 {
  text-align: center;
  font-size: 19pt;
  font-weight: 600;
  color: gray;
}

.register-form {
  width: 100%;
  padding: 30px 0px;
  padding-bottom: 0;
}

.form-input-holder {
  width: 100%;
  float: right;
}

.form-input-holder input {
  background: #fff;
  padding: 10px 10px;
  width: 100%;
  border-radius: 4px;
  margin-bottom: 15px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.form-input-holder input:focus,
.form-input-holder select:focus {
  outline: none;
}

.form-input-holder select {
  width: 100%;
  padding: 7px 10px;
  border-radius: 4px;
  color: #757575;
  margin-bottom: 25px;
  box-sizing: border-box;
}

.register-panel-holder {
  width: 100%;
  overflow: auto;
  padding: 0px 35px;
}

.form-input-holder button {
  width: 100%;
  border: none;
  margin-top: 10px;
  background: #2386c8;
  color: #fff;
  font-size: 15pt;
  padding: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.social-login {
  width: 100%;
  overflow: auto;
  margin-top: 30px;
}

.social-item-login {
  width: 100%;
  cursor: pointer;
  padding: 20px;
  text-align: center;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 10px;
}

.social-item-login i {
  margin-left: 10px;
}

.fb {
  background: #3b5998;
}

.gb {
  background: #ea4335;
}

.main-default {
  background: #fff !important;
  background-image: none;
  padding-top: 0 !important;
  min-height: auto !important;
  float: left;
}

.main-default .overlayer {
  display: none;
}

.main-default header {
  padding: 20px 50px;
  background: #2386c8;
  overflow: visible;
}

.main-default header h2 {
  font-size: 25pt;
}

.main-default header .member-options ul li {
  background: #fff;
  color: #2386c8;
}

.upload-photo-holder button {
  margin-top: 0;
  padding: 11px;
}

.default-photo-holder {
  position: relative;
  top: 50%;
}

.login-holder {
  padding: 0 250px;
}

.single-quez-container {
  width: 100%;
  overflow: auto;
  background: #fff;
  border-radius: 6px;
  padding: 25px;
  text-align: center;
  box-shadow: 0px 9px 30px 0px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.single-quez-container a {
  display: block;
}

.quezes {
  padding-top: 50px;
  padding-bottom: 0px;
}

.single-quez-container h3 {
  margin: 0;
  font-size: 24px;
  color: #1a264c;
  font-weight: 600;
  line-height: 1.5;
}

.single-quez-container p {
  color: #767676;
  font-size: 18px;
  font-weight: 400;
  max-width: 300px;
  margin: 0 auto;
  margin-top: 15px;
  line-height: 1.8;
}

.single-quez-container span {
  background: #12a9ff;
  padding: 11px 40px;
  border-radius: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  margin-top: 15px;
  float: left;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.quez-head h2 {
  color: #767676;
  font-size: 16pt;
  margin: 0;
  font-weight: bold;
}

.quez-qestion {
  padding: 25px 0px;
}

.quez-qestion h2 {
  color: #1a264c;
  text-align: right;
  font-size: 19pt;
  line-height: 1.8;
  font-weight: 400;
}

.padding-right-left-50 {
  padding-right: 50px;
  padding-left: 50px;
}

.quez-answer p {
  margin-bottom: 25px;
  display: inline-block;
  font-size: 14pt;
  margin-right: 15px;
  font-weight: 300;
  color: #1a264c;
}

.quez-pagination-btn {
  padding: 10px 25px;
  border-radius: 15px;
  background: #2386c8;
  color: #fff;
  font-size: 14pt;
  text-align: center;
  cursor: pointer;
}

.quez-pagination {
  padding: 25px 0px;
}

.next-btn {
  float: left;
}

.disabled-btn {
  opacity: 0.6;
  cursor: not-allowed;
}

.next-btn i {
  margin-right: 5px;
  transform: rotateY(180deg);
}

.prev-btn {
  float: right;
}

.prev-btn i {
  margin-left: 5px;
}

.search-head h2 {
  color: #1a264c;
  position: relative;
  transform: translateY(40%);
  float: right;
  font-size: 19pt;
}

.search-head h2 span {
  font-size: 12pt;
  color: #848484;
}

.search-head h2 i {
  color: #2386c8;
  margin-left: 11px;
}

.filter-results {
  background: #2386c8;
  color: #fff;
  float: left;
  border-radius: 6px;
  padding: 10px 25px;
  font-size: 13pt;
  cursor: pointer;
}

.search-results-container {
  width: 100%;
  padding: 50px 0px;
}

.search-item {
  width: 100%;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  border-radius: 14px;
  background: #fff;
  position: relative;
  margin-bottom: 25px;
  overflow: hidden;
}

.repot-user {
  position: absolute;
  top: 20px;
  left: 20px;
  color: gray;
  font-size: 10pt;
  cursor: pointer;
}

.repot-user i {
  margin-left: 5px;
}

.search-results-container .search-item:last-child {
  margin-bottom: 0;
}

.search-item-image {
  border-radius: 4px;
  width: 100px;
  max-width: 100%;
  position: relative;
  top: 50%;
  right: 50%;
  transform: translateX(50%) translateY(-50%);
}

.search-item-info {
  width: 100%;
  float: right;
  padding: 10px 0px;
}

.search-item-info h2 {
  margin: 0;
  font-size: 16pt;
  color: #24346a;
  font-weight: 600;
  display: inline-block;
  float: right;
}

.search-meta-data {
  float: right;
  padding: 0;
  margin-top: 10px;
}

.search-meta-data span {
  direction: rtl;
  margin-right: 15px;
  color: #767676;
}

.search-meta-data span:first-child {
  margin-right: 0;
}

.search-meta-data span i {
  margin-left: 5px;
}

.search-item-quez-results {
  width: 100%;
  float: right;
  padding: 15px 0px;
  padding-bottom: 0;
}

.search-item-quez-results span {
  color: #2386c8;
  font-weight: 600;
  font-size: 14pt;
  margin-right: 30px;
}

.search-item-quez-results span:first-child {
  margin-right: 0;
}

/* Messages legacy */
.chat-messages-container {
  width: 100%;
  padding: 0px 0px;
  height: 400px;
  overflow: scroll;
  margin-top: 30px;
}

.message-item-container {
  width: 100%;
  float: right;
}

.message-bubble {
  float: right;
  background: #fff;
  width: 450px;
  border-radius: 15px;
  box-shadow: 0 1px 1px 1px rgba(0, 0, 0, .15);
  padding: 25px;
  margin-bottom: 20px;
}

.left-msg .message-bubble {
  float: left;
  background: #2386c8;
}

.left-msg .message-bubble p,
.left-msg .message-bubble span {
  color: #fff;
}

.message-bubble p {
  text-align: right;
  color: #848484;
  font-size: 14pt;
  font-weight: 400;
}

.message-bubble span {
  float: left;
  color: #2386c8;
  font-size: 10pt;
}

.message-bubble span i {
  margin-left: 5px;
}

.chat-send-box {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 25px;
}

.chat-send-box textarea {
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  background: #fff;
  font-size: 14pt;
  min-height: 100px;
  border-radius: 4px;
  float: right;
}

.chat-send-box button,
.chat-send-box a {
  float: right;
  background: #2386c8;
  color: #fff;
  border-radius: 5px;
  border: 0;
  padding: 10px 30px;
  margin-top: 15px;
  cursor: pointer;
}

.form-error {
  color: gray;
  font-size: 11pt;
  margin-bottom: 25px;
}

.question-item {
  width: 100%;
  background: #eee;
  border-radius: 6px;
  padding: 50px;
  margin-bottom: 30px;
}

.question-item input {
  width: 100%;
  padding: 15px;
  border-radius: 4px;
  box-sizing: border-box;
  border: none;
}

.select2-selection--multiple {
  padding: 13px !important;
  margin-bottom: 15px;
}

.add-more-question {
  float: left;
  margin-top: 44px;
  cursor: pointer;
  background: #2386c8;
  color: #fff;
  padding: 8px 10px;
  border-radius: 4px;
}

.just-a-holder {
  width: 100%;
}

.questions-carousel {
  width: 100%;
}

.question-carousel-item {
  width: 100%;
}

.start-seach {
  box-shadow: 0px 4px 21px 0px rgba(0, 0, 0, 0.08);
}

.start-search p {
  margin: 0;
  font-weight: 600;
}

.filter-result-panel-container {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  display: none;
  text-align: center;
}

.filter-result-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 500px;
  background: #fff;
  border-radius: 4px;
  padding: 35px;
}

.filter-btn {
  width: 100%;
  padding: 10px;
  text-align: center;
  border-radius: 14px;
  border: 1px solid #2386c8;
  box-shadow: 0px 7px 25px 0px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.filter-btn-active {
  background: #2386c8;
  color: #fff;
}

.filter-results-submit {
  width: 100%;
  border-radius: 8px;
  background: #272f3d;
  color: #fff;
  margin-top: 35px;
  padding: 13px;
  font-size: 16pt;
  cursor: pointer;
  box-shadow: 0px 7px 25px 0px rgba(0, 0, 0, 0.08);
}

.age-filter-panel {
  width: 100%;
  text-align: right;
}

.age-filter-panel label {
  margin-bottom: 30px;
  font-size: 16pt;
}

.age-filter-panel span {
  color: gray;
  margin-right: 20px;
  font-size: 14pt;
}

.no-result {
  font-size: 12pt;
  font-weight: 600;
  text-align: center;
  width: 100%;
  display: block;
  margin-top: 25px;
}

.form-input-holder textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px;
  box-sizing: border-box;
}

.message-head-notification {
  font-size: 13pt;
  font-weight: 400;
  margin-right: 15px;
  background: lightgreen;
  color: #fff;
  border-radius: 4px;
  padding: 7px 10px;
  display: inline-block;
}

.message-head-notification i {
  margin-left: 5px;
}

.unread-counter {
  display: none;
}

.active-quez {
  background: lightgreen;
}

.active-quez p,
.active-quez h3 {
  color: #fff !important;
}

.active-quez span {
  background: #fff;
  color: #1a264c;
}

.chat-head {
  min-height: 42px;
  overflow: visible;
}

.chat-head ul {
  position: absolute;
  left: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 15px 20px;
  z-index: 999999;
  display: none;
  top: 42px;
}

.chat-head ul li {
  list-style-type: none;
  margin-bottom: 10px;
  color: #848484;
  font-size: 12pt;
}

.chat-head ul li:last-child {
  margin-bottom: 0;
}

.toggle-chat-option {
  float: left;
  font-size: 16pt;
  color: #848484;
  position: absolute;
  left: 25px;
  top: 50%;
  cursor: pointer;
  transform: translateY(-50%);
}

.chat-warning {
  background: #2386c8;
  color: #fff;
  padding: 15px;
  border-radius: 4px;
}

.chat-warning i {
  margin-left: 5px;
}

.compare-quez-list {
  padding: 0;
  margin-bottom: 20px;
  float: right;
}

.compare-quez-list li {
  list-style-type: none;
  float: right;
  background: #efefef;
  padding: 10px;
  margin-left: 15px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.go-chat {
  background: #2386c8;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 4px;
  float: right;
  cursor: pointer;
  font-size: 11pt;
  margin-bottom: 15px;
}

.add-new-btn {
  background: #007bff;
  color: white;
  padding: 12px 15px;
  display: inline-block;
  border-radius: 6px;
  font-size: 13pt;
  margin-right: 10px;
}

.add-new-btn:hover {
  color: white;
}

.multiline-textarea {
  min-height: 200px !important;
  margin-top: 10px;
}

.disabled-select {
  background: lightgray;
}

.avatar-item {
  width: 33.333333%;
  float: right;
  padding: 0px;
  text-align: center;
}

.avatar-item img {
  max-width: 100%;
  border-radius: 4px;
  border: 6px solid transparent;
  text-align: center;
}

.avatar-select-label {
  margin-top: 20px;
  margin-bottom: 15px;
  display: block;
  font-size: 14pt;
  color: gray;
}

.avatar-active img {
  border: 6px solid #2386c8;
}

bold {
  font-weight: bold;
}

.profile-right {
  width: 100%;
  float: left;
}

.profile-right img.photo {
  width: 100%;
  float: right;
  border-radius: 4px;
}

.profile-right a.connect {
  width: 100%;
  text-align: center;
  float: right;
  background: #12a9ff;
  color: white;
  border-radius: 4px;
  padding: 15px;
  margin-top: 15px;
  font-weight: 500;
}

.profile-right a.connect i {
  margin-left: 5px;
}

.profile-right a.report {
  background: lightslategrey;
  margin-top: 10px;
}

.profile-left {
  width: 100%;
  float: left;
  border: 1px solid #efefef;
  height: 100%;
  padding: 25px;
  border-radius: 6px;
  position: relative;
}

.profile-left .add-user-favourite {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #1a264c;
  cursor: pointer;
  font-weight: bold;
}

.profile-left .add-user-favourite:hover {
  color: rgb(249, 219, 54);
}

.profile-left .add-user-favourite i {
  margin-left: 5px;
}

.profile-left h2 {
  color: #1a264c;
  font-size: 20pt;
}

.profile-left h2 i {
  margin-left: 5px;
}

.profile-left ul.user-details {
  width: 100%;
  float: right;
  margin: 0;
  padding: 25px 0px;
  padding-bottom: 10px;
}

.profile-left ul.user-details li {
  color: #767676;
  list-style-type: none;
  float: right;
  width: 33.333333%;
  margin-bottom: 15px;
}

.profile-left ul.user-details li i {
  margin-left: 5px;
}

.profile-left p.profile-description {
  width: 100%;
  float: right;
  margin: 0;
  font-size: 13pt;
  margin-top: 25px;
}

.profile-left p.profile-description bold {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  font-size: 12pt;
  color: #767676;
}

.profile-actions {
  float: left;
  width: 100%;
}

.ad-item {
  width: 100%;
  float: left;
  text-align: center;
  padding: 25px 0px;
}

.ad-item img {
  max-width: 100%;
  padding: 25px 0px;
}

/* Legacy banner (غير hero-search) */
#search-banner {
  padding: 100px 0px;
  width: 100%;
  float: left;
  background: url('../images/backgrounds/splash.jpeg');
  background-attachment: fixed;
  position: relative;
  text-align: center;
}

#search-banner .overlayer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  color: black;
  z-index: 9;
  display: block;
}

#search-banner h1,
#search-banner h3,
#search-banner p {
  position: relative;
  z-index: 99999999;
}

#search-banner h1 {
  font-size: 33pt;
  color: white;
}

#search-banner h3 {
  font-size: 33pt;
  color: white;
  font-weight: bold;
}

#search-banner p {
  font-size: 16pt;
  color: #efefef;
  font-weight: 400;
  margin-top: 20px;
}

.search-form {
  position: relative;
  z-index: 99;
  padding-top: 25px;
}

.search-form select {
  padding: 10px 5px 10px 100px;
  border-radius: 4px;
}

.search-form button {
  height: 53.2px;
  padding: 0px 25px;
  border-radius: 5px;
  border: none;
  background: #2386c8;
  color: white;
  margin-right: 5px;
}

.search-form button span {
  display: none;
}

.search-form button:focus,
.search-form select:focus {
  outline: none;
}

.section-item {
  width: 100%;
  float: right;
  padding: 20px 0px;
}

.section-item-header {
  width: 100%;
  float: right;
}

.section-item-header h3 {
  font-size: 20pt;
  color: gray;
  float: right;
}

.section-item-header a {
  float: left;
  color: #2386c8;
  font-weight: bold;
  margin-top: 0px;
  opacity: 0.6;
}

.section-item-header h3 i {
  margin-left: 5px;
}

.users-slider-list {
  width: 100%;
  float: left;
  padding: 25px 0px;
}

.users-slider-list .user-slider-item {
  float: right;
  border-radius: 6px;
  background: white;
  padding: 30px 45px;
  border: 1.5px solid #efefef;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.users-slider-list .user-slider-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  max-width: 100px;
  margin: 0 auto;
}

.users-slider-list .user-slider-item h3 {
  font-size: 17pt;
  color: gray;
  margin-top: 15px;
  margin-bottom: 24px;
}

.users-slider-list .user-slider-item a {
  background: #2386c8;
  color: white;
  padding: 7px 20px;
  border-radius: 24px;
  font-size: 11pt;
}

.owl-theme .owl-nav.disabled+.owl-dots {
  margin-top: 25px;
}

.owl-theme .owl-dots .owl-dot:focus {
  outline: none;
}

.search-item-info .search-meta-data {
  width: 100%;
  margin-top: 20px;
}

.active-fav {
  font-weight: bold;
  color: rgb(249, 219, 54) !important;
}

.seen-eye {
  margin-right: 10px;
  margin-left: 0 !important;
}

.profile-actions .disabled {
  opacity: 0.7;
}

.dropdown-overlayer {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  display: none;
  z-index: 99999999999999999999999;
}

.my-messages .search-item-info {
  padding: 10px;
}

.my-messages .search-item-info .search-meta-data {
  float: left;
  width: auto;
  margin: 0;
  margin-top: 5px;
}

.list-item {
  box-shadow: none;
  padding: 15px;
  border: 1px solid #efefefef;
  border-radius: 4px;
}

.checkbox-holder input {
  text-align: right;
  width: auto;
  display: inline-block;
  margin-left: 10px;
}

.checkbox-item {
  width: 100%;
  display: block;
}

.premium-details {
  width: 100%;
  padding: 25px 20px;
  border: 1px solid #efefefef;
  border-radius: 4px;
  float: left;
  margin-top: 25px;
  margin-bottom: 50px;
}

.premium-details p {
  margin-bottom: 0;
  font-size: 14pt;
}

.premium-details p bold {
  color: cornflowerblue;
}

.premium-details p span {
  float: left;
  font-size: 11pt;
  color: #1a264c;
  margin-top: 3px;
}

.subscribtion-item {
  width: 100%;
  background: white;
  overflow: auto;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 30px 30px;
  border-radius: 14px;
  float: right;
  margin-top: 25px;
  background-image: url(../images/backgrounds/sub_item_bg.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100% 70px;
  padding-bottom: 95px;
}

.subscribtion-item h2 {
  font-size: 20px;
  color: #1a264c;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 25px;
  line-height: 170%;
}

.subscribtion-item h4 {
  font-size: 35px;
  color: #1a264c;
  font-weight: 700;
}

.subscribtion-item ul {
  padding: 13px 0px;
  margin-bottom: 0;
}

.subscribtion-item ul li {
  color: #666a76;
  font-size: 12.5pt;
  margin-bottom: 15px;
  text-align: center;
  list-style-type: none;
}

.subscribtion-item ul li:last-child {
  margin-bottom: 0;
}

.subscribtion-item a {
  background: #12a9ff;
  padding: 14px 40px;
  border-radius: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  position: relative;
  margin-top: 10px;
  display: block;
}

.subscribtion-item a.unique {
  background: cornflowerblue;
}

.subscription-page p {
  font-size: 16pt;
  margin-bottom: 10px;
}

.subscription-page p:last-child {
  margin-bottom: 0;
}

.payment-option {
  width: 100%;
  float: right;
  border: 1px solid #efefefef;
  border-radius: 8px;
  padding: 25px;
  margin-top: 15px;
}

.payment-option p {
  margin: 0;
  color: #1a264c;
  font-size: 16pt;
  float: right;
  margin-top: 5px;
}

.payment-option p i {
  margin-left: 10px;
  color: #2b7ad0;
}

.payment-option a {
  float: left;
  color: white;
  background: #2b7ad0;
  border-radius: 4px;
  padding: 13px 15px;
  font-size: 12.5pt;
}

.payment-option a i {
  margin-left: 5px;
}

.payment-option span {
  font-size: 13pt;
  width: 100%;
  float: right;
  margin-top: 10px;
}

.gray-color {
  color: darkslategray;
}

.user-slider-item span.ribbon,
.search-item span.ribbon {
  transition: .2s all ease;
  position: absolute;
  width: 250px;
  height: 30px;
  text-align: center;
  background: #FFD700;
  background-size: cover;
  z-index: 10;
  transform: rotate(35deg);
  top: 10px;
  right: -92px;
  line-height: 29px;
  font-weight: bold;
  color: white;
  font-size: 11.5pt;
}

.search-item span.ribbon {
  left: auto;
  right: -92px;
  transform: rotate(35deg);
}

.dataTables_wrapper {
  width: 100%;
}

table {
  width: 100%;
  float: right;
  border: 1px solid #bfbfbe;
}

th {
  padding: 10px;
  letter-spacing: 0;
  text-align: center;
}

td {
  border: 1px solid #bfbfbe;
  border-bottom: 0;
  padding: 10px;
  color: #24537f;
  font-weight: bold;
  text-align: center;
}

td+td {
  color: #747474;
  text-align: center;
  font-weight: normal;
}

tr {
  background-color: white;
  transition: 0.5s;
}

tr:nth-child(even) {
  background-color: #efefef;
}

tr+tr:hover {
  background-color: #D5F1F6;
  cursor: default;
}

tr+tr {
  height: 50px;
}

.active-tr {
  background: red !important;
}

.active-tr td,
.active-tr td a {
  color: #fff !important;
}

.dataTables_wrapper .dataTables_filter input {
  border: 1px solid gray;
}

td a.table-action {
  color: blue;
  font-weight: bold;
}

.multi-action {
  float: right;
  margin-bottom: 20px;
  background: #2386c8;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 12pt;
  margin-left: 15px;
}

.multi-action i {
  margin-left: 5px;
}

.statistic-item {
  width: 100%;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  padding: 35px 35px;
  box-shadow: 0px 3px 17px 0px rgba(0, 0, 0, 0.04);
  margin-bottom: 30px;
}

.statistic-item h3 {
  font-size: 17pt;
  float: right;
  margin-bottom: 25px;
}

.statistic-item h3 i {
  color: #2386c8;
  margin-left: 5px;
}

.statistic-item ul {
  width: 100%;
  float: right;
  margin-bottom: 0;
}

.statistic-item ul li {
  font-size: 14pt;
  margin-bottom: 10px;
  list-style-type: none;
}

.statistic-item ul li:last-child {
  margin-bottom: 0;
}

.statistic-item ul li i {
  color: #2386c8;
  margin-left: 5px;
  font-size: 18pt;
}

.statistic-item ul li bold {
  font-size: 16pt;
}

footer {
  width: 100%;
  float: right;
  padding: 75px 0px;
  background: #1a264c;
  padding-bottom: 15px;
}

.footer-links {
  width: 100%;
  float: right;
  padding: 0;
}

.footer-links li {
  width: 100%;
  float: right;
  margin-bottom: 10px;
  text-align: right;
  font-size: 13pt;
  color: white;
  list-style-type: none;
}

.footer-rights {
  width: 100%;
  float: right;
  text-align: center;
  font-size: 12pt;
  color: white;
}

.footer-section-label {
  color: white;
  margin-bottom: 15px;
  float: right;
  font-weight: bold;
  font-size: 16pt;
}

.user-block-meta {
  margin-top: 15px;
  margin-bottom: 5px;
  width: 100%;
  text-align: center;
}

.user-block-meta span {
  margin: 0;
  margin-left: 6px;
  font-size: 11pt;
}

.user-block-meta span:last-child {
  margin-left: 0;
  display: inline-block;
}

iframe {
  margin: 0 auto;
  display: block;
}

/* =========================
   Blocks page (كما هو)
   ========================= */
.blocks-page {
  --radius: 14px;
  --border: rgba(0, 0, 0, .08);
  --muted: #6c757d;
}

.blocks-page .page-head {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(220, 53, 69, .10), rgba(220, 53, 69, .02));
  border: 1px solid var(--border);
}

.blocks-page .page-title {
  font-weight: 800;
  letter-spacing: .2px;
}

.blocks-page .b-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.blocks-page .b-search {
  width: 320px;
}

@media (max-width: 575.98px) {
  .blocks-page .b-search {
    width: 100%;
  }
}

.blocks-page .b-search.input-group {
  direction: rtl;
}

.blocks-page .b-search .input-group-text {
  border-left: 0;
  border-right: 1px solid rgba(0, 0, 0, .10);
}

.blocks-page .b-search .form-control {
  border-right: 0;
  border-left: 1px solid rgba(0, 0, 0, .10);
}

.blocks-page .b-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.blocks-page .b-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  transition: transform .12s ease, box-shadow .12s ease;
}

.blocks-page .b-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, .08);
}

.blocks-page .b-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 53, 69, .10);
  border: 1px solid rgba(220, 53, 69, .18);
  color: #dc3545;
  flex: 0 0 auto;
}

.blocks-page .b-name {
  font-weight: 800;
  color: #212529;
}

.blocks-page .b-action {
  white-space: nowrap;
  border-radius: 10px;
}

.blocks-page .empty-state {
  border: 1px dashed rgba(0, 0, 0, .18);
  border-radius: 14px;
  background: rgba(0, 0, 0, .015);
}

.blocks-page .empty-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(220, 53, 69, .10);
  border: 1px solid rgba(220, 53, 69, .18);
  font-size: 26px;
  color: #dc3545;
}

/* =========================
   Search/Filters modern UI
   ========================= */
.search-header-ui {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 20px;
}

.search-title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: #2386c8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-count {
  font-size: 16px;
  color: #666;
  font-weight: 600;
}

.btn-filter-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #2386c8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-filter-toggle:hover {
  background: #1e73ac;
}

/* Filters Card */
.filters-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.filters-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.btn-close-filters {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #333;
}

/* Scoped filter input style */
.filters-card .form-control-ui {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.filters-card .form-control-ui:focus {
  border-color: #2386c8;
  box-shadow: 0 0 0 3px rgba(35, 134, 200, 0.1);
}

.age-range-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.age-range-inputs input {
  flex: 1;
}

.age-separator {
  font-weight: 700;
  color: #666;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.filter-actions {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.btn-block {
  width: 100%;
  display: block;
}

.mt-2 {
  margin-top: 10px;
}

.mt-3 {
  margin-top: 15px;
}

.mt-4 {
  margin-top: 20px;
}

.mb-3 {
  margin-bottom: 15px;
}

.mb-4 {
  margin-bottom: 20px;
}

/* Results Grid */
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.search-result-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.search-result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.report-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: #666;
  text-decoration: none;
  transition: background 0.2s;
}

.report-btn:hover {
  background: rgba(0, 0, 0, 0.2);
  color: #d32f2f;
}

.result-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.result-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

.result-info h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 900;
}

.result-info h3 a {
  color: #2386c8;
  text-decoration: none;
}

.result-info h3 a:hover {
  text-decoration: underline;
}

.result-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
}

.meta-item i {
  color: #2386c8;
}

.result-job {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  padding: 6px 10px;
  background: #f5f5f5;
  border-radius: 6px;
}

.result-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-results i {
  font-size: 64px;
  color: #ccc;
  margin-bottom: 20px;
}

.no-results h3 {
  margin: 0 0 10px 0;
  font-size: 24px;
  color: #333;
}

.no-results p {
  color: #666;
  margin: 0;
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li {
  display: inline-block;
}

.pagination a,
.pagination span {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}

.pagination a {
  background: #f5f5f5;
  color: #2386c8;
}

.pagination a:hover {
  background: #2386c8;
  color: #fff;
}

.pagination .active span {
  background: #2386c8;
  color: #fff;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 992px) {
  .users-slide {
    flex: 0 0 calc(50% - 7px);
  }

  .profile-cover {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-header-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-actions-header {
    justify-content: center;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .dropdown-menu {
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-15px) scale(0.92);
  }

  .profile-dropdown.active .dropdown-menu {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .dropdown-arrow {
    right: auto;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
  }

  .filters-card {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: right 0.3s;
  }

  .filters-card.show {
    right: 0;
  }

  .btn-close-filters {
    display: block;
  }

  .search-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-search#search-banner {
    min-height: 340px;
    padding: 52px 0 40px 0;
  }

  .hero-title {
    font-size: 22px;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .users-slide {
    flex: 0 0 80%;
  }

  .profile-header {
    padding: 30px 20px;
  }

  .profile-avatar {
    width: 120px;
    height: 120px;
  }

  .profile-name {
    font-size: 24px;
  }

  .profile-content {
    padding: 20px 15px;
  }

  .profile-section {
    padding: 20px;
  }

  .search-header-ui {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
  }

  .filters-card {
    width: 100%;
  }
}

.my-messages {
  margin-top: 20px;
}

.chat-card {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: 0.15s ease-in-out;
  color: inherit;
}

.chat-card:hover {
  border-color: #dbe9f6;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.chat-card__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-card__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2386c8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: 0 0 44px;
}

.chat-meta {
  min-width: 0;
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-name {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 520px;
}

.chat-subtitle {
  font-size: 13px;
  color: #777;
  margin-top: 3px;
}

.chat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(35, 134, 200, 0.12);
  color: #2386c8;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.chat-card__right {
  flex: 0 0 auto;
}

.chat-action {
  color: #2386c8;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

/* Empty state */
.empty-state {
  background: #fff;
  border: 1px dashed #e5e5e5;
  border-radius: 12px;
  padding: 28px 18px;
  text-align: center;
}

.empty-state__icon {
  font-size: 34px;
  color: #2386c8;
  margin-bottom: 10px;
}

.empty-state__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.empty-state__text {
  color: #777;
  font-size: 13px;
}

.site-footer {
  background: radial-gradient(circle at top left, #1f9dd8, #0b2442 55%);
  color: rgba(255, 255, 255, .92);
  padding: 10px 0 0 0;
  margin-top: 32px;
  position: relative;
}

.footer-wave {
  height: 26px;
  background: url('/images/backgrounds/sub_item_bg.png') repeat-x top center;
  opacity: .45;
  mix-blend-mode: screen;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 0 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 260px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .20);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .30);
}

.footer-logo-mark i {
  color: #ffb6cf;
}

.footer-logo-text {
  font-weight: 900;
  font-size: 16px;
}

.footer-title {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 900;
}

.footer-text {
  margin: 0 0 14px 0;
  line-height: 1.9;
  color: rgba(255, 255, 255, .78);
  max-width: 520px;
}

.footer-text-small {
  max-width: 320px;
}

.footer-social {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 6px 0 0 0;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background .12s ease, transform .12s ease, box-shadow .12s ease;
}

.footer-social a:hover {
  background: #2386c8;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, .22);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  font-weight: 700;
  transition: transform .12s ease, opacity .12s ease;
}

.footer-link-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  flex: 0 0 8px;
}

.footer-link:hover {
  opacity: 1;
  transform: translateX(-2px);
  text-decoration: underline;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease;
}

.footer-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, .18);
}

.footer-btn-primary {
  background: #2386c8;
  color: #fff;
}

.footer-btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .16);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 10px 0 16px 0;
  display: flex;
  justify-content: center;
}

.footer-rights {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-inner {
    padding: 10px 0 14px 0;
  }
}