/* === CORE THEME (must stay) === */
:root{
  --bg:#fafafa;
  --panel:#ffffff;
  --text:#1a1a1a;
  --muted:#6b7280;
  --line:rgba(0,0,0,.08);
  --accent:#123f37;
  --accent-light:#0f3d2e;
  --accent-hover:#0a2e25;
  --accent-soft:#e8f5f2;
  --accent2:#7a9a8a;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --r:16px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color:var(--text);
  line-height: 1.6;
}

/* === CONTAINER SYSTEM === */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

:root{
  margin:14px 0 10px;
  font-size:42px;line-height:1.08;letter-spacing:-.02em;
}
@media(max-width:520px){ h1{font-size:34px} }


.accent{color:var(--accent)}
.lead{margin:0;color:var(--muted);line-height:1.65;max-width:62ch}


.cta{
  margin-top:24px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel);
  box-shadow:var(--shadow);
}

.search{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.search input{
  flex:1;
  min-width:200px;
  height:44px;
  border-radius:10px;
  padding:0 16px;
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--text);
  outline:none;
  font-size:15px;
  font-family:inherit;
  transition:all 0.2s;
}

.search input:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px var(--accent-soft);
}

.search input::placeholder{
  color:var(--muted);
}
.hint{margin-top:10px;color:var(--muted);font-size:12px}
.hint a{color:var(--accent);text-decoration:none}
.hint a:hover{text-decoration:underline}


/* === CARD COMPONENT (PREMIUM) === */
.card{
  padding:24px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel);
  box-shadow:var(--shadow);
  transition: all 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 63, 55, 0.2);
}

.card h2{margin:0 0 12px;font-size:18px;font-weight:600;color:var(--text)}
.card h3{margin:0 0 8px;font-size:16px;font-weight:600;color:var(--text)}
.card ul{margin:0;padding-left:20px;color:var(--muted);line-height:1.75}
.mini{margin-top:12px;color:var(--muted);font-size:13px;line-height:1.6}


/* === BUTTON COMPONENT (PREMIUM) === */
.btn{
  height:40px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid var(--line);
  background:var(--panel);
  text-decoration:none;
  color:var(--text);
  font-weight:500;
  font-size:14px;
  font-family:inherit;
  cursor:pointer;
  transition:all 0.2s;
  white-space:nowrap;
}

.btn:hover{
  border-color:var(--accent);
  background:var(--accent-soft);
}

.btn-primary{
  height:44px;
  padding:0 24px;
  border-color:var(--accent);
  background:var(--accent);
  color:#fff;
  font-weight:600;
}

.btn-primary:hover{
  background:var(--accent-hover);
  border-color:var(--accent-hover);
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(18,63,55,0.2);
}

.btn-ghost{
  background:transparent;
  border-color:transparent;
}

.btn-ghost:hover{
  background:var(--accent-soft);
  border-color:transparent;
}


.foot{
  margin-top:18px;
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;
  color:var(--muted);
  font-size:12px;
  padding:10px 6px;
}
.sep{opacity:.5}


