:root {
  --ink: #14231d;
  --muted: #637069;
  --paper: #f5f2e9;
  --card: #fffdf7;
  --green: #176b4d;
  --lime: #d7ef75;
  --line: #d9ddd4;
}
* {
  box-sizing: border-box;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
header,
main,
footer {
  max-width: 1120px;
  margin: auto;
  padding: 24px;
}
.brand {
  font-size: 25px;
  font-weight: 850;
  color: var(--ink);
}
.brand span,
.rating {
  color: var(--green);
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header p {
  color: var(--muted);
  font-size: 14px;
}
.hero {
  background: var(--ink);
  color: white;
  border-radius: 28px;
  padding: clamp(28px, 6vw, 68px);
  margin: 28px 0 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lime);
  font-size: 12px;
  font-weight: 750;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.98;
  max-width: 780px;
  margin: 18px auto;
}
.hero > p {
  max-width: 600px;
  color: #cbd3ce;
  margin-left: auto;
  margin-right: auto;
}
.hero > .privacy-highlight {
  margin-top: 4px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 720;
}
.search {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  max-width: 680px;
  width: 100%;
}
.search-clear {
  flex: 0 0 48px;
  padding: 0;
  font-size: 24px;
}
.primary-address-search {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 900px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 18px;
  background: rgb(255 255 255 / 7%);
  text-align: left;
  min-width: 0;
}
.address-search-heading {
  display: grid;
  gap: 4px;
  text-align: center;
}
.address-search-heading strong {
  font-size: 18px;
}
.address-search-heading span {
  color: #cbd3ce;
  font-size: 13px;
}
.address-search-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.address-search-fields label {
  position: relative;
  display: grid;
  gap: 5px;
  color: white;
  font-size: 13px;
  font-weight: 750;
  min-width: 0;
}
.address-search-fields .address-control,
.address-search-fields input {
  min-width: 0;
  max-width: 100%;
}
.address-search-fields input {
  padding-right: 42px;
}
.address-search-fields label.loading .field-spinner {
  display: block;
}
.address-search-fields label.loading .address-dropdown-toggle {
  display: none;
}
.address-search-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.primary-address-search > .address-status {
  color: #d7ef75;
  text-align: center;
}
.secondary-manager-search {
  margin-top: 16px;
}
.secondary-manager-search .search {
  margin-top: 12px;
}
input,
textarea,
select {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: white;
}
button {
  border: 0;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  padding: 13px 20px;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}
details {
  margin-top: 22px;
  max-width: 680px;
  width: 100%;
}
details form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  text-align: left;
}
.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.grid {
  display: grid;
  gap: 14px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}
.card-link {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.card-link:hover,
.card-link:focus-visible {
  transform: scale(1.025);
  box-shadow: 0 16px 38px rgba(20, 35, 29, 0.13);
  border-color: #aab9ae;
  outline: none;
}
.card h2,
.card h3 {
  margin: 0 0 8px;
}
.meta {
  color: var(--muted);
  font-size: 14px;
}
.score {
  font-size: 27px;
  font-weight: 900;
  text-align: right;
}
.stars {
  color: #e0a215;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px;
}
.detail {
  background: var(--card);
  border-radius: 22px;
  padding: clamp(20px, 5vw, 48px);
  text-align: center;
}
.back-link {
  display: inline-block;
  background: #e7ebe6;
  border-radius: 10px;
  padding: 9px 13px;
  margin-bottom: 20px;
}
.detail > .back-link {
  display: table;
  margin-left: auto;
  margin-right: auto;
}
.profile-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.share-profile {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}
.share-profile svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profile-heading h1 {
  margin-top: 0.67em;
  margin-bottom: 0.67em;
}
.share-profile:hover {
  transform: scale(1.08);
}
.share-profile:focus-visible {
  outline: 3px solid rgba(23, 107, 77, 0.3);
  outline-offset: 2px;
}
.share-profile,
.share-profile:hover {
  transition: transform 0.15s ease;
}
.contact-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.contact {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 14px;
  min-width: 210px;
}
.contact strong {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.star-picker {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 3px;
}
.detail > .score {
  text-align: center !important;
  margin-top: 22px;
}
.detail #vote {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.star-picker button {
  font-size: 38px;
  line-height: 1;
  background: transparent;
  color: #c8cdc8;
  padding: 2px;
  transition:
    transform 0.12s,
    color 0.12s;
}
.star-picker button:hover,
.star-picker button:hover ~ button,
.star-picker button.selected,
.star-picker button.selected ~ button {
  color: #e0a215;
  transform: scale(1.12);
}
.rating-bars {
  display: grid;
  gap: 15px;
  margin: 8px 0 20px;
  width: 100%;
}
.rating-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
  font-size: 14px;
}
.rating-help {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  margin-left: 4px;
  border: 1px solid #aab5ae;
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  font-size: 12px;
  line-height: 1;
  vertical-align: middle;
}
.rating-help:hover,
.rating-help:focus-visible {
  background: var(--green);
  color: white;
  opacity: 1;
}
.rating-help-popover {
  position: fixed;
  z-index: 2147483647;
  right: auto;
  bottom: auto;
  display: grid;
  gap: 5px;
  width: min(330px, calc(100vw - 24px));
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 11px;
  background: #24372e;
  color: white;
  box-shadow: 0 12px 32px rgb(10 25 18 / 28%);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}
.rating-help-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: inherit;
  transform: rotate(45deg);
}
.rating-help-popover.above::before {
  top: auto;
  bottom: -6px;
}
.rating-help-popover strong,
.rating-help-popover span {
  position: relative;
}
.rating-bar {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e7e2;
}
.rating-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #8dbb55);
  transition: width 0.35s ease;
}
.rate-manager {
  justify-self: center;
}
.rating-field {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 14px 13px;
}
.rating-field legend {
  padding: 0 7px;
  font-weight: 720;
}
.experience-modal {
  width: min(760px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}
.experience-form {
  max-width: none;
}
.experience-section {
  display: grid;
  gap: 11px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
}
.experience-section h3,
.experience-section p {
  margin: 0;
}
.experience-address .comment-address {
  padding: 0;
  border: 0;
  background: transparent;
}
.address-control {
  position: relative;
  display: block;
}
.address-control .address-dropdown-toggle {
  bottom: 7px;
}
.field-spinner {
  position: absolute;
  top: 50%;
  right: 12px;
  display: none;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2px solid #cbd3ce;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.experience-address label.loading .field-spinner {
  display: block;
}
.experience-address label.loading .address-dropdown-toggle {
  display: none;
}
.experience-address label.address-inherited input:disabled {
  border-color: #a9c8b5;
  background: #edf5ef;
  color: var(--ink);
  opacity: 1;
  font-weight: 720;
}
.experience-address label.address-inherited::after {
  content: "Preuzeto iz pretrage";
  color: var(--green);
  font-size: 11px;
  font-weight: 650;
}
.experience-captcha {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #c9d8ce;
  border-radius: 16px;
  background: #f0f6f1;
  text-align: center;
}
.experience-captcha[hidden] {
  display: none;
}
.experience-captcha p {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 720;
}
.experience-actions {
  justify-content: center;
}
.privacy-note {
  margin: -2px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 720;
  text-align: center;
}
.experience-form-status {
  display: block;
  width: 100%;
  padding: 8px 12px;
  color: var(--green);
  font-weight: 720;
  text-align: center;
}
.report-modal-inner > .experience-form-status {
  margin-top: 10px;
}
.modal-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
}
.modal-stars button {
  padding: 1px;
  background: transparent;
  color: #c8cdc8;
  font-size: 31px;
  line-height: 1;
}
.modal-stars button:hover,
.modal-stars button:hover ~ button,
.modal-stars button.selected,
.modal-stars button.selected ~ button {
  color: #e0a215;
}
.captcha-slot:empty {
  display: none;
}
.captcha-slot,
#addressCaptcha {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  justify-content: center;
}
.captcha-hint {
  font-size: 13px;
  color: var(--muted);
}
.comment {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  text-align: left;
}
.detail > h2,
.detail #comment,
.detail #comments,
.detail > .pagination {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.detail #comment {
  text-align: left;
}
.comment-address {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f5f7f3;
}
.comment-address > div,
.comment-address .address-status {
  grid-column: 1 / -1;
}
.comment-address label {
  position: relative;
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 750;
}
.comment-address .address-input {
  padding-right: 38px;
}
.address-dropdown-toggle {
  position: absolute;
  z-index: 2;
  right: 7px;
  bottom: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--green);
  font-size: 18px;
  line-height: 1;
}
.address-dropdown-toggle:hover:not(:disabled),
.address-dropdown-toggle[aria-expanded="true"] {
  background: #e4ebe2;
}
.address-suggestions {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 230px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 12px 30px rgb(20 40 30 / 16%);
}
.address-suggestions[hidden] {
  display: none;
}
.address-suggestions button {
  width: 100%;
  padding: 9px 10px;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.address-suggestions button:hover,
.address-suggestions button:focus-visible {
  background: #edf2ec;
}
.address-status {
  color: var(--green);
  font-size: 13px;
}
.verified-community {
  color: var(--green);
  font-weight: 750;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.secondary {
  background: #e7ebe6;
}
.like-button .heart {
  color: #7b8580;
  transition:
    color 0.15s,
    transform 0.15s;
}
.like-button.liked .heart {
  color: #d42d36;
  display: inline-block;
  transform: scale(1.15);
}
.danger {
  background: #f4ded8;
}
@media(max-width:640px){.comment-address{grid-template-columns:1fr}}
@media(max-width:850px){.address-search-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.address-search-fields{grid-template-columns:1fr}.search{flex-wrap:wrap}.search input{flex-basis:100%}}
.form {
  display: grid;
  gap: 12px;
  max-width: 650px;
  margin: 24px 0;
}
.report-modal {
  width: min(620px, calc(100% - 32px));
  border: 0;
  border-radius: 22px;
  padding: 0;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}
.report-modal::backdrop {
  background: rgba(12, 24, 19, 0.68);
  backdrop-filter: blur(3px);
}
.report-modal-inner {
  padding: 28px;
}
.report-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.report-modal-header h2 {
  margin: 0;
}
.modal-close {
  background: #e7ebe6;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  font-size: 24px;
}
.report-modal .form {
  margin-bottom: 0;
}
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  background: rgba(61, 67, 64, 0.48);
  backdrop-filter: blur(2px);
  cursor: wait;
}
.loading-overlay.active {
  display: grid;
}
.loading-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border-radius: 16px;
  padding: 18px 22px;
  font-weight: 750;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}
