/* ═══════════════════════════════════════════════════════
   PAZAR32 — Style
   Dark glassmorphism | Green-Pink accent | Mobile-first
═══════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg: #0b0b18;
  --bg2: #12121f;
  --bg3: #1a1a2e;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-h: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.08);

  --green: #22c55e;
  --green-dark: #16a34a;
  --green-glow: rgba(34, 197, 94, 0.25);
  --pink: #ec4899;
  --pink-dark: #db2777;
  --pink-glow: rgba(236, 72, 153, 0.25);

  --text: #f1f1f8;
  --text-2: #9898b0;
  --text-3: #5a5a7a;

  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 56px;
  --header-h: 60px;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 16px);
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
}

select {
  -webkit-appearance: none;
  appearance: none;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--text-3);
  border-radius: 99px;
}

/* ────────────────────────────────────────
   HEADER
──────────────────────────────────────── */
.app-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--header-h);
  background: rgba(11, 11, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 12px;
}

.logo-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

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

.logo-city {
  font-size: 0.68rem;
  color: var(--pink);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.page-title {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

/* ────────────────────────────────────────
   ICON BUTTON
──────────────────────────────────────── */
.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: background .15s var(--ease), color .15s var(--ease);
}

.btn-icon:hover {
  background: var(--surface-h);
  color: var(--text);
}

.btn-icon .material-icons-round {
  font-size: 22px;
}

.btn-text {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background .15s;
}

.btn-text:hover {
  background: var(--green-glow);
}

/* ────────────────────────────────────────
   SCREENS
──────────────────────────────────────── */
.screen {
  padding-top: calc(var(--header-h) + 12px);
  min-height: calc(100vh - var(--nav-h));
  animation: fadeIn .25s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ────────────────────────────────────────
   AD BANNER
──────────────────────────────────────── */
.ad-banner-wrap {
  padding: 0 16px 0;
}

.ad-banner-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

/* ────────────────────────────────────────
   SEARCH
──────────────────────────────────────── */
.search-wrap {
  padding: 16px 16px 8px;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0 16px;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s;
}

.search-bar:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.search-icon {
  color: var(--text-3);
  font-size: 20px !important;
}

#search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.9rem;
  padding: 8px 0;
}

#search-input::placeholder {
  color: var(--text-3);
}

/* ────────────────────────────────────────
   SECTIONS
──────────────────────────────────────── */
.section {
  padding: 0 16px 8px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 10px;
}

.section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

/* ────────────────────────────────────────
   CATEGORY GRID
──────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
  text-align: center;
}

.cat-card:hover,
.cat-card:active {
  background: var(--surface-h);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--green-glow);
}

.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-style: normal;
}

.cat-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.2;
}

/* ────────────────────────────────────────
   LISTING CARDS
──────────────────────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s;
}

.listing-card:hover,
.listing-card:active {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}

.card-img {
  aspect-ratio: 4/3;
  background: var(--bg3);
  position: relative;
  overflow: hidden;
}

.card-img img {
  height: 100%;
  transition: transform .3s var(--ease);
}

.listing-card:hover .card-img img {
  transform: scale(1.05);
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
}

.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.card-body {
  padding: 10px;
}

.card-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-price {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--green), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-meta {
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-meta .material-icons-round {
  font-size: 13px !important;
}

/* ────────────────────────────────────────
   SUBCATEGORY LIST
──────────────────────────────────────── */
.subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 12px;
}

.subcategory-list::-webkit-scrollbar {
  display: none;
}

.subcat-pill {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .2s var(--ease);
  white-space: nowrap;
}

.subcat-pill.active,
.subcat-pill:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 12px var(--green-glow);
}

/* ────────────────────────────────────────
   SORT SELECT
──────────────────────────────────────── */
.sort-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 28px 6px 10px;
  border-radius: 50px;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239898b0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}

/* ────────────────────────────────────────
   DETAIL PAGE
──────────────────────────────────────── */
.detail-gallery {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg3);
  overflow: hidden;
  margin-top: var(--header-h);
}

.gallery-slides {
  display: flex;
  height: 100%;
  transition: transform .35s var(--ease);
}

.gallery-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.gallery-slide img,
.gallery-slide .card-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background .2s, transform .2s;
}

.gallery-dot.active {
  background: var(--green);
  transform: scale(1.3);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow.left {
  left: 10px;
}

.gallery-arrow.right {
  right: 10px;
}

.detail-body {
  padding: 0 0 16px;
}

.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 12px;
}

.detail-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

.detail-meta {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.detail-category {
  font-size: 0.73rem;
  color: var(--pink);
  font-weight: 600;
  background: var(--pink-glow);
  border-radius: 99px;
  padding: 2px 10px;
}

.detail-date {
  font-size: 0.73rem;
  color: var(--text-3);
  align-self: center;
}

.detail-price {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.detail-section {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

.detail-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.detail-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
}

.detail-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-2);
}

.detail-location .material-icons-round {
  color: var(--pink);
  font-size: 18px !important;
}