/* === LISTING CARDS (PREMIUM) === */
/* === PROPERTY CARDS GRID (PREMIUM) === */
.list{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
  margin-top:24px;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

@media (min-width: 1200px) {
  .list {
    grid-template-columns:repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .list {
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
  }
}

@media (max-width: 768px) {
  .list {
    grid-template-columns:1fr;
    gap:20px;
  }
}

/* === PROPERTY CARD COMPONENT === */
.property-card{
  display:block;
  border-radius:16px;
  background:var(--panel);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  text-decoration:none;
  color:var(--text);
  transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow:hidden;
  position:relative;
}

.property-card:hover{
  border-color:var(--accent);
  box-shadow:var(--shadow-lg);
  transform:translateY(-4px);
}

/* === PROPERTY IMAGE === */
.property-image-wrapper{
  position:relative;
  width:100%;
  aspect-ratio:4/3;
  overflow:hidden;
  background:linear-gradient(135deg, var(--accent-soft) 0%, #f0f9f7 100%);
}

.property-image{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-image{
  transform:scale(1.05);
}

/* Placeholder premium */
.property-image-placeholder{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--accent-soft) 0%, #f0f9f7 100%);
  color:var(--accent);
}

.property-image-placeholder svg{
  width:64px;
  height:64px;
  opacity:0.4;
  margin-bottom:8px;
}

.property-image-placeholder span{
  font-size:14px;
  font-weight:500;
  opacity:0.6;
}

/* Image badges overlay */
.property-image-badges{
  position:absolute;
  top:12px;
  left:12px;
  right:12px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  z-index:2;
  pointer-events:none;
}

.property-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:6px;
  font-size:12px;
  font-weight:600;
  backdrop-filter:blur(8px);
  background:rgba(255,255,255,0.95);
  color:var(--text);
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.property-badge.new{
  background:var(--accent);
  color:#fff;
}

.property-badge.photos{
  background:rgba(0,0,0,0.6);
  color:#fff;
  padding:4px 8px;
  gap:4px;
}

.property-badge.photos svg{
  width:14px;
  height:14px;
}

.property-favorite{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  border:none;
  transition:all 0.2s;
  z-index:3;
  pointer-events:auto;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.property-favorite:hover{
  background:#fff;
  transform:scale(1.1);
}

.property-favorite.active{
  background:#ff4757;
  color:#fff;
}

.property-favorite svg{
  width:18px;
  height:18px;
}

/* === PROPERTY CARD CONTENT === */
.property-card-content{
  padding:20px;
}

.property-price{
  font-size:28px;
  font-weight:700;
  color:var(--accent);
  line-height:1.2;
  margin:0 0 8px;
}

.property-title{
  font-size:18px;
  font-weight:600;
  color:var(--text);
  line-height:1.3;
  margin:0 0 6px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.property-location{
  font-size:14px;
  color:var(--muted);
  margin:0 0 12px;
  line-height:1.4;
}

.property-params{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--line);
}

.property-param{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px 10px;
  background:var(--accent-soft);
  color:var(--accent);
  border-radius:6px;
  font-size:13px;
  font-weight:500;
}

.property-param svg{
  width:14px;
  height:14px;
  opacity:0.7;
}

/* === LEGACY ITEM (backward compatibility) === */
.item{
  display:flex;
  gap:20px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel);
  box-shadow:var(--shadow);
  text-decoration:none;
  color:var(--text);
  transition:all 0.2s;
}

.item:hover{
  border-color:var(--accent);
  box-shadow:var(--shadow-lg);
  transform:translateY(-2px);
}

.item img{
  width:160px;
  height:120px;
  object-fit:cover;
  border-radius:12px;
  flex-shrink:0;
}

.item > div{
  flex:1;
  min-width:0;
}

.item .title{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.3;
  font-weight:600;
  color:var(--text);
}

.item .price{
  margin:8px 0;
  color:var(--accent);
  font-weight:700;
  font-size:24px;
  line-height:1.2;
}

.item .meta{
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.item .desc{
  margin-top:12px;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
}

@media (max-width: 640px) {
  .item {
    flex-direction: column;
    gap: 16px;
  }
  .item img {
    width: 100%;
    height: 200px;
  }
}


.search select{
  height:44px;
  border-radius:10px;
  padding:0 16px;
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--text);
  font-size:15px;
  font-family:inherit;
  cursor:pointer;
  outline:none;
  transition:all 0.2s;
}

.search select:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px var(--accent-soft);
}


.results{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:18px;
}
@media(max-width:900px){.results{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.results{grid-template-columns:1fr}}

.listing-card{
  display:block;
  padding:24px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel);
  box-shadow:var(--shadow);
  text-decoration:none;
  color:var(--text);
  transition:all 0.2s;
}

.listing-card:hover{
  border-color:var(--accent);
  box-shadow:var(--shadow-lg);
  transform:translateY(-2px);
}

.listing-title{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.3;
  font-weight:600;
  color:var(--text);
}

.listing-card .price{
  margin:8px 0;
  color:var(--accent);
  font-weight:700;
  font-size:24px;
  line-height:1.2;
}

.listing-meta{
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.pager{
  margin-top:24px;
}
.pager-btn{
  height:36px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--text);
  font-weight:500;
  cursor:pointer;
  font-size:14px;
  font-family:inherit;
  transition:all 0.2s;
  text-decoration:none;
}
.pager-btn:hover:not(:disabled){
  border-color:var(--accent);
  background:var(--accent-soft);
}
.pager-btn:disabled{
  opacity:.5;
  cursor:not-allowed;
}
.pager-active{
  border-color:var(--accent);
  background:var(--accent);
  color:#fff;
}

.empty{
  margin-top:18px;
  padding:24px;
  text-align:center;
  opacity:.8;
}

/* === GALLERY === */
.gallery{
  width:100%;
}
.gallery-main{
  width:100%;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--panel);
  box-shadow:var(--shadow);
}
.gallery-main img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
}
.gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(80px,1fr));
  gap:8px;
  margin-top:12px;
}
.thumb{
  aspect-ratio:1;
  border-radius:12px;
  overflow:hidden;
  cursor:pointer;
  border:2px solid transparent;
  transition:border-color .2s, transform .15s;
  background:var(--panel);
  border:1px solid var(--line);
}
.thumb:hover{
  border-color:var(--accent);
  transform:scale(1.05);
}
.thumb.active{
  border-color:var(--accent);
  box-shadow:0 0 0 2px var(--accent-soft);
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* === ADMIN IMAGE GRID === */
.image-item{
  position:relative;
  aspect-ratio:1;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(16,16,16,.70);
  transition:border-color .2s;
}
.image-item:hover{
  border-color:rgba(215,180,132,.45);
}
.image-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.delete-image-btn{
  position:absolute;
  top:4px;
  right:4px;
  width:28px;
  height:28px;
  border-radius:6px;
  border:none;
  background:rgba(255,90,90,.9);
  color:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s, transform .1s;
}
.delete-image-btn:hover{
  background:rgba(255,90,90,1);
  transform:scale(1.1);
}
.delete-image-btn:disabled{
  opacity:.5;
  cursor:not-allowed;
}

/* === HIGHLIGHTED ITEMS === */
.item-highlighted{
  border-color:rgba(215,180,132,.6) !important;
  box-shadow:0 0 20px rgba(215,180,132,.2), var(--shadow);
  background:rgba(215,180,132,.05);
}

/* === HERO / MAIN CONTENT === */
.hero {
  padding: 40px 0;
  min-height: calc(100vh - 200px);
}

.hero-left {
  width: 100%;
}

.hero-left .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .hero-left .container {
    padding: 0 16px;
  }
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text);
}

