/* ========================================
   DARK - MAIN STYLE
   Mobile First
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #087f73;
    --primary-dark: #05665d;
    --primary-light: #eaf7f5;
    --text: #17202a;
    --muted: #8a949d;
    --bg: #f7f8fa;
    --white: #ffffff;
    --border: #e6e9ec;
    --shadow: 0 8px 25px rgba(20, 30, 40, 0.07);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, "Tahoma", sans-serif;
    direction: rtl;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    padding-bottom: 90px;
}

/* منع تمرير الصفحة الخلفية أثناء فتح الإعلان أو أي نافذة منبثقة */
body.dark-modal-open{
    width:100%;
    overflow:hidden;
    overscroll-behavior:none;
    touch-action:auto;
}

button,
input {
    font-family: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   HEADER
======================================== */

.header {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1100px;
    margin: auto;
    min-height: 76px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    direction: ltr;
}

.brand-name {
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
}

.brand-name::first-letter {
    color: var(--text);
}

.brand-flag {
    font-size: 31px;
}

.header-login {
    background: var(--primary-light);
    color: var(--primary);
    padding: 14px 22px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: bold;
}

/* ========================================
   HERO
======================================== */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 25%, #fff1d7 0, transparent 30%),
        radial-gradient(circle at 90% 75%, #dff3f0 0, transparent 35%),
        var(--white);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 900px;
    margin: auto;
    padding: 70px 20px 65px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-light);
    color: var(--primary);
    padding: 13px 20px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(38px, 8vw, 64px);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: #7d8792;
    font-size: 20px;
    margin-bottom: 34px;
}

/* ========================================
   SEARCH
======================================== */

.search-container {
    max-width: 760px;
    margin: auto;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
}

.search-icon {
    color: var(--muted);
    font-size: 27px;
    padding-left: 10px;
}

.search-container input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 17px;
    padding: 16px 8px;
    direction: rtl;
    text-align: right;
    color: var(--text);
}

.search-container input::placeholder {
    color: #9aa1a8;
}

.search-button {
    background: var(--primary);
    color: white;
    min-width: 100px;
    padding: 16px 22px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: bold;
}

.search-button:active {
    transform: scale(.97);
}

/* ========================================
   LOCATION
======================================== */

.location-button {
    margin-top: 22px;
    background: transparent;
    color: #707a84;
    font-size: 17px;
    padding: 8px 15px;
}

.location-button span:first-child {
    margin-left: 5px;
}

.location-button span:last-child {
    margin-right: 7px;
}

/* ========================================
   SECTIONS
======================================== */

