/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
/* =========================================================================
   Rihla Georgia — Property Owner Portal design system.

   Theme: SAKARTVELO government-portal blue on white. Clean, professional,
   sans-serif. Every class name here is unchanged from the previous theme —
   this file swaps colour, type and surface treatment only; no component,
   page, route or markup changed.

   Hand-rolled CSS: this package has no Tailwind installed.
   ========================================================================= */

:root {
  /* brand */
  --brand-800: #16388f;
  --brand-700: #1e45b8;
  --brand-600: #2453d9; /* primary */
  --brand-500: #3a66e0;
  --brand-100: #dbe6ff;
  --brand-50: #eef4ff; /* light blue */

  /* neutrals */
  --text: #111827;
  --text-secondary: #667085;
  --text-tertiary: #98a2b3;
  --border: #e1e5ea;
  --border-strong: #d0d5dd;
  --surface-alt: #f0f3f7;
  --bg: #f5f7fa;
  --white: #ffffff;

  /* status */
  --success: #067647;
  --success-bg: #ecfdf3;
  --success-border: #abefc6;
  --warn: #b54708;
  --warn-bg: #fffaeb;
  --warn-border: #fedf89;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --danger-border: #fecdc9;
  --info: #175cd3;
  --info-bg: #eff8ff;
  --info-border: #b2ddff;
  --neutral: #475467;
  --neutral-bg: #f2f4f7;

  /* shape */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 20px 24px -4px rgba(16, 24, 40, 0.08), 0 8px 8px -4px rgba(16, 24, 40, 0.03);

  --sidebar-width: 256px;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: var(--font-ui);
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}

h1 { font-size: 30px; line-height: 1.2; }
h2 { font-size: 19px; line-height: 1.3; font-weight: 600; }
h3 { font-size: 16px; line-height: 1.4; font-weight: 600; }

p { margin: 0; }
a { color: var(--brand-600); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ---------------------------------------------------------------- shell */

.app {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--border);
  color: var(--text);
  display: flex;
  flex-direction: column;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 18px;
}

.sidebar__brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.15;
}

.sidebar__brand-sub {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 500;
}

.sidebar__nav {
  padding: 6px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1;
  overflow-y: auto;
}

.sidebar__section-label {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
  padding: 14px 10px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: background 0.12s ease, color 0.12s ease;
}

.nav-item:hover {
  background: var(--surface-alt);
  text-decoration: none;
  color: var(--text);
}

.nav-item--active {
  background: var(--brand-50);
  color: var(--brand-600);
  font-weight: 600;
}

.nav-item--active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-600);
}

.nav-item--active:hover { background: var(--brand-50); color: var(--brand-600); }

.nav-item__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.95;
}

.nav-item__badge {
  margin-left: auto;
  background: var(--surface-alt);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.sidebar__footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-tertiary);
}

.main {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar__title-block { min-width: 0; }
.topbar__subtitle { font-size: 13.5px; color: var(--text-secondary); margin-top: 2px; }

.topbar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-600);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.content {
  padding: 26px 28px 56px;
  max-width: 1180px;
  width: 100%;
}

/* --------------------------------------------------------------- banner */

.banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.banner--warn { background: var(--warn-bg); border-color: var(--warn-border); color: #93370d; }
.banner--info { background: var(--info-bg); border-color: var(--info-border); color: #175cd3; }
.banner--danger { background: var(--danger-bg); border-color: var(--danger-border); color: #912018; }
.banner strong { font-weight: 600; }

.mock-strip {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-border);
  color: #93370d;
  font-size: 12.5px;
  padding: 8px 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ----------------------------------------------------------------- card */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card__header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card__body { padding: 20px; }
.card__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ------------------------------------------------------------ stat tile */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  color: inherit;
}

.stat:hover { box-shadow: var(--shadow); border-color: var(--border-strong); }

/* Tone variants keep the semantic distinction between the dashboard tiles
   (live / pending / drafts) without a coloured block — a 2px inner rule only. */
.stat::after {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-600);
}

.stat--muted::after { background: var(--border-strong); }
.stat--warn::after { background: #f79009; }
.stat--success::after { background: #17b26a; }

.stat__label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat__value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 6px;
  color: var(--text);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.stat__hint { font-size: 12.5px; color: var(--text-tertiary); margin-top: 6px; }

/* ---------------------------------------------------------------- badge */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  white-space: nowrap;
}

.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.badge--success { background: var(--success-bg); color: var(--success); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--danger { background: var(--danger-bg); color: var(--danger); }
.badge--info { background: var(--info-bg); color: var(--info); }
.badge--neutral { background: var(--neutral-bg); color: var(--neutral); }

/* --------------------------------------------------------------- button */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, opacity 0.12s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:hover:not(:disabled) { text-decoration: none; }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(36, 83, 217, 0.2);
}

.btn--primary { background: var(--brand-600); color: var(--white); }
.btn--primary:hover:not(:disabled) { background: var(--brand-700); }

.btn--secondary { background: var(--white); color: var(--text); border-color: var(--border-strong); }
.btn--secondary:hover:not(:disabled) { background: var(--bg); }

.btn--ghost { background: transparent; color: var(--text-secondary); }
.btn--ghost:hover:not(:disabled) { background: var(--surface-alt); color: var(--text); }

.btn--danger { background: var(--white); color: var(--danger); border-color: var(--danger-border); }
.btn--danger:hover:not(:disabled) { background: var(--danger-bg); }

.btn--sm { padding: 7px 12px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- forms */

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }

.field__label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field__hint { font-size: 12.5px; color: var(--text-secondary); }
.field__error { font-size: 12.5px; color: var(--danger); }
.field__required { color: var(--brand-600); }

.input,
.textarea,
.select {
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  width: 100%;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.input::placeholder,
.textarea::placeholder { color: var(--text-tertiary); }

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(36, 83, 217, 0.14);
}

.input--invalid,
.textarea--invalid { border-color: var(--danger); }

.textarea { min-height: 108px; resize: vertical; line-height: 1.55; }

.input-prefix { position: relative; display: flex; align-items: center; }
.input-prefix__symbol {
  position: absolute;
  left: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  pointer-events: none;
}
.input-prefix .input { padding-left: 28px; }

.dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
  display: block;
}

.dropzone:hover { border-color: var(--brand-600); background: var(--brand-50); }
.dropzone__title { font-size: 14px; font-weight: 600; color: var(--text); }
.dropzone__hint { font-size: 12.5px; color: var(--text-secondary); margin-top: 3px; }

.file-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }

.file-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.file-chip__name { flex: 1 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip__size { color: var(--text-secondary); font-size: 12px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-top: 10px;
}

.thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

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

.thumb__remove {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 24, 39, 0.7);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  display: grid;
  place-items: center;
}

/* ---------------------------------------------------------------- table */

.table-wrap { overflow-x: auto; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }

.table th {
  text-align: left;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 11px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--bg); }

.table__primary { font-weight: 500; color: var(--text); }
.table__muted { color: var(--text-secondary); font-size: 13px; }
.table__num { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.table__actions { text-align: right; white-space: nowrap; }

/* ----------------------------------------------------------- data states */

.state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 46px 24px;
  gap: 8px;
}

.state__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: 4px;
  font-size: 18px;
}

.state__title { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.state__body { font-size: 13.5px; color: var(--text-secondary); max-width: 460px; }
.state__actions { margin-top: 12px; display: flex; gap: 8px; }

.state--error .state__icon { background: var(--danger-bg); color: var(--danger); }

.skeleton {
  background: linear-gradient(90deg, var(--surface-alt) 25%, #e6ebf2 37%, var(--surface-alt) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
}

.skeleton-row { height: 14px; margin-bottom: 10px; }

/* ---------------------------------------------------------------- modal */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.45);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 100;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
}

.modal__header {
  padding: 20px 22px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal__body { padding: 0 22px 18px; font-size: 14px; color: var(--text-secondary); }
.modal__footer {
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.modal__close {
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.modal__close:hover { background: var(--surface-alt); color: var(--text); }

/* -------------------------------------------------------- listing cards */

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  grid-gap: 18px;
  gap: 18px;
}

.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.listing-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.listing-card__media {
  aspect-ratio: 16 / 10;
  background: var(--surface-alt);
  position: relative;
  overflow: hidden;
}

.listing-card__media img { width: 100%; height: 100%; object-fit: cover; }

.listing-card__media--empty {
  display: grid;
  place-items: center;
  color: var(--text-tertiary);
  font-size: 12.5px;
  grid-gap: 6px;
  gap: 6px;
}

.listing-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1 1; }
.listing-card__price {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.listing-card__desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-card__meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

/* ------------------------------------------------------------ utilities */

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.page-header__desc { font-size: 14px; color: var(--text-secondary); margin-top: 4px; max-width: 620px; }

.stack { display: flex; flex-direction: column; }
.stack--sm { gap: 8px; }
.stack--md { gap: 14px; }
.stack--lg { gap: 22px; }

.row { display: flex; align-items: center; }
.row--gap-sm { gap: 8px; }
.row--gap-md { gap: 14px; }
.row--between { justify-content: space-between; }
.row--wrap { flex-wrap: wrap; }

.muted { color: var(--text-secondary); }
.small { font-size: 12.5px; }
.mono { font-family: var(--font-mono); font-size: 12.5px; }
.tabular { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.center { text-align: center; }

.definition-list { display: grid; grid-template-columns: minmax(140px, auto) 1fr; grid-gap: 12px 22px; gap: 12px 22px; font-size: 14px; }
.definition-list dt { color: var(--text-secondary); font-size: 13px; }
.definition-list dd { margin: 0; color: var(--text); }

.divider { height: 1px; background: var(--border); border: none; margin: 0; }

.doc-note {
  font-size: 12.5px;
  color: var(--text-secondary);
  border-left: 3px solid var(--brand-100);
  padding-left: 12px;
  line-height: 1.55;
}

/* ------------------------------------------------------------- gallery */

.gallery { display: grid; grid-gap: 10px; gap: 10px; }
.gallery__main {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__strip { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery__thumb {
  width: 74px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: var(--surface-alt);
}
.gallery__thumb--active { border-color: var(--brand-600); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------- public header */

.public-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.public-main { max-width: 1180px; margin: 0 auto; padding: 26px 28px 56px; width: 100%; }

/* ----------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .app { flex-direction: column; }
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: column;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .sidebar__nav { flex-direction: row; overflow-x: auto; padding: 8px; }
  .sidebar__section-label, .sidebar__footer { display: none; }
  .nav-item { white-space: nowrap; }
  .nav-item--active::before { display: none; }
  .content, .public-main { padding: 20px 16px 40px; }
  .topbar { padding: 14px 16px; }
  .mock-strip { padding: 8px 16px; }
  .definition-list { grid-template-columns: 1fr; gap: 4px 0; }
  .definition-list dd { margin-bottom: 10px; }
}

