@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap");

:root {
    --blue-950: #06245a;
    --blue-900: #08419a;
    --blue-800: #0757d6;
    --blue-700: #0867e8;
    --blue-600: #0b7cff;
    --blue-400: #16b7ff;
    --white: #ffffff;
    --paper: #eef4fb;
    --ink: #08265f;
    --muted: #5f7398;
    --soft: #5f7398;
    --glass: rgba(255, 255, 255, .78);
    --glass-strong: rgba(255, 255, 255, .94);
    --border: rgba(8, 65, 154, .14);
    --shadow: 0 22px 58px rgba(8, 65, 154, .12);
    --radius: 24px;
    font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 4%, rgba(22, 183, 255, .20), transparent 30rem),
        radial-gradient(circle at 88% 8%, rgba(8, 103, 232, .12), transparent 34rem),
        linear-gradient(180deg, #ffffff 0%, var(--paper) 52%, #ffffff 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.35), transparent 72%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.container {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(8, 65, 154, .12);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 174px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font-weight: 800;
}

.nav-links a:hover { color: var(--blue-800); }

.btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 14px;
    padding: 0 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--blue-400));
    box-shadow: 0 18px 36px rgba(8, 119, 242, .28);
    cursor: pointer;
    font-weight: 900;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(8, 119, 242, .34);
}

.btn.secondary {
    border: 1px solid rgba(8, 103, 232, .18);
    color: var(--blue-800);
    background: #ffffff;
    box-shadow: none;
}

.btn.whatsapp { background: linear-gradient(135deg, #0757d6, #0db4ff); }
.btn.danger { background: linear-gradient(135deg, #05245a, #0757d6); }

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-slides {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    animation: heroSlide 15s infinite;
}

.hero-slides img:nth-child(1) { animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: 5s; }
.hero-slides img:nth-child(3) { animation-delay: 10s; }

@keyframes heroSlide {
    0% { opacity: 0; transform: scale(1.06); }
    7% { opacity: 1; }
    30% { opacity: 1; transform: scale(1); }
    40% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.06); }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 20, 44, .14) 0%, rgba(3, 20, 44, .42) 42%, rgba(3, 20, 44, .76) 100%),
        linear-gradient(180deg, rgba(3, 20, 44, .12), rgba(3, 20, 44, .42));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin-right: 0;
    margin-left: auto;
    padding: 90px 0;
    text-align: right;
}

.hero-content .eyebrow {
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .34);
}

.hero-content h1 {
    color: #ffffff;
    text-shadow: 0 18px 48px rgba(0, 0, 0, .42);
}

.hero-content .lead {
    color: rgba(255, 255, 255, .82);
    text-shadow: 0 12px 36px rgba(0, 0, 0, .34);
}

.hero .btn.secondary {
    background: rgba(255, 255, 255, .88);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .74);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(8, 38, 95, .20);
    backdrop-filter: blur(8px);
    cursor: pointer;
    font-size: 44px;
    line-height: 1;
    transform: translateY(-50%);
}

.hero-arrow-prev {
    left: 42px;
}

.hero-arrow-next {
    right: 42px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 3;
    display: flex;
    gap: 12px;
    transform: translateX(-50%);
}

.hero-dots span {
    width: 54px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .44);
}

.hero-dots span.active {
    background: var(--blue-400);
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--blue-700);
    font-size: 18px;
    font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
    margin-bottom: 24px;
    font-size: clamp(42px, 5.8vw, 78px);
    line-height: 1.02;
    letter-spacing: 0;
}

h1, h2, h3 {
    color: var(--ink);
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.12;
}

h3 {
    margin-bottom: 10px;
    font-size: 25px;
}

.lead {
    max-width: 680px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.9;
}

.hero-actions,
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.section {
    position: relative;
    z-index: 1;
    padding: 72px 0;
}

.compact-section {
    padding: 48px 0 28px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-head p {
    max-width: 640px;
    margin: 0;
    color: var(--soft);
    line-height: 1.8;
}

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

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

.card,
.pool-card,
.form-panel,
.admin-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.pool-card {
    overflow: hidden;
    transition: transform .22s ease, border-color .22s ease;
    display: flex;
    flex-direction: column;
}

.pool-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 103, 232, .32);
}

.pool-image {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
}

.pool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
}

.pool-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 36%, rgba(6,36,90,.66));
}

.badge {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(7, 87, 214, .74);
    font-size: 14px;
    font-weight: 900;
}

.badge.booked {
    right: auto;
    left: 18px;
    background: rgba(220, 38, 38, .82);
}

.btn.booked-label {
    background: #64748b;
    cursor: not-allowed;
    pointer-events: none;
}

.pool-body {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
}

.muted { color: var(--soft); }
.price { color: var(--blue-400); font-size: 23px; font-weight: 900; }
.pool-body h3,
.feature-card h3 {
    color: var(--blue-950);
}

.pool-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--soft);
    font-weight: 700;
}

.pool-excerpt {
    min-height: 48px;
    margin-bottom: 12px;
    color: var(--muted);
    line-height: 1.75;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pool-footer .price {
    margin-bottom: 14px;
}

.pool-card .actions {
    display: grid;
    grid-template-columns: 1fr 110px;
}

.pool-card .btn {
    min-height: 44px;
    padding-inline: 14px;
    font-size: 15px;
}

.feature-card {
    min-height: 220px;
    padding: 28px;
}

.feature-card p,
.section-head p,
.pool-meta,
.footer p {
    color: var(--muted);
}

.feature-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-400));
}

.feature-icon svg { width: 28px; height: 28px; }

.search-panel {
    display: grid;
    grid-template-columns: 1fr 210px 150px;
    gap: 12px;
    margin-bottom: 30px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    color: var(--muted);
    font-size: 15px;
    font-weight: 900;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 16px;
    color: var(--ink);
    background: #f8fbff;
    outline: 0;
}

.field textarea {
    min-height: 140px;
    padding-top: 14px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(8, 38, 95, .42); }

.form-panel {
    padding: 30px;
}

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

.wide { grid-column: 1 / -1; }

.error {
    color: var(--blue-950);
    border: 1px solid rgba(8, 103, 232, .2);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(8, 103, 232, .08);
    font-size: 14px;
}

.alert {
    margin-bottom: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--blue-950);
    background: rgba(13,180,255,.10);
}

.gallery {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
}

.gallery-main,
.gallery-thumb {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #ffffff;
}

.gallery-main img,
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main { height: 520px; }

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

.gallery-thumb { height: 160px; }

.details-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.stat strong {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-800);
    font-size: 34px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--border);
    padding: 14px;
    text-align: right;
    vertical-align: middle;
}

.status {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--blue-800);
    background: rgba(8, 103, 232, .08);
    font-weight: 900;
}

.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 46px 0;
    background: #ffffff;
}

.footer .muted {
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.social {
    display: flex;
    gap: 10px;
}

.social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--blue-800);
    background: #f8fbff;
}

.social svg {
    width: 21px;
    height: 21px;
}

.pagination { margin-top: 26px; color: var(--blue-800); }

