:root {
  --background: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --surface-muted: #f6f8fb;

  --text-primary: #172033;
  --text-secondary: #6f7b8d;

  --primary: #1677ff;
  --primary-dark: #0e5fd2;

  --border: rgba(23, 32, 51, 0.08);

  --shadow-small: 0 6px 20px rgba(24, 39, 75, 0.08);
  --shadow-medium: 0 14px 38px rgba(24, 39, 75, 0.14);

  --radius-small: 14px;
  --radius-medium: 20px;
  --radius-large: 28px;

  --tabbar-height: 86px;
  --tabbar-bottom: 10px;

  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
}

:root[data-theme="dark"] {
  --background: #101720;
  --surface: #17212d;
  --surface-soft: #202c3a;
  --surface-muted: #121b26;

  --text-primary: #edf4ff;
  --text-secondary: #9ba8ba;

  --primary: #28b39f;
  --primary-dark: #168b7d;

  --border: rgba(237, 244, 255, 0.1);

  --shadow-small: 0 8px 22px rgba(0, 0, 0, 0.22);
  --shadow-medium: 0 18px 44px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--background);
}

body {
  margin: 0;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Segoe UI",
    sans-serif;

  background: var(--background);
  color: var(--text-primary);

  min-height: 100vh;
  min-height: 100dvh;

  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.search-card,
.home-account-card,
.city-card,
.apartment-card,
.property-card,
.catalog-category-card,
.listing-category-item,
.profile-card,
.review-card,
.partner-hero-card,
.application-status-card,
.partner-stat-card,
.owner-listing-card,
.booking-history-card,
.booking-detail-card,
.property-map-card,
.service-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.demo-watermark {
  position: relative;
  isolation: isolate;
}

.demo-watermark::after {
  content: "ДЕМО";

  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;

  transform: translate(-50%, -50%) rotate(-24deg);

  color: rgba(20, 121, 107, 0.16);
  font-size: clamp(30px, 11vw, 64px);
  font-weight: 950;
  letter-spacing: 0.16em;
  line-height: 1;
  white-space: nowrap;

  pointer-events: none;
  text-transform: uppercase;
}

.favorite-button,
.owner-listing-actions,
.booking-card-side {
  position: relative;
  z-index: 3;
}

.big-photo,
.listing-gallery-item,
.admin-listing-preview {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

html[data-theme="dark"] .demo-watermark::after {
  color: rgba(40, 179, 159, 0.2);
}

html[data-demo-watermarks="false"] .demo-watermark::after {
  content: none;
}

.screen {
  width: 100%;
  max-width: 560px;
  min-height: 100vh;
  min-height: 100dvh;

  margin: 0 auto;
  padding:
    calc(18px + var(--safe-top))
    18px
    calc(40px + var(--safe-bottom));
}

.media-cover-image {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  pointer-events: none;
}

html[data-language="ENG"] .demo-watermark::after {
  content: "DEMO";
}

.home-screen {
  padding: 12px 0 calc(40px + var(--safe-bottom));
}

/* HERO */

.hero {
  position: relative;

  min-height: 350px;
  margin: 0 12px;

  overflow: hidden;

  background-image: url("../images/samarkand.jpg");
  background-size: cover;
  background-position: center;

  border-radius: 30px;
  box-shadow: var(--shadow-medium);
}

.hero-background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(10, 30, 48, 0.18) 0%,
      rgba(10, 30, 48, 0.16) 36%,
      rgba(11, 42, 51, 0.72) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;

  min-height: 350px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding:
    calc(18px + var(--safe-top))
    20px
    32px;

  color: #ffffff;
}

.hero-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 15px;

  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.language-button {
  min-width: 48px;
  height: 42px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  font-weight: 700;
}

.language-menu {
  position: relative;
}

.language-menu summary {
  min-width: 58px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: "⌄";
  font-size: 13px;
}

.language-menu-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;

  display: grid;
  gap: 6px;
  min-width: 92px;
  padding: 8px;

  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
}

.language-menu-options button {
  min-height: 34px;
  padding: 0 10px;

  color: #172033;
  background: transparent;
  border: 0;
  border-radius: 10px;

  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.language-menu-options button.active {
  color: #ffffff;
  background: #14796b;
}

.currency-menu summary {
  min-width: 74px;
}

.currency-menu .language-menu-options {
  min-width: 110px;
}

.hero-text {
  max-width: 430px;
}

.welcome-text {
  margin: 0 0 9px;

  font-size: 15px;
  font-weight: 600;

  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  margin: 0;

  font-size: clamp(34px, 9vw, 48px);
  line-height: 1.04;
  letter-spacing: -1.5px;
}

.hero-text > p:last-child {
  margin: 14px 0 0;

  max-width: 350px;

  font-size: 16px;
  line-height: 1.45;

  color: rgba(255, 255, 255, 0.82);
}

/* ОСНОВНОЙ КОНТЕНТ */

.content-section {
  padding: 0 18px;
}

.demo-notice {
  display: flex;
  flex-direction: column;
  gap: 7px;

  margin: 0 0 16px;
  padding: 15px 16px;

  border: 1px solid rgba(20, 121, 107, 0.18);
  border-radius: 18px;

  background: linear-gradient(135deg, rgba(20, 121, 107, 0.12), rgba(22, 119, 255, 0.08));
  color: var(--text-primary);
}

.demo-notice strong {
  font-size: 15px;
  line-height: 1.25;
}

.demo-notice span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.42;
}

.search-card {
  position: relative;
  z-index: 2;

  min-height: 78px;

  display: flex;
  align-items: center;
  gap: 14px;

  margin-top: 16px;
  padding: 15px 18px;

  border: 1px solid var(--border);
  border-radius: var(--radius-medium);

  background: var(--surface);
  box-shadow: var(--shadow-medium);
}

.home-account-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.home-account-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 92px;
  padding: 14px;

  text-align: left;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-small);
}

.home-account-card-wide {
  grid-column: 1 / -1;
}

.home-account-card > span {
  display: grid;
  place-items: center;
  width: 38px;
  min-width: 38px;
  height: 38px;

  color: #14796b;
  background: rgba(20, 121, 107, 0.1);
  border-radius: 13px;
  font-size: 19px;
}

.home-account-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.2;
}

.home-account-card small {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.3;
}

.search-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 15px;

  background: rgba(22, 119, 255, 0.1);
  color: var(--primary);

  font-size: 30px;
  font-weight: 300;
}

.search-label,
.search-hint {
  display: block;
}

.search-label {
  margin-bottom: 4px;

  font-size: 17px;
  font-weight: 750;
}

.search-hint {
  font-size: 13px;
  line-height: 1.3;
  color: var(--text-secondary);
}

.section-heading {
  margin: 32px 2px 16px;
}

.section-heading h2 {
  margin: 3px 0 0;

  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.eyebrow {
  margin: 0;

  color: var(--primary);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

/* ГОРОДА */

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

.city-card {
  position: relative;

  min-height: 185px;

  overflow: hidden;

  display: flex;
  align-items: flex-end;

  padding: 0;

  border: 0;
  border-radius: var(--radius-medium);

  background-size: cover;
  background-position: center;

  box-shadow: var(--shadow-small);

  text-align: left;
  color: #ffffff;

  transition:
    transform 0.15s ease,
  opacity 0.15s ease;
}

.housing-city-card {
  min-height: 170px;
}

.rail-direction-card {
  min-height: 156px;
}

.city-count-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;

  min-width: 34px;
  padding: 7px 9px;

  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.92);
  color: #0f7669;

  text-align: center;
  font-size: 13px;
  font-weight: 900;

  box-shadow: 0 8px 18px rgba(10, 18, 31, 0.16);
}

.city-card:active {
  transform: scale(0.97);
  opacity: 0.92;
}

.city-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(10, 18, 31, 0.04) 25%,
      rgba(10, 18, 31, 0.86) 100%
    );
}

.city-content {
  position: relative;
  z-index: 2;

  display: block;

  width: 100%;
  padding: 18px 15px;
}

.city-content strong,
.city-content small {
  display: block;
}

.city-content strong {
  font-size: 20px;
  line-height: 1.1;
}

.city-content small {
  margin-top: 5px;

  font-size: 12px;
  line-height: 1.25;

  color: rgba(255, 255, 255, 0.78);
}

/* УСЛУГИ */

.services-heading {
  margin-top: 36px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.service-item {
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 14px 6px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: var(--surface);
  box-shadow: var(--shadow-small);

  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
}

.service-item.service-button {
  text-align: center;
}

.service-item span:not(.service-icon) {
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.service-icon {
  font-size: 28px;
}

/* СТАРЫЕ ЭКРАНЫ: КАТАЛОГ, КАРТОЧКА, БРОНЬ */

.screen:not(.home-screen) h1 {
  margin: 0 0 8px;

  font-size: 31px;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.subtitle {
  margin: 0 0 22px;

  font-size: 16px;
  line-height: 1.4;

  color: var(--text-secondary);
}

.back {
  display: inline-flex;
  align-items: center;

  margin: 0 0 20px;
  padding: 10px 0;

  border: 0;

  background: transparent;
  color: var(--primary);

  font-size: 17px;
  font-weight: 650;
}

.apartment-card {
  display: flex;
  gap: 14px;
  align-items: center;

  margin-bottom: 14px;
  padding: 14px;

  border: 1px solid var(--border);
  border-radius: var(--radius-medium);

  background: var(--surface);
  box-shadow: var(--shadow-small);

  transition: transform 0.15s ease;
}

.apartment-card:active {
  transform: scale(0.98);
}

.apartment-card > div:last-child {
  min-width: 0;
}

.apartment-card h3 {
  margin: 0 0 7px;

  font-size: 18px;
  line-height: 1.22;
}

.apartment-card p {
  margin: 4px 0;

  font-size: 14px;
  color: var(--text-secondary);
}

.photo {
  width: 118px;
  height: 104px;

  flex-shrink: 0;

  border-radius: 17px;

  background-color: var(--surface-soft);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.big-photo {
  width: 100%;
  height: 285px;

  margin-bottom: 24px;

  border-radius: var(--radius-large);

  background-color: var(--surface-soft);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: var(--shadow-small);
}

.price {
  color: var(--primary) !important;

  font-size: 19px !important;
  font-weight: 800;
}

.main-button {
  width: 100%;
  min-height: 58px;

  margin-top: 25px;
  padding: 16px 20px;

  border: 0;
  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark)
    );

  color: #ffffff;

  font-size: 18px;
  font-weight: 750;

  box-shadow: 0 12px 26px rgba(22, 119, 255, 0.28);
}

.main-button:active {
  transform: scale(0.98);
}

input,
textarea,
select {
  width: 100%;

  margin-bottom: 12px;
  padding: 17px 16px;

  border: 1px solid var(--border);
  border-radius: 16px;
  outline: none;

  background: var(--surface);
  color: var(--text-primary);

  font-size: 16px;

  transition:
    border-color 0.15s ease,
  box-shadow 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);

  box-shadow:
    0 0 0 4px rgba(22, 119, 255, 0.1);
}

select {
  min-height: 58px;
  padding-right: 48px;

  appearance: none;
  -webkit-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
    linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 17px) 50%;
  background-size:
    7px 7px,
    7px 7px;
  background-repeat: no-repeat;
}

select:invalid {
  color: var(--text-secondary);
}

textarea {
  min-height: 125px;
  resize: vertical;
}

/* КАТАЛОГ ЖИЛЬЯ */

.catalog-screen {
  padding-top: calc(16px + var(--safe-top));
}

.catalog-header {
  margin-bottom: 20px;
}

.catalog-header h1 {
  margin-top: 4px !important;
}

.filter-row {
  display: flex;
  gap: 9px;

  margin: 0 -18px 22px;
  padding: 0 18px 4px;

  overflow-x: auto;

  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;

  min-height: 42px;
  padding: 0 17px;

  border: 1px solid var(--border);
  border-radius: 22px;

  background: var(--surface);
  color: var(--text-primary);

  font-size: 14px;
  font-weight: 700;
}

.active-filter {
  border-color: var(--primary);

  background: var(--primary);
  color: #ffffff;
}

.catalog-filter-bar {
  display: flex;
  gap: 10px;
  margin: 0 -18px 18px;
  padding: 0 18px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.catalog-filter-bar::-webkit-scrollbar {
  display: none;
}

.catalog-filter-bar button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-primary);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.catalog-filter-bar button small {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 12px;
}

.catalog-filter-bar button.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.catalog-filter-bar button.active small {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.catalog-filters-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.catalog-filters-compact {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
}

.catalog-filters-compact summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
}

.catalog-filters-compact summary::-webkit-details-marker {
  display: none;
}

.catalog-filters-summary-title {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 900;
}

.catalog-filters-summary-count {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 900;
}

.catalog-filters-compact-body {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.catalog-filters-compact .catalog-filters-panel {
  gap: 10px;
  margin-bottom: 0;
}

.catalog-filter-group > span {
  display: block;
  margin-bottom: 7px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-filter-group .catalog-filter-bar {
  margin-bottom: 0;
}

.catalog-filters-compact .catalog-filter-bar {
  gap: 8px;
  margin: 0 -14px;
  padding: 0 14px 2px;
}

.catalog-filters-compact .catalog-filter-bar button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.catalog-filters-compact .catalog-filter-bar button small {
  min-width: 20px;
  height: 20px;
  font-size: 11px;
}

.catalog-filter-reset {
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text-primary);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.apartments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-city-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.catalog-city-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catalog-city-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.catalog-city-header h2 {
  margin: 3px 0 0;
  color: var(--text-primary);
  font-size: 24px;
  line-height: 1.12;
}

.catalog-city-header > span {
  min-width: 38px;
  padding: 8px 10px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: var(--surface);
  color: var(--primary);

  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.property-card {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 24px;

  background: var(--surface);
  box-shadow: var(--shadow-small);

  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.property-card:active {
  transform: scale(0.985);
  opacity: 0.94;
}

.property-image {
  position: relative;

  width: 100%;
  height: 220px;

  background-color: var(--surface-soft);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.favorite-button {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;

  background: rgba(20, 27, 39, 0.34);
  color: #ffffff;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  font-size: 27px;
  line-height: 1;
}

.favorite-button.active {
  color: #ffffff;
  background: #e84d6a;
  border-color: rgba(255, 255, 255, 0.65);
}

.rating-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;

  padding: 8px 11px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.92);
  color: #172033;

  font-size: 13px;
  font-weight: 800;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.property-content {
  padding: 17px;
}

.property-location {
  margin: 0 0 7px;

  color: var(--text-secondary);

  font-size: 13px;
  font-weight: 600;
}

.property-content h3 {
  margin: 0;

  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -0.3px;
}

.property-details {
  margin: 9px 0 18px;

  color: var(--text-secondary);

  font-size: 14px;
}

.property-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;

  padding-top: 15px;

  border-top: 1px solid var(--border);
}

.property-footer strong,
.property-footer span {
  display: block;
}

.property-footer strong {
  color: var(--primary);

  font-size: 20px;
  line-height: 1.15;
}

.property-footer div > span {
  margin-top: 4px;

  color: var(--text-secondary);

  font-size: 11px;
}

.details-link {
  flex-shrink: 0;

  color: var(--primary);

  font-size: 13px;
  font-weight: 750;
}

/* ДЕТАЛЬНАЯ КАРТОЧКА ЖИЛЬЯ */

.property-screen {
  padding-top: calc(16px + var(--safe-top));
}

.property-hero {
  position: relative;

  width: 100%;
  height: 330px;

  overflow: hidden;

  border-radius: 28px;

  background-color: var(--surface-soft);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: var(--shadow-small);
}

.property-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(12, 20, 32, 0.1) 45%,
      rgba(12, 20, 32, 0.5) 100%
    );
}

.property-favorite {
  top: 16px;
  right: 16px;
  z-index: 3;
}

.listing-image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;

  margin-top: 12px;
}

.listing-gallery-item {
  width: 100%;
  aspect-ratio: 1;

  border: 1px solid var(--border);
  border-radius: 18px;

  background-color: var(--surface-soft);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  box-shadow: var(--shadow-small);
}