h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--text);
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 12px;
  color: var(--text);
}

@media (max-width: 640px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
}

/* === BADGE COMPONENT === */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge.published {
  background: var(--accent-soft);
  color: var(--accent);
}

.status-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.status-badge.rejected {
  background: #fee2e2;
  color: #991b1b;
}

.status-badge.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.status-badge.draft {
  background: #f3f4f6;
  color: #6b7280;
}

/* === ADMIN PANEL CARDS === */
.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.admin-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.admin-card-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.admin-card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.admin-card-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* === WIZARD FORM (STEP-BY-STEP) === */
.wizard-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.wizard-progress {
  position: relative;
  height: 8px;
  background: var(--accent-soft);
  border-radius: 4px;
  margin-bottom: 40px;
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.wizard-progress-text {
  position: absolute;
  top: -24px;
  right: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 8px;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}

.wizard-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 2px solid var(--accent-soft);
  transition: all 0.3s;
}

.wizard-step.active .wizard-step-number {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.1);
}

.wizard-step.completed .wizard-step-number {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.wizard-step.completed .wizard-step-number::after {
  content: '✓';
}

.wizard-step-label {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  font-weight: 500;
}

.wizard-step.active .wizard-step-label {
  color: var(--accent);
  font-weight: 600;
}

.wizard-step-line {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 8px;
}

.wizard-step.completed + .wizard-step-line {
  background: var(--accent);
}

.wizard-content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.wizard-step-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.wizard-hint {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.6;
}

.wizard-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wizard-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wizard-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.wizard-input,
.wizard-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.2s;
}

.wizard-input:focus,
.wizard-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.wizard-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.wizard-field-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.wizard-toggle-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wizard-toggle-btn {
  flex: 1;
  min-width: 140px;
  padding: 16px 24px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.wizard-toggle-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.wizard-toggle-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.wizard-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wizard-chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.wizard-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.wizard-chip.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.wizard-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.wizard-section:last-child {
  border-bottom: none;
}

.wizard-section-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text);
}

.wizard-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.wizard-ai-btn {
  font-size: 13px;
  padding: 6px 12px;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.wizard-btn-primary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wizard-error {
  padding: 16px;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  color: #991b1b;
  margin-bottom: 24px;
}

.wizard-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
}

.wizard-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.wizard-preview {
  padding: 20px;
  background: var(--accent-soft);
  border-radius: 12px;
  margin: 24px 0;
}

/* Images Upload */
.wizard-images-upload {
  margin: 32px 0;
}

.wizard-images-dropzone {
  border: 2px dashed var(--line);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--accent-soft);
}

.wizard-images-dropzone:hover {
  border-color: var(--accent);
  background: #e0f2f0;
}

.wizard-images-dropzone svg {
  color: var(--accent);
  margin-bottom: 16px;
}

.wizard-images-dropzone p {
  margin: 8px 0;
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}

.wizard-images-progress {
  margin: 24px 0;
}

.wizard-progress-bar-inline {
  height: 8px;
  background: var(--accent-soft);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.wizard-progress-bar-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s;
}

.wizard-progress-text-inline {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.wizard-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.wizard-image-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--line);
}

.wizard-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wizard-image-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: #dc2626;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.wizard-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wizard-accordion-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.wizard-accordion-header {
  width: 100%;
  padding: 16px 20px;
  background: var(--panel);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  font-family: inherit;
  transition: background 0.2s;
}

.wizard-accordion-header:hover {
  background: var(--accent-soft);
}

.wizard-accordion-header svg {
  transition: transform 0.3s;
}

.wizard-accordion-item.active .wizard-accordion-header svg {
  transform: rotate(180deg);
}

.wizard-accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.wizard-accordion-item.active .wizard-accordion-content {
  padding: 20px;
  max-height: 500px;
}

@media (max-width: 768px) {
  .wizard-container {
    padding: 24px 16px;
  }
  
  .wizard-content {
    padding: 24px;
  }
  
  .wizard-steps {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .wizard-step-label {
    font-size: 11px;
  }
  
  .wizard-step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .wizard-field-group {
    grid-template-columns: 1fr;
  }
  
  .wizard-toggle-group {
    flex-direction: column;
  }
  
  .wizard-toggle-btn {
    min-width: 100%;
  }
  
  .wizard-actions {
    flex-direction: column-reverse;
  }
  
  .wizard-btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* === FORCE SAFETY === */
body{background-color:var(--bg) !important; color:var(--text) !important;}

/* === NEW DESIGN 2027 === */

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 24px;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-brand {
  display: flex;
  align-items: center;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.topbar-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}

.topbar-logo-text {
  font-weight: 700;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  padding: 6px 0;
}

.topbar-link:hover {
  color: var(--text);
}

.topbar-link-cta {
  padding: 8px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 600;
}

.topbar-link-cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 640px) {
  .topbar {
    padding: 12px 16px;
  }
  .topbar-nav {
    gap: 16px;
  }
  .topbar-link {
    font-size: 14px;
  }
  .topbar-logo-text {
    display: none;
  }
}

/* === HOME PAGE 2027 PREMIUM DESIGN === */

.home-page {
  min-height: calc(100vh - 80px);
}

/* Hero Section */
.home-hero {
  padding: 80px 24px 100px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.home-hero-content {
  width: 100%;
}

.home-hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--text);
}

.home-hero-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 48px;
  font-weight: 400;
  line-height: 1.5;
}

/* Search Form */
.home-search-form {
  max-width: 700px;
  margin: 0 auto;
}

.home-search-toggle {
  display: inline-flex;
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.search-toggle-btn {
  padding: 10px 24px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  font-family: inherit;
}

.search-toggle-btn.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.search-toggle-btn:not(.active):hover {
  color: var(--text);
  background: var(--accent-soft);
}

.home-search-main {
  display: flex;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
}

.search-field-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  color: var(--muted);
  pointer-events: none;
}

.search-field-input {
  flex: 1;
  height: 56px;
  padding: 0 20px 0 48px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  outline: none;
  font-weight: 400;
  font-family: inherit;
}

