.hotel-list-page {
  min-width: 0;
  background: #eef3f9;
}

.hotel-list-content {
  display: grid;
  gap: 50px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.25rem, -12.0833rem + 16.6667vw, 2.5rem);
}

.hotel-list-content *,
.hotel-property-card {
  min-width: 0;
}

.hotel-list-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.hotel-list-topbar h1 {
  margin: 0 0 6px;
  color: #191c1e;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.hotel-list-topbar p {
  margin: 0;
  color: #464555;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

.hotel-list-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 5px;
}

.hotel-list-actions button,
.hotel-filter-actions button {
  border: 1px solid #d9e1ec;
  font: inherit;
}

.hotel-list-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-color: #e5e7eb;
  border-radius: 8px;
  color: #141b2b;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(26, 43, 72, 0.04);
}

.hotel-list-actions svg,
.hotel-filter-actions svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.3;
}

.hotel-list-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.hotel-stat-card,
.hotel-filter-card,
.hotel-property-card {
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 2px 4px rgba(20, 35, 62, 0.08);
}

.hotel-stat-card {
  min-height: 151px;
  padding: 24px;
  border-radius: 20px;
}

.hotel-stat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 43px;
}

.hotel-stat-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 32px;
  border-radius: 8px;
}

.hotel-stat-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.hotel-stat-icon.blue {
  color: #0a55d9;
  background: #e8edff;
}

.hotel-stat-icon.green {
  color: #12a65a;
  background: #e2f6ec;
}

.hotel-stat-icon.gray {
  color: #5c5f60;
  background: #eef0f1;
}

.hotel-stat-icon.violet {
  color: #1a56db;
  background: #dce2f7;
}

.hotel-stat-card em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1;
  font-style: normal;
  font-weight: 800;
}

.hotel-stat-card em svg {
  width: 12px;
  height: 12px;
}

.hotel-stat-card em.green {
  color: #006f4b;
}

.hotel-stat-card em.orange {
  color: #f59e0b;
}

.hotel-stat-card p {
  margin: 19px 0 8px;
  color: #454748;
  font-size: 12px;
  font-weight: 600;
}

.hotel-stat-card strong {
  display: block;
  color: #111827;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.hotel-filter-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
}

.hotel-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1.2fr) auto;
  gap: 20px;
  align-items: end;
}

.hotel-filter-grid label {
  display: grid;
  gap: 8px;
}

.hotel-filter-grid span {
  color: #434654;
  font-size: 12px;
  font-weight: 600;
}

.hotel-filter-grid select {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  color: #101827;
  background: #fff;
  font-size: 13px;
  outline: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #59677a 50%),
    linear-gradient(135deg, #59677a 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 17px,
    calc(100% - 13px) 17px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.hotel-filter-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 1px;
}

.hotel-filter-actions button {
  min-height: 38px;
  padding: 0 32px;
  border-radius: 8px;
  color: #111827;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}

.hotel-filter-actions .apply {
  color: #fff;
  border-color: #0759d2;
  background: #0759d2;
}

.hotel-filter-actions .reset {
  padding-inline: 16px;
  border-color: transparent;
}

.hotel-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.875rem, 0.2187rem + 1.75vw, 1.75rem);
}

.hotel-property-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #c4c6d31a;
}

.hotel-card-media {
  position: relative;
  height: 192px;
  background-position: center;
  background-size: cover;
}

.hotel-card-media.beach {
  background-image: url("../images/login-background-2.png");
}

.hotel-card-media.santorini {
  background-image: url("../images/hero_section.png");
}

.hotel-card-media span {
  position: absolute;
  top: 15px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 4px;
  color: #fff;
  background: #22c55e;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.hotel-card-body {
  padding: 20px;
}

.hotel-card-meta,
.hotel-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.hotel-card-meta {
  color: #6b7280;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
}

.hotel-card-meta span:last-child {
  text-align: right;
}

.hotel-card-title-row h2 {
  margin: 7px 0 0;
  color: #0759d2;
  font-size: 20px;
  line-height: 0.97;
  font-weight: 700;
  letter-spacing: 0;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hotel-card-title-row strong {
  max-width: 84px;
  margin-top: 7px;
  color: #004aca;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 700;
  text-align: right;
}

.hotel-card-body > p {
  margin: 8px 0 18px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}

.hotel-room-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 9px;
  background: #f1f3f7;
}

.hotel-room-box div:last-child {
  grid-column: 1 / -1;
}

.hotel-room-box span {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}

.hotel-room-box strong {
  display: block;
  color: #434654;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.hotel-room-box strong.green {
  color: #16a34a;
}

.hotel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hotel-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  color: #004aca;
  background: #eef4ff;
  font-size: 10px;
  font-weight: 600;
}

.hotel-tags svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.3;
}

.hotel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid #edf1f6;
  margin-top: auto;
}

.hotel-card-footer > span {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
}

.hotel-card-footer > span svg {
  width: 14px;
  height: 14px;
  color: #12a65a;
  stroke-width: 2.3;
}

.hotel-card-footer div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hotel-card-footer button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #0759d2;
  background: transparent;
}

.hotel-card-footer button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

@media (max-width: 1480px) {
  .hotel-list-content {
    gap: 48px;
    padding: 24px 22px 42px;
  }

  .hotel-card-title-row h2 {
    font-size: 25px;
  }
}

@media (max-width: 1240px) {
  .hotel-list-stats,
  .hotel-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hotel-filter-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .hotel-list-topbar {
    flex-direction: column;
  }

  .hotel-list-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .hotel-list-actions button {
    flex: 1 1 150px;
  }
}

@media (max-width: 720px) {
  .hotel-list-content {
    gap: 24px;
    padding: 20px 14px 32px;
  }

  .hotel-list-topbar h1 {
    font-size: 24px;
    line-height: 1.1;
  }

  .hotel-list-topbar p {
    font-size: 13px;
  }

  .hotel-card-grid,
  .hotel-filter-grid {
    grid-template-columns: 1fr;
  }

  .hotel-list-stats {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .hotel-stat-card {
    min-height: 126px;
    padding: 20px;
    border-radius: 16px;
  }

  .hotel-filter-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .hotel-filter-actions {
    gap: 10px;
  }

  .hotel-filter-actions button {
    flex: 1 1 120px;
    padding-inline: 14px;
  }

  .hotel-card-media {
    height: 210px;
  }

  .hotel-card-body {
    padding: 20px 18px;
  }

  .hotel-card-title-row h2 {
    font-size: 23px;
  }

  .hotel-room-box {
    padding: 18px;
  }
}

@media (max-width: 440px) {
  .hotel-list-actions button,
  .hotel-filter-actions button {
    width: 100%;
  }

  .hotel-card-title-row {
    align-items: flex-start;
  }

  .hotel-card-title-row strong {
    max-width: 72px;
    font-size: 11px;
  }
}