.seller-card {
  margin: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.seller-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.seller-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.seller-name {
  font-size: 0.92rem;
  font-weight: 700;
}

.seller-label {
  font-size: 0.72rem;
  color: var(--text-3);
}

.seller-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fbbf24;
}

.star-icon {
  font-size: 16px !important;
}

.contact-btns {
  display: flex;
  gap: 10px;
  padding: 0 16px 12px;
}

.btn-contact {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform .15s, box-shadow .15s;
}

.btn-contact:hover {
  transform: translateY(-2px);
}

.btn-call {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 4px 16px var(--green-glow);
}

.btn-msg {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  box-shadow: 0 4px 16px var(--pink-glow);
}

.btn-reject {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

/* ────────────────────────────────────────
   ADD FORM
──────────────────────────────────────── */
.form-wrap {
  padding: 8px 16px 24px;
}

.photo-upload-area {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
  transition: border-color .2s;
}

.photo-upload-area:focus-within {
  border-color: var(--green);
}

.photo-add-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 16px 0;
  color: var(--text-3);
  font-size: 0.85rem;
  font-weight: 600;
}

.photo-add-btn .material-icons-round {
  font-size: 36px !important;
  color: var(--green);
}

.photo-hint {
  font-size: 0.72rem;
  color: var(--text-3);
}

.photo-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.photo-preview-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px !important;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.form-input::placeholder {
  color: var(--text-3);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-select {
  cursor: pointer;
  background-color: var(--bg2);
  color: var(--text);
}

.form-select option {
  background-color: var(--bg2);
  color: var(--text);
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--pink));
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.3);
  transition: transform .15s, box-shadow .15s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.btn-submit .material-icons-round {
  font-size: 20px !important;
}

.submit-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-3);
  margin-top: 10px;
}

/* ────────────────────────────────────────
   ADMIN PANEL
──────────────────────────────────────── */
.admin-wrap {
  padding: 8px 16px 24px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-tab {
  flex: 1;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all .2s;
  position: relative;
}

.admin-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--pink);
  border-radius: 50%;
  font-size: 0.7rem;
  color: #fff;
  margin-left: 4px;
}

.admin-tab.active .badge {
  background: rgba(255, 255, 255, 0.3);
}

.admin-listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.admin-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-info {
  flex: 1;
  min-width: 0;
}

.admin-info-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-info-meta {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 2px;
}

.admin-info-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--green);
  margin-top: 4px;
}

.admin-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px !important;
  transition: transform .15s, box-shadow .15s;
}

.admin-btn:hover {
  transform: scale(1.1);
}

.admin-btn-approve {
  background: var(--green-glow);
  color: var(--green);
  border: 1px solid var(--green);
}

.admin-btn-reject {
  background: rgba(239, 68, 68, .15);
  color: #ef4444;
  border: 1px solid #ef4444;
}

.admin-btn-edit {
  background: rgba(251, 191, 36, .12);
  color: #fbbf24;
  border: 1px solid #fbbf24;
}

.status-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-pending {
  background: rgba(251, 191, 36, .15);
  color: #fbbf24;
}

.status-approved {
  background: var(--green-glow);
  color: var(--green);
}

.status-rejected {
  background: rgba(239, 68, 68, .15);
  color: #ef4444;
}

/* ────────────────────────────────────────
   BOTTOM NAVIGATION
──────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--nav-h);
  background: rgba(11, 11, 24, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  padding: 0 8px;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-3);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 6px 0;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  text-decoration: none;
}

.nav-item .material-icons-round {
  font-size: 22px !important;
  transition: transform .2s;
}

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

.nav-item.active .material-icons-round {
  transform: scale(1.1);
}

.nav-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--pink));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--green-glow);
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}

.nav-fab:hover {
  transform: scale(1.08) rotate(90deg);
  box-shadow: 0 8px 28px var(--green-glow);
}

.nav-fab .material-icons-round {
  font-size: 24px !important;
}

/* ────────────────────────────────────────
   TOAST
──────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: calc(var(--nav-h) + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(22, 163, 74, 0.95);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 50px;
  z-index: 200;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--green-glow);
  animation: slideUp .3s var(--ease);
  white-space: nowrap;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ────────────────────────────────────────
   MODAL
──────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 24px;
  animation: fadeIn .2s var(--ease);
}

.modal-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  animation: popIn .25s var(--ease);
}

@keyframes popIn {
  from {
    transform: scale(.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-icon .material-icons-round {
  font-size: 36px !important;
  color: #fff;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-bottom: 20px;
  line-height: 1.5;
}

.edit-modal-card {
  text-align: left;
  padding: 24px;
}

.edit-modal-card .modal-title {
  margin-bottom: 16px;
}

.edit-modal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  position: relative;
}

.edit-close-btn {
  position: absolute;
  top: -14px;
  right: -14px;
}

/* ────────────────────────────────────────
   EMPTY / MISC
──────────────────────────────────────── */
.hidden {
  display: none !important;
}

.empty-msg {
  text-align: center;
  color: var(--text-3);
  font-size: 0.88rem;
  padding: 32px 0;
}