.property-rating {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;

  padding: 9px 12px;

  border-radius: 13px;

  background: rgba(255, 255, 255, 0.92);
  color: #172033;

  font-size: 14px;
  font-weight: 800;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.property-info {
  padding: 24px 2px 8px;
}

.property-info h1 {
  margin: 5px 0 10px !important;

  font-size: 31px !important;
  line-height: 1.08 !important;
}

.property-address {
  margin: 0;

  color: var(--text-secondary);

  font-size: 15px;
  line-height: 1.4;
}

.property-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;

  margin-top: 22px;
  padding: 18px;

  border: 1px solid var(--border);
  border-radius: 20px;

  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.property-meta strong,
.property-meta span {
  display: block;
}

.property-meta strong {
  font-size: 16px;
  line-height: 1.3;
}

.property-meta span {
  margin-top: 5px;

  color: var(--text-secondary);

  font-size: 12px;
  line-height: 1.3;
}

.property-price-block {
  text-align: right;
}

.property-price-block strong {
  color: var(--primary);

  font-size: 20px;
}

.property-section {
  margin-top: 30px;
}

.property-section h2 {
  margin: 0 0 14px;

  font-size: 23px;
  letter-spacing: -0.4px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  margin-bottom: 14px;
}

.section-title-row h2 {
  margin: 0;
}

.map-open-link {
  flex: 0 0 auto;

  color: var(--primary);

  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.external-link,
.external-link-text {
  overflow-wrap: anywhere;
}

.external-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: var(--primary);
  cursor: pointer;
  font-weight: 800;
  pointer-events: auto;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.external-link-icon {
  flex: 0 0 auto;
  font-size: 0.85em;
}

.external-link-separator {
  color: var(--text-secondary);
}

.property-map-card {
  position: relative;

  width: 100%;
  height: 220px;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 22px;

  background: var(--surface-soft);
  box-shadow: var(--shadow-small);
}

.property-map-card iframe {
  width: 100%;
  height: 100%;

  display: block;

  border: 0;
}

.map-address {
  margin: 10px 2px 0;

  color: var(--text-secondary);

  font-size: 14px;
  line-height: 1.45;
}

.property-description {
  margin: 0;

  color: var(--text-secondary);

  font-size: 16px;
  line-height: 1.6;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.amenity-item {
  min-height: 54px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 13px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: var(--surface);
}

.amenity-icon {
  width: 26px;
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: rgba(22, 119, 255, 0.11);
  color: var(--primary);

  font-size: 14px;
  font-weight: 900;
}

.amenity-item > span:last-child {
  font-size: 14px;
  font-weight: 650;
}

.booking-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.booking-rules > div {
  min-width: 0;

  padding: 14px 10px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: var(--surface);

  text-align: center;
}

.booking-rules strong,
.booking-rules span {
  display: block;
}

.booking-rules strong {
  font-size: 13px;
}

.booking-rules span {
  margin-top: 5px;

  color: var(--text-secondary);

  font-size: 11px;
  line-height: 1.3;
}

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

.booking-date-grid .form-field {
  min-width: 0;
}

.service-date-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.compact-date-field {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 7px;
}

.compact-date-field > span:first-child {
  padding-left: 3px;

  color: #657084;

  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.compact-date-control {
  position: relative;

  min-width: 0;
  min-height: 56px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 17px;

  background: var(--surface);
}

.compact-date-control strong {
  max-width: 100%;

  overflow: hidden;

  color: var(--text-primary);

  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-date-control small {
  color: var(--text-secondary);

  font-size: 10px;
  font-weight: 750;
  line-height: 1;
}

.compact-date-control input {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  cursor: pointer;
}

.rail-note {
  display: flex;
  flex-direction: column;
  gap: 5px;

  padding: 15px;

  border: 1px solid rgba(20, 121, 107, 0.18);
  border-radius: 18px;

  background: rgba(20, 121, 107, 0.08);
  color: var(--text-primary);
}

.rail-note strong {
  font-size: 14px;
  line-height: 1.25;
}

.rail-note span {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.booking-spacer {
  height: 210px;
}

.sticky-booking-bar {
  position: fixed;
  z-index: 20;

  left: 50%;
  bottom: calc(var(--tabbar-height) + var(--tabbar-bottom) + 14px + env(safe-area-inset-bottom));

  width: 100%;
  max-width: 560px;

  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding:
    13px
    18px
    calc(13px + var(--safe-bottom));

  border-top: 1px solid var(--border);

  /* iOS Telegram WebView can paint fixed backdrop filters as large blurred bands. */
  background: #ffffff;

  box-shadow: 0 -10px 30px rgba(24, 39, 75, 0.12);
}

.sticky-booking-bar > div {
  min-width: 0;
}

.sticky-label,
.sticky-booking-bar strong {
  display: block;
}

.sticky-label {
  margin-bottom: 3px;

  color: var(--text-secondary);

  font-size: 11px;
}

.sticky-booking-bar strong {
  color: var(--primary);

  font-size: 18px;
  line-height: 1.2;
}

.sticky-booking-button {
  min-width: 160px;
  min-height: 52px;

  padding: 0 18px;

  border: 0;
  border-radius: 17px;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-dark)
    );

  color: #ffffff;

  font-size: 16px;
  font-weight: 800;

  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.25);
}

.sticky-booking-button:active {
  transform: scale(0.98);
}

/* МАЛЕНЬКИЕ ЭКРАНЫ */

@media (max-width: 370px) {
  .hero {
    min-height: 360px;
  }

  .hero-content {
    min-height: 360px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .city-card {
    min-height: 165px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ТЁМНАЯ ТЕМА */

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101318;
    --surface: #1a1f27;
    --surface-soft: #242b35;

    --text-primary: #f4f7fb;
    --text-secondary: #9ba6b5;

    --border: rgba(255, 255, 255, 0.08);

    --shadow-small: 0 8px 24px rgba(0, 0, 0, 0.28);
    --shadow-medium: 0 16px 42px rgba(0, 0, 0, 0.36);
  }

  html,
  body {
    background: var(--background);
  }

  input,
  textarea {
    color-scheme: dark;
  }
  .sticky-booking-bar {
    background: #1a1f27;
  }
}

.bottom-navigation-spacer {
  height: calc(var(--tabbar-height) + var(--tabbar-bottom) + 22px + var(--safe-bottom));
}

.bottom-navigation {
  position: fixed;
  right: auto;
  bottom: calc(var(--tabbar-bottom) + var(--safe-bottom));
  left: 50%;
  z-index: 100;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;

  width: calc(100% - 24px);
  max-width: 524px;
  min-height: var(--tabbar-height);
  margin: 0 auto;
  padding: 8px;

  transform: translateX(-50%);

  background: #f9fbfc;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;

  box-shadow:
    0 18px 46px rgba(24, 39, 75, 0.18),
    0 3px 12px rgba(24, 39, 75, 0.08);
}

.bottom-navigation-item {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;

  min-width: 0;
  min-height: 62px;
  padding: 7px 2px;

  color: #738094;
  background: transparent;
  border: none;
  border-radius: 20px;

  font-family: inherit;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.bottom-navigation-item.active {
  color: #0f7669;
  background:
    linear-gradient(180deg, rgba(237, 247, 245, 0.98), rgba(223, 242, 238, 0.92));
  box-shadow: inset 0 0 0 1px rgba(20, 121, 107, 0.08);
}

.bottom-navigation-icon {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  font-size: 22px;
  line-height: 1;
}

.bottom-navigation-item.active .bottom-navigation-icon {
  color: #ffffff;
  background: #14796b;
  box-shadow: 0 8px 18px rgba(20, 121, 107, 0.25);
}

.simple-screen {
  min-height: 100vh;
  padding: 24px 18px;
  box-sizing: border-box;
  background: var(--surface-muted);
}

.simple-header {
  margin: 15px 0 24px;
}

.simple-header h1 {
  margin: 6px 0 8px;
  color: #172033;
  font-size: 30px;
  line-height: 1.15;
}

.catalog-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.catalog-category-card {
  display: flex;
  flex-direction: column;
  gap: 7px;

  min-height: 150px;
  padding: 18px;

  text-align: left;

  background: #ffffff;
  border: 1px solid #e7ebf0;
  border-radius: 20px;

  box-shadow: 0 8px 25px rgba(25, 45, 75, 0.06);
  cursor: pointer;
}

.catalog-category-card > span {
  font-size: 34px;
}

.catalog-category-card strong {
  color: #172033;
  font-size: 17px;
}

.catalog-category-card small {
  color: #7b8798;
  font-size: 12px;
  line-height: 1.4;
}

.listing-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.listing-category-item {
  display: flex;
  align-items: center;
  gap: 14px;

  width: 100%;
  padding: 16px;

  text-align: left;

  background: #ffffff;
  border: 1px solid #e7ebf0;
  border-radius: 18px;

  box-shadow: 0 7px 22px rgba(25, 45, 75, 0.05);
  cursor: pointer;
}

.listing-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 50px;
  min-width: 50px;
  height: 50px;

  background: #eef7f5;
  border-radius: 15px;

  overflow: hidden;
}

.category-icon-image {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  object-fit: contain;
  vertical-align: middle;
}

.service-icon .category-icon-image {
  width: 38px;
  height: 38px;
}

.listing-category-icon .category-icon-image {
  width: 42px;
  height: 42px;
}

.booking-type-icon .category-icon-image {
  width: 30px;
  height: 30px;
}
.empty-state-icon .category-icon-image {
  width: 46px;
  height: 46px;
}

.property-location .category-icon-image {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

.listing-category-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.listing-category-content strong {
  color: #172033;
  font-size: 16px;
}

.listing-category-content small {
  color: #7b8798;
  font-size: 12px;
  line-height: 1.4;
}

.partner-directory-item {
  align-items: flex-start;
}

.partner-directory-categories {
  color: var(--accent-dark) !important;
}

.partner-directory-badges,
.partner-showcase-badges {
  margin-top: 4px;
}

.partner-directory-badges .uzgo-quality-mark,
.partner-showcase-badges .uzgo-quality-mark {
  font-size: 10px;
}

.listing-category-arrow {
  color: #14796b;
  font-size: 20px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 15px;

  padding: 18px;
  margin-bottom: 18px;

  background: #ffffff;
  border-radius: 20px;
}

.profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  color: #ffffff;
  background: #14796b;
  border-radius: 50%;

  font-size: 24px;
  font-weight: 800;
}

.profile-card > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.profile-card strong {
  color: #172033;
  font-size: 17px;
}

.profile-card span {
  color: #7b8798;
  font-size: 13px;
}

.settings-panel {
  margin: 16px 0;
  padding: 16px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-small);
}

.settings-panel-header h2 {
  margin: 3px 0 14px;
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1.2;
}

.settings-field + .settings-field {
  margin-top: 14px;
}

.settings-field > span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 750;
}

.placement-rules-list {
  display: grid;
  gap: 10px;
}

.placement-rules-list p {
  margin: 0;
  padding: 12px;
  color: var(--text-secondary);
  background: rgba(238, 242, 247, 0.72);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.placement-rules-list strong {
  color: var(--text-primary);
}

.reviews-section {
  display: grid;
  gap: 12px;
}

.reviews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.reviews-header h2 {
  margin-bottom: 4px;
}

.reviews-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.reviews-header > span {
  color: #f5a623;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.reviews-list {
  display: grid;
  gap: 10px;
}

.review-card {
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.review-card-header strong {
  color: var(--text-primary);
  font-size: 14px;
}

.review-card-header span {
  color: #f5a623;
  font-size: 13px;
  white-space: nowrap;
}

.review-card p {
  margin: 0 0 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.review-card small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.compact-empty-state {
  padding: 16px;
  box-shadow: none;
}

.compact-empty-state .empty-state-icon {
  width: 44px;
  height: 44px;
  font-size: 20px;
}

.rating-options {
  display: grid;
  gap: 8px;
}

.rating-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 900;
}

.rating-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #14796b;
}

.rating-option span {
  color: #f5a623;
}

.rating-option.active {
  border-color: #14796b;
  box-shadow: 0 0 0 3px rgba(20, 121, 107, 0.12);
}

.settings-description {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.tourist-account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tourist-account-button {
  margin-top: 0;
}

.tourist-account-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.tourist-account-summary div {
  min-width: 0;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.tourist-account-summary span,
.tourist-account-summary strong {
  display: block;
}

.tourist-account-summary span {
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.tourist-account-summary strong {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.settings-option-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 8px;
}

.settings-option-row button {
  min-height: 42px;
  padding: 0 10px;

  color: var(--text-primary);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 14px;

  font-size: 13px;
  font-weight: 800;
}

.settings-option-row button.active {
  color: #ffffff;
  background: #14796b;
  border-color: #14796b;
  box-shadow: 0 8px 18px rgba(20, 121, 107, 0.2);
}

.profile-menu {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.profile-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  padding: 17px 18px;

  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);

  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.profile-menu button:last-child {
  border-bottom: none;
}

.profile-menu-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.profile-menu-label b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;

  color: #ffffff;
  background: #14796b;
  border-radius: 999px;

  font-size: 12px;
  line-height: 1;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 34px 24px;
  margin-top: 20px;

  text-align: center;

  background: #ffffff;
  border-radius: 24px;
}

.empty-state-icon {
  margin-bottom: 14px;
  color: #14796b;
  font-size: 46px;
}

.empty-state h2 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 21px;
}

.empty-state p {
  margin: 0 0 22px;
  color: #7b8798;
  font-size: 14px;
  line-height: 1.55;
}

.partner-hero-card {
  padding: 24px;
  margin-bottom: 18px;

  color: #ffffff;
  background: linear-gradient(135deg, #14796b, #1b9a87);
  border-radius: 24px;
}

.partner-hero-icon {
  margin-bottom: 14px;
  font-size: 42px;
}

.partner-hero-card h2 {
  margin: 0 0 10px;
  font-size: 23px;
}

.partner-hero-card p {
  margin: 0;
  line-height: 1.55;
  opacity: 0.9;
}

.partner-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin-bottom: 20px;
}

.partner-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 15px;

  background: #ffffff;
  border-radius: 16px;
}

.partner-benefit-item > span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  min-width: 34px;
  height: 34px;

  color: #14796b;
  background: #eaf6f3;
  border-radius: 50%;

  font-weight: 800;
}

.partner-benefit-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.partner-benefit-item strong {
  color: #172033;
  font-size: 14px;
}

.partner-benefit-item small {
  color: #7b8798;
  font-size: 12px;
}

.secondary-button {
  width: 100%;
  padding: 15px;
  margin-top: 12px;

  color: #14796b;
  background: transparent;

  border: 1px solid #14796b;
  border-radius: 15px;

  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.compact-secondary-button {
  min-height: 44px;
  padding: 10px 14px;
  margin-top: 0;

  font-size: 14px;
}

.danger-button {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  margin-top: 12px;

  color: #b42318;
  background: rgba(254, 228, 226, 0.45);

  border: 1px solid rgba(180, 35, 24, 0.42);
  border-radius: 15px;

  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.danger-button.compact-secondary-button {
  margin-top: 8px;
}

.action-confirmation-dialog {
  width: min(460px, calc(100% - 32px));
  padding: 0;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(5, 15, 28, 0.38);
}

.action-confirmation-dialog::backdrop {
  background: rgba(4, 12, 22, 0.76);
}

.action-confirmation-content {
  padding: 22px 20px 18px;
}

.action-confirmation-content h2 {
  margin: 5px 0 10px;
  font-size: 23px;
  line-height: 1.2;
}

.action-confirmation-content > p:last-child {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.action-confirmation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
}

.action-confirmation-actions .secondary-button,
.action-confirmation-actions .danger-button {
  width: 100%;
  min-height: 48px;
  margin: 0;
}

@media (max-width: 420px) {
  .action-confirmation-actions {
    grid-template-columns: 1fr;
  }
}

.partner-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.listing-draft-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(29, 189, 145, 0.34);
  border-radius: 14px;
  background: rgba(29, 189, 145, 0.09);
}

.listing-draft-notice > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.listing-draft-notice b {
  color: var(--text-primary);
  font-size: 14px;
}

.listing-draft-notice span {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

.listing-draft-clear {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(29, 189, 145, 0.5);
  border-radius: 9px;
  color: var(--accent);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

@media (max-width: 420px) {
  .listing-draft-notice {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

.form-field > span {
  padding-left: 3px;

  color: #657084;

  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.form-hint {
  padding-left: 3px;

  color: var(--text-secondary);

  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.form-field input,
.form-field textarea,
.form-field select {
  margin-bottom: 0;
}

.password-input-wrap {
  position: relative;
}

.password-input-wrap input {
  padding-right: 58px;
}

.password-eye-button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);

  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;

  color: #14796b;
  background: rgba(20, 121, 107, 0.1);
  border: 0;
  border-radius: 12px;
  font-size: 17px;
}

.form-error {
  padding: 12px 14px;

  color: #b42318;
  background: #fee4e2;
  border-radius: 14px;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.partner-agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  color: #657084;
  font-size: 13px;
  line-height: 1.45;
}

.partner-agreement input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #14796b;
}

.partner-offer-dialog {
  width: min(680px, calc(100% - 24px));
  max-height: min(820px, calc(100dvh - 24px));
  padding: 0;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(5, 15, 28, 0.35);
}

.partner-offer-dialog::backdrop {
  background: rgba(4, 12, 22, 0.72);
}

.partner-offer-dialog-header,
.partner-offer-dialog-actions {
  padding: 18px;
}

.partner-offer-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.partner-offer-dialog-header h2 {
  margin: 4px 0 6px;
  font-size: 22px;
  line-height: 1.2;
}

.partner-offer-dialog-header small {
  color: var(--text-secondary);
}

.partner-offer-close {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.partner-offer-scroll {
  max-height: 52dvh;
  padding: 18px;
  overflow-y: auto;
}

.partner-offer-section + .partner-offer-section {
  margin-top: 16px;
}

.partner-offer-section h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.partner-offer-section p,
.partner-offer-legal-note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.partner-offer-legal-note {
  margin-top: 18px;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.partner-offer-dialog-actions {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.partner-commercial-summary,
.partner-limit-notice {
  margin: 0 0 18px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.partner-commercial-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.partner-commercial-summary.requires-action {
  border-color: #d6a53b;
}

.partner-commercial-summary > div {
  display: grid;
  gap: 3px;
}

.partner-commercial-summary span,
.partner-commercial-summary small,
.partner-limit-notice p {
  color: var(--text-secondary);
  font-size: 12px;
}

.partner-commercial-summary strong {
  color: var(--text-primary);
}

.partner-commercial-summary .secondary-button {
  width: auto;
  min-width: 110px;
  margin: 0;
}

.partner-limit-notice p {
  margin: 6px 0 12px;
  line-height: 1.45;
}

.listing-category-item.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.inline-link-button {
  display: inline;
  margin: 0;
  padding: 0;
  color: #14796b;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.application-success,
.partner-status-screen {
  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 500px;
  min-height: 75vh;
  margin: 0 auto;

  text-align: center;
  justify-content: center;
}

.application-success-icon,
.partner-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 84px;
  height: 84px;
  margin-bottom: 22px;

  color: #ffffff;
  background: #14796b;
  border-radius: 50%;

  font-size: 40px;
  font-weight: 800;

  box-shadow: 0 15px 35px rgba(20, 121, 107, 0.3);
}

.partner-status-icon {
  color: #966b00;
  background: #fff0bd;
  box-shadow: none;
}

.application-success h1,
.partner-status-screen h1 {
  margin: 8px 0 12px;
  color: #172033;
  font-size: 29px;
  line-height: 1.15;
}

.application-success > p,
.partner-status-screen > p {
  max-width: 440px;
  margin: 0 0 22px;

  color: #758094;
  line-height: 1.55;
}

.application-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  padding: 17px 18px;
  margin-bottom: 22px;

  background: #ffffff;
  border-radius: 17px;
}

.application-status-card span {
  color: #7b8798;
}

.application-status-card strong {
  color: #966b00;
}

.partner-login-status {
  margin-bottom: 18px;
}

.partner-profile-summary {
  width: 100%;
  padding: 5px 18px;
  margin-bottom: 18px;

  background: #ffffff;
  border-radius: 20px;
}

.partner-profile-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  padding: 14px 0;
  border-bottom: 1px solid #edf0f4;
}

.partner-profile-summary > div:last-child {
  border-bottom: none;
}

.partner-profile-summary span {
  color: #7b8798;
}

.partner-profile-summary strong {
  color: #172033;
  text-align: right;
}

.status-pending {
  color: #966b00 !important;
}

.partner-dashboard-screen {
  min-height: 100vh;
  padding: 24px 18px 40px;
  box-sizing: border-box;

  background: #f5f7fa;
}

.partner-dashboard-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  padding: 8px 0 24px;
}

.partner-close-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  min-width: 42px;
  height: 42px;

  color: #172033;
  background: #ffffff;
  border: none;
  border-radius: 13px;

  font-size: 20px;
}

.partner-dashboard-header h1 {
  margin: 4px 0;
  color: #172033;
  font-size: 27px;
}

.partner-dashboard-header > div > span {
  color: #7b8798;
  font-size: 14px;
}

.partner-statistics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;

  margin-bottom: 18px;
}

.partner-stat-card {
  display: flex;
  flex-direction: column;
  gap: 7px;

  min-width: 0;
  padding: 15px 12px;

  background: #ffffff;
  border: 0;
  border-radius: 17px;
  font-family: inherit;
  text-align: left;
}

.partner-stat-card span {
  color: #7b8798;
  font-size: 11px;
  line-height: 1.3;
}

.partner-stat-card strong {
  color: #172033;
  font-size: 25px;
}

.partner-actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.partner-request-summary .partner-stat-card {
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.partner-request-summary .partner-stat-card:active {
  transform: scale(0.98);
}

.partner-request-filter-row {
  margin-bottom: 10px;
}

.partner-request-card .owner-listing-main small {
  white-space: normal;
}

.partner-request-history {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.partner-request-history p {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.partner-request-history p:first-of-type {
  border-top: 0;
}

.partner-main-action,
.partner-action-item {
  display: flex;
  align-items: center;
  gap: 14px;

  width: 100%;
  padding: 16px;

  text-align: left;

  background: #ffffff;
  border: none;
  border-radius: 18px;

  cursor: pointer;
}

.partner-main-action {
  color: #ffffff;
  background: #14796b;
}

.partner-main-action > span,
.partner-action-item > span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 47px;
  min-width: 47px;
  height: 47px;

  background: rgba(255, 255, 255, 0.17);
  border-radius: 14px;

  font-size: 24px;
}

.partner-action-item > span {
  color: #14796b;
  background: #edf7f5;
}

.partner-main-action > div,
.partner-action-item > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.partner-main-action strong,
.partner-action-item strong {
  font-size: 15px;
}

.partner-action-item strong {
  color: #172033;
}

.partner-main-action small {
  color: rgba(255, 255, 255, 0.8);
}

.partner-action-item small {
  color: #7b8798;
}

.partner-main-action b,
.partner-action-item b {
  font-size: 19px;
  font-weight: 400;
}

.partner-action-item b {
  color: #14796b;
}

.search-button,
.service-button {
  width: 100%;
  border: 0;
  text-align: left;
}

.services-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.owner-listings {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.owner-filter-row {
  display: flex;
  gap: 9px;

  margin: 0 -2px 18px;
  padding: 2px 2px 8px;

  overflow-x: auto;
  scrollbar-width: none;
}

.owner-filter-row::-webkit-scrollbar {
  display: none;
}

.owner-filter-chip {
  flex: 0 0 auto;

  min-height: 42px;
  padding: 8px 12px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: var(--surface);
  color: var(--text-secondary);

  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
}

.owner-filter-chip b {
  min-width: 24px;
  padding: 4px 7px;

  border-radius: 999px;

  background: rgba(20, 121, 107, 0.1);
  color: var(--primary);

  text-align: center;
  font-size: 12px;
  line-height: 1;
}

.owner-filter-chip.active {
  border-color: rgba(20, 121, 107, 0.3);
  background: rgba(20, 121, 107, 0.11);
  color: var(--primary);
}

.owner-listing-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;

  padding: 16px;

  background: #ffffff;
  border: 1px solid #e7ebf0;
  border-radius: 18px;
  box-shadow: 0 7px 22px rgba(25, 45, 75, 0.05);
}

.owner-listing-main {
  min-width: 0;
}

.owner-listing-card h3 {
  margin: 5px 0 7px;
  color: #172033;
  font-size: 18px;
  line-height: 1.2;
}

.owner-listing-card p {
  margin: 0 0 10px;
  color: #7b8798;
  font-size: 13px;
  line-height: 1.4;
}

.owner-listing-card small {
  display: block;
  margin-top: 9px;
  color: #7b8798;
  font-size: 12px;
  line-height: 1.35;
}

.owner-listing-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 100px;
}

.owner-listing-actions button {
  min-height: 36px;
  padding: 0 12px;

  color: #14796b;
  background: #edf7f5;
  border: 0;
  border-radius: 12px;

  font-size: 12px;
  font-weight: 750;
}

.admin-promotion-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.admin-promotion-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-promotion-heading h2,
.admin-promotion-heading p {
  margin: 0;
}

.admin-promotion-heading h2 {
  margin-top: 4px;
  color: var(--text);
  font-size: 22px;
}

.admin-promotion-heading p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--text-secondary);
  line-height: 1.45;
}

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

.admin-promotion-expiry {
  grid-column: 1 / -1;
}

.admin-promotion-badges {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.admin-promotion-badge-option {
  display: grid;
  grid-template-columns: 22px minmax(0, max-content) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}

.admin-promotion-badge-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.admin-promotion-badge-option small,
.admin-promotion-audit {
  color: var(--text-secondary);
}

.admin-promotion-audit {
  margin: 0 0 14px;
  font-size: 13px;
}

.uzgo-quality-mark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(10, 37, 54, 0.88);
  color: #ffffff;
  box-shadow: 0 5px 16px rgba(8, 28, 44, 0.16);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.uzgo-quality-mark b {
  color: #35d69f;
  letter-spacing: 0;
}

.uzgo-quality-verified::before {
  content: "✓";
  color: #35d69f;
}

.uzgo-quality-recommended::before {
  content: "◆";
  color: #ffd36a;
}

.uzgo-quality-ambassador {
  background: linear-gradient(135deg, #0a4662, #168a74);
}

.uzgo-quality-ambassador::before {
  content: "●";
  color: #ffd36a;
}

.listing-quality-marks {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: calc(100% - 76px);
}

.property-card.listing-highlight-accent {
  border-color: rgba(31, 177, 145, 0.65);
  box-shadow: 0 12px 28px rgba(20, 137, 113, 0.16);
}

.property-card.listing-highlight-premium {
  border-color: rgba(225, 174, 66, 0.8);
  box-shadow: 0 13px 30px rgba(165, 121, 31, 0.2);
}

.property-card.listing-highlight-premium .property-content {
  background: linear-gradient(180deg, rgba(255, 248, 226, 0.55), transparent 55%);
}

.property-promotion-marks {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -4px 0 14px;
}

html[data-theme="dark"] .property-card.listing-highlight-premium .property-content {
  background: linear-gradient(180deg, rgba(174, 127, 33, 0.14), transparent 55%);
}

@media (max-width: 560px) {
  .admin-promotion-grid {
    grid-template-columns: 1fr;
  }

  .admin-promotion-expiry {
    grid-column: auto;
  }

  .admin-promotion-badge-option {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .admin-promotion-badge-option small {
    grid-column: 2;
  }
}

.admin-demo-settings {
  display: flex;
  flex-direction: column;
  gap: 12px;

  margin: 14px 0 16px;
  padding: 16px;

  border: 1px solid #dfe7ef;
  border-radius: 20px;

  background: #ffffff;
  box-shadow: 0 7px 22px rgba(25, 45, 75, 0.05);
}

.admin-demo-settings h2 {
  margin: 4px 0 6px;

  color: #172033;

  font-size: 19px;
  line-height: 1.18;
}

.admin-demo-settings p {
  margin: 0;

  color: #7b8798;

  font-size: 13px;
  line-height: 1.42;
}

.admin-hero-editor {
  display: grid;
  gap: 10px;
}

.admin-hero-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}

.admin-hero-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.admin-hero-file {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.admin-hero-file input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-hero-editor .form-field {
  display: grid;
  gap: 6px;
}

.admin-hero-editor .form-field span {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 750;
}

.admin-hero-editor input,
.admin-hero-editor textarea {
  margin: 0;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.admin-hero-editor textarea {
  min-height: 92px;
}

.admin-backup-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-backup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  overflow: hidden;

  padding: 10px 12px;

  border-radius: 14px;
  background: #f4f7fb;
}

.admin-backup-row span {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.admin-backup-row strong,
.admin-backup-row small {
  display: block;
  overflow: hidden;
  max-width: 100%;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-backup-row strong {
  color: #172033;
  font-size: 13px;
}

.admin-backup-row small {
  margin-top: 3px;
  color: #7b8798;
  font-size: 11px;
}

.admin-backup-row b {
  flex: 0 0 auto;
  color: #14796b;
  font-size: 12px;
}

.admin-health-log {
  overflow-x: hidden;
  max-height: 120px;
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;

  border-radius: 12px;
  background: #111827;
  color: #dbeafe;

  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-toggle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 18px;

  padding: 14px 16px;

  border: 1px solid #e7ebf0;
  border-radius: 16px;

  background: #f6f8fb;
}

.admin-toggle-row span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.admin-toggle-row strong {
  color: #172033;
  font-size: 14px;
  line-height: 1.2;
}

.admin-toggle-row small {
  color: #7b8798;
  font-size: 12px;
  line-height: 1.3;
}

.admin-toggle-row input {
  position: relative;
  display: block;
  flex: 0 0 auto;
  justify-self: end;
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  height: 34px;
  margin: 0;
  padding: 0;

  appearance: none;
  -webkit-appearance: none;

  border: 0;
  border-radius: 999px;
  box-sizing: border-box;

  background: #c7d1dc;
  cursor: pointer;

  transition: background 0.15s ease;
}

.admin-toggle-row input::before {
  content: "";

  position: absolute;
  top: 3px;
  left: 3px;

  display: block;
  width: 28px;
  height: 28px;

  border-radius: 50%;

  background: #ffffff;
  box-shadow: 0 2px 8px rgba(23, 32, 51, 0.18);

  transition: transform 0.15s ease;
}

.admin-toggle-row input:checked {
  background: #14796b;
}

.admin-toggle-row input:checked::before {
  transform: translateX(24px);
}

.admin-demo-settings .partner-stat-card::after {
  display: none;
}

.booking-history-card {
  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.booking-history-card:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.booking-card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;

  flex: 0 0 auto;
}

.booking-type-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  background: rgba(20, 121, 107, 0.1);
  color: var(--primary);

  font-size: 18px;
  font-weight: 900;
}

.booking-detail-card {
  display: flex;
  flex-direction: column;
  gap: 16px;

  padding: 16px;

  border: 1px solid var(--border);
  border-radius: 22px;

  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.booking-detail-status {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.booking-detail-status span:not(.booking-type-icon):not(.status-pill) {
  display: block;

  color: var(--text-secondary);

  font-size: 12px;
  font-weight: 750;
}

.booking-detail-status strong {
  display: block;
  margin-top: 2px;

  color: var(--text-primary);

  font-size: 17px;
  line-height: 1.2;
}

.booking-detail-grid {
  margin-top: 0;
}

.admin-listing-preview {
  width: 100%;
  min-height: 180px;
  border-radius: 18px;
  background-color: rgba(20, 121, 107, 0.08);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(23, 32, 51, 0.08);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;

  margin-bottom: 16px;
}

.admin-stat-card {
  width: 100%;
  min-height: 82px;

  border: 1px solid var(--border);
  text-align: left;
  cursor: pointer;

  font-family: inherit;

  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.admin-stat-card:active {
  transform: scale(0.98);
}

.admin-stat-card:hover {
  border-color: rgba(20, 121, 107, 0.28);
  box-shadow: 0 10px 26px rgba(20, 121, 107, 0.1);
}

.admin-stat-card small {
  color: var(--text-secondary);
}

.admin-section-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;

  margin-bottom: 14px;
  padding: 5px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: var(--surface-soft);
}

.admin-section-tabs button {
  min-height: 42px;

  border: 0;
  border-radius: 14px;

  background: transparent;
  color: var(--text-secondary);

  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
}

.admin-section-tabs button.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-small);
}

.admin-data-scope-note {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.admin-provider-analytics {
  display: grid;
  gap: 14px;
}

.admin-provider-analytics-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-provider-analytics-heading h2,
.admin-provider-detail-section h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.admin-provider-analytics-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.45;
}

.admin-provider-analytics-heading .secondary-button {
  width: auto;
  min-width: 108px;
  margin: 0;
}

.admin-provider-analytics-list,
.admin-provider-detail-list {
  display: grid;
  gap: 10px;
}

.admin-provider-analytics-card {
  display: grid;
  gap: 12px;
}

.admin-provider-analytics-card button {
  width: 100%;
}

.admin-provider-analytics-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-provider-analytics-metrics span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 13px;
}

.admin-provider-analytics-metrics b {
  color: var(--text);
  font-size: 16px;
}

.admin-provider-detail-section {
  margin-top: 24px;
}

.admin-provider-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

button.admin-provider-detail-row-action {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

button.admin-provider-detail-row-action:hover {
  border-color: var(--accent);
}

button.admin-provider-detail-row-action:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.admin-provider-detail-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-provider-detail-row > div:last-child {
  flex: 0 0 auto;
  text-align: right;
}

.admin-provider-detail-open {
  align-self: center;
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
}

.admin-provider-detail-row strong,
.admin-provider-detail-row b {
  color: var(--text);
}

.admin-provider-detail-row span,
.admin-provider-detail-row small {
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .admin-provider-analytics-heading {
    display: grid;
  }

  .admin-provider-analytics-heading .secondary-button {
    width: 100%;
  }
}

.admin-filter-row {
  margin-bottom: 16px;
}

.admin-search-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-search-field span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 850;
}

.admin-search-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text-primary);
  font: inherit;
  font-weight: 750;
  outline: none;
}

.admin-search-field input:focus {
  border-color: rgba(20, 121, 107, 0.5);
  box-shadow: 0 0 0 4px rgba(20, 121, 107, 0.12);
}

.admin-pagination {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-soft);
}

.admin-pagination button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--primary);
  font: inherit;
  font-size: 20px;
  font-weight: 900;
}

.admin-pagination button:disabled {
  cursor: default;
  opacity: 0.35;
}

.admin-pagination span {
  min-width: 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  overflow-wrap: anywhere;
}

.catalog-load-more {
  width: 100%;
  margin-top: 18px;
}

.listing-photo-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: -8px;
}

.listing-photo-preview:not(.has-image) {
  display: none;
}

.listing-photo-thumb {
  position: relative;
  overflow: hidden;
  min-height: 94px;
  padding: 0;
  border-radius: 16px;
  background-color: rgba(20, 121, 107, 0.08);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(23, 32, 51, 0.08);
}

.listing-photo-thumb.is-cover {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 189, 145, 0.16);
}