.section {
    max-width: 1100px;
    margin: auto;
    padding: 45px 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.section-label {
    display: block;
    color: var(--primary);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.section-header h2 {
    font-size: 30px;
    line-height: 1.2;
}

.view-all {
    background: transparent;
    color: var(--primary);
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
}

.view-all span {
    margin-right: 5px;
}

/* ========================================
   CATEGORIES
======================================== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    min-height: 135px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 17px;
    font-weight: bold;
    color: var(--text);
    transition: .2s;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
}

/* ========================================
   PRODUCTS / ADS
======================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.empty-product {
    grid-column: 1 / -1;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 45px 20px;
    text-align: center;
}

.empty-product-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.empty-product h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.empty-product p {
    color: var(--muted);
    line-height: 1.7;
}

/* ========================================
   PUBLISH SECTION
======================================== */

.publish-section {
    max-width: 1060px;
    margin: 10px auto 40px;
    padding: 30px 20px;
}

.publish-content {
    background:
        radial-gradient(circle at 85% 20%, #dff4f0, transparent 35%),
        var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: var(--shadow);
}

.publish-icon {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.publish-content h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.publish-content p {
    color: var(--muted);
    line-height: 1.6;
}

.publish-button {
    margin-right: auto;
    background: var(--primary);
    color: white;
    padding: 16px 22px;
    border-radius: 17px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
}

/* ========================================
   BOTTOM NAVIGATION
======================================== */

.bottom-navigation {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 78px;
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 200;
    padding: 5px 8px;
}

.nav-item {
    width: 20%;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #929ba3;
    font-size: 12px;
    font-weight: bold;
}

.nav-icon {
    font-size: 25px;
    line-height: 1;
}

.nav-item.active {
    color: var(--primary);
}

.nav-add {
    width: 64px;
    height: 64px;
    margin-top: -30px;
    border-radius: 22px;
    background: var(--primary);
    color: white;
    font-size: 39px;
    line-height: 1;
    box-shadow: 0 10px 25px rgba(8,127,115,.28);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   DESKTOP
======================================== */

@media (min-width: 700px) {

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content {
        padding-top: 90px;
        padding-bottom: 85px;
    }
}

/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 420px) {

    .header-inner {
        min-height: 68px;
        padding: 10px 14px;
    }

    .brand-name {
        font-size: 25px;
    }

    .brand-flag {
        font-size: 26px;
    }

    .header-login {
        padding: 12px 17px;
        border-radius: 15px;
    }

    .hero-content {
        padding: 55px 15px 50px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero p {
        font-size: 17px;
    }

    .search-container {
        border-radius: 20px;
    }

    .search-button {
        min-width: 75px;
        padding: 14px 12px;
    }

    .section {
        padding: 35px 14px;
    }

    .section-header h2 {
        font-size: 25px;
    }

    .category-card {
        min-height: 125px;
    }

    .publish-content {
        padding: 22px 17px;
        flex-wrap: wrap;
    }

    .publish-icon {
        width: 55px;
        height: 55px;
    }

    .publish-content h2 {
        font-size: 22px;
    }

    .publish-button {
        width: 100%;
        margin-right: 0;
    }
}

/* =========================
   FEATURED ADS — COMPACT / PREMIUM
========================= */
.sm-featured-home-section{
  margin-top:18px;
  margin-bottom:20px;
}

.sm-featured-home-section .section-header{
  align-items:flex-end;
  gap:10px;
  margin-bottom:12px;
}

.sm-featured-home-section .section-header > div{
  min-width:0;
}

.sm-featured-home-section .section-label{
  font-size:13px;
  font-weight:800;
}

.sm-featured-home-section .section-header h2{
  font-size:25px;
  margin:3px 0 0;
}

.sm-featured-count{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background:#eef9f7;
  color:#148f82;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
  margin-right:auto;
}

.sm-featured-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  width:100%;
}

.sm-featured-card{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(18,145,132,.16) !important;
  border-radius:15px !important;
  background:#fff;
  box-shadow:0 4px 13px rgba(0,0,0,.045) !important;
  transition:transform .18s ease,box-shadow .18s ease;
}

.sm-featured-card:hover{
  transform:translateY(-2px);
  box-shadow:0 7px 18px rgba(0,0,0,.08) !important;
}

.sm-featured-image-wrap{
  position:relative;
  height:94px;
  background:#eef8f6;
  overflow:hidden;
}

.sm-featured-image-wrap img{
  display:block;
  width:100%;
  height:100% !important;
  object-fit:cover;
}

.sm-featured-badge{
  position:absolute;
  top:6px;
  right:6px;
  padding:4px 7px;
  border-radius:999px;
  background:#ffe07a;
  color:#6e5700;
  font-size:9px;
  font-weight:900;
  line-height:1;
  box-shadow:0 2px 7px rgba(0,0,0,.10);
}

.sm-featured-heart{
  position:absolute;
  left:6px;
  top:6px;
  width:27px;
  height:27px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(30,35,35,.58);
  color:#fff;
  font-size:17px;
  line-height:27px;
  text-align:center;
}

.sm-featured-body{
  padding:7px 8px 8px !important;
}

.sm-featured-body h3{
  margin:0 0 3px !important;
  font-size:12px !important;
  line-height:1.35 !important;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sm-featured-price{
  color:#148f82;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sm-featured-city{
  margin-top:3px;
  color:#7a8588;
  font-size:9px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sm-featured-actions{
  margin-top:6px;
}

.sm-featured-actions button{
  width:100%;
  min-height:27px;
  padding:5px 4px !important;
  border-radius:9px !important;
  font-size:9px !important;
}

.sm-featured-empty{
  grid-column:1 / -1;
  padding:28px 16px !important;
  border-radius:18px !important;
}

.sm-featured-empty .empty-product-icon{
  font-size:34px;
  margin-bottom:8px;
}

.sm-featured-empty h3{
  font-size:15px;
}

@media(max-width:559px){
  .sm-featured-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
  }
  .sm-featured-image-wrap{height:105px;}
  .sm-featured-count{font-size:10px;padding:6px 8px;}
  .sm-featured-home-section .section-header h2{font-size:22px;}
}

@media(min-width:560px) and (max-width:900px){
  .sm-featured-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}



/* Safety warning */

.sm-safety-warning{
 display:block;
 width:100%;
 margin:2px 0;
 padding:9px 11px;
 border-radius:11px;
 background:#fff7df;
 border:1px solid #f0d57a;
 color:#6a5200;
 font-size:11px;
 line-height:1.5;
 font-weight:700;
 box-sizing:border-box;
}


/* ========================================
   FEATURED ADS — FINAL SQUARE FIX
   إصلاح غير الإعلانات المميزة
======================================== */

.sm-featured-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  width:100%;
}

.sm-featured-card{
  width:100%;
  min-width:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.sm-featured-image-wrap{
  width:100%;
  height:58% !important;
  flex:0 0 58%;
  overflow:hidden;
}

.sm-featured-image-wrap img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}

.sm-featured-body{
  min-height:0;
  flex:1;
  overflow:hidden;
}

@media(max-width:559px){
  .sm-featured-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:7px !important;
  }

  .sm-featured-card{
  }

  .sm-featured-image-wrap{
    height:58% !important;
    flex-basis:58%;
  }
}

@media(min-width:560px){
  .sm-featured-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }

  .sm-featured-card{
  }
}

@media(min-width:701px){
  html body .sm-featured-grid.sm-featured-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}


/* ========================================
   DarK V1 — REAL ESTATE APP POLISH
======================================== */
:root{
  --dark-green:#087f73;
  --dark-green-dark:#05685f;
  --dark-light:#eaf7f4;
  --dark-navy:#102a2b;
  --dark-red:#c62828;
  --dark-border:#e4e9e8;
  --dark-shadow:0 10px 28px rgba(16,42,43,.09);
}

html{scroll-behavior:smooth;}
body{
  background:#f7faf9;
  color:var(--dark-navy);
  -webkit-tap-highlight-color:transparent;
}
button,input,select,textarea{font:inherit;}
button{cursor:pointer;}
img{max-width:100%;}

/* Real-estate cards: keep the full property photo visible. */
.product-card img,
.ad-card img,
.property-card img,
.sm-featured-card img{
  object-fit:contain !important;
  background:#eef3f2;
}

/* Direct-owner badge */
.direct-owner-badge,
.owner-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  background:#e9f8ef;
  color:#147a42;
  font-size:12px;
  font-weight:800;
}

/* Verification / status colors */
.status-direct{color:#147a42;}
.status-review{color:#9a6500;}
.status-suspended{color:var(--dark-red);}

/* Broker warning */
.dark-warning-note{
  width:calc(100% - 36px);
  max-width:1100px;
  margin:8px auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 12px;
  background:transparent;
  color:#7b5a08;
  font-size:12px;
  line-height:1.7;
  text-align:center;
}
.dark-warning-note-icon{
  flex:0 0 auto;
  font-size:16px;
}
.dark-warning-note strong{
  color:#6c4d00;
}
.dark-mode .dark-warning-note{
  color:#e8d28a;
}
.dark-mode .dark-warning-note strong{
  color:#f4df9b;
}

/* Financial support owner declaration */
.support-choice{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.support-choice label{
  border:1px solid var(--dark-border);
  border-radius:14px;
  padding:12px;
  background:#fff;
}

/* Property details */
.property-meta,
.ad-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.property-meta span,
.ad-meta span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:#f0f5f4;
  border-radius:10px;
  padding:7px 9px;
  font-size:12px;
  font-weight:700;
}

/* Contact actions */
.contact-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.contact-actions button,
.contact-actions a{
  min-height:48px;
  border:0;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-decoration:none;
  font-weight:800;
}
.call-button{background:#eaf7f4;color:var(--dark-green);}
.whatsapp-button{background:#e9f8ef;color:#147a42;}

/* Bottom safe area for Android phones */
.bottom-navigation{
  padding-bottom:max(5px, env(safe-area-inset-bottom));
}
body{padding-bottom:calc(78px + env(safe-area-inset-bottom));}

@media(max-width:520px){
  .support-choice,.contact-actions{grid-template-columns:1fr;}
  .products-grid{gap:10px;}
  .product-card,.ad-card,.property-card{border-radius:16px;overflow:hidden;}
}

/* Make forms comfortable on a phone */
input,select,textarea{
  min-height:46px;
  border:1px solid #dce5e3;
  border-radius:13px;
  background:#fff;
  color:var(--dark-navy);
}
textarea{min-height:110px;resize:vertical;}
input:focus,select:focus,textarea:focus{
  outline:2px solid rgba(8,127,115,.16);
  border-color:var(--dark-green);
}

/* Image picker / previews */
.image-preview,
.publish-image-preview,
.profile-image-preview{
  overflow:hidden;
  border-radius:14px;
  background:#eef3f2;
}
.image-preview img,
.publish-image-preview img,
.profile-image-preview img{
  width:100%;
  height:100%;
  object-fit:contain !important;
}


/* =========================================================
   DARRK REFERENCE DESIGN — APP-LIKE REAL ESTATE UI
   Reference: user-provided DarK concept image
========================================================= */
:root{
  --dark-green:#075b4f;
  --dark-green-2:#087f73;
  --dark-green-3:#0aa58f;
  --dark-navy:#10252d;
  --dark-soft:#eef8f5;
  --dark-red:#e52d2d;
  --dark-gold:#f3b33d;
}
body{background:#f5f8f7;color:var(--dark-navy);font-family:Arial,"Tahoma",sans-serif;}
.header{background:var(--dark-navy)!important;border:0!important;box-shadow:0 3px 18px rgba(16,37,45,.16)!important;}
.dark-header-inner{max-width:1180px!important;min-height:72px!important;padding:8px 14px!important;direction:rtl!important;}
.dark-brand{display:flex!important;align-items:center!important;gap:9px!important;color:#fff!important;direction:rtl!important;}
.dark-brand b{display:block;font-size:25px;line-height:1.05;}
.dark-brand small{display:block;font-size:10px;color:#bfe6dd;margin-top:3px;font-weight:700;}
.dark-logo-mark{width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#fff,#dff5ef);color:var(--dark-green);display:flex;align-items:center;justify-content:center;font-size:29px;font-weight:900;box-shadow:0 5px 15px rgba(0,0,0,.16);}
.dark-icon-btn{width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.1);color:#fff;font-size:23px;}
.dark-hero{background:linear-gradient(145deg,#075b4f 0%,#087f73 62%,#0b9b86 100%)!important;border:0!important;}
.dark-hero-content{max-width:1180px!important;padding:28px 16px 24px!important;text-align:center!important;display:block!important;}
.dark-hero-copy{color:#fff;margin-bottom:18px;}
.dark-hero-copy .hero-badge{background:rgba(255,255,255,.13)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18);padding:8px 14px;margin-bottom:12px;font-size:13px;}
.dark-hero-copy h1{font-size:clamp(34px,8vw,58px)!important;margin:0 0 6px!important;color:#fff;}
.dark-hero-copy h1 span{color:#bfffee!important;}
.dark-hero-copy p{margin:0!important;color:#e5fffa!important;font-size:16px!important;font-weight:700;}
.dark-search-card{max-width:850px;margin:auto;background:#fff;border-radius:24px;padding:9px;box-shadow:0 12px 35px rgba(0,0,0,.18);}
.dark-search-card .search-container{max-width:none;margin:0;padding:4px 6px;border:1px solid #d9e7e4;border-radius:18px;box-shadow:none;background:#fff;}
.dark-search-card .search-button{background:var(--dark-green)!important;border-radius:14px;min-width:76px;padding:13px 15px;}
.dark-location{width:100%;margin-top:7px!important;background:var(--dark-soft)!important;color:var(--dark-green)!important;border-radius:14px!important;padding:11px 14px!important;font-weight:900!important;text-align:right;}
.dark-location span{float:left;}
.dark-trust-strip{max-width:1100px;margin:-2px auto 0;padding:12px 14px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;position:relative;z-index:2;}
.dark-trust-strip>div{background:#fff;border:1px solid #dce9e6;border-radius:16px;padding:10px 7px;text-align:center;box-shadow:0 5px 18px rgba(16,37,45,.06);}
.dark-trust-strip strong{display:block;font-size:24px;margin-bottom:3px;}
.dark-trust-strip span{font-size:11px;font-weight:900;color:#42555d;}
.dark-section{max-width:1100px!important;margin:0 auto!important;padding:18px 14px!important;}
.dark-section .section-header{margin-bottom:12px;}
.dark-section .section-header h2{font-size:24px;color:var(--dark-navy);}
.dark-section .section-label{color:var(--dark-green);font-weight:900;}
.dark-operation-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.dark-operation-card{min-height:128px;border-radius:21px;padding:16px;text-align:right;color:#fff;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;box-shadow:0 8px 20px rgba(16,37,45,.1);}
.dark-operation-card.sale{background:linear-gradient(135deg,#087f73,#075b4f);}
.dark-operation-card.rent{background:linear-gradient(135deg,#1681c5,#125a96);}
.dark-operation-card>span{font-size:30px;margin-bottom:4px;}
.dark-operation-card b{font-size:21px;}
.dark-operation-card small{font-size:11px;opacity:.9;margin-top:4px;}
.dark-category-grid{grid-template-columns:repeat(3,1fr)!important;gap:9px!important;}
.dark-category-card{min-height:118px!important;background:#fff!important;border:1px solid #dce9e6!important;border-radius:19px!important;box-shadow:0 5px 16px rgba(16,37,45,.05)!important;display:flex;align-items:center;justify-content:center;gap:5px;}
.dark-category-card .category-icon{font-size:30px;}
.dark-category-card b{font-size:15px;}
.dark-category-card small{font-size:10px;color:#7b8a91;}
.dark-direct-owner,.dark-warning-card,.dark-support-card{border-radius:23px;padding:17px;display:flex;align-items:center;gap:13px;}
.dark-direct-owner{background:linear-gradient(135deg,#e8f8f4,#fff);border:1px solid #cce8e1;}
.dark-warning-card{background:#fff7f7;border:1px solid #ffd7d7;}
.dark-support-card{background:linear-gradient(135deg,#fff,#eef8f5);border:1px solid #d5ebe6;}
.dark-shield,.dark-warning-icon,.dark-support-icon{width:55px;height:55px;border-radius:17px;display:flex;align-items:center;justify-content:center;font-size:28px;flex-shrink:0;}
.dark-shield{background:#d8f3ec;} .dark-warning-icon{background:#ffe1e1;} .dark-support-icon{background:#e3f6f1;}
.dark-direct-owner h2,.dark-warning-card h2,.dark-support-card h2{font-size:19px;margin:3px 0 4px;}
.dark-direct-owner p,.dark-warning-card p,.dark-support-card p{font-size:12px;line-height:1.65;color:#6c7a81;margin:0;}
.dark-direct-owner button,.dark-warning-card button,.dark-support-card button{margin-right:auto;white-space:nowrap;border-radius:14px;padding:11px 13px;font-weight:900;background:var(--dark-green);color:#fff;}
.dark-warning-card button{background:var(--dark-red);}
.dark-ads-section{padding-top:8px!important;}
.dark-publish-section{max-width:1100px!important;margin:0 auto 35px!important;padding:12px 14px!important;}
.dark-publish-content{background:linear-gradient(135deg,#0b6f62,#075b4f)!important;color:#fff;border:0!important;border-radius:24px!important;box-shadow:0 10px 25px rgba(7,91,79,.18)!important;}
.dark-publish-content .section-label,.dark-publish-content p{color:#d6fff7!important;}
.dark-publish-content h2{color:#fff;}
.dark-publish-content .publish-button{background:#fff!important;color:var(--dark-green)!important;}
@media(max-width:600px){
 .dark-header-inner{min-height:64px!important;}
 .dark-logo-mark{width:41px;height:41px;font-size:25px;}
 .dark-brand b{font-size:22px;}
 .dark-hero-content{padding:24px 10px 18px!important;}
 .dark-hero-copy h1{font-size:38px!important;}
 .dark-trust-strip{padding:10px 8px;}
 .dark-trust-strip strong{font-size:21px;}
 .dark-trust-strip span{font-size:10px;}
 .dark-section{padding:15px 10px!important;}
 .dark-category-grid{grid-template-columns:repeat(3,1fr)!important;gap:7px!important;}
 .dark-category-card{min-height:105px!important;padding:9px 4px!important;}
 .dark-category-card .category-icon{font-size:25px;}
 .dark-category-card b{font-size:13px;}
 .dark-category-card small{font-size:9px;}
 .dark-direct-owner,.dark-warning-card,.dark-support-card{align-items:flex-start;flex-wrap:wrap;}
 .dark-direct-owner button,.dark-warning-card button,.dark-support-card button{width:100%;margin-right:0;}
 .dark-operation-card{min-height:118px;}
}

/* ========================================
   DarK LOGO — SVG داخل الهيدر
======================================== */
.dark-logo-mark{
    width:46px;
    height:46px;
    border-radius:14px;
    background:linear-gradient(145deg,#ffffff,#dff5ef);
    color:var(--dark-green);
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 46px;
    box-shadow:0 5px 15px rgba(0,0,0,.16);
    overflow:hidden;
}
.dark-logo-svg{
    width:34px;
    height:34px;
    display:block;
}
.dark-brand-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
}
@media (max-width:420px){
    .dark-logo-mark{
        width:41px;
        height:41px;
        flex-basis:41px;
    }
    .dark-logo-svg{
        width:30px;
        height:30px;
    }
}


/* =========================
   DARK V4 — FUNCTIONAL UI POLISH
========================= */
.dark-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 14px;background:#fff;border-bottom:1px solid var(--dark-border);position:sticky;top:76px;z-index:80}
.dark-quick-actions button{background:#f0f8f6;color:var(--dark-navy);border:1px solid #dbece8;border-radius:14px;padding:12px 7px;font-weight:800;font-size:12px}
.sm-chat-list{height:55vh;overflow:auto;padding:10px;background:#f5f8f7;border-radius:16px}
.sm-chat-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}
.sm-chat-form input{min-width:0;border:1px solid #dce7e4;border-radius:14px;padding:13px;background:#fff}
.sm-chat-bubble{max-width:82%;padding:10px 12px;border-radius:16px;margin:7px 0;line-height:1.6}
.sm-chat-bubble.mine{margin-right:auto;background:#087f73;color:#fff;border-bottom-right-radius:5px}
.sm-chat-bubble.theirs{margin-left:auto;background:#fff;border:1px solid #e0e8e6;border-bottom-left-radius:5px}
.sm-chat-bubble small{display:block;opacity:.65;font-size:10px;margin-top:4px}
@media(max-width:600px){.dark-quick-actions{top:68px;grid-template-columns:repeat(2,1fr)}.dark-quick-actions button{font-size:13px}.sm-chat-form{grid-template-columns:1fr}.sm-chat-list{height:48vh}}


/* =========================================================
   DarK PREMIUM HEADER — FINAL DESIGN
   Only visual layer. Existing functionality is preserved.
========================================================= */
.dark-premium-header{
  position:sticky !important;
  top:0 !important;
  z-index:500 !important;
  background:linear-gradient(135deg,#061f22 0%,#073f38 48%,#075b4f 100%) !important;
  border:0 !important;
  box-shadow:0 8px 28px rgba(4,32,34,.22) !important;
  overflow:hidden;
}
.dark-premium-header::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 76% 45%,rgba(26,255,151,.12),transparent 28%),
    linear-gradient(90deg,transparent 0%,rgba(255,255,255,.035) 50%,transparent 100%);
}
.dark-premium-header .dark-header-inner{
  position:relative;
  z-index:1;
  max-width:1180px !important;
  min-height:92px !important;
  padding:12px 18px !important;
  display:grid !important;
  grid-template-columns:56px 1fr auto !important;
  align-items:center !important;
  gap:14px !important;
  direction:ltr !important;
}
.dark-premium-header .dark-account-btn{
  justify-self:start;
  width:52px !important;
  height:52px !important;
  border-radius:17px !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 7px 18px rgba(0,0,0,.12) !important;
  color:#fff !important;
  font-size:25px !important;
  transition:transform .18s ease,background .18s ease !important;
}
.dark-premium-header .dark-account-btn:active{transform:scale(.95);}
.dark-premium-header .dark-brand{
  justify-self:end;
  display:flex !important;
  align-items:center !important;
  gap:13px !important;
  direction:rtl !important;
  color:#fff !important;
  min-width:0;
}
.dark-logo-image-wrap{
  width:68px !important;
  height:68px !important;
  flex:0 0 68px !important;
  border-radius:20px !important;
  padding:4px !important;
  background:linear-gradient(145deg,#ffffff 0%,#dff8f0 100%) !important;
  border:1px solid rgba(255,255,255,.7) !important;
  box-shadow:0 9px 24px rgba(0,0,0,.25),0 0 0 1px rgba(32,255,164,.12) !important;
  overflow:hidden !important;
}
.dark-logo-image{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  border-radius:16px !important;
  background:#020b0b !important;
}
.dark-premium-header .dark-brand-text{
  min-width:0;
  text-align:right;
}
.dark-premium-header .dark-brand-text b{
  display:block !important;
  font-size:clamp(28px,4vw,39px) !important;
  line-height:1 !important;
  font-weight:950 !important;
  letter-spacing:-1.2px;
  color:#fff !important;
  text-shadow:0 3px 14px rgba(0,0,0,.18);
}
.dark-premium-header .dark-brand-text small{
  display:block !important;
  margin-top:7px !important;
  color:#c9fff2 !important;
  font-size:13px !important;
  font-weight:800 !important;
  white-space:nowrap;
}
.dark-header-actions{
  display:flex;
  align-items:center;
  gap:9px;
  direction:rtl;
}
.dark-notification-btn{
  position:relative;
  width:52px;
  height:52px;
  border-radius:17px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.13);
  color:#fff;
  font-size:28px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 7px 18px rgba(0,0,0,.12);
  transition:transform .18s ease,background .18s ease;
}
.dark-notification-btn:active{transform:scale(.95);}
.dark-notification-btn i{
  position:absolute;
  top:9px;
  right:9px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#20e875;
  border:2px solid #075b4f;
  box-shadow:0 0 12px rgba(32,232,117,.75);
}
.dark-login-btn{
  min-width:76px !important;
  width:auto !important;
  padding:0 15px !important;
  font-size:13px !important;
  font-weight:900 !important;
  background:#ffffff !important;
  color:#075b4f !important;
  border:0 !important;
  box-shadow:0 8px 20px rgba(0,0,0,.16) !important;
}

/* Premium hero inspired by the approved mobile concept */
.dark-premium-header + main .dark-hero{
  position:relative;
  isolation:isolate;
  background:
    radial-gradient(circle at 50% 20%,rgba(24,226,158,.13),transparent 32%),
    linear-gradient(145deg,#052c2d 0%,#075b4f 52%,#087f73 100%) !important;
  overflow:hidden;
}
.dark-premium-header + main .dark-hero::before{
  content:"";
  position:absolute;
  left:-12%;
  right:-12%;
  bottom:-115px;
  height:240px;
  border-radius:50% 50% 0 0;
  background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,36,33,.25));
  z-index:-1;
}
.dark-premium-header + main .dark-hero::after{
  content:"⌂   ⌂   ⌂";
  position:absolute;
  left:4%;
  right:4%;
  bottom:8px;
  color:rgba(255,255,255,.035);
  font-size:120px;
  letter-spacing:22px;
  text-align:center;
  white-space:nowrap;
  z-index:-1;
}
.dark-premium-header + main .dark-hero-content{
  padding:38px 14px 34px !important;
}
.dark-premium-header + main .dark-hero-copy .hero-badge{
  background:rgba(255,255,255,.09) !important;
  border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:0 8px 25px rgba(0,0,0,.08);
}
.dark-premium-header + main .dark-hero-copy h1{
  font-size:clamp(38px,10vw,66px) !important;
  font-weight:950 !important;
  letter-spacing:-1px;
  text-shadow:0 7px 24px rgba(0,0,0,.16);
}
.dark-premium-header + main .dark-hero-copy h1 span{
  color:#37f29a !important;
}
.dark-premium-header + main .dark-hero-copy p{
  font-size:17px !important;
  color:#eafff8 !important;
}
.dark-premium-header + main .dark-search-card{
  border-radius:28px !important;
  padding:10px !important;
  box-shadow:0 18px 45px rgba(0,0,0,.24) !important;
}

@media(max-width:600px){
  .dark-premium-header .dark-header-inner{
    min-height:76px !important;
    padding:9px 10px !important;
    grid-template-columns:46px 1fr auto !important;
    gap:7px !important;
  }
  .dark-premium-header .dark-account-btn,
  .dark-notification-btn{
    width:44px !important;
    height:44px !important;
    border-radius:14px !important;
  }
  .dark-logo-image-wrap{
    width:55px !important;
    height:55px !important;
    flex-basis:55px !important;
    border-radius:17px !important;
  }
  .dark-premium-header .dark-brand{gap:8px !important;}
  .dark-premium-header .dark-brand-text b{font-size:27px !important;}
  .dark-premium-header .dark-brand-text small{font-size:10px !important;margin-top:5px !important;}
  .dark-header-actions{gap:5px;}
  .dark-login-btn{min-width:58px !important;padding:0 9px !important;font-size:11px !important;}
  .dark-notification-btn{font-size:23px;}
  .dark-notification-btn i{top:7px;right:7px;width:9px;height:9px;}
  .dark-premium-header + main .dark-hero-content{padding:30px 9px 25px !important;}
  .dark-premium-header + main .dark-hero-copy h1{font-size:40px !important;}
}

@media(max-width:380px){
  .dark-premium-header .dark-brand-text small{display:none !important;}
  .dark-login-btn{display:none !important;}
  .dark-premium-header .dark-header-inner{grid-template-columns:44px 1fr 44px !important;}
}

/* DarK - حذف زري حسابي والإشعارات من الهيدر */
.dark-premium-header .dark-account-btn,
.dark-premium-header .dark-notification-btn {
  display: none !important;
}

/* إعادة ضبط ترتيب الهيدر بعد حذف الزرين */
.dark-premium-header .dark-header-inner {
  grid-template-columns: 1fr auto;
  justify-content: center;
}

.dark-premium-header .dark-brand {
  justify-self: center;
}

.dark-premium-header .dark-header-actions {
  display: none !important;
}


/* =========================================================
   DarK HEADER FIX — CENTER THE LOGO AND PREVENT CLIPPING
   ========================================================= */

.dark-premium-header .dark-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 14px !important;
  gap: 0 !important;
  direction: ltr !important;
  overflow: hidden !important;
}

.dark-premium-header .dark-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  justify-self: auto !important;
  direction: rtl !important;
  overflow: visible !important;
}

.dark-premium-header .dark-brand-text {
  min-width: 0 !important;
  white-space: nowrap !important;
}

.dark-premium-header .dark-logo-image-wrap {
  flex: 0 0 64px !important;
  width: 64px !important;
  height: 64px !important;
}

.dark-premium-header .dark-account-btn,
.dark-premium-header .dark-notification-btn,
.dark-premium-header .dark-header-actions {
  display: none !important;
}

@media (max-width: 600px) {
  .dark-premium-header .dark-header-inner {
    min-height: 76px !important;
    padding: 6px 8px !important;
  }

  .dark-premium-header .dark-brand {
    max-width: calc(100vw - 16px) !important;
  }

  .dark-premium-header .dark-logo-image-wrap {
    flex-basis: 56px !important;
    width: 56px !important;
    height: 56px !important;
  }

  .dark-premium-header .dark-brand-text b {
    font-size: 26px !important;
  }

  .dark-premium-header .dark-brand-text small {
    font-size: 10px !important;
  }
}


/* =========================================================
   DarK — PREMIUM HEADER POLISH
   تصميم احترافي خفيف بدون تغيير الوظائف
   ========================================================= */

.dark-premium-header {
  position: relative !important;
  background:
    radial-gradient(circle at 50% 115%, rgba(48, 242, 157, .10), transparent 42%),
    linear-gradient(135deg, #061f20 0%, #073b37 52%, #075b4f 100%) !important;
  box-shadow: 0 7px 28px rgba(0, 35, 31, .28) !important;
  border-bottom: 1px solid rgba(72, 255, 190, .18) !important;
  overflow: hidden !important;
}

.dark-premium-header::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 18% 35%, rgba(255,255,255,.035) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 70%, rgba(255,255,255,.025) 0 2px, transparent 3px);
  background-size: 70px 70px, 95px 95px !important;
  opacity: .55 !important;
}

.dark-premium-header::after {
  content: "⌂   ⌂   ⌂   ⌂   ⌂" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -28px !important;
  text-align: center !important;
  color: rgba(255,255,255,.025) !important;
  font-size: 88px !important;
  letter-spacing: 20px !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

.dark-premium-header .dark-header-inner {
  position: relative !important;
  z-index: 2 !important;
}

.dark-premium-header .dark-logo-image-wrap {
  border: 3px solid rgba(255,255,255,.96) !important;
  box-shadow:
    0 0 0 5px rgba(55,242,154,.08),
    0 12px 30px rgba(0,0,0,.28) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.dark-premium-header .dark-logo-image {
  border-radius: inherit !important;
  display: block !important;
}

.dark-premium-header .dark-brand-text b {
  text-shadow: 0 4px 18px rgba(0,0,0,.22) !important;
  letter-spacing: .2px !important;
}

.dark-premium-header .dark-brand-text small {
  color: rgba(235,255,248,.88) !important;
  letter-spacing: .3px !important;
}

/* خط ضوء احترافي أسفل الهيدر */
.dark-premium-header .dark-header-inner::after {
  content: "" !important;
  position: absolute !important;
  left: 14% !important;
  right: 14% !important;
  bottom: 1px !important;
  height: 1px !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(55,242,154,.42),
    transparent
  ) !important;
  pointer-events: none !important;
}

@media (max-width: 600px) {
  .dark-premium-header::after {
    font-size: 62px !important;
    letter-spacing: 10px !important;
    bottom: -20px !important;
  }

  .dark-premium-header .dark-logo-image-wrap {
    box-shadow:
      0 0 0 4px rgba(55,242,154,.08),
      0 9px 24px rgba(0,0,0,.25) !important;
  }
}


/* =========================================================
   DarK — REAL PREMIUM PROPERTY BANNER
   ========================================================= */
.dark-property-banner{position:relative;width:100%;overflow:hidden;background:radial-gradient(circle at 50% 45%,rgba(55,242,154,.18),transparent 34%),linear-gradient(135deg,#087f73 0%,#087f73 42%,#075b4f 100%);border-top:1px solid rgba(91,255,202,.20);border-bottom:1px solid rgba(55,242,154,.38);box-shadow:0 10px 28px rgba(0,50,44,.18)}
.dark-property-banner::before{content:"⌂   ⌂   ⌂   ⌂   ⌂   ⌂";position:absolute;left:0;right:0;bottom:-25px;text-align:center;color:rgba(255,255,255,.045);font-size:90px;letter-spacing:24px;white-space:nowrap;pointer-events:none}
.dark-property-banner::after{content:"";position:absolute;left:12%;right:12%;bottom:0;height:2px;background:linear-gradient(90deg,transparent,rgba(72,255,190,.9),transparent);box-shadow:0 0 16px rgba(55,242,154,.45);pointer-events:none}
.dark-property-banner-inner{position:relative;z-index:2;min-height:270px;max-width:1180px;margin:0 auto;padding:28px 18px 24px;display:grid;grid-template-columns:1fr 1fr 1.35fr 1fr 1fr;align-items:center;gap:12px;box-sizing:border-box;direction:ltr}
.dark-property-tile{position:relative;min-height:190px;padding:18px 10px 14px;border:1px solid rgba(72,255,190,.52);border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(0,55,50,.22));color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 22px rgba(0,40,35,.13);cursor:pointer;font-family:inherit;text-align:center;direction:rtl;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.dark-property-tile:hover,.dark-property-tile:active{transform:translateY(-3px);background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(0,75,67,.28));border-color:rgba(95,255,202,.82)}
.dark-property-icon{display:block;font-size:47px;line-height:1;margin:2px 0 12px;filter:drop-shadow(0 5px 9px rgba(0,0,0,.18))}
.dark-property-tile b{display:block;font-size:23px;font-weight:950;color:#fff}
.dark-property-tile small{display:block;margin-top:9px;color:rgba(220,255,245,.92);font-size:13px;line-height:1.55}
.dark-new-tile em{position:absolute;top:10px;right:10px;padding:5px 9px;border-radius:9px;background:#f52f52;color:#fff;font-size:11px;font-style:normal;font-weight:950;box-shadow:0 5px 12px rgba(0,0,0,.18)}
.dark-property-brand{display:flex;align-items:center;justify-content:center;gap:15px;direction:rtl;min-width:0}
.dark-property-logo{flex:0 0 142px;width:142px;height:142px;padding:8px;box-sizing:border-box;border-radius:38px;background:rgba(255,255,255,.97);border:3px solid rgba(255,255,255,.95);box-shadow:0 0 0 7px rgba(55,242,154,.10),0 16px 34px rgba(0,35,31,.30)}
.dark-property-logo img{width:100%;height:100%;display:block;object-fit:cover;border-radius:29px}
.dark-property-brand-copy{text-align:center;color:#fff;white-space:nowrap}
.dark-property-brand-copy strong{display:block;font-size:48px;line-height:1.05;font-weight:950;text-shadow:0 7px 22px rgba(0,0,0,.22)}
.dark-property-brand-copy span{display:block;margin-top:10px;font-size:18px;font-weight:800;color:rgba(236,255,249,.94)}
@media(max-width:800px){.dark-property-banner-inner{min-height:225px;padding:20px 10px 18px;grid-template-columns:repeat(5,minmax(100px,1fr));gap:8px;overflow-x:auto;justify-content:start}.dark-property-tile{min-height:168px;border-radius:22px;padding:14px 7px 11px}.dark-property-icon{font-size:38px}.dark-property-tile b{font-size:18px}.dark-property-tile small{font-size:11px}.dark-property-brand{min-width:220px}.dark-property-logo{flex-basis:112px;width:112px;height:112px;border-radius:31px}.dark-property-logo img{border-radius:23px}.dark-property-brand-copy strong{font-size:37px}.dark-property-brand-copy span{font-size:14px}}
@media(max-width:600px){.dark-property-banner-inner{min-height:205px;grid-template-columns:105px 105px 220px 105px 105px;padding:16px 9px 17px;gap:7px}.dark-property-tile{min-height:154px}.dark-property-icon{font-size:34px;margin-bottom:9px}.dark-property-tile b{font-size:17px}.dark-property-tile small{font-size:10px;line-height:1.4}.dark-property-brand{gap:8px}.dark-property-logo{flex-basis:96px;width:96px;height:96px;padding:6px;border-radius:27px}.dark-property-logo img{border-radius:21px}.dark-property-brand-copy strong{font-size:34px}.dark-property-brand-copy span{font-size:12px;margin-top:6px}.dark-property-banner::before{font-size:58px;letter-spacing:10px;bottom:-17px}}


/* DarK FINAL — compact property bar above search */
.dark-hero{padding:0!important;background:linear-gradient(145deg,#075b4f 0%,#087f73 62%,#0b9b86 100%)!important;overflow:hidden!important}
.dark-hero-content{max-width:100%!important;padding:0!important;margin:0!important;text-align:center!important;display:block!important}
.dark-hero-copy{display:none!important}
.dark-property-bar{position:relative!important;width:100%!important;height:auto!important;overflow:hidden!important;background:radial-gradient(circle at 50% 20%,rgba(75,255,197,.15),transparent 40%),linear-gradient(135deg,#087f73,#075b4f)!important;border:0!important;border-bottom:1px solid rgba(75,255,197,.5)!important;box-shadow:0 8px 22px rgba(0,50,45,.16)!important}
.dark-property-bar::before{content:"⌂  ⌂  ⌂  ⌂  ⌂"!important;position:absolute!important;inset:auto 0 -25px!important;text-align:center!important;color:rgba(255,255,255,.04)!important;font-size:64px!important;letter-spacing:12px!important;white-space:nowrap!important;pointer-events:none!important}
.dark-property-bar::after{content:""!important;position:absolute!important;left:12%!important;right:12%!important;bottom:0!important;height:2px!important;background:linear-gradient(90deg,transparent,#5affc4,transparent)!important;box-shadow:0 0 12px rgba(70,255,195,.5)!important}
.dark-property-bar-inner{position:relative!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:112px!important;box-sizing:border-box!important;padding:9px 5px 10px!important;gap:6px!important;direction:ltr!important;overflow:hidden!important}
.dark-bar-item{position:relative!important;flex:0 0 66px!important;width:66px!important;height:88px!important;box-sizing:border-box!important;padding:6px 2px!important;border:1px solid rgba(75,255,197,.68)!important;border-radius:17px!important;background:rgba(0,65,59,.24)!important;color:#fff!important;font-family:inherit!important;text-align:center!important;direction:rtl!important;cursor:pointer!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important}
.dark-bar-icon{display:block!important;font-size:25px!important;line-height:1!important;margin:3px 0 7px!important}
.dark-bar-item b{display:block!important;color:#fff!important;font-size:14px!important;font-weight:900!important;line-height:1.1!important}
.dark-bar-separator{flex:0 0 1px!important;width:1px!important;height:58px!important;background:rgba(116,255,214,.36)!important}
.dark-bar-brand{flex:0 1 138px!important;min-width:118px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;direction:rtl!important}
.dark-bar-logo{flex:0 0 64px!important;width:64px!important;height:64px!important;padding:4px!important;box-sizing:border-box!important;border-radius:20px!important;background:#fff!important;border:2px solid rgba(255,255,255,.95)!important;box-shadow:0 0 0 4px rgba(62,255,194,.08),0 8px 18px rgba(0,35,31,.23)!important}
.dark-bar-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:15px!important}
.dark-bar-brand-text{min-width:0!important;text-align:center!important;color:#fff!important;white-space:nowrap!important}
.dark-bar-brand-text strong{display:block!important;font-size:27px!important;line-height:1!important;font-weight:950!important;text-shadow:0 4px 12px rgba(0,0,0,.2)!important}
.dark-bar-brand-text small{display:block!important;margin-top:5px!important;color:rgba(236,255,249,.94)!important;font-size:9px!important;font-weight:800!important}
.dark-bar-new-badge{position:absolute!important;top:5px!important;right:5px!important;padding:2px 5px!important;border-radius:6px!important;background:#f32d50!important;color:#fff!important;font-size:7px!important;font-weight:950!important}
@media(max-width:600px){.dark-property-bar-inner{min-height:104px!important;padding:8px 3px 9px!important;gap:4px!important}.dark-bar-item{flex-basis:59px!important;width:59px!important;height:78px!important;border-radius:15px!important}.dark-bar-icon{font-size:22px!important;margin:2px 0 6px!important}.dark-bar-item b{font-size:12px!important}.dark-bar-separator{height:51px!important}.dark-bar-brand{flex-basis:120px!important;min-width:105px!important;gap:5px!important}.dark-bar-logo{flex-basis:56px!important;width:56px!important;height:56px!important;border-radius:17px!important;padding:3px!important}.dark-bar-logo img{border-radius:13px!important}.dark-bar-brand-text strong{font-size:23px!important}.dark-bar-brand-text small{font-size:8px!important;margin-top:4px!important}}
@media(max-width:390px){.dark-property-bar-inner{gap:2px!important;padding-left:2px!important;padding-right:2px!important}.dark-bar-item{flex-basis:52px!important;width:52px!important;height:70px!important}.dark-bar-icon{font-size:20px!important}.dark-bar-item b{font-size:11px!important}.dark-bar-brand{min-width:96px!important}.dark-bar-logo{flex-basis:49px!important;width:49px!important;height:49px!important}.dark-bar-brand-text strong{font-size:20px!important}.dark-bar-brand-text small{font-size:7px!important}}


/* FINAL: top red-marked area is the only property selector */
.dark-premium-header{background:linear-gradient(135deg,#087f73,#075b4f)!important;border-bottom:1px solid rgba(85,255,205,.42)!important;overflow:hidden!important;}
.dark-premium-header .dark-top-property-bar{position:relative;width:100%;min-height:122px;padding:10px 8px 11px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:7px;direction:ltr;overflow:hidden;background:radial-gradient(circle at 50% 25%,rgba(70,255,195,.13),transparent 42%),linear-gradient(135deg,#087f73,#075b4f);}
.dark-premium-header .dark-top-property-bar:before{content:"⌂  ⌂  ⌂  ⌂  ⌂  ⌂  ⌂";position:absolute;left:0;right:0;bottom:-28px;text-align:center;color:rgba(255,255,255,.045);font-size:72px;letter-spacing:12px;white-space:nowrap;pointer-events:none;}
.dark-premium-header .dark-top-property-bar:after{content:"";position:absolute;left:10%;right:10%;bottom:0;height:2px;background:linear-gradient(90deg,transparent,#5affc4,transparent);box-shadow:0 0 13px rgba(70,255,195,.55);}
.dark-premium-header .dark-top-item{position:relative;z-index:2;flex:0 0 72px;width:72px;height:92px;padding:6px 3px;box-sizing:border-box;border:1px solid rgba(75,255,197,.72);border-radius:18px;background:rgba(0,65,59,.23);color:#fff;font-family:inherit;text-align:center;direction:rtl;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);}
.dark-premium-header .dark-top-item>span{display:block;font-size:26px;line-height:1;margin:3px 0 8px;}
.dark-premium-header .dark-top-item b{display:block;color:#fff;font-size:15px;font-weight:900;line-height:1.1;}
.dark-premium-header .dark-top-sep{position:relative;z-index:2;flex:0 0 1px;width:1px;height:58px;background:rgba(116,255,214,.36);}
.dark-premium-header .dark-top-brand{position:relative;z-index:2;flex:0 1 154px;min-width:130px;display:flex;align-items:center;justify-content:center;gap:7px;direction:rtl;color:#fff!important;text-decoration:none;}
.dark-premium-header .dark-top-logo{flex:0 0 66px;width:66px;height:66px;padding:4px;box-sizing:border-box;border-radius:21px;background:#fff;border:2px solid rgba(255,255,255,.96);box-shadow:0 0 0 4px rgba(62,255,194,.08),0 8px 18px rgba(0,35,31,.23);overflow:hidden;}
.dark-premium-header .dark-top-logo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:16px;}
.dark-premium-header .dark-top-brand-copy{min-width:0;text-align:center;white-space:nowrap;}
.dark-premium-header .dark-top-brand-copy strong{display:block;font-size:28px;line-height:1;font-weight:950;text-shadow:0 4px 12px rgba(0,0,0,.2);}
.dark-premium-header .dark-top-brand-copy small{display:block;margin-top:5px;color:rgba(236,255,249,.95);font-size:9px;font-weight:800;}
.dark-premium-header .dark-top-new em{position:absolute;top:5px;right:5px;padding:2px 5px;border-radius:6px;background:#f32d50;color:#fff;font-size:7px;font-style:normal;font-weight:950;}
.dark-premium-header + main .dark-hero{background:linear-gradient(145deg,#075b4f,#087f73 62%,#0b9b86)!important;padding:0!important;}
.dark-premium-header + main .dark-hero-content{padding:18px 10px 20px!important;}
.dark-premium-header + main .dark-search-card{margin-top:0!important;}
.dark-location{display:none!important;}
.dark-operation-section{display:none!important;}
.dark-property-bar{display:none!important;}
@media(max-width:600px){.dark-premium-header .dark-top-property-bar{min-height:106px;gap:4px;padding:8px 3px 9px}.dark-premium-header .dark-top-item{flex-basis:59px;width:59px;height:78px;border-radius:15px;padding:5px 2px}.dark-premium-header .dark-top-item>span{font-size:22px;margin:2px 0 6px}.dark-premium-header .dark-top-item b{font-size:12px}.dark-premium-header .dark-top-sep{height:51px}.dark-premium-header .dark-top-brand{flex-basis:120px;min-width:105px;gap:5px}.dark-premium-header .dark-top-logo{flex-basis:56px;width:56px;height:56px;border-radius:17px;padding:3px}.dark-premium-header .dark-top-logo img{border-radius:13px}.dark-premium-header .dark-top-brand-copy strong{font-size:23px}.dark-premium-header .dark-top-brand-copy small{font-size:8px;margin-top:4px}.dark-premium-header + main .dark-hero-content{padding:14px 7px 17px!important}}
@media(max-width:390px){.dark-premium-header .dark-top-property-bar{gap:2px;padding-left:2px;padding-right:2px}.dark-premium-header .dark-top-item{flex-basis:52px;width:52px;height:70px}.dark-premium-header .dark-top-item>span{font-size:20px}.dark-premium-header .dark-top-item b{font-size:11px}.dark-premium-header .dark-top-brand{min-width:96px}.dark-premium-header .dark-top-logo{flex-basis:49px;width:49px;height:49px}.dark-premium-header .dark-top-brand-copy strong{font-size:20px}.dark-premium-header .dark-top-brand-copy small{font-size:7px}}


/* تفاصيل العقار */
.dark-property-details-box{
  margin:12px 0 4px;
  padding:12px;
  border:1px solid #d9eae6;
  border-radius:16px;
  background:#f5faf8;
}
.dark-details-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin-top:8px;
}
.dark-detail-check{
  display:flex!important;
  align-items:center;
  gap:6px;
  margin:0!important;
  padding:8px 7px;
  border:1px solid #dcebe8;
  border-radius:11px;
  background:#fff;
  font-size:12px!important;
  cursor:pointer;
}
.dark-detail-check input{accent-color:#087f73;width:16px;height:16px}
.dark-ad-features{
  margin-top:10px;
  padding:11px;
  border-radius:15px;
  background:#f2faf7;
  border:1px solid #dcece8;
}
.dark-ad-feature-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}
.dark-ad-feature-list span{
  display:inline-flex;
  align-items:center;
  padding:6px 9px;
  border-radius:999px;
  background:#fff;
  color:#087f73;
  border:1px solid #cfe6e1;
  font-size:12px;
  font-weight:800;
}
@media(max-width:480px){
  .dark-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .dark-detail-check{font-size:11px!important;padding:7px 5px}
}


/* =========================================================
   DarK — LOGGED-IN CONFIRMATION
   رسالة احترافية عند الضغط على تسجيل الدخول وهو مفتوح
   ========================================================= */

.dark-login-state{
  direction:rtl;
  text-align:center;
  padding:8px 2px 2px;
}

.dark-login-state-icon{
  width:78px;
  height:78px;
  margin:0 auto 14px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(145deg,#e7f8f4,#d4f0ea);
  border:1px solid #b8e3da;
  box-shadow:0 10px 24px rgba(8,127,115,.12);
  color:#087f73;
}

.dark-login-state-icon svg{
  width:48px;
  height:48px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.dark-login-state h3{
  margin:0;
  color:#123b37;
  font-size:25px;
  font-weight:950;
}

.dark-login-state-email{
  margin:9px 0 0;
  color:#087f73;
  font-size:14px;
  font-weight:800;
  direction:ltr;
  unicode-bidi:plaintext;
  word-break:break-word;
}

.dark-login-state-text{
  margin:14px auto 20px;
  max-width:390px;
  color:#657472;
  font-size:14px;
  line-height:1.8;
}

.dark-login-state-btn{
  width:100%;
  margin-top:9px;
}

@media(max-width:600px){
  .dark-login-state-icon{
    width:70px;
    height:70px;
  }

  .dark-login-state-icon svg{
    width:43px;
    height:43px;
  }

  .dark-login-state h3{
    font-size:22px;
  }

  .dark-login-state-text{
    font-size:13px;
  }
}

/* DarK - category controls must always remain visible */
.dark-category-grid{display:grid !important;}
.section-header .view-all,.dark-section .view-all{
  display:inline-flex !important;
  visibility:visible !important;
  opacity:1 !important;
  position:relative !important;
  z-index:5 !important;
}
.dark-all-categories-options{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
}
.dark-category-choice{
  min-width:120px;
  min-height:52px;
  cursor:pointer;
  touch-action:manipulation;
}
.dark-mode .dark-category-choice{
  background:#142f30 !important;
  color:#f4faf9 !important;
  border-color:#3b6664 !important;
}
.dark-mode .section-header .view-all,.dark-mode .dark-section .view-all{
  color:#56d9cb !important;
}


/* ========================================
   DarK - Night Mode
======================================== */
body.dark-mode{
  --bg:#081719;
  --white:#0f2426;
  --text:#f2f8f7;
  --muted:#9db2b0;
  --border:#234043;
  --primary-light:#143331;
  background:#081719 !important;
  color:var(--text) !important;
}
body.dark-mode .header,
body.dark-mode .header-inner,
body.dark-mode main,
body.dark-mode .section,
body.dark-mode .products-grid,
body.dark-mode .product-card,
body.dark-mode .ad-card,
body.dark-mode .property-card{
  color:var(--text);
}
body.dark-mode .header{
  background:#0b1e20 !important;
  border-color:#244145 !important;
}
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea{
  background:#10282a !important;
  color:#f2f8f7 !important;
  border-color:#315054 !important;
}
body.dark-mode .sm-modal,
body.dark-mode .modal-content,
body.dark-mode .sm-card,
body.dark-mode .sm-form{
  background:#0d2224 !important;
  color:#f2f8f7 !important;
  border-color:#284548 !important;
}
body.dark-mode .sm-secondary,
body.dark-mode .sm-empty,
body.dark-mode .dark-support-card,
body.dark-mode .dark-warning-card,
body.dark-mode .dark-direct-owner{
  background:#112a2c !important;
  color:#f2f8f7 !important;
  border-color:#29494c !important;
}
body.dark-mode .dark-ad-safety-warning{
  background:#2b2615 !important;
  border-color:#665727 !important;
  color:#f5e7ae !important;
}
body.dark-mode .bottom-navigation{
  background:#0b1c1e !important;
  border-top-color:#294448 !important;
}
body.dark-mode .nav-item{
  background:#0f2527 !important;
  color:#b5c9c7 !important;
}
body.dark-mode .dark-seller-ad-card{
  background:#10282a !important;
  color:#f2f8f7 !important;
  border-color:#315054 !important;
}
body.dark-mode .dark-property-details-box{
  background:#10282a !important;
  border-color:#315054 !important;
}
body.dark-mode .sm-muted,
body.dark-mode .dark-seller-ad-info small,
body.dark-mode .dark-ad-safety-text p{
  color:#a8bcba !important;
}


/* ========================================
   DarK - Night Mode Visibility Fix
======================================== */
body.dark-mode .dark-section .section-header h2,
body.dark-mode .dark-section .section-header h2 * ,
body.dark-mode .section-header h2,
body.dark-mode .section-label,
body.dark-mode .dark-section,
body.dark-mode .dark-section p,
body.dark-mode .dark-section b,
body.dark-mode .dark-section small {
  color: #f2f8f7 !important;
}

body.dark-mode .dark-section .section-label {
  color: #53d7c7 !important;
}

body.dark-mode .dark-category-card,
body.dark-mode .category-card {
  background: #10282a !important;
  color: #f2f8f7 !important;
  border-color: #29494c !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.28) !important;
}

body.dark-mode .dark-category-card b,
body.dark-mode .dark-category-card strong,
body.dark-mode .dark-category-card small,
body.dark-mode .category-card b,
body.dark-mode .category-card strong,
body.dark-mode .category-card small {
  color: #f2f8f7 !important;
}

body.dark-mode .dark-category-card small,
body.dark-mode .category-card small {
  color: #a9bfbc !important;
}

body.dark-mode .dark-category-card .category-icon,
body.dark-mode .category-card .category-icon {
  background: #163a3b !important;
  color: #f2f8f7 !important;
}

body.dark-mode .sm-featured-home-section,
body.dark-mode .sm-ads-section,
body.dark-mode .dark-ads-section {
  color: #f2f8f7 !important;
}

body.dark-mode .sm-featured-home-section .section-header h2,
body.dark-mode .sm-featured-home-section .section-label {
  color: #f2f8f7 !important;
}

body.dark-mode .sm-featured-home-section .section-label {
  color: #53d7c7 !important;
}

body.dark-mode .sm-featured-card,
body.dark-mode .product-card,
body.dark-mode .ad-card,
body.dark-mode .property-card {
  background: #10282a !important;
  color: #f2f8f7 !important;
  border-color: #29494c !important;
}

body.dark-mode .sm-featured-card h1,
body.dark-mode .sm-featured-card h2,
body.dark-mode .sm-featured-card h3,
body.dark-mode .sm-featured-card h4,
body.dark-mode .product-card h1,
body.dark-mode .product-card h2,
body.dark-mode .product-card h3,
body.dark-mode .property-card h1,
body.dark-mode .property-card h2,
body.dark-mode .property-card h3,
body.dark-mode .ad-card h1,
body.dark-mode .ad-card h2,
body.dark-mode .ad-card h3,
body.dark-mode .sm-featured-card p,
body.dark-mode .product-card p,
body.dark-mode .property-card p,
body.dark-mode .ad-card p {
  color: #f2f8f7 !important;
}

body.dark-mode .dark-support-card {
  background: #10282a !important;
  color: #f2f8f7 !important;
  border-color: #29494c !important;
}

body.dark-mode .dark-support-card h2,
body.dark-mode .dark-support-card p,
body.dark-mode .dark-warning-card h2,
body.dark-mode .dark-warning-card p,
body.dark-mode .dark-direct-owner h2,
body.dark-mode .dark-direct-owner p {
  color: #f2f8f7 !important;
}

body.dark-mode .dark-support-card p,
body.dark-mode .dark-warning-card p,
body.dark-mode .dark-direct-owner p {
  color: #b5c9c7 !important;
}

body.dark-mode .dark-operation-card,
body.dark-mode .dark-operation-card b,
body.dark-mode .dark-operation-card small {
  color: #fff !important;
}

body.dark-mode .dark-property-bar,
body.dark-mode .dark-top-property-bar {
  color: #fff !important;
}

body.dark-mode .view-toggle,
body.dark-mode .filter-button,
body.dark-mode .category-filter,
body.dark-mode .sort-button {
  background: #10282a !important;
  color: #f2f8f7 !important;
  border-color: #29494c !important;
}

body.dark-mode .nav-item span,
body.dark-mode .nav-item,
body.dark-mode .nav-icon {
  color: #d8e7e5 !important;
}

body.dark-mode .nav-item.active,
body.dark-mode .nav-item.active span,
body.dark-mode .nav-item.active .nav-icon {
  color: #53d7c7 !important;
}

/* Keep long ad details inside the opened ad only. */
body.dark-mode .sm-modal .modal-content,
body.dark-mode .sm-modal .sm-card {
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}



/* DarK professional bottom navigation icons */
.bottom-navigation .nav-item .nav-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;}
.bottom-navigation .nav-item .nav-icon svg,.bottom-navigation .nav-add svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.bottom-navigation .nav-add svg{width:38px;height:38px;stroke-width:1.8;}


/* DarK modal scroll safety */
body.dark-modal-open{width:100% !important;overflow:hidden !important;position:static !important;touch-action:auto !important;}
.sm-overlay{overscroll-behavior:contain;touch-action:none;}
.sm-modal,.sm-content{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}

/* DarK - عرض الكل يبقى ظاهر دائما */
.section-header .view-all,.dark-section .view-all{display:inline-flex !important;visibility:visible !important;opacity:1 !important;position:relative !important;z-index:10 !important;}


/* DarK final request: hide dark mode control and all View All controls without deleting existing features. */
#sm-theme{display:none !important;}
.view-all{display:none !important;}
/* Never allow the old dark-mode class to change the site appearance. */
body.dark-mode{background:var(--bg) !important;color:var(--text) !important;}
body.dark-mode .header,
body.dark-mode .header-inner,
body.dark-mode main,
body.dark-mode .section,
body.dark-mode .products-grid,
body.dark-mode .product-card,
body.dark-mode .ad-card,
body.dark-mode .property-card,
body.dark-mode .dark-category-card,
body.dark-mode .category-card,
body.dark-mode .sm-featured-home-section,
body.dark-mode .sm-ads-section,
body.dark-mode .dark-ads-section{background:initial !important;color:initial !important;}


/* DarK - featured admin controls */
.sm-admin-featured-help{
  margin: -8px 0 14px;
  line-height: 1.8;
}
.sm-admin-featured-status{
  margin-top: -4px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eaf7f5;
  color: #05665d;
  border: 1px solid #cfece7;
  font-size: 13px;
}

/* DarK: real working grid/list view switch */
#adsContainer.sm-view-grid .sm-results-grid,
#adsContainer.sm-view-grid .sm-category-ads{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
#adsContainer.sm-view-list .sm-results-grid,
#adsContainer.sm-view-list .sm-category-ads{
  grid-template-columns:1fr !important;
}
#adsContainer.sm-view-list .sm-results-grid .sm-card,
#adsContainer.sm-view-list .sm-category-ads .sm-card{
  display:grid !important;
  grid-template-columns:minmax(130px,34%) minmax(0,1fr) !important;
  align-items:stretch !important;
}
#adsContainer.sm-view-list .sm-results-grid .sm-card-image-wrap,
#adsContainer.sm-view-list .sm-category-ads .sm-card-image-wrap{
  height:100% !important;
  min-height:170px !important;
}
#adsContainer.sm-view-list .sm-results-grid .sm-card-body,
#adsContainer.sm-view-list .sm-category-ads .sm-card-body{
  min-width:0 !important;
}
@media(max-width:560px){
  #adsContainer.sm-view-list .sm-results-grid .sm-card,
  #adsContainer.sm-view-list .sm-category-ads .sm-card{
    grid-template-columns:120px minmax(0,1fr) !important;
  }
  #adsContainer.sm-view-list .sm-results-grid .sm-card-image-wrap,
  #adsContainer.sm-view-list .sm-category-ads .sm-card-image-wrap{
    min-height:145px !important;
  }
}

/* DarK: final fix for grid/list switch */
#adsContainer.sm-view-grid .sm-results-grid,
#adsContainer.sm-view-grid .sm-category-ads{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

#adsContainer.sm-view-grid .sm-results-grid .sm-card,
#adsContainer.sm-view-grid .sm-category-ads .sm-card{
  aspect-ratio:auto !important;
  height:auto !important;
  min-height:0 !important;
}

#adsContainer.sm-view-list .sm-results-grid,
#adsContainer.sm-view-list .sm-category-ads{
  grid-template-columns:1fr !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card,
#adsContainer.sm-view-list .sm-category-ads .sm-card{
  display:grid !important;
  grid-template-columns:34% minmax(0,1fr) !important;
  aspect-ratio:auto !important;
  width:100% !important;
  height:auto !important;
  min-height:180px !important;
  max-height:none !important;
  overflow:hidden !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-image-wrap,
#adsContainer.sm-view-list .sm-category-ads .sm-card-image-wrap{
  height:100% !important;
  min-height:180px !important;
  max-height:none !important;
  align-self:stretch !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-image-wrap img,
#adsContainer.sm-view-list .sm-category-ads .sm-card-image-wrap img{
  width:100% !important;
  height:100% !important;
  min-height:180px !important;
  object-fit:contain !important;
  display:block !important;
}

@media(max-width:560px){
  #adsContainer.sm-view-list .sm-results-grid .sm-card,
  #adsContainer.sm-view-list .sm-category-ads .sm-card{
    grid-template-columns:120px minmax(0,1fr) !important;
    min-height:150px !important;
  }

  #adsContainer.sm-view-list .sm-results-grid .sm-card-image-wrap,
  #adsContainer.sm-view-list .sm-category-ads .sm-card-image-wrap,
  #adsContainer.sm-view-list .sm-results-grid .sm-card-image-wrap img,
  #adsContainer.sm-view-list .sm-category-ads .sm-card-image-wrap img{
    min-height:150px !important;
  }
}

/* DarK FINAL: full photo without crop, fill available image area */
#adsContainer.sm-view-grid .sm-results-grid .sm-card,
#adsContainer.sm-view-grid .sm-category-ads .sm-card{
  display:flex !important;
  flex-direction:column !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
}

#adsContainer.sm-view-grid .sm-results-grid .sm-card-image-wrap,
#adsContainer.sm-view-grid .sm-category-ads .sm-card-image-wrap{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
  background:#eef3f2 !important;
}

#adsContainer.sm-view-grid .sm-results-grid .sm-card-image-wrap img,
#adsContainer.sm-view-grid .sm-category-ads .sm-card-image-wrap img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card,
#adsContainer.sm-view-list .sm-category-ads .sm-card{
  display:grid !important;
  grid-template-columns:minmax(0,68%) minmax(0,32%) !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  align-items:stretch !important;
  overflow:hidden !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-image-wrap,
#adsContainer.sm-view-list .sm-category-ads .sm-card-image-wrap{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  align-self:stretch !important;
  overflow:hidden !important;
  background:#eef3f2 !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-image-wrap img,
#adsContainer.sm-view-list .sm-category-ads .sm-card-image-wrap img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-body,
#adsContainer.sm-view-list .sm-category-ads .sm-card-body{
  min-width:0 !important;
  width:100% !important;
  height:auto !important;
  padding:12px 10px !important;
  overflow:hidden !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-body h3,
#adsContainer.sm-view-list .sm-category-ads .sm-card-body h3{
  font-size:15px !important;
  line-height:1.35 !important;
  margin:0 0 7px !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-body .price,
#adsContainer.sm-view-list .sm-category-ads .sm-card-body .price{
  font-size:17px !important;
  line-height:1.2 !important;
}

@media(max-width:560px){
  #adsContainer.sm-view-list .sm-results-grid .sm-card,
  #adsContainer.sm-view-list .sm-category-ads .sm-card{
    grid-template-columns:minmax(0,68%) minmax(0,32%) !important;
  }
}

/* DarK FINAL v2 - list mode: large image LEFT, compact info RIGHT */
#adsContainer.sm-view-list .sm-results-grid .sm-card,
#adsContainer.sm-view-list .sm-category-ads .sm-card{
  display:grid !important;
  grid-template-columns:minmax(0,68%) minmax(0,32%) !important;
  direction:ltr !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  align-items:stretch !important;
  overflow:hidden !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-image-wrap,
#adsContainer.sm-view-list .sm-category-ads .sm-card-image-wrap{
  grid-column:1 !important;
  grid-row:1 !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  align-self:stretch !important;
  overflow:hidden !important;
  background:#eef3f2 !important;
  direction:ltr !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-image-wrap img,
#adsContainer.sm-view-list .sm-category-ads .sm-card-image-wrap img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-body,
#adsContainer.sm-view-list .sm-category-ads .sm-card-body{
  grid-column:2 !important;
  grid-row:1 !important;
  direction:rtl !important;
  min-width:0 !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  padding:12px 10px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-body h3,
#adsContainer.sm-view-list .sm-category-ads .sm-card-body h3{
  font-size:15px !important;
  line-height:1.35 !important;
  margin:0 0 7px !important;
}

#adsContainer.sm-view-list .sm-results-grid .sm-card-body .price,
#adsContainer.sm-view-list .sm-category-ads .sm-card-body .price{
  font-size:17px !important;
  line-height:1.2 !important;
}

@media(max-width:560px){
  #adsContainer.sm-view-list .sm-results-grid .sm-card,
  #adsContainer.sm-view-list .sm-category-ads .sm-card{
    grid-template-columns:minmax(0,68%) minmax(0,32%) !important;
  }
}

/* DarK live chat: sender, receiver, read receipt and online status */
.dark-chat-header-info{margin:0 0 10px;padding:12px 14px;background:#f5fbfa;border:1px solid #d8ebe7;border-radius:14px;line-height:1.9;color:#244744}
.dark-chat-online{font-weight:800;color:#687977}
.dark-chat-online.online{color:#087f73}
.dark-online-dot,.dark-offline-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-left:5px;vertical-align:middle}
.dark-online-dot{background:#20c86b;box-shadow:0 0 0 3px rgba(32,200,107,.12)}
.dark-offline-dot{background:#a9b5b3}
.dark-chat-meta{font-size:10px;opacity:.72;margin-bottom:4px;line-height:1.5}
.dark-read-checks{font-weight:900;letter-spacing:-2px;margin-right:4px;opacity:.8}
.dark-read-checks.read{color:#6de3d5;opacity:1}
.dark-conversation-row{text-align:right!important;line-height:1.8}

/* DarK - conversation participant display */
.dark-conversation-row{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  width:100%;
  text-align:right !important;
}
.dark-conversation-person{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
}
.dark-conversation-person > span:last-child{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.dark-conversation-person small{
  font-size:12px;
  opacity:.7;
}
.dark-conversation-avatar{
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:50%;
  object-fit:cover;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef5f2;
}
.dark-conversation-avatar-fallback{
  font-size:20px;
}
.dark-conversation-ad{
  display:block;
  width:100%;
}


/* الاسم الكامل إجباري في حسابات دارك */
.dark-required-profile-note{
  padding:14px 16px;
  margin-bottom:14px;
  border-radius:14px;
  background:#fff8df;
  border:1px solid #ead27b;
  color:#6a5200;
  font-weight:800;
  line-height:1.7;
}


/* DarK - fixed administrator profile */
.dark-fixed-admin-profile{
  border:1px solid rgba(7,91,79,.18);
  background:#f4faf8;
  border-radius:18px;
  padding:16px;
}
.dark-fixed-admin-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-bottom:12px;
  padding:7px 11px;
  border-radius:999px;
  background:#075b4f;
  color:#fff;
  font-weight:800;
}
.dark-fixed-admin-profile input[readonly],
.dark-fixed-admin-profile textarea[readonly]{
  background:#fff;
  color:#173b35;
  border-color:rgba(7,91,79,.18);
  cursor:not-allowed;
}
.dark-fixed-admin-profile textarea{
  min-height:110px;
  resize:none;
}


/* DarK ad gallery: show every uploaded photo */
.dark-ad-gallery{
  width:100%;
  margin:0 0 18px;
}
.dark-ad-gallery-main{
  position:relative;
  width:100%;
  min-height:260px;
  border-radius:18px;
  background:#f5f7f6;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.dark-ad-gallery-main-img{
  width:100%;
  height:320px;
  object-fit:contain;
  display:block;
  background:#f5f7f6;
}
.dark-ad-gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:rgba(0,0,0,.55);
  color:#fff;
  font-size:32px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}
.dark-ad-gallery-prev{left:12px}
.dark-ad-gallery-next{right:12px}
.dark-ad-gallery-counter{
  position:absolute;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(0,0,0,.58);
  color:#fff;
  padding:5px 11px;
  border-radius:20px;
  font-size:13px;
  z-index:2;
}
.dark-ad-gallery-thumbs{
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding:10px 2px 2px;
  scrollbar-width:thin;
}
.dark-ad-gallery-thumb{
  flex:0 0 76px;
  width:76px;
  height:62px;
  padding:2px;
  border:2px solid transparent;
  border-radius:10px;
  background:#f5f7f6;
  cursor:pointer;
  overflow:hidden;
}
.dark-ad-gallery-thumb.active{
  border-color:#087f70;
}
.dark-ad-gallery-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:7px;
}
@media(max-width:600px){
  .dark-ad-gallery-main-img{height:280px}
  .dark-ad-gallery-main{min-height:230px}
}


/* =========================
   DAR K — ADMIN CATEGORY MANAGEMENT
========================= */
.sm-admin-categories{
  margin:0 0 18px;
}
.dark-admin-category-add{
  display:grid;
  grid-template-columns:minmax(0,1fr) 52px auto;
  gap:7px;
  align-items:center;
  margin-bottom:10px;
}
.dark-admin-category-add input{
  width:100%;
  min-height:42px;
  border:1px solid #dce7e3;
  border-radius:11px;
  padding:9px 10px;
  background:#fff;
  color:#18211f;
  font:inherit;
  box-sizing:border-box;
}
.dark-admin-category-list{
  display:grid;
  gap:7px;
}

.dark-admin-category-name{
flex:1;
min-width:0;
}
.dark-admin-category-actions{
display:flex;
align-items:center;
justify-content:flex-start;
gap:6px;
flex-wrap:wrap;
}
.dark-category-move{
min-width:54px;
padding:9px 10px;
font-weight:900;
}
.dark-category-move:disabled{
opacity:.35;
cursor:not-allowed;
}
.dark-admin-category-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  border:1px solid #e2ebe8;
  border-radius:11px;
  background:#fafcfb;
}
.dark-admin-category-row .sm-danger{
  padding:7px 10px;
  flex:0 0 auto;
}
@media(max-width:560px){
  .dark-admin-category-add{
    grid-template-columns:1fr 48px;
  }
  .dark-admin-category-add button{
    grid-column:1/-1;
    width:100%;
  }
}
/* =========================
   FAVORITES - active state
   (مصدر واحد: زر [data-fav] فالكرط وفالتفاصيل)
========================= */
.sm-fav-btn{
  transition: color .15s ease, border-color .15s ease;
}
.sm-fav-btn.sm-fav-active{
  color:#e0245e;
  border-color:#e0245e;
}
.sm-fav-btn:disabled{
  opacity:.6;
  cursor:not-allowed;
}
.sm-detail-fav-row{
  margin:4px 0 8px;
}
.sm-detail-fav-row .sm-fav-btn{
  width:100%;
  text-align:center;
}

/* ========================================
   CURRENT DarK CSS — preserved current rules
   + Admin Report Review UI
======================================== */

/* ========================================
   SOUQMAROC - MAIN STYLE
   Mobile First
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #087f73;
    --primary-dark: #05665d;
    --primary-light: #eaf7f5;
    --text: #17202a;
    --muted: #8a949d;
    --bg: #f7f8fa;
    --white: #ffffff;
    --border: #e6e9ec;
    --shadow: 0 8px 25px rgba(20, 30, 40, 0.07);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, "Tahoma", sans-serif;
    direction: rtl;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    padding-bottom: 90px;
}

button,
input {
    font-family: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   HEADER
======================================== */

.header {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1100px;
    margin: auto;
    min-height: 76px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    direction: ltr;
}

.brand-name {
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
}

.brand-name::first-letter {
    color: var(--text);
}

.brand-flag {
    font-size: 31px;
}

.header-login {
    background: var(--primary-light);
    color: var(--primary);
    padding: 14px 22px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: bold;
}

/* ========================================
   HERO
======================================== */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 25%, #fff1d7 0, transparent 30%),
        radial-gradient(circle at 90% 75%, #dff3f0 0, transparent 35%),
        var(--white);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 900px;
    margin: auto;
    padding: 70px 20px 65px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-light);
    color: var(--primary);
    padding: 13px 20px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(38px, 8vw, 64px);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: #7d8792;
    font-size: 20px;
    margin-bottom: 34px;
}

/* ========================================
   SEARCH
======================================== */

.search-container {
    max-width: 760px;
    margin: auto;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
}

.search-icon {
    color: var(--muted);
    font-size: 27px;
    padding-left: 10px;
}

.search-container input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 17px;
    padding: 16px 8px;
    direction: rtl;
    text-align: right;
    color: var(--text);
}

.search-container input::placeholder {
    color: #9aa1a8;
}

.search-button {
    background: var(--primary);
    color: white;
    min-width: 100px;
    padding: 16px 22px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: bold;
}

.search-button:active {
    transform: scale(.97);
}

/* ========================================
   LOCATION
======================================== */

.location-button {
    margin-top: 22px;
    background: transparent;
    color: #707a84;
    font-size: 17px;
    padding: 8px 15px;
}

.location-button span:first-child {
    margin-left: 5px;
}

.location-button span:last-child {
    margin-right: 7px;
}

/* ========================================
   SECTIONS
======================================== */

.section {
    max-width: 1100px;
    margin: auto;
    padding: 45px 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.section-label {
    display: block;
    color: var(--primary);
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.section-header h2 {
    font-size: 30px;
    line-height: 1.2;
}

.view-all {
    background: transparent;
    color: var(--primary);
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
}

.view-all span {
    margin-right: 5px;
}

/* ========================================
   CATEGORIES
======================================== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    min-height: 135px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 17px;
    font-weight: bold;
    color: var(--text);
    transition: .2s;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.category-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
}

/* ========================================
   PRODUCTS / ADS
======================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.empty-product {
    grid-column: 1 / -1;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 45px 20px;
    text-align: center;
}

.empty-product-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.empty-product h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.empty-product p {
    color: var(--muted);
    line-height: 1.7;
}

/* ========================================
   PUBLISH SECTION
======================================== */

.publish-section {
    max-width: 1060px;
    margin: 10px auto 40px;
    padding: 30px 20px;
}

.publish-content {
    background:
        radial-gradient(circle at 85% 20%, #dff4f0, transparent 35%),
        var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: var(--shadow);
}

.publish-icon {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.publish-content h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.publish-content p {
    color: var(--muted);
    line-height: 1.6;
}

.publish-button {
    margin-right: auto;
    background: var(--primary);
    color: white;
    padding: 16px 22px;
    border-radius: 17px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
}

/* ========================================
   BOTTOM NAVIGATION
======================================== */

.bottom-navigation {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 78px;
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 200;
    padding: 5px 8px;
}

.nav-item {
    width: 20%;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #929ba3;
    font-size: 12px;
    font-weight: bold;
}

.nav-icon {
    font-size: 25px;
    line-height: 1;
}

.nav-item.active {
    color: var(--primary);
}

.nav-add {
    width: 64px;
    height: 64px;
    margin-top: -30px;
    border-radius: 22px;
    background: var(--primary);
    color: white;
    font-size: 39px;
    line-height: 1;
    box-shadow: 0 10px 25px rgba(8,127,115,.28);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   DESKTOP
======================================== */

@media (min-width: 700px) {

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content {
        padding-top: 90px;
        padding-bottom: 85px;
    }
}

/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 420px) {

    .header-inner {
        min-height: 68px;
        padding: 10px 14px;
    }

    .brand-name {
        font-size: 25px;
    }

    .brand-flag {
        font-size: 26px;
    }

    .header-login {
        padding: 12px 17px;
        border-radius: 15px;
    }

    .hero-content {
        padding: 55px 15px 50px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero p {
        font-size: 17px;
    }

    .search-container {
        border-radius: 20px;
    }

    .search-button {
        min-width: 75px;
        padding: 14px 12px;
    }

    .section {
        padding: 35px 14px;
    }

    .section-header h2 {
        font-size: 25px;
    }

    .category-card {
        min-height: 125px;
    }

    .publish-content {
        padding: 22px 17px;
        flex-wrap: wrap;
    }

    .publish-icon {
        width: 55px;
        height: 55px;
    }

    .publish-content h2 {
        font-size: 22px;
    }

    .publish-button {
        width: 100%;
        margin-right: 0;
    }
}

/* ========================================
   DarK — ADMIN REPORT REVIEW
   Scoped only to the report-review window.
======================================== */
.dark-admin-review{
  display:flex;
  flex-direction:column;
  gap:16px;
  min-width:0;
}
.sm-head h2 .dark-review-head-title-main{
  display:block;
  color:#17202a;
  font-size:24px;
  font-weight:900;
  line-height:1.2;
}
.sm-head h2 .dark-review-head-title-sub{
  display:block;
  margin-top:4px;
  color:#687574;
  font-size:12px;
  font-weight:600;
  line-height:1.45;
}
.sm-modal.dark-admin-review-modal{
  width:min(1320px,96vw) !important;
  height:94vh !important;
  max-height:94vh !important;
  border-radius:26px !important;
  padding:24px !important;
  align-self:center !important;
}
.dark-review-layout{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,1.15fr) minmax(0,1.2fr);
  gap:14px;
  align-items:start;
}
.dark-review-panel{
  min-width:0;
  border:1px solid #e1e9e7;
  border-radius:18px;
  background:#fff;
  box-shadow:0 5px 18px rgba(20,30,40,.045);
  padding:16px;
}
.dark-review-panel-title{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:14px;
  color:#087f73;
}
.dark-review-panel-title span{
  font-size:21px;
  line-height:1;
}
.dark-review-panel-title h4{
  margin:0;
  font-size:18px;
  color:#17202a;
}
.dark-review-user-main{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
  padding-bottom:13px;
  border-bottom:1px solid #edf1f0;
}
.dark-review-avatar-button,
.dark-review-avatar{
  width:92px;
  height:92px;
  flex:0 0 92px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:50%;
  border:3px solid #087f73;
  background:#eaf7f5;
  color:#087f73;
  padding:0;
  box-sizing:border-box;
}
.dark-review-avatar-button img,
.dark-review-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.dark-review-avatar-fallback{
  font-size:34px;
}
.dark-review-user-main-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:5px;
}
.dark-review-user-name,
.dark-review-user-name-static{
  max-width:100%;
  padding:0;
  margin:0;
  border:0;
  background:none;
  color:#17202a;
  font:inherit;
  font-size:21px;
  font-weight:900;
  line-height:1.25;
  text-align:right;
  cursor:pointer;
  overflow-wrap:anywhere;
}
.dark-review-user-name:hover{
  color:#087f73;
}
.dark-review-user-city{
  color:#4f5f5d;
  font-size:13px;
  font-weight:700;
}
.dark-review-online{
  display:flex;
  align-items:center;
  gap:6px;
  width:max-content;
  max-width:100%;
  color:#16864f;
  font-size:12px;
  font-weight:800;
}
.dark-review-online span{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#1bb56f;
  box-shadow:0 0 0 4px rgba(27,181,111,.10);
}
.dark-review-info-list{
  display:grid;
  gap:2px;
  margin-top:8px;
}
.dark-review-info-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:9px 0;
  min-width:0;
}
.dark-review-info-icon{
  width:28px;
  flex:0 0 28px;
  display:flex;
  justify-content:center;
  padding-top:1px;
  font-size:18px;
}
.dark-review-info-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.dark-review-info-label{
  color:#788583;
  font-size:11px;
  font-weight:700;
}
.dark-review-info-value{
  color:#1a2725;
  font-size:13px;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.dark-review-id-value{
  word-break:break-all;
  font-size:11px;
}
.dark-review-account-state{
  color:#087f73;
  font-weight:900;
}
.dark-review-profile-open{
  width:100%;
  margin-top:8px;
  padding:11px 12px;
  border:1px solid #cfe1dd;
  border-radius:12px;
  background:#f3faf8;
  color:#087f73;
  font:inherit;
  font-size:13px;
  font-weight:900;
}
.dark-review-profile-open:hover{
  background:#eaf7f5;
}
.dark-review-stats-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.dark-review-stat-card{
  min-width:0;
  min-height:102px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding:12px 8px;
  border:1px solid #e3ece9;
  border-radius:15px;
  background:#f8fbfa;
  text-align:center;
}
.dark-review-stat-icon{
  font-size:20px;
}
.dark-review-stat-card strong{
  color:#17302b;
  font-size:22px;
  line-height:1.1;
  font-weight:900;
  overflow-wrap:anywhere;
}
.dark-review-stat-card>span:last-child{
  color:#72807e;
  font-size:11px;
  line-height:1.35;
}
.dark-review-detail-grid{
  display:grid;
  gap:2px;
}
.dark-review-details-box{
  margin-top:8px;
  border:1px solid #e1e9e7;
  border-radius:14px;
  background:#f9fbfb;
  padding:12px;
}
.dark-review-details-heading{
  margin-bottom:6px;
  color:#263533;
  font-size:13px;
  font-weight:900;
}
.dark-review-details-text{
  color:#53605f;
  font-size:13px;
  line-height:1.75;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.dark-review-status-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:4px 9px;
  border-radius:999px;
  background:#fff2d5;
  color:#a96500;
  font-size:11px;
  font-weight:900;
}
.dark-review-other-reports{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #edf1f0;
}
.dark-review-other-reports-title{
  margin-bottom:8px;
  color:#263533;
  font-size:12px;
  font-weight:900;
}
.dark-review-report-list{
  display:grid;
  gap:7px;
  max-height:230px;
  overflow:auto;
  overscroll-behavior:contain;
}
.dark-review-report-item{
  border:1px solid #e4ecea;
  border-radius:12px;
  background:#fff;
  padding:10px;
}
.dark-review-report-item.is-current{
  border-color:#75bfb5;
  box-shadow:0 0 0 2px rgba(8,127,115,.07);
}
.dark-review-report-item-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.dark-review-report-item-index{
  color:#087f73;
  font-size:11px;
  font-weight:900;
}
.dark-review-report-item-status{
  color:#7a8684;
  font-size:10px;
  font-weight:800;
}
.dark-review-report-item-reason{
  margin-top:5px;
  color:#283534;
  font-size:12px;
  font-weight:800;
}
.dark-review-report-item-details{
  margin-top:4px;
  color:#5c6968;
  font-size:11px;
  line-height:1.6;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.dark-review-report-item-date{
  margin-top:5px;
  color:#87918f;
  font-size:10px;
}
.dark-review-warning{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 15px;
  border:1px solid #f4c5c7;
  border-radius:15px;
  background:#fff0f0;
  color:#8d1f24;
}
.dark-review-warning-icon{
  width:30px;
  flex:0 0 30px;
  font-size:21px;
  text-align:center;
}
.dark-review-warning strong{
  display:block;
  margin-bottom:3px;
  font-size:14px;
}
.dark-review-warning p{
  margin:0;
  font-size:12px;
  line-height:1.65;
}
.dark-review-actions{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
}
.dark-review-actions button{
  min-width:0;
  min-height:62px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding:11px 12px;
  border-radius:14px;
  font:inherit;
  font-size:15px;
  font-weight:900;
  text-align:center;
}
.dark-review-actions button span{
  font-size:10px;
  font-weight:700;
  opacity:.85;
}
.dark-review-action-clear{
  background:#eaf8f1;
  color:#108251;
  border:1px solid #bfe6d2;
}
.dark-review-action-ban{
  background:#e6353c;
  color:#fff;
  border:1px solid #df2830;
}
.dark-review-action-ban:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.dark-review-action-close{
  background:#f2f5f5;
  color:#293634;
  border:1px solid #dbe4e2;
}

@media(max-width:1100px){
  .dark-review-layout{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .dark-review-report-panel{
    grid-column:1 / -1;
  }
}

@media(max-width:700px){
  .dark-admin-review{
    gap:12px;
  }
  .sm-head h2 .dark-review-head-title-main{
    font-size:19px;
  }
  .sm-head h2 .dark-review-head-title-sub{
    font-size:10px;
  }
  .sm-modal.dark-admin-review-modal{
    width:100% !important;
    max-width:100% !important;
    height:92vh !important;
    max-height:92vh !important;
    border-radius:24px 24px 0 0 !important;
    padding:17px !important;
    align-self:flex-end !important;
  }
  .dark-review-layout{
    grid-template-columns:1fr;
    gap:10px;
  }
  .dark-review-report-panel{
    grid-column:auto;
  }
  .dark-review-panel{
    padding:13px;
    border-radius:15px;
  }
  .dark-review-panel-title{
    margin-bottom:11px;
  }
  .dark-review-panel-title h4{
    font-size:16px;
  }
  .dark-review-avatar-button,
  .dark-review-avatar{
    width:74px;
    height:74px;
    flex-basis:74px;
  }
  .dark-review-user-name,
  .dark-review-user-name-static{
    font-size:18px;
  }
  .dark-review-stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .dark-review-stat-card{
    min-height:88px;
  }
  .dark-review-actions{
    grid-template-columns:1fr;
    gap:8px;
  }
  .dark-review-actions button{
    min-height:55px;
  }
}

@media(max-width:390px){
  .sm-head h2 .dark-review-head-title-main{
    font-size:17px;
  }
  .sm-head h2 .dark-review-head-title-sub{
    font-size:9px;
  }
  .dark-review-stat-card strong{
    font-size:19px;
  }
  .dark-review-actions button{
    font-size:14px;
  }
}

/* ========================================
   DarK — ADMIN REVIEW / ADMIN DASHBOARD
   FINAL RESPONSIVE UI REPAIR
   CSS ONLY — no data or logic changes
======================================== */

/* Admin dashboard: give the administration modal the full working width. */
body .sm-modal:has(#sm-admin-reports){
  width:min(1400px,96vw) !important;
  max-width:1400px !important;
  height:94vh !important;
  max-height:94vh !important;
  align-self:center !important;
  border-radius:26px !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-content{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-topbar{
  width:100% !important;
  box-sizing:border-box !important;
}

body .sm-modal:has(#sm-admin-reports) #sm-admin-reports.sm-grid{
  width:100% !important;
  max-width:none !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
  align-items:start !important;
  box-sizing:border-box !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-admin-card{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  box-sizing:border-box !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-admin-card .sm-card-body{
  width:100% !important;
  box-sizing:border-box !important;
  padding:14px !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-admin-head{
  width:100% !important;
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:11px !important;
  box-sizing:border-box !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-admin-head > div{
  min-width:0 !important;
  flex:1 1 auto !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-admin-avatar{
  width:58px !important;
  height:58px !important;
  min-width:58px !important;
  flex:0 0 58px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#eaf7f5 !important;
  border:2px solid #087f73 !important;
  box-sizing:border-box !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-admin-avatar-fallback{
  color:#087f73 !important;
  font-size:25px !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-report-count{
  margin-top:4px !important;
  color:#6b7775 !important;
  font-size:12px !important;
  font-weight:700 !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-report-count strong{
  color:#087f73 !important;
  font-size:14px !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-admin-info{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:6px !important;
  margin-top:12px !important;
  padding-top:10px !important;
  border-top:1px solid #edf2f0 !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-admin-info > div{
  min-width:0 !important;
  padding:7px 8px !important;
  border-radius:10px !important;
  background:#f7faf9 !important;
  color:#40504d !important;
  font-size:11px !important;
  line-height:1.45 !important;
  overflow-wrap:anywhere !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-reasons{
  margin-top:9px !important;
  padding:9px 10px !important;
  border-radius:11px !important;
  background:#eef8f5 !important;
  color:#3d504c !important;
  font-size:11px !important;
  line-height:1.55 !important;
  overflow-wrap:anywhere !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-reasons b{
  color:#087f73 !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-report-list{
  display:grid !important;
  gap:7px !important;
  margin-top:9px !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-report-item{
  min-width:0 !important;
  padding:9px !important;
  border:1px solid #e2ebe8 !important;
  border-radius:12px !important;
  background:#fff !important;
  box-sizing:border-box !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-report-item > b{
  color:#263633 !important;
  font-size:12px !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-report-item > p{
  margin:5px 0 0 !important;
  color:#5d6b68 !important;
  font-size:11px !important;
  line-height:1.55 !important;
  overflow-wrap:anywhere !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-report-item .sm-muted{
  margin-top:5px !important;
  color:#899390 !important;
  font-size:10px !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-report-item .sm-actions{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:6px !important;
  margin-top:8px !important;
}

body .sm-modal:has(#sm-admin-reports) .sm-broker-report-item .sm-actions button{
  min-width:0 !important;
  padding:9px 8px !important;
  border-radius:10px !important;
  font-size:12px !important;
}

/* Admin review desktop: proportions closer to the approved reference. */
body .sm-modal.dark-admin-review-modal{
  width:min(1400px,96vw) !important;
  max-width:1400px !important;
  height:94vh !important;
  max-height:94vh !important;
  padding:22px !important;
  border-radius:26px !important;
  align-self:center !important;
}

body .sm-modal.dark-admin-review-modal .sm-content{
  min-width:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain !important;
  -webkit-overflow-scrolling:touch !important;
  touch-action:pan-y !important;
}

.dark-admin-review{
  width:100% !important;
  min-width:0 !important;
  gap:12px !important;
}

.dark-review-layout{
  width:100% !important;
  min-width:0 !important;
  grid-template-columns:minmax(280px,0.95fr) minmax(430px,1.65fr) minmax(300px,1fr) !important;
  gap:12px !important;
  align-items:stretch !important;
}

.dark-review-panel{
  min-width:0 !important;
  padding:14px !important;
  border-radius:16px !important;
  box-shadow:0 4px 15px rgba(20,30,40,.04) !important;
}

.dark-review-panel-title{
  margin-bottom:10px !important;
  gap:7px !important;
}

.dark-review-panel-title span{
  font-size:19px !important;
}

.dark-review-panel-title h4{
  font-size:17px !important;
}

.dark-review-user-main{
  gap:10px !important;
  padding-bottom:10px !important;
}

.dark-review-avatar-button,
.dark-review-avatar{
  width:82px !important;
  height:82px !important;
  flex-basis:82px !important;
}

.dark-review-user-main-copy{
  gap:4px !important;
}

.dark-review-user-name,
.dark-review-user-name-static{
  font-size:19px !important;
}

.dark-review-info-list{
  margin-top:5px !important;
}

.dark-review-info-row{
  padding:7px 0 !important;
  gap:8px !important;
}

.dark-review-info-icon{
  width:25px !important;
  flex-basis:25px !important;
  font-size:16px !important;
}

.dark-review-info-label{
  font-size:10px !important;
}

.dark-review-info-value{
  font-size:12px !important;
  line-height:1.35 !important;
}

.dark-review-profile-open{
  margin-top:6px !important;
  padding:9px 10px !important;
  font-size:12px !important;
}

.dark-review-stats-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
}

.dark-review-stat-card{
  min-height:88px !important;
  padding:9px 6px !important;
  border-radius:13px !important;
}

.dark-review-stat-icon{
  font-size:18px !important;
}

.dark-review-stat-card strong{
  font-size:21px !important;
}

.dark-review-stat-card>span:last-child{
  font-size:10px !important;
}

.dark-review-detail-grid{
  gap:0 !important;
}

.dark-review-report-panel .dark-review-info-row{
  padding:6px 0 !important;
}

.dark-review-details-box{
  margin-top:6px !important;
  padding:10px !important;
  border-radius:12px !important;
}

.dark-review-details-heading{
  margin-bottom:4px !important;
  font-size:12px !important;
}

.dark-review-details-text{
  font-size:12px !important;
  line-height:1.55 !important;
  max-height:90px !important;
  overflow:auto !important;
  overscroll-behavior:contain !important;
}

.dark-review-other-reports{
  margin-top:7px !important;
  padding-top:7px !important;
}

.dark-review-other-reports-title{
  margin-bottom:6px !important;
}

.dark-review-report-list{
  max-height:150px !important;
}

.dark-review-report-item{
  padding:8px !important;
}

.dark-review-warning{
  gap:9px !important;
  padding:10px 12px !important;
  border-radius:13px !important;
}

.dark-review-warning-icon{
  width:25px !important;
  flex-basis:25px !important;
  font-size:18px !important;
}

.dark-review-warning strong{
  margin-bottom:2px !important;
  font-size:12px !important;
}

.dark-review-warning p{
  font-size:11px !important;
  line-height:1.5 !important;
}

.dark-review-actions{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:8px !important;
}

.dark-review-actions button{
  min-height:58px !important;
  padding:8px 7px !important;
  border-radius:13px !important;
  font-size:14px !important;
}

.dark-review-actions button span{
  font-size:9px !important;
}

/* Medium screens: keep the review readable without creating a wide empty side. */
@media (max-width:1100px){
  body .sm-modal.dark-admin-review-modal{
    width:min(1100px,96vw) !important;
    max-width:1100px !important;
  }

  .dark-review-layout{
    grid-template-columns:minmax(250px,0.95fr) minmax(330px,1.2fr) !important;
    gap:10px !important;
  }

  .dark-review-user-card{
    grid-column:auto !important;
  }

  .dark-review-stats-panel{
    grid-column:auto !important;
  }

  .dark-review-report-panel{
    grid-column:1 / -1 !important;
  }

  body .sm-modal:has(#sm-admin-reports) #sm-admin-reports.sm-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* Mobile: compact app-like review instead of a long one-column page. */
@media (max-width:700px){
  body .sm-modal.dark-admin-review-modal{
    width:100% !important;
    max-width:100% !important;
    height:92vh !important;
    max-height:92vh !important;
    padding:12px !important;
    border-radius:22px 22px 0 0 !important;
    align-self:flex-end !important;
  }

  .dark-admin-review{
    gap:8px !important;
  }

  .dark-review-layout{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:8px !important;
    align-items:start !important;
  }

  .dark-review-user-card{
    grid-column:1 / -1 !important;
  }

  .dark-review-stats-panel,
  .dark-review-report-panel{
    grid-column:auto !important;
  }

  .dark-review-panel{
    padding:10px !important;
    border-radius:13px !important;
  }

  .dark-review-panel-title{
    margin-bottom:7px !important;
    gap:5px !important;
  }

  .dark-review-panel-title span{
    font-size:17px !important;
  }

  .dark-review-panel-title h4{
    font-size:14px !important;
  }

  .dark-review-user-main{
    gap:9px !important;
    padding-bottom:8px !important;
  }

  .dark-review-avatar-button,
  .dark-review-avatar{
    width:68px !important;
    height:68px !important;
    flex-basis:68px !important;
  }

  .dark-review-avatar-fallback{
    font-size:27px !important;
  }

  .dark-review-user-name,
  .dark-review-user-name-static{
    font-size:17px !important;
  }

  .dark-review-user-city{
    font-size:11px !important;
  }

  .dark-review-online{
    font-size:10px !important;
  }

  .dark-review-online span{
    width:7px !important;
    height:7px !important;
  }

  .dark-review-info-list{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    column-gap:10px !important;
    row-gap:0 !important;
    margin-top:4px !important;
  }

  .dark-review-info-row{
    padding:5px 0 !important;
    gap:5px !important;
  }

  .dark-review-info-icon{
    width:20px !important;
    flex-basis:20px !important;
    font-size:14px !important;
  }

  .dark-review-info-label{
    font-size:9px !important;
  }

  .dark-review-info-value{
    font-size:10px !important;
    line-height:1.3 !important;
  }

  .dark-review-id-value{
    font-size:8px !important;
  }

  .dark-review-profile-open{
    margin-top:5px !important;
    padding:8px !important;
    font-size:10px !important;
    border-radius:9px !important;
  }

  .dark-review-stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:5px !important;
  }

  .dark-review-stat-card{
    min-height:68px !important;
    padding:6px 4px !important;
    border-radius:10px !important;
  }

  .dark-review-stat-icon{
    font-size:15px !important;
  }

  .dark-review-stat-card strong{
    font-size:17px !important;
  }

  .dark-review-stat-card>span:last-child{
    font-size:8px !important;
  }

  .dark-review-report-panel .dark-review-detail-grid{
    grid-template-columns:1fr !important;
  }

  .dark-review-report-panel .dark-review-info-row{
    padding:4px 0 !important;
  }

  .dark-review-report-panel .dark-review-info-label{
    font-size:9px !important;
  }

  .dark-review-report-panel .dark-review-info-value{
    font-size:10px !important;
  }

  .dark-review-details-box{
    margin-top:4px !important;
    padding:8px !important;
    border-radius:10px !important;
  }

  .dark-review-details-heading{
    font-size:10px !important;
    margin-bottom:3px !important;
  }

  .dark-review-details-text{
    font-size:10px !important;
    line-height:1.45 !important;
    max-height:70px !important;
  }

  .dark-review-other-reports{
    margin-top:5px !important;
    padding-top:5px !important;
  }

  .dark-review-other-reports-title{
    font-size:9px !important;
    margin-bottom:4px !important;
  }

  .dark-review-report-list{
    max-height:100px !important;
    gap:5px !important;
  }

  .dark-review-report-item{
    padding:6px !important;
    border-radius:9px !important;
  }

  .dark-review-report-item-index,
  .dark-review-report-item-status{
    font-size:8px !important;
  }

  .dark-review-report-item-reason{
    margin-top:3px !important;
    font-size:9px !important;
  }

  .dark-review-report-item-details{
    margin-top:3px !important;
    font-size:8px !important;
    line-height:1.4 !important;
  }

  .dark-review-report-item-date{
    margin-top:3px !important;
    font-size:7px !important;
  }

  .dark-review-warning{
    gap:6px !important;
    padding:7px 8px !important;
    border-radius:10px !important;
  }

  .dark-review-warning-icon{
    width:19px !important;
    flex-basis:19px !important;
    font-size:15px !important;
  }

  .dark-review-warning strong{
    font-size:10px !important;
    margin-bottom:1px !important;
  }

  .dark-review-warning p{
    font-size:8px !important;
    line-height:1.4 !important;
  }

  .dark-review-actions{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:5px !important;
  }

  .dark-review-actions button{
    min-height:50px !important;
    padding:6px 3px !important;
    border-radius:10px !important;
    font-size:11px !important;
    line-height:1.2 !important;
  }

  .dark-review-actions button span{
    font-size:7px !important;
    line-height:1.2 !important;
  }

  /* Admin dashboard on phones: one full-width card per row. */
  body .sm-modal:has(#sm-admin-reports){
    width:100% !important;
    max-width:100% !important;
    height:92vh !important;
    max-height:92vh !important;
    padding:14px !important;
    border-radius:22px 22px 0 0 !important;
    align-self:flex-end !important;
  }

  body .sm-modal:has(#sm-admin-reports) #sm-admin-reports.sm-grid{
    grid-template-columns:1fr !important;
    gap:8px !important;
  }

  body .sm-modal:has(#sm-admin-reports) .sm-broker-admin-card .sm-card-body{
    padding:11px !important;
  }

  body .sm-modal:has(#sm-admin-reports) .sm-broker-admin-info{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:5px !important;
  }

  body .sm-modal:has(#sm-admin-reports) .sm-broker-admin-info > div{
    padding:6px !important;
    font-size:10px !important;
  }
}

@media (max-width:390px){
  body .sm-modal.dark-admin-review-modal{
    padding:10px !important;
  }

  .dark-review-layout{
    gap:6px !important;
  }

  .dark-review-panel{
    padding:8px !important;
  }

  .dark-review-panel-title h4{
    font-size:13px !important;
  }

  .dark-review-avatar-button,
  .dark-review-avatar{
    width:62px !important;
    height:62px !important;
    flex-basis:62px !important;
  }

  .dark-review-user-name,
  .dark-review-user-name-static{
    font-size:16px !important;
  }

  .dark-review-info-list{
    column-gap:7px !important;
  }

  .dark-review-stat-card{
    min-height:64px !important;
  }

  .dark-review-actions button{
    min-height:47px !important;
    font-size:10px !important;
  }
}

/* ========================================
   DarK — FEATURED ADS SIZE RESTORE
   إرجاع حجم الإعلانات المميزة بشكل واضح على الهاتف
   ======================================== */
@media (max-width:700px){
  body .sm-featured-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:10px !important;
  }

  body .sm-featured-card{
    aspect-ratio:auto !important;
    min-height:0 !important;
  }

  body .sm-featured-image-wrap{
    height:105px !important;
    flex:0 0 105px !important;
  }

  body .sm-featured-body{
    padding:8px 9px 9px !important;
  }

  body .sm-featured-body h3{
    font-size:13px !important;
    line-height:1.35 !important;
  }

  body .sm-featured-price{
    font-size:12px !important;
  }

  body .sm-featured-city{
    font-size:10px !important;
  }
}

@media (min-width:701px){
  body .sm-featured-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:18px !important;
  }

  body .sm-featured-card{
    aspect-ratio:auto !important;
  }
}
/* =========================================================
   DarK — FINAL FEATURED ADS ONLY
   تكبير وتحسين إعلانات مميزة فقط
   لا يمس الإعلانات العادية أو أي قسم آخر
   ========================================================= */

/* Featured grid: exactly 3 cards on all screen sizes */
html body .sm-featured-section .sm-featured-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:14px !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  align-items:start !important;
}

/* Featured cards use the real card class generated by adCardHtml */
html body .sm-featured-section .sm-featured-grid .sm-market-card{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}

/* Featured image: larger and fully visible */
html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-image-wrap{
  width:100% !important;
  height:clamp(155px,18vw,280px) !important;
  min-height:155px !important;
  max-height:none !important;
  flex:0 0 auto !important;
  aspect-ratio:auto !important;
  overflow:hidden !important;
  background:#f3f6f5 !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-image-wrap img{
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  display:block !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#f3f6f5 !important;
}

/* Keep the complete Featured card information visible */
html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-body{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  flex:0 0 auto !important;
  padding:12px 13px 13px !important;
  background:#087f73 !important;
  color:#fff !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-body h3{
  font-size:17px !important;
  line-height:1.35 !important;
  margin:0 0 6px !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-price{
  color:#fff !important;
  font-size:21px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
  margin:0 0 6px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-location{
  color:#fff !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.4 !important;
  margin:0 0 7px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-chips{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:6px !important;
  margin:0 0 9px !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-chips span{
  padding:6px 8px !important;
  font-size:10px !important;
  line-height:1.2 !important;
  border-radius:999px !important;
  white-space:nowrap !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-seller{
  width:100% !important;
  min-width:0 !important;
  margin:0 0 9px !important;
  padding:0 !important;
  gap:8px !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-seller-avatar{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-seller-name{
  font-size:12px !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-seller-status{
  font-size:10px !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-rating{
  font-size:11px !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-contact-actions{
  width:100% !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:7px !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-contact{
  width:100% !important;
  min-height:38px !important;
  padding:7px 5px !important;
  font-size:11px !important;
  border-radius:9px !important;
}

/* Featured badge, favorite button and image counter stay visible */
html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-image-badges{
  top:8px !important;
  right:8px !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-image-badge{
  min-height:29px !important;
  padding:6px 9px !important;
  font-size:10px !important;
  border-radius:9px !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-fav-btn{
  top:8px !important;
  left:8px !important;
  width:42px !important;
  height:42px !important;
  border-radius:11px !important;
  font-size:26px !important;
}

html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-image-counter{
  left:8px !important;
  bottom:8px !important;
  padding:5px 8px !important;
  font-size:10px !important;
  border-radius:8px !important;
}

/* Mobile: keep exactly 3 larger Featured cards */
@media(max-width:700px){
  html body .sm-featured-section .sm-featured-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-image-wrap{
    height:145px !important;
    min-height:145px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-body{
    padding:10px 8px 10px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-body h3{
    font-size:13px !important;
    line-height:1.35 !important;
    margin-bottom:5px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-price{
    font-size:16px !important;
    margin-bottom:5px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-location{
    font-size:10px !important;
    margin-bottom:6px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-chips{
    gap:4px !important;
    margin-bottom:7px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-chips span{
    padding:5px 6px !important;
    font-size:8px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-seller{
    gap:6px !important;
    margin-bottom:7px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-seller-avatar{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-seller-name{
    font-size:9px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-seller-status{
    font-size:8px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-rating{
    font-size:8px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-contact-actions{
    gap:5px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-contact{
    min-height:34px !important;
    padding:6px 3px !important;
    font-size:9px !important;
    border-radius:8px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-image-badges{
    top:6px !important;
    right:6px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-image-badge{
    min-height:25px !important;
    padding:5px 7px !important;
    font-size:9px !important;
    border-radius:8px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-fav-btn{
    top:6px !important;
    left:6px !important;
    width:36px !important;
    height:36px !important;
    border-radius:10px !important;
    font-size:23px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-image-counter{
    left:6px !important;
    bottom:6px !important;
    padding:4px 6px !important;
    font-size:9px !important;
    border-radius:7px !important;
  }
}

/* Very small phones: preserve the 3-column Featured layout */
@media(max-width:390px){
  html body .sm-featured-section .sm-featured-grid{
    gap:6px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-image-wrap{
    height:132px !important;
    min-height:132px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-body{
    padding:9px 7px 9px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-body h3{
    font-size:12px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-market-card-price{
    font-size:14px !important;
  }

  html body .sm-featured-section .sm-featured-grid .sm-market-card .sm-card-seller-avatar{
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
  }
}