:root{
  --zp-bg:#070707;
  --zp-bg-2:#0d0d0d;
  --zp-card:rgba(18,18,18,.92);
  --zp-card-solid:#111111;
  --zp-card-2:#151515;
  --zp-border:rgba(212,175,55,.14);
  --zp-border-strong:rgba(212,175,55,.26);
  --zp-text:#f3ead2;
  --zp-text-soft:#d2c39a;
  --zp-text-fade:#a89257;
  --zp-white:#fff8e7;
  --zp-accent:#d4af37;
  --zp-accent-2:#c9a227;
  --zp-accent-3:#f0c85a;
  --zp-danger:#ff526d;
  --zp-warning:#ffb84d;
  --zp-gold:#f2c66d;
  --zp-shadow:0 12px 32px rgba(0,0,0,.34);
  --zp-shadow-lg:0 24px 60px rgba(0,0,0,.46);
  --zp-radius:22px;
  --zp-radius-sm:16px;
  --zp-radius-xs:12px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  max-width:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

html,
body{
  margin:0;
  padding:0;
  background:#050505;
  max-width:100%;
  overflow-x:hidden;
}

body.zp-body{
  min-height:100vh;
  background:
    radial-gradient(circle at top left, rgba(212,175,55,.05), transparent 24%),
    radial-gradient(circle at top right, rgba(240,200,90,.04), transparent 22%),
    linear-gradient(180deg, #050505 0%, #090909 42%, #060606 100%);
  color:var(--zp-text);
  font-family:Inter, Arial, sans-serif;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

button,
input,
select,
textarea{
  font:inherit;
}

.page-main,
.page-main-premium,
.container,
section.container{
  width:100%;
  max-width:100%;
  min-width:0;
}

.page-main-premium{
  width:min(1280px, calc(100% - 24px));
  margin:0 auto;
  padding-top:20px;
  padding-bottom:44px;
}

/* HEADER */
/* header.php içindeki inline CSS ana kaynaktır.
   Buradaki kurallar çakışmayı önlemek için sade tutuldu. */

.site-header,
.premium-header{
  position:sticky;
  top:0;
  z-index:1000;
}

.header-inner,
.header-shell{
  width:min(1280px, calc(100% - 24px));
  max-width:100%;
  margin:0 auto;
  min-width:0;
}

.brand-side,
.header-left{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}

.brand-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  min-width:0;
  max-width:100%;
}

.brand-logo{
  display:block;
  max-width:100%;
  height:auto;
}

.brand-copy,
.brand-title,
.brand-word-a,
.brand-word-b,
.brand-tagline{
  all:unset;
}

.top-actions{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.icon-link{
  position:relative;
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  text-decoration:none;
  color:var(--zp-text-soft);
  min-width:64px;
  transition:transform .16s ease,color .16s ease;
}

.icon-link:hover{
  color:var(--zp-white);
  transform:translateY(-1px);
}

.icon-circle{
  position:relative;
  width:44px;
  height:44px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(212,175,55,.12);
  flex:0 0 44px;
}

.icon-label{
  font-size:12px;
  font-weight:600;
}

.profile-avatar{
  width:44px;
  height:44px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  background:linear-gradient(135deg, var(--zp-accent-3), var(--zp-accent));
  color:#111;
  flex:0 0 44px;
}

.header-badge{
  position:absolute;
  top:-6px;
  right:-8px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:linear-gradient(135deg,#ff5f73,#ff3458);
  color:#fff;
  font-size:10px;
  font-weight:700;
  border:2px solid #0f0f0f;
}

.admin-shortcut{
  position:relative;
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:12px;
  background:rgba(212,175,55,.12);
  border:1px solid rgba(212,175,55,.25);
  color:#f0c85a;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  margin-left:12px;
  white-space:nowrap;
  cursor:pointer;
}

.admin-shortcut:hover{
  background:rgba(212,175,55,.18);
}

.admin-shortcut-badge{
  position:absolute;
  top:-8px;
  right:-8px;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:900;
  line-height:1;
  box-shadow:0 6px 14px rgba(0,0,0,.25);
  animation:adminBadgePulse 1.4s infinite;
}

@keyframes adminBadgePulse{
  0%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(239,68,68,.60);
  }
  70%{
    transform:scale(1.12);
    box-shadow:0 0 0 10px rgba(239,68,68,0);
  }
  100%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(239,68,68,0);
  }
}

.admin-dropdown{
  position:absolute;
  top:44px;
  right:0;
  width:250px;
  background:#111;
  border:1px solid rgba(212,175,55,.18);
  border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  padding:12px;
  display:none;
  flex-direction:column;
  gap:10px;
  z-index:9999;
}

.admin-shortcut:hover .admin-dropdown{
  display:flex;
}

.admin-dropdown-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
  color:#e8dcc2;
  background:#151515;
  border:1px solid rgba(212,175,55,.10);
  border-radius:10px;
  padding:10px 12px;
}

.admin-dropdown-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:26px;
  height:26px;
  padding:0 8px;
  border-radius:999px;
  background:#ef4444;
  color:#fff;
  font-size:11px;
  font-weight:900;
}