@media (max-width: 980px) {
    .nav-links { display: none; }
    .grid-3, .grid-2, .stats, .details-layout, .gallery { grid-template-columns: 1fr; }
    .search-panel { grid-template-columns: 1fr; }
    .gallery-main { height: 360px; }
    .hero-content {
        margin-right: 0;
        margin-left: 0;
        padding: 70px 0;
    }
    .hero-arrow {
        width: 48px;
        height: 48px;
        font-size: 34px;
    }
    .hero-arrow-prev { left: 18px; }
    .hero-arrow-next { right: 18px; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 22px, 1180px); }
    .nav { min-height: 74px; }
    .brand img { width: 138px; }
    .hero { min-height: 680px; }
    .hero-content { padding: 58px 0; }
    h1 { font-size: 44px; }
    .lead { font-size: 18px; }
    .section { padding: 58px 0; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* الميزات ومعاينة الصور في نموذج النشر */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 6px;
}
.amenity-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
}
.amenity-check input { width: 18px; height: 18px; accent-color: var(--blue-700); }
.amenity-check:has(input:checked) {
    border-color: var(--blue-600);
    background: rgba(11, 124, 255, .07);
}
.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.image-preview .thumb {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.image-preview .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-del {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: rgba(220, 38, 38, .9);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
}

/* شارة الميزات في صفحة التفاصيل */
.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.amenity-tag {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(11, 124, 255, .09);
    color: var(--blue-800);
    font-weight: 700;
    font-size: 14px;
}

/* تبديل العملة */
.currency-toggle { display: inline-flex; gap: 4px; }
.currency-toggle button {
    border: 1px solid var(--border);
    background: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
}
.currency-toggle button.active { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }

/* معرض صور صفحة التفاصيل */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ملاحظات الحقول في النماذج */
.field .hint {
    margin: 5px 0 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}
.field .hint strong { color: var(--blue-700); font-weight: 700; }
.req { color: #dc2626; font-weight: 900; }

/* لوحة تحكم المالك */
.owner-listing-grid { display: flex; gap: 16px; align-items: flex-start; }
.owner-thumb { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.owner-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
@media (max-width: 640px) {
    .owner-listing-grid { flex-direction: column; }
    .owner-thumb { width: 100%; height: 180px; }
}

/* ===== لوحة التحكم (المالك والأدمن) ===== */
.panel-body { background: var(--paper); }
.panel-shell { display: flex; min-height: 100vh; }
.panel-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--blue-900), var(--blue-800));
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 22px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
}
.panel-brand { display: block; margin-bottom: 26px; text-align: center; }
.panel-brand img { width: 130px; margin: 0 auto; filter: brightness(0) invert(1); }
.panel-nav { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.panel-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: 12px;
    color: rgba(255,255,255,.85); font-weight: 700; transition: background .2s;
}
.panel-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.panel-nav a.active { background: #fff; color: var(--blue-900); }
.panel-nav .nav-section { font-size: 12px; opacity: .6; margin: 14px 8px 4px; }
.panel-sidebar-foot { border-top: 1px solid rgba(255,255,255,.15); padding-top: 14px; margin-top: 14px; }
.panel-sidebar-foot a { color: rgba(255,255,255,.8); font-size: 14px; }

.panel-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panel-topbar {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 26px; background: #fff;
    border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20;
}
.panel-topbar-title { font-size: 20px; font-weight: 900; color: var(--ink); flex: 1; }
.panel-topbar-user { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.panel-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.panel-burger { display: none; border: 0; background: none; font-size: 24px; cursor: pointer; color: var(--ink); }
.panel-content { padding: 26px; max-width: 1200px; width: 100%; }

/* بطاقات إحصائية */
.panel-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.panel-stat { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.panel-stat strong { display: block; font-size: 28px; color: var(--blue-800); }
.panel-stat span { color: var(--muted); font-size: 14px; }

/* بطاقة إعلان في اللوحة */
.panel-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin-bottom: 16px; }

@media (max-width: 900px) {
    .panel-sidebar {
        position: fixed; right: 0; top: 0; z-index: 60;
        transform: translateX(100%); transition: transform .3s;
    }
    .panel-sidebar.open { transform: translateX(0); }
    .panel-burger { display: block; }
}

/* فلترة الأدمن والإجراءات المجمّعة */
.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-filters input, .admin-filters select {
    padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.admin-filters input { flex: 1; min-width: 200px; }
.bulk-bar {
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 10px 14px; margin-bottom: 12px;
}
.bulk-bar select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; }
.status-pill { padding: 5px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.chip-type {
    display: inline-block; font-size: 12px; font-weight: 700;
    padding: 2px 8px; border-radius: 999px; background: rgba(11,124,255,.1); color: var(--blue-800);
}
.preview-banner {
    background: #d97706; color: #fff; text-align: center;
    padding: 10px; font-weight: 800; position: sticky; top: 0; z-index: 100;
}

/* معرض الصور (lightbox) */
.gallery-item { border: 0; padding: 0; cursor: pointer; background: none; }
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(6, 36, 90, .92);
    display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; object-fit: contain; }
.lightbox-close {
    position: absolute; top: 20px; left: 20px;
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff; font-size: 32px; cursor: pointer;
}
.lightbox-nav.prev { right: 20px; }
.lightbox-nav.next { left: 20px; }
.lightbox-counter { position: absolute; bottom: 24px; color: #fff; font-weight: 700; }

/* أزرار المشاركة */
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.share-btn {
    border: 0; border-radius: 10px; color: #fff; padding: 9px 14px;
    font-weight: 700; font-size: 14px; cursor: pointer; text-align: center;
}

/* العنوان الطويل والخريطة */
.address-stat { display: flex; flex-direction: column; gap: 4px; }
.address-stat .stat-label { color: var(--muted); font-size: 14px; }
.address-stat .stat-value-sm { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.address-stat .map-btn { align-self: flex-start; margin-top: 8px; }
.map-embed { margin-top: 24px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; border-radius: 16px; margin-top: 10px; }

/* إشعارات المالك */
.notif-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.notif-item:last-child { border-bottom: 0; }
.notif-item.unread { padding-right: 12px; border-right: 3px solid var(--blue-600); background: rgba(11,124,255,.04); }

/* زر المفضّلة وشارة المميّز */
.pool-card { position: relative; }
.fav-btn {
    position: absolute; top: 14px; left: 14px; z-index: 3;
    width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.92); color: #dc2626;
    font-size: 20px; cursor: pointer; line-height: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.fav-btn.active { background: #dc2626; color: #fff; }
.badge.featured { right: auto; left: 18px; background: linear-gradient(135deg, #f59e0b, #d97706); }
.pool-card:has(.badge.featured) { outline: 2px solid #f59e0b; outline-offset: -2px; }

/* رسم بياني بسيط لإحصائيات المالك */
.chart { display: flex; align-items: flex-end; gap: 8px; height: 200px; border-bottom: 2px solid var(--border); padding-bottom: 4px; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.chart-bars { display: flex; align-items: flex-end; gap: 3px; height: 100%; width: 100%; justify-content: center; }
.chart-bar { width: 40%; min-height: 2px; border-radius: 4px 4px 0 0; }
.chart-bar.views { background: var(--blue-600); }
.chart-bar.clicks { background: #f59e0b; }
.chart-label { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* الأسئلة الشائعة */
.faq-item { background:#fff; border:1px solid var(--border); border-radius:14px; padding:16px 18px; margin-bottom:12px; }
.faq-item summary { cursor:pointer; font-weight:700; color:var(--ink); }
.faq-answer { margin-top:10px; color:var(--muted); line-height:1.8; }