.toast-region {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 12000;
  width: min(440px, calc(100% - 32px));
  transform: translate(-50%, -50%);
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.toast-top-layer {
  right: auto;
  bottom: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.toast {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 15px;
  padding: 15px 18px;
  background: rgba(20, 35, 29, 0.88);
  color: white;
  text-align: center;
  font-weight: 720;
  line-height: 1.4;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  cursor: pointer;
  animation: toast-in 0.2s ease-out;
}
.toast.success {
  background: rgba(23, 107, 77, 0.9);
}
.toast.warning {
  background: rgba(133, 91, 12, 0.9);
}
.toast.error {
  background: rgba(145, 45, 45, 0.92);
}
.toast.leaving {
  animation: toast-out 0.2s ease-in forwards;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
}
.spinner {
  width: 30px;
  height: 30px;
  border: 4px solid #ced4cf;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.notice {
  padding: 14px;
  border-radius: 10px;
  background: #e6f2e9;
}
.error {
  background: #f5deda;
}
.address-results {
  margin-top: 15px;
}
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  margin-top: 64px;
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
  line-height: 1.45;
}
footer p {
  margin: 0;
}
.footer-brand {
  color: var(--ink);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.025em;
}
.footer-brand span {
  color: var(--green);
}
.footer-note {
  max-width: 620px;
  padding: 9px 16px;
  border-radius: 10px;
  background: rgb(255 253 247 / 65%);
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--green);
  font-weight: 700;
  transition: color 0.15s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}
.footer-separator {
  color: #aab3ad;
}
.footer-copyright {
  width: min(520px, 100%);
  padding-top: 10px;
  border-top: 1px solid rgb(217 221 212 / 75%);
  color: #7b857f;
  font-size: 12px;
}
@media (max-width: 650px) {
  header,
  main,
  footer {
    padding-right: 12px;
    padding-left: 12px;
  }
  header p {
    display: none;
  }
  .card {
    grid-template-columns: 1fr;
  }
  .score {
    text-align: left;
  }
  .toolbar {
    display: block;
  }
  .hero {
    border-radius: 18px;
    padding: 24px 18px;
  }
  .primary-address-search {
    padding: 14px;
  }
  .search {
    grid-template-columns: 1fr 48px;
  }
  .search #searchBtn {
    grid-column: 1/-1;
  }
  footer {
    display: flex;
    gap: 10px;
    margin-top: 44px;
  }
  .footer-separator {
    display: none;
  }
  .footer-links {
    flex-direction: column;
    gap: 6px;
  }
}