.admin-dropdown-link,
.admin-alert-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  background:linear-gradient(135deg,#f0c85a,#d4af37);
  color:#111;
  white-space:nowrap;
}

.admin-alert-strip{
  margin:12px 0 0;
  padding:12px 14px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(212,175,55,.10), rgba(255,255,255,.02)), #111;
  border:1px solid rgba(212,175,55,.18);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.admin-alert-strip-left{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.admin-alert-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#151515;
  border:1px solid rgba(212,175,55,.14);
  color:#f3e7c3;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

.admin-alert-pill strong{
  color:#f0c85a;
  margin-right:6px;
}

/* SECTION / HOME */
.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:8px 0 18px;
}

.section-title{
  font-size:24px;
  font-weight:800;
  color:var(--zp-white);
  margin:0;
}

.section-subtitle{
  margin:4px 0 0;
  color:var(--zp-text-fade);
  font-size:14px;
}

.ghost-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 14px;
  border-radius:14px;
  text-decoration:none;
  color:var(--zp-white);
  background:rgba(255,255,255,.03);
  border:1px solid rgba(212,175,55,.12);
  transition:transform .16s ease, background .16s ease;
}

.ghost-btn:hover{
  background:rgba(212,175,55,.08);
  transform:translateY(-1px);
}

.listing-grid,
.zp-home-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}

.listing-card{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), var(--zp-card-solid);
  border:1px solid var(--zp-border);
  box-shadow:var(--zp-shadow);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height:100%;
}

.listing-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 50px rgba(0,0,0,.34);
  border-color:rgba(212,175,55,.24);
}

.listing-thumb-wrap{
  position:relative;
  display:block;
  aspect-ratio:1 / 1;
  background:#0b0b0b;
  overflow:hidden;
}

.listing-thumb{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.listing-chip-top{
  position:absolute;
  top:12px;
  left:12px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(10,10,10,.84);
  color:var(--zp-gold);
  font-size:12px;
  font-weight:700;
  border:1px solid rgba(212,175,55,.16);
  backdrop-filter:blur(10px);
}

.listing-fav-btn{
  position:absolute;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  border-radius:14px;
  background:rgba(10,10,10,.84);
  border:1px solid rgba(212,175,55,.12);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  backdrop-filter:blur(10px);
}

.listing-body{
  padding:16px;
  display:flex;
  flex-direction:column;
  min-height:220px;
}

.listing-price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}

.listing-price{
  font-size:22px;
  font-weight:800;
  color:var(--zp-gold);
  letter-spacing:-.4px;
}

.listing-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(212,175,55,.08);
  color:#ffe39a;
  border:1px solid rgba(212,175,55,.18);
  font-size:12px;
  font-weight:700;
}

.listing-title{
  margin:0 0 10px;
  font-size:16px;
  line-height:1.4;
  color:#f7f0dd;
  font-weight:700;
  min-height:45px;
}

.listing-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}

.listing-meta-pill{
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(212,175,55,.08);
  color:var(--zp-text-soft);
  display:inline-flex;
  align-items:center;
  font-size:12px;
  font-weight:600;
}

.listing-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
}