.listing-cover-hint {
  margin: -4px 0 4px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.listing-photo-select {
  display: block;
  width: 100%;
  min-height: 94px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.listing-photo-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #ffffff;
  background: rgba(23, 32, 51, 0.68);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.listing-photo-label.is-cover {
  width: auto;
  min-width: 70px;
  padding: 0 9px;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 3px 10px rgba(13, 133, 111, 0.35);
}

.listing-photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(146, 42, 52, 0.88);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.listing-photo-remove:focus-visible,
.listing-photo-select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.amenities-picker {
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e7ebf0;
  border-radius: 16px;
}

.amenities-picker summary {
  color: #172033;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.amenities-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.amenities-picker-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  color: #172033;
  background: #f5f7fa;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.amenities-picker-grid input,
.compact-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #14796b;
}

.admin-application-card {
  align-items: stretch;
}

.admin-listing-detail-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.admin-listing-detail-card .admin-listing-preview {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
}

.admin-listing-detail-card .admin-application-title {
  display: grid;
  grid-template-columns: 1fr;
}

.admin-listing-detail-card .status-pill {
  justify-self: start;
}

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

.admin-application-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-application-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.admin-listing-detail-card .admin-application-details {
  grid-template-columns: 1fr;
}

.admin-application-details div,
.admin-application-comment {
  padding: 12px;
  background: #f6f8fb;
  border: 1px solid #edf1f5;
  border-radius: 14px;
}

.admin-application-details span,
.admin-application-comment span {
  display: block;
  margin-bottom: 4px;
  color: #8a94a6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.admin-application-details strong {
  display: block;
  color: #172033;
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.admin-application-comment {
  margin-top: 10px;
}

.admin-application-comment p {
  margin: 0;
  color: #172033;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-detail-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;
}

.status-pending,
.status-draft {
  color: #966b00;
  background: #fff4d8;
}

.status-approved {
  color: #14796b;
  background: #e7f7f2;
}

.status-needs_changes {
  color: #8a4b00;
  background: #fff0dc;
}

.status-rejected {
  color: #b42318;
  background: #fee4e2;
}

.status-paused,
.status-archived {
  color: #596579;
  background: #eef1f5;
}

.profile-debug {
  display: block;
  margin-top: 5px;

  color: #7b8798;

  font-size: 11px;
  line-height: 1.35;
}

html[data-theme="dark"] .hero-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(9, 17, 28, 0.26) 0%,
      rgba(9, 17, 28, 0.28) 34%,
      rgba(8, 18, 28, 0.82) 100%
    );
}

html[data-theme="dark"] .brand-mark,
html[data-theme="dark"] .language-button,
html[data-theme="dark"] .language-menu summary {
  background: rgba(18, 27, 38, 0.54);
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .search-card,
html[data-theme="dark"] .home-account-card,
html[data-theme="dark"] .demo-notice,
html[data-theme="dark"] .admin-demo-settings,
html[data-theme="dark"] .admin-toggle-row,
html[data-theme="dark"] .admin-backup-row,
html[data-theme="dark"] .catalog-category-card,
html[data-theme="dark"] .service-item,
html[data-theme="dark"] .profile-card,
html[data-theme="dark"] .partner-dashboard-screen,
html[data-theme="dark"] .partner-hero-card,
html[data-theme="dark"] .partner-stat-card,
html[data-theme="dark"] .partner-action-item,
html[data-theme="dark"] .partner-main-action,
html[data-theme="dark"] .application-status-card,
html[data-theme="dark"] .owner-listing-card,
html[data-theme="dark"] .admin-application-details div,
html[data-theme="dark"] .admin-application-comment,
html[data-theme="dark"] .amenities-picker,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .property-map-card,
html[data-theme="dark"] .property-card,
html[data-theme="dark"] .apartment-card,
html[data-theme="dark"] .placement-rules-list p,
html[data-theme="dark"] .review-card,
html[data-theme="dark"] .rating-option {
  background: var(--surface);
  border-color: var(--border);
}

html[data-theme="dark"] .profile-card strong,
html[data-theme="dark"] .profile-menu button,
html[data-theme="dark"] .demo-notice strong,
html[data-theme="dark"] .admin-demo-settings h2,
html[data-theme="dark"] .admin-toggle-row strong,
html[data-theme="dark"] .admin-backup-row strong,
html[data-theme="dark"] .service-item,
html[data-theme="dark"] .catalog-category-card strong,
html[data-theme="dark"] .property-card h3,
html[data-theme="dark"] .owner-listing-card h3,
html[data-theme="dark"] .admin-application-details strong,
html[data-theme="dark"] .admin-application-comment p,
html[data-theme="dark"] .partner-dashboard-header h1,
html[data-theme="dark"] .partner-close-button,
html[data-theme="dark"] .amenities-picker summary,
html[data-theme="dark"] .amenities-picker-grid label,
html[data-theme="dark"] .placement-rules-list strong,
html[data-theme="dark"] .review-card-header strong,
html[data-theme="dark"] .rating-option {
  color: var(--text-primary);
}

html[data-theme="dark"] .profile-card span,
html[data-theme="dark"] .profile-debug,
html[data-theme="dark"] .demo-notice span,
html[data-theme="dark"] .admin-demo-settings p,
html[data-theme="dark"] .admin-toggle-row small,
html[data-theme="dark"] .admin-backup-row small,
html[data-theme="dark"] .catalog-category-card small,
html[data-theme="dark"] .property-card p,
html[data-theme="dark"] .owner-listing-card p,
html[data-theme="dark"] .partner-dashboard-header > div > span,
html[data-theme="dark"] .subtitle {
  color: var(--text-secondary);
}

html[data-theme="dark"] .bottom-navigation {
  background: #192330;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.35),
    0 3px 12px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .bottom-navigation-item {
  color: #9ba8ba;
}

html[data-theme="dark"] .bottom-navigation-item.active {
  color: #66d7c7;
  background: rgba(40, 179, 159, 0.14);
}

html[data-theme="dark"] .sticky-booking-bar {
  background: #17212d;
  border-color: var(--border);
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background-color: var(--surface);
  border-color: var(--border);
  color: var(--text-primary);
}

html[data-theme="dark"] .simple-header h1,
html[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .catalog-header h1,
html[data-theme="dark"] .empty-state h2,
html[data-theme="dark"] .partner-benefit-item strong,
html[data-theme="dark"] .partner-action-item strong,
html[data-theme="dark"] .partner-main-action strong,
html[data-theme="dark"] .partner-stat-card strong,
html[data-theme="dark"] .application-status-card strong,
html[data-theme="dark"] .listing-category-content strong,
html[data-theme="dark"] .property-info h1,
html[data-theme="dark"] .property-section h2,
html[data-theme="dark"] .property-meta strong,
html[data-theme="dark"] .property-price-block strong,
html[data-theme="dark"] .sticky-booking-bar strong,
html[data-theme="dark"] .form-field > span,
html[data-theme="dark"] .search-label,
html[data-theme="dark"] .service-item span:not(.service-icon) {
  color: var(--text-primary) !important;
}

html[data-theme="dark"] .language-menu-options {
  background: rgba(23, 33, 45, 0.96);
  border-color: var(--border);
}

html[data-theme="dark"] .language-menu-options button {
  color: var(--text-primary);
}

html[data-theme="dark"] .empty-state p,
html[data-theme="dark"] .partner-benefit-item small,
html[data-theme="dark"] .partner-action-item small,
html[data-theme="dark"] .partner-main-action small,
html[data-theme="dark"] .partner-stat-card span,
html[data-theme="dark"] .admin-stat-card small,
html[data-theme="dark"] .application-status-card span,
html[data-theme="dark"] .listing-category-content small,
html[data-theme="dark"] .property-address,
html[data-theme="dark"] .property-description,
html[data-theme="dark"] .map-address,
html[data-theme="dark"] .property-meta span,
html[data-theme="dark"] .property-price-block span,
html[data-theme="dark"] .sticky-label,
html[data-theme="dark"] .search-hint,
html[data-theme="dark"] .owner-listing-card small,
html[data-theme="dark"] .settings-description,
html[data-theme="dark"] .settings-field > span,
html[data-theme="dark"] .admin-application-details span,
html[data-theme="dark"] .admin-application-comment span {
  color: var(--text-secondary) !important;
}

html[data-theme="dark"] .partner-benefit-item,
html[data-theme="dark"] .listing-category-item,
html[data-theme="dark"] .form-field input,
html[data-theme="dark"] .form-field textarea,
html[data-theme="dark"] .form-field select,
html[data-theme="dark"] .partner-close-button,
html[data-theme="dark"] .amenities-picker-grid label,
html[data-theme="dark"] .tourist-account-summary div,
html[data-theme="dark"] .settings-option-row button,
html[data-theme="dark"] .amenity-item {
  background: var(--surface-soft) !important;
  border-color: var(--border) !important;
}

html[data-theme="dark"] .secondary-button,
html[data-theme="dark"] .owner-listing-actions button {
  color: #66d7c7;
  background: rgba(40, 179, 159, 0.12);
  border-color: rgba(102, 215, 199, 0.44);
}

html[data-theme="dark"] .danger-button {
  color: #ffb4ab;
  background: rgba(180, 35, 24, 0.16);
  border-color: rgba(255, 180, 171, 0.38);
}

html[data-theme="dark"] .status-pending,
html[data-theme="dark"] .status-draft {
  color: #ffd789;
  background: rgba(255, 193, 7, 0.16);
}

html[data-theme="dark"] .status-approved {
  color: #76e4cf;
  background: rgba(40, 179, 159, 0.16);
}

html[data-theme="dark"] .status-needs_changes {
  color: #ffcf9d;
  background: rgba(255, 145, 0, 0.14);
}

html[data-theme="dark"] .status-rejected {
  color: #ffb4ab;
  background: rgba(244, 67, 54, 0.16);
}

html[data-theme="dark"] .status-paused,
html[data-theme="dark"] .status-archived {
  color: #b8c3d4;
  background: rgba(184, 195, 212, 0.12);
}

@media (max-width: 430px) {
  .booking-date-grid:not(.service-date-grid) {
    grid-template-columns: 1fr;
  }
}

.profile-notification-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-notification-button b {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: #e24b4b;
  font-size: 13px;
}

.notification-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.notification-toolbar .secondary-button {
  width: auto;
  min-height: 42px;
  margin-left: auto;
  padding: 8px 14px;
}

.tourist-notification-list {
  display: grid;
  gap: 10px;
}

.tourist-notification-card {
  overflow: hidden;
  border: 1px solid var(--border-color, #d8e0ea);
  border-radius: 8px;
  background: var(--card-bg, #fff);
}

.tourist-notification-card.unread {
  border-color: rgba(21, 151, 132, 0.55);
  background: rgba(40, 179, 159, 0.08);
}

.tourist-notification-card button {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.tourist-notification-card button > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.tourist-notification-card strong,
.tourist-notification-card small,
.tourist-notification-card time {
  overflow-wrap: anywhere;
}

.tourist-notification-card small,
.tourist-notification-card time {
  color: var(--muted-text, #718096);
}

.tourist-notification-card time {
  font-size: 12px;
}

.tourist-notification-card i {
  font-style: normal;
  text-align: center;
}

.notification-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}

.tourist-notification-card.unread .notification-dot {
  background: #159784;
}

.booking-pagination {
  margin-top: 18px;
}

.partner-notification-badge {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: #e24b4b;
  font-size: 12px;
  font-style: normal;
}

@media (max-width: 520px) {
  .notification-toolbar .secondary-button {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 380px) {

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .home-account-actions {
    grid-template-columns: 1fr;
  }

  .partner-statistics {
    grid-template-columns: 1fr;
  }

  .partner-stat-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .services-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .owner-listing-card {
    flex-direction: column;
  }

  .owner-listing-actions {
    width: 100%;
  }
}

/* UZGO BRAND SYSTEM */

:root {
  --background: #f3f7f8;
  --surface: #ffffff;
  --surface-soft: #eaf2f4;
  --surface-muted: #f6f9fa;
  --text-primary: #132433;
  --text-secondary: #667887;
  --primary: #18b96e;
  --primary-dark: #0b8f5b;
  --brand-blue: #17658d;
  --brand-blue-dark: #0f496c;
  --brand-green: #18c978;
  --brand-mist: #dceef2;
  --border: rgba(19, 36, 51, 0.1);
  --shadow-small: 0 8px 24px rgba(26, 71, 93, 0.08);
  --shadow-medium: 0 20px 46px rgba(21, 64, 86, 0.16);
}

:root[data-theme="dark"] {
  --background: #0c171f;
  --surface: #13232e;
  --surface-soft: #1b303d;
  --surface-muted: #0f1d26;
  --text-primary: #f0f7f8;
  --text-secondary: #9fb1bc;
  --primary: #28d486;
  --primary-dark: #18a768;
  --brand-blue: #4ba2ca;
  --brand-blue-dark: #287da4;
  --brand-green: #28d486;
  --brand-mist: #173846;
  --border: rgba(222, 240, 244, 0.11);
}

h1,
h2,
h3,
.hero h1,
.section-heading h2,
.screen:not(.home-screen) h1 {
  letter-spacing: 0;
}

.home-screen {
  background:
    linear-gradient(180deg, rgba(23, 101, 141, 0.06) 0, transparent 280px),
    var(--background);
}

.hero {
  min-height: 382px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background-position: center 46%;
  box-shadow: 0 24px 56px rgba(12, 49, 70, 0.22);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 5px;
  content: "";
  background: var(--brand-green);
}

.hero-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(7, 44, 67, 0.46) 0%,
      rgba(7, 44, 67, 0.18) 36%,
      rgba(6, 34, 48, 0.88) 100%
    );
}

.hero-content {
  min-height: 382px;
  padding: calc(16px + var(--safe-top)) 18px 34px;
}

.hero-top {
  justify-content: space-between;
  align-items: flex-start;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.uzgo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.uzgo-brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 2px solid rgba(23, 101, 141, 0.12);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(15, 73, 108, 0.16);
}

.uzgo-brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.uzgo-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 27px;
  font-weight: 900;
}

.uzgo-wordmark b {
  color: var(--brand-blue);
}

.uzgo-wordmark b:last-child {
  color: var(--brand-green);
}

.uzgo-brand-copy small {
  color: var(--text-secondary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.uzgo-brand-compact {
  gap: 8px;
  margin: 0;
}

.uzgo-brand-compact img {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 22px rgba(3, 28, 43, 0.24);
}

.uzgo-brand-compact .uzgo-wordmark {
  font-size: 22px;
}

.uzgo-brand-compact .uzgo-brand-copy small {
  font-size: 7px;
  letter-spacing: 1px;
}

.uzgo-brand-light .uzgo-wordmark b:first-child,
.uzgo-brand-light .uzgo-brand-copy small {
  color: #ffffff;
}

.uzgo-brand-light .uzgo-wordmark b:last-child {
  color: #39e391;
}

.hero .language-menu summary {
  min-width: 54px;
  height: 40px;
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(8, 44, 63, 0.48);
}

.hero .currency-menu summary {
  min-width: 68px;
}

.hero-text {
  max-width: 390px;
}

.welcome-text {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(6, 39, 56, 0.38);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
}

.hero h1 {
  max-width: 390px;
  font-size: clamp(32px, 8vw, 46px);
  line-height: 1.06;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}

.hero h1.hero-title-long {
  max-width: 440px;
  font-size: clamp(30px, 7.2vw, 40px);
  line-height: 1.1;
}

.hero-text > p:last-child {
  color: rgba(255, 255, 255, 0.84);
}

.content-section {
  position: relative;
}

.eyebrow {
  color: var(--brand-blue);
  letter-spacing: 1.15px;
}

.search-card {
  border: 1px solid rgba(23, 101, 141, 0.14);
  border-radius: 14px;
  box-shadow: var(--shadow-small);
}

.search-icon {
  border-radius: 12px;
  background: rgba(24, 201, 120, 0.12);
  color: var(--primary-dark);
}

.home-account-card {
  border-color: rgba(23, 101, 141, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(23, 101, 141, 0.07), rgba(24, 201, 120, 0.06)),
    var(--surface);
}

.service-item {
  min-height: 104px;
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(26, 71, 93, 0.07);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.service-item:active {
  transform: translateY(1px) scale(0.98);
}

.service-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-soft);
  font-size: 24px;
}

.service-icon.service-icon-uzgo {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: #ffffff;
}

.service-icon-uzgo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-button {
  border-radius: 14px;
  background: var(--primary);
  box-shadow: 0 12px 26px rgba(11, 143, 91, 0.24);
}

.main-button:hover {
  background: var(--primary-dark);
}

input,
textarea,
select {
  border-radius: 12px;
}

input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 4px rgba(24, 185, 110, 0.12);
}

.back {
  color: var(--primary-dark);
}

.bottom-navigation {
  min-height: 80px;
  border-color: rgba(23, 101, 141, 0.12);
  border-radius: 18px;
  background: #fbfdfd;
  box-shadow:
    0 16px 40px rgba(21, 64, 86, 0.16),
    0 2px 10px rgba(21, 64, 86, 0.06);
}

.bottom-navigation-item {
  min-height: 58px;
  border-radius: 12px;
  color: #71828f;
}

.bottom-navigation-item.active {
  color: var(--primary-dark);
  background: rgba(24, 201, 120, 0.1);
  box-shadow: inset 0 0 0 1px rgba(24, 201, 120, 0.1);
}

.bottom-navigation-item.active .bottom-navigation-icon {
  background: var(--primary);
  box-shadow: 0 7px 16px rgba(11, 143, 91, 0.22);
}

.simple-screen {
  background:
    linear-gradient(180deg, rgba(23, 101, 141, 0.04), transparent 240px),
    var(--surface-muted);
}

.simple-header {
  max-width: 720px;
}

.simple-header .uzgo-brand + h1 {
  margin-top: 4px;
}

.app-access-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-access-screen > .simple-header,
.app-access-screen > .partner-form {
  width: 100%;
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

html[data-theme="dark"] .home-screen,
html[data-theme="dark"] .simple-screen {
  background:
    linear-gradient(180deg, rgba(75, 162, 202, 0.07), transparent 280px),
    var(--background);
}

html[data-theme="dark"] .hero-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(5, 25, 36, 0.48) 0%,
      rgba(5, 25, 36, 0.24) 36%,
      rgba(4, 20, 29, 0.9) 100%
    );
}

html[data-theme="dark"] .bottom-navigation {
  border-color: rgba(222, 240, 244, 0.1);
  background: #0f1d26;
}

html[data-theme="dark"] .bottom-navigation-item.active {
  color: #6ae7a9;
  background: rgba(40, 212, 134, 0.12);
}

html[data-theme="dark"] .uzgo-brand img {
  border-color: rgba(75, 162, 202, 0.24);
}

html[data-theme="dark"] .search-icon {
  background: rgba(40, 212, 134, 0.12);
  color: #6ae7a9;
}

@media (hover: hover) and (pointer: fine) {
  .service-item:hover {
    transform: translateY(-2px);
    border-color: rgba(24, 185, 110, 0.28);
    box-shadow: 0 12px 28px rgba(26, 71, 93, 0.12);
  }
}

@media (max-width: 430px) {
  .uzgo-brand-compact .uzgo-brand-copy {
    display: none;
  }

  .hero-controls {
    gap: 6px;
  }

  .hero {
    min-height: 370px;
  }

  .hero-content {
    min-height: 370px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero h1.hero-title-long {
    font-size: clamp(29px, 8vw, 34px);
    line-height: 1.12;
  }
}

@media (max-width: 350px) {
  .uzgo-brand-compact img {
    width: 40px;
    height: 40px;
  }

  .hero .language-menu summary {
    min-width: 48px;
    padding: 0 8px;
  }

  .hero .currency-menu summary {
    min-width: 60px;
  }
}