.search-field-input::placeholder {
  color: var(--muted);
}

.search-field-select {
  height: 56px;
  padding: 0 20px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  outline: none;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  min-width: 160px;
}

.search-submit-btn {
  height: 56px;
  padding: 0 32px;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.search-submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(18, 63, 55, 0.3);
}

.search-submit-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .home-hero-title {
    font-size: 40px;
  }
  .home-hero-subtitle {
    font-size: 18px;
  }
  .home-search-main {
    flex-direction: column;
    padding: 12px;
  }
  .search-field-select {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    padding-left: 16px;
  }
  .search-submit-btn {
    width: 100%;
  }
}

/* Quick Links */
.home-quick-links {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quick-link-card {
  padding: 32px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.quick-link-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.quick-link-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.quick-link-content {
  width: 100%;
}

.quick-link-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text);
}

.quick-link-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .home-quick-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Trust Section */
.home-trust {
  text-align: center;
  padding: 40px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.trust-text {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
}

/* CTA Section */
.home-cta-section {
  text-align: center;
  padding: 0 24px 80px;
}

.home-cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
  font-family: inherit;
}

.home-cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 63, 55, 0.3);
}

/* Footer */
.footer {
  margin-top: 80px;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Legacy header compatibility */
.top {
  display: none;
}

/* Legacy footer compatibility */
.foot {
  display: none;
}

/* === DASHBOARD (PREMIUM USER PANEL) === */
.dashboard-main {
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: 80px; /* Space for mobile nav */
}

/* TOPBAR */
.dashboard-topbar {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(250, 250, 250, 0.95);
}

.dashboard-topbar-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  transition: opacity 0.2s;
}

.dashboard-logo:hover {
  opacity: 0.8;
}

.dashboard-logo svg {
  color: var(--accent);
}

.dashboard-logo-text {
  letter-spacing: -0.02em;
}

.dashboard-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  white-space: nowrap;
}

.dashboard-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(18, 63, 55, 0.2);
}

.dashboard-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s;
}

.dashboard-profile:hover {
  background: var(--accent);
  color: #fff;
}

/* CONTAINER */
.dashboard-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px;
}

@media (max-width: 768px) {
  .dashboard-container {
    padding: 32px 16px;
  }
}

/* HEADER */
.dashboard-header {
  margin-bottom: 48px;
  text-align: center;
}

.dashboard-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--text);
}

.dashboard-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .dashboard-title {
    font-size: 32px;
  }
  .dashboard-subtitle {
    font-size: 16px;
  }
}

/* GRID */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* CARDS */
.dashboard-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.dashboard-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.dashboard-card:hover::before {
  transform: scaleX(1);
}

.dashboard-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 14px;
  color: var(--accent);
  transition: all 0.3s;
}

.dashboard-card:hover .dashboard-card-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

.dashboard-card-content {
  flex: 1;
  min-width: 0;
}

.dashboard-card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
  line-height: 1.3;
}

.dashboard-card-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.5;
}

.dashboard-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.dashboard-stat-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.dashboard-stat-badge.pending {
  background: rgba(255, 193, 7, 0.1);
  color: #f57c00;
}

.dashboard-card-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
}

.dashboard-card:hover .dashboard-card-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* EMPTY STATE */
.dashboard-empty {
  text-align: center;
  padding: 80px 24px;
  max-width: 500px;
  margin: 0 auto;
}

.dashboard-empty-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 24px;
  color: var(--accent);
}

.dashboard-empty-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.dashboard-empty-desc {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.6;
}

.dashboard-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
}

.dashboard-empty-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 63, 55, 0.3);
}

/* MOBILE NAVIGATION */
.dashboard-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 8px;
  z-index: 100;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .dashboard-mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  
  .dashboard-main {
    padding-bottom: 80px;
  }
  
  .dashboard-topbar-actions .dashboard-cta {
    display: none;
  }
}

.dashboard-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
  border-radius: 12px;
  flex: 1;
  max-width: 120px;
}

.dashboard-mobile-nav-item:hover,
.dashboard-mobile-nav-item.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.dashboard-mobile-nav-item svg {
  width: 24px;
  height: 24px;
}