.listing-user{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.listing-user-avatar{
  width:36px;
  height:36px;
  border-radius:12px;
  background:linear-gradient(135deg, var(--zp-accent-3), var(--zp-accent));
  color:#111;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  flex-shrink:0;
}

.listing-user-meta{
  min-width:0;
}

.listing-user-name{
  color:var(--zp-white);
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.listing-user-time{
  color:var(--zp-text-fade);
  font-size:12px;
}

.listing-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border-radius:14px;
  text-decoration:none;
  background:linear-gradient(135deg, var(--zp-accent-3), var(--zp-accent));
  color:#111;
  font-size:13px;
  font-weight:800;
  box-shadow:0 10px 20px rgba(212,175,55,.18);
}

/* FILTERS / HERO BOXES */
.home-hero,
.hero-card,
.filter-card,
.stats-card,
.quick-stats,
.top-filter-bar{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), var(--zp-card-solid);
  border:1px solid var(--zp-border);
  border-radius:24px;
  box-shadow:var(--zp-shadow);
}

.filter-card,
.top-filter-bar{
  padding:14px;
}

.quick-stats{
  padding:18px;
}

.top-filter-bar form,
.filter-card form{
  display:grid;
  grid-template-columns:repeat(6, minmax(0,1fr));
  gap:12px;
  align-items:end;
}

.top-filter-bar label,
.filter-card label{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:var(--zp-text-soft);
  font-size:12px;
  font-weight:700;
}

.top-filter-bar input,
.top-filter-bar select,
.filter-card input,
.filter-card select{
  width:100%;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(212,175,55,.18);
  background:#0f0f0f;
  color:var(--zp-white);
  padding:0 12px;
  outline:none;
}

.top-filter-bar button,
.filter-card button{
  height:44px;
  border:0;
  border-radius:12px;
  padding:0 16px;
  background:linear-gradient(135deg, var(--zp-accent-3), var(--zp-accent));
  color:#111;
  font-weight:800;
  cursor:pointer;
}

/* CHAT */
.chat-layout{
  display:grid;
  grid-template-columns:350px minmax(0, 1fr);
  gap:18px;
  min-height:calc(100vh - 170px);
}

.chat-sidebar,
.chat-panel{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), var(--zp-card-solid);
  border:1px solid var(--zp-border);
  border-radius:24px;
  box-shadow:var(--zp-shadow);
  overflow:hidden;
}

.chat-sidebar-top{
  padding:16px;
  border-bottom:1px solid rgba(212,175,55,.08);
}

.chat-search{
  display:flex;
  align-items:center;
  gap:10px;
  height:48px;
  border-radius:16px;
  padding:0 14px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(212,175,55,.08);
}

.chat-search input{
  flex:1;
  border:0;
  outline:0;
  background:transparent;
  color:var(--zp-white);
}

.chat-list{
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.chat-item{
  display:grid;
  grid-template-columns:52px minmax(0, 1fr) auto;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius:18px;
  text-decoration:none;
  color:var(--zp-text);
  transition:background .16s ease, transform .16s ease;
}

.chat-item:hover{
  background:rgba(255,255,255,.03);
}

.chat-item.active{
  background:rgba(212,175,55,.08);
  border:1px solid rgba(212,175,55,.16);
}

.chat-avatar{
  width:52px;
  height:52px;
  border-radius:18px;
  background:linear-gradient(135deg, var(--zp-accent-3), var(--zp-accent));
  color:#111;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.chat-panel{
  display:flex;
  flex-direction:column;
}

.chat-panel-top{
  min-height:78px;
  padding:14px 18px;
  border-bottom:1px solid rgba(212,175,55,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.chat-messages{
  flex:1;
  padding:18px;
  overflow:auto;
  background:
    radial-gradient(circle at top left, rgba(212,175,55,.04), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,0));
}

.chat-compose{
  padding:14px 18px 18px;
  border-top:1px solid rgba(212,175,55,.08);
}

.chat-compose-form{
  display:flex;
  align-items:flex-end;
  gap:12px;
}

.chat-compose-box{
  flex:1;
  min-height:58px;
  border-radius:20px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(212,175,55,.08);
  display:flex;
  align-items:flex-end;
  padding:10px 12px;
}

.chat-compose-box textarea{
  width:100%;
  min-height:34px;
  max-height:140px;
  resize:vertical;
  background:transparent;
  border:0;
  outline:0;
  color:var(--zp-white);
}

.chat-send-btn{
  min-width:58px;
  height:58px;
  border:0;
  border-radius:20px;
  background:linear-gradient(135deg, var(--zp-accent-3), var(--zp-accent));
  color:#111;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(212,175,55,.20);
}

/* PROFILE / ACCOUNT PAGE */
.account-page,
.account-page *{
  box-sizing:border-box;
}

.account-page{
  width:min(1280px, calc(100% - 24px));
  max-width:1280px;
  margin:24px auto 0;
  padding-bottom:36px;
  font-size:16px;
  overflow-x:hidden;
}

.account-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  width:100%;
  max-width:100%;
  min-width:0;
}

.account-hero{
  display:grid;
  grid-template-columns:minmax(0, 1.7fr) minmax(320px, 420px);
  gap:20px;
  align-items:start;
  width:100%;
  min-width:0;
}

.account-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)),
    #0b1636;
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:22px;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
}

.account-card h1,
.account-card h2{
  margin:0 0 12px;
  color:#fff8e7;
}

.account-card h1{
  font-size:42px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.4px;
}

.account-card h2{
  font-size:28px;
  line-height:1.2;
  font-weight:900;
}

.account-sub{
  color:#aebcd1;
  margin-bottom:20px;
  line-height:1.7;
  font-size:15px;
  max-width:680px;
}

.account-sub-tight{
  margin-bottom:16px;
}

.account-divider{
  height:1px;
  background:rgba(255,255,255,.06);
  margin:24px 0;
}

.account-form{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
  width:100%;
  min-width:0;
}

.account-form label{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

.account-form label span{
  color:#d9e2ef;
  font-size:13px;
  font-weight:700;
  transition:color .16s ease;
}

.account-form label.is-focused span{
  color:#f0c85a;
}

.account-form input{
  width:100%;
  min-width:0;
  max-width:100%;
  height:52px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:#09112a;
  color:#fff;
  padding:0 14px;
  outline:none;
  font-size:14px;
  transition:border-color .16s ease, box-shadow .16s ease;
}

.account-form input:focus{
  border-color:rgba(240,200,90,.28);
  box-shadow:0 0 0 4px rgba(240,200,90,.08);
}

.account-form input:disabled{
  opacity:.72;
}

.account-form-actions{
  grid-column:1 / -1;
  margin-top:2px;
}

.account-btn,
.account-create-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,#f0c85a,#d4af37);
  color:#111;
  font-weight:900;
  font-size:14px;
  cursor:pointer;
  text-decoration:none;
  box-shadow:0 10px 20px rgba(212,175,55,.18);
  transition:transform .16s ease, filter .16s ease, opacity .16s ease;
}

.account-btn:hover,
.account-create-btn:hover{
  filter:brightness(1.03);
  transform:translateY(-1px);
}

.account-btn:disabled,
.account-actions button:disabled{
  opacity:.72;
  cursor:not-allowed;
  transform:none;
  filter:grayscale(.08);
}

.account-stats-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  width:100%;
  min-width:0;
}

.account-stat{
  background:#0f1838;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px 16px;
  min-width:0;
  text-align:center;
}

.account-stat span{
  display:block;
  color:#9fb0c6;
  font-size:12px;
  margin-bottom:10px;
  line-height:1.4;
}

.account-stat strong{
  display:block;
  font-size:30px;
  color:#fff8e7;
  line-height:1;
  word-break:break-word;
}

.account-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
  flex-wrap:wrap;
}

.account-empty{
  border-radius:16px;
  padding:16px;
  background:#0f1838;
  border:1px solid rgba(255,255,255,.08);
  color:#cbd5e1;
  font-size:14px;
}

.account-table-wrap{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}

.account-table{
  width:100%;
  min-width:1100px;
  border-collapse:collapse;
  table-layout:fixed;
}

.account-table-favorites{
  min-width:980px;
}

.account-table th,
.account-table td{
  padding:16px 12px;
  text-align:left;
  border-bottom:1px solid rgba(255,255,255,.06);
  color:#e5e7eb;
  vertical-align:middle;
  word-break:break-word;
  font-size:14px;
  line-height:1.4;
}

.account-table th{
  color:#d5dfec;
  font-size:13px;
  font-weight:800;
}

.account-table th:nth-child(1){width:17%;}
.account-table th:nth-child(2){width:14%;}
.account-table th:nth-child(3){width:14%;}
.account-table th:nth-child(4){width:11%;}
.account-table th:nth-child(5){width:10%;}
.account-table th:nth-child(6){width:10%;}
.account-table th:nth-child(7){width:12%;}
.account-table th:nth-child(8){width:12%;}

.account-table-favorites th:nth-child(1){width:22%;}
.account-table-favorites th:nth-child(2){width:15%;}
.account-table-favorites th:nth-child(3){width:16%;}
.account-table-favorites th:nth-child(4){width:13%;}
.account-table-favorites th:nth-child(5){width:12%;}
.account-table-favorites th:nth-child(6){width:10%;}
.account-table-favorites th:nth-child(7){width:12%;}

.account-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  line-height:1.2;
  text-align:center;
  background:#111827;
  border:1px solid rgba(255,255,255,.12);
  color:#fff8e7;
  white-space:normal;
  overflow-wrap:break-word;
  max-width:160px;
}

.account-badge-category{
  background:rgba(240,200,90,.10);
  border:1px solid rgba(240,200,90,.18);
  color:#f0c85a;
}

.account-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:stretch;
  min-width:0;
}

.account-actions form{
  margin:0;
  width:100%;
}

.account-action,
.account-actions button,
.account-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:42px;
  padding:0 14px;
  border-radius:12px;
  text-decoration:none;
  font-size:13px;
  border:none;
  cursor:pointer;
  font-weight:800;
  transition:transform .16s ease, filter .16s ease, opacity .16s ease;
}

.account-actions a:hover,
.account-actions button:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
}

.account-action-edit,
.account-action-sold,
.account-action-view{
  background:linear-gradient(135deg,#f0c85a,#d4af37);
  color:#111;
}

.account-action-delete{
  background:#ef2b2b;
  color:#fff;
}

.status-pending{
  color:#facc15;
  font-weight:800;
}

.status-approved{
  color:#22c55e;
  font-weight:800;
}

.status-rejected{
  color:#ef4444;
  font-weight:800;
}

.status-sold{
  color:#38bdf8;
  font-weight:800;
}

.account-mobile-list{
  display:none;
}

.account-mobile-card{
  background:#0f1838;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:14px;
  min-width:0;
}

.account-mobile-card + .account-mobile-card{
  margin-top:12px;
}

.account-mobile-card:focus{
  outline:2px solid rgba(240,200,90,.45);
  outline-offset:2px;
}

.account-mobile-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.account-mobile-title{
  color:#fff8e7;
  font-size:16px;
  font-weight:800;
  line-height:1.45;
}

.account-mobile-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}

.account-mobile-item{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  border-radius:14px;
  padding:10px;
  min-width:0;
}

.account-mobile-item span{
  display:block;
  font-size:11px;
  color:#8fa1ba;
  margin-bottom:6px;
}

.account-mobile-item strong{
  display:block;
  color:#e5e7eb;
  font-size:13px;
  line-height:1.45;
  word-break:break-word;
}

.account-mobile-item-full{
  grid-column:1 / -1;
}

.account-mobile-actions{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:8px;
}

.account-mobile-actions.single{
  grid-template-columns:1fr;
}

.account-mobile-actions.double{
  grid-template-columns:repeat(2, minmax(0,1fr));
}

.zp-footer{
  margin-top:34px;
  border-top:1px solid rgba(212,175,55,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,0)),
    #080808;
}

.zp-footer-shell{
  width:min(1280px, calc(100% - 24px));
  margin:0 auto;
  padding:28px 0 20px;
}

.zp-footer-grid{
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr 1fr;
  gap:24px;
}

.zp-footer-brand{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.zp-footer-logo{
  width:52px;
  height:52px;
  border-radius:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(240,200,90,.18), rgba(212,175,55,.08));
  border:1px solid rgba(212,175,55,.22);
  color:#f2c66d;
  font-weight:900;
  font-size:18px;
  flex:0 0 52px;
}

.zp-footer-title{
  color:#fff8e7;
  font-size:24px;
  font-weight:900;
  margin-bottom:8px;
}

.zp-footer-text{
  margin:0;
  color:#cdbb8e;
  line-height:1.75;
  font-size:14px;
  max-width:340px;
}

.zp-footer-col h3{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 14px;
  border-radius:999px;
  background:linear-gradient(135deg,#f0c85a,#d4af37);
  color:#111;
  font-size:14px;
  font-weight:800;
  margin:0 0 12px;
  box-shadow:0 6px 14px rgba(212,175,55,.25);
}

.zp-footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.zp-footer-links a{
  color:#cdbb8e;
  transition:color .18s ease, transform .18s ease;
}

.zp-footer-links a:hover{
  color:#f2c66d;
  transform:translateX(2px);
}

.zp-footer-bottom{
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid rgba(212,175,55,.08);
  color:#a89257;
  font-size:13px;
}

/* MOBILE */
@media (max-width:1100px){
  .listing-grid,
  .zp-home-grid{
    grid-template-columns:repeat(3, minmax(0,1fr));
  }

  .chat-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width:980px){
  .zp-footer-grid{
    grid-template-columns:1fr 1fr;
    gap:20px;
  }
}

@media (max-width:900px){
  .listing-grid,
  .zp-home-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .top-filter-bar form,
  .filter-card form{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width:768px){
  .header-inner,
  .header-shell{
    width:calc(100% - 16px);
    max-width:calc(100% - 16px);
  }

  .page-main-premium{
    width:calc(100% - 16px);
    max-width:calc(100% - 16px);
    padding-bottom:120px;
  }

  .section-title{
    font-size:20px;
  }

  .account-page{
    width:calc(100% - 16px);
    margin-top:16px;
    padding-bottom:120px;
  }

  .account-layout{
    gap:16px;
  }

  .account-hero{
    grid-template-columns:1fr;
  }

  .account-card{
    padding:16px;
    border-radius:20px;
  }

  .account-card h1{
    font-size:32px;
  }

  .account-card h2{
    font-size:20px;
  }

  .account-sub{
    margin-bottom:16px;
    font-size:14px;
    line-height:1.75;
  }

  .account-stat{
    padding:14px 12px;
  }

  .account-stat strong{
    font-size:24px;
  }

  .account-panel-head{
    align-items:stretch;
    flex-direction:column;
  }

  .account-create-btn,
  .account-btn{
    width:100%;
  }

  .account-form{
    grid-template-columns:1fr;
  }

  .account-table-wrap{
    display:none;
  }

  .account-mobile-list{
    display:block;
  }

  .zp-footer-shell{
    width:calc(100% - 16px);
    padding:24px 0 100px;
  }

  .zp-footer-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .zp-footer-title{
    font-size:20px;
  }

  .zp-footer-col h3{
    font-size:16px;
  }

  .zp-footer-text,
  .zp-footer-links a,
  .zp-footer-bottom{
    font-size:14px;
  }

  .admin-shortcut span{
    display:none;
  }

  .admin-alert-strip{
    padding:12px;
    border-radius:14px;
  }

  .admin-alert-link{
    width:100%;
  }

  .admin-dropdown{
    right:-8px;
    width:220px;
  }
}

@media (max-width:640px){
  .listing-grid,
  .zp-home-grid{
    grid-template-columns:1fr;
  }

  .top-filter-bar form,
  .filter-card form{
    grid-template-columns:1fr;
  }
}

@media (max-width:520px){
  .account-page{
    width:calc(100% - 12px);
  }

  .account-card{
    padding:14px;
    border-radius:18px;
  }

  .account-card h1{
    font-size:28px;
  }

  .account-stats-grid{
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:8px;
  }

  .account-stat{
    padding:12px 8px;
    border-radius:14px;
  }

  .account-stat strong{
    font-size:18px;
  }

  .account-stat span{
    font-size:11px;
  }

  .account-mobile-grid{
    grid-template-columns:1fr;
  }

  .account-mobile-actions,
  .account-mobile-actions.double,
  .account-mobile-actions.single{
    grid-template-columns:1fr;
  }
}

.mobile-add-text{
  color:#fff8e7 !important;
  text-shadow:0 1px 4px rgba(0,0,0,.35);
}