@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Osnovne boje */
  --bg-dark: #1F2432;
  --primary-orange: #CF9C24;
  --gold-border: #CF9C24;
  --bg-page: #F1F5F9;
  --bg-white: #ffffff;

  /* Siva polja i avatari */
  --input-grey: #D4D4CE;
  --input-border: #B5B5AE;

  /* Tipografija */
  --text-dark: #1F2432;
  --text-white: #ffffff;
  --font-main: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background-color: var(--bg-dark);
  padding: 16px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--gold-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s ease;
}

.header-brand:hover {
  opacity: 0.9;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.brand-title {
  font-family: var(--font-main);
  color: #ffffff;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.brand-title .brand-tld {
  color: var(--primary-orange);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  font-family: var(--font-main);
  color: #c8d0db;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--primary-orange);
  background-color: rgba(207, 156, 36, 0.1);
}

.nav-link.active {
  color: var(--primary-orange);
  background-color: rgba(207, 156, 36, 0.15);
  font-weight: 600;
}

/* Dugme hamburger menija za mobilne telefone */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}


/* ==========================================================================
   FULL-SCREEN MOBILE MENU OVERLAY (MODERAN PREMIJUM DIZAJN)
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg-dark);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* Gornji deo: centriran logo sa naslovom i zlatno X dugme desno */
.mobile-menu-top {
  position: relative;
  width: 100%;
  padding: 24px 20px 20px 20px;
  border-bottom: 1.5px solid var(--primary-orange);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.mobile-menu-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(207, 156, 36, 0.4);
  color: var(--primary-orange);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.mobile-menu-close-btn:hover {
  background-color: rgba(207, 156, 36, 0.15);
  border-color: var(--primary-orange);
  transform: rotate(90deg) scale(1.08);
}

.mobile-menu-close-btn:active {
  transform: scale(0.95);
}

.mobile-menu-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu-logo-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  border: 2px solid rgba(207, 156, 36, 0.45);
  box-shadow: 0 0 24px rgba(207, 156, 36, 0.28), 0 6px 18px rgba(0, 0, 0, 0.4);
}

.mobile-menu-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-menu-brand-title {
  font-family: var(--font-main);
  color: #ffffff;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.mobile-menu-brand-title .brand-tld {
  color: var(--primary-orange);
}

/* Srednji deo: Glavni linkovi sa ikonicama */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 36px 20px;
  flex: 1;
}

.mobile-nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-main);
  font-size: 21px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.2px;
  text-align: center;
  min-width: 260px;
}

.mobile-nav-icon {
  color: var(--primary-orange);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--primary-orange);
  background-color: rgba(207, 156, 36, 0.12);
  border-color: rgba(207, 156, 36, 0.35);
  box-shadow: 0 4px 20px rgba(207, 156, 36, 0.18);
  transform: translateY(-2px);
}

.mobile-nav-item:hover .mobile-nav-icon,
.mobile-nav-item.active .mobile-nav-icon {
  transform: scale(1.15);
}

/* Fluidna kaskadna ulazna animacija za stavke */
@keyframes menuSlideFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.mobile-menu-overlay.is-open .mobile-menu-top {
  animation: menuSlideFadeIn 0.35s ease forwards;
}

.mobile-menu-overlay.is-open .mobile-nav-item:nth-child(1) {
  animation: menuSlideFadeIn 0.35s 0.07s ease both;
}

.mobile-menu-overlay.is-open .mobile-nav-item:nth-child(2) {
  animation: menuSlideFadeIn 0.35s 0.14s ease both;
}

.mobile-menu-overlay.is-open .mobile-nav-item:nth-child(3) {
  animation: menuSlideFadeIn 0.35s 0.21s ease both;
}

.mobile-menu-overlay.is-open .mobile-menu-bottom {
  animation: menuSlideFadeIn 0.35s 0.28s ease both;
}

/* Donji deo: Pravni linkovi i Disclaimer */
.mobile-menu-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 20px 24px 20px;
  width: 100%;
  box-sizing: border-box;
}

.mobile-menu-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.mobile-legal-link {
  font-family: var(--font-main);
  color: var(--primary-orange);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mobile-legal-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.mobile-contact-link svg {
  opacity: 0.9;
}

.mobile-menu-disclaimer-box {
  border: 1px solid rgba(207, 156, 36, 0.7);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--primary-orange);
  text-align: center;
  max-width: 320px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   HOMEPAGE (POČETNA STRANICA)
   ========================================================================== */
.home-page {
  background-color: var(--bg-dark);
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  width: 100%;
  margin: auto;
}

.home-logo-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-brand-title {
  font-family: var(--font-main);
  color: #ffffff;
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 42px;
  letter-spacing: -0.3px;
}

.home-brand-title .brand-tld {
  color: var(--primary-orange);
}

.home-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.btn-home-gold {
  width: 380px;
  max-width: 90vw;
  height: 52px;
  border-radius: 16px;
  background-color: var(--primary-orange);
  background-image: linear-gradient(135deg, #dfa92c 0%, #CF9C24 100%);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 15.5px;
  font-weight: 600;
  box-shadow: 0 6px 22px rgba(207, 156, 36, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-home-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(207, 156, 36, 0.7);
}

.btn-home-gold:active {
  transform: translateY(0);
}

.btn-home-grey {
  width: 240px;
  max-width: 80vw;
  height: 48px;
  border-radius: 16px;
  background-color: #7E7C73;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}

.btn-home-grey:hover {
  transform: translateY(-2px);
  background-color: #6e6c64;
}

.btn-home-grey:active {
  transform: translateY(0);
}

.btn-home-light {
  width: 170px;
  max-width: 70vw;
  height: 42px;
  border-radius: 16px;
  background-color: #e4eaef;
  color: var(--text-dark);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}

.btn-home-light:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
}

.btn-home-light:active {
  transform: translateY(0);
}

.btn-home-light:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
}

/* Dugme Search */
.btn-search-dark {
  background-color: var(--bg-dark);
  color: var(--primary-orange);
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 42px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(31, 36, 50, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-search-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31, 36, 50, 0.35);
  background-color: #272d3e;
}

.btn-search-dark:active {
  transform: translateY(0);
}

/* ==========================================================================
   GLAVNI OMOTAČI STRANICA (#F1F5F9)
   ========================================================================== */
.main-wrapper {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 100px;
  padding: 40px 24px 70px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* 1. Proveri majstora - automatski vertikalno centrirano bez guranja drugih stranica */
.wrapper-proveri-majstora {
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 20px 24px 40px 24px;
}

.wrapper-proveri-majstora .check-page-container {
  margin: auto;
}

/* 2. Pronađi majstora (početni ekran pretrage) - vertikalno centrirano */
.wrapper-pronadji-majstora {
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 20px 24px 40px 24px;
}

.wrapper-pronadji-majstora .find-initial-container {
  margin: auto;
}

/* 3. Pronađi majstora (rezultati) - normalan vrh sa skrolovanjem */
.wrapper-rezultati-pretrage {
  justify-content: flex-start;
  padding-top: 36px;
  padding-bottom: 70px;
}

/* 4. Ostavi recenziju - blago umereniji razmaci za prirodno uklapanje u ekran */
.wrapper-ostavi-recenziju {
  justify-content: flex-start;
  padding-top: 24px;
  padding-bottom: 40px;
  margin: 0 auto;
}

/* 5. Profil majstora */
.wrapper-profil-majstora {
  justify-content: flex-start;
  padding-top: 36px;
  padding-bottom: 70px;
}

/* ==========================================================================
   UPIŠI RECENZIJU
   ========================================================================== */
.review-page-container {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.review-page-heading {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 18px;
  text-align: left;
  letter-spacing: -0.3px;
}

.review-gold-box {
  border: 1.5px solid var(--gold-border);
  border-radius: 16px;
  background-color: var(--bg-white);
  padding: 26px 36px;
  width: 100%;
  box-shadow: 0 10px 25px -4px rgba(31, 36, 50, 0.05), 0 2px 6px -1px rgba(31, 36, 50, 0.02);
  box-sizing: border-box;
}

.gold-boxed-container {
  border: 1.5px solid var(--gold-border);
  border-radius: 16px;
  background-color: var(--bg-white);
  padding: 34px 42px;
  width: 100%;
  box-shadow: 0 10px 25px -4px rgba(31, 36, 50, 0.05), 0 2px 6px -1px rgba(31, 36, 50, 0.02);
  box-sizing: border-box;
}

.review-info-notice {
  border: 1.5px solid var(--gold-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #334155;
  margin-bottom: 18px;
  line-height: 1.45;
  background: #fffdf8;
}

.review-form-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 16px;
  width: 100%;
}

.review-form-label {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  width: 175px;
  flex-shrink: 0;
}

.pill-input {
  flex: 1;
  width: 100%;
  max-width: 100%;
  background-color: var(--input-grey);
  border: 1.5px solid var(--input-border);
  border-radius: 5px;
  height: 38px;
  padding: 4px 18px;
  font-family: var(--font-main);
  font-size: 13.5px;
  color: var(--text-dark);
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pill-input:focus {
  background-color: #ffffff;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(207, 156, 36, 0.2);
}

/* Prefiks +381 za polja telefona */
.phone-prefix-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.phone-prefix-badge {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.3px;
  pointer-events: none;
  z-index: 2;
  user-select: none;
  padding-right: 8px;
  border-right: 1.5px solid #cbd5e1;
  height: 18px;
  line-height: 18px;
}

.phone-pill-input {
  padding-left: 62px !important;
}

.pill-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231F2432' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
  padding-right: 38px;
}

/* ==========================================================================
   CUSTOM DROPDOWN (Spuštanje od input boxa na dole)
   ========================================================================== */
.custom-dropdown {
  position: relative;
  width: 290px;
  max-width: 100%;
  text-align: left;
}

.custom-dropdown-filter {
  width: 210px;
}

.custom-dropdown-control {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.custom-dropdown-input {
  width: 100%;
  cursor: pointer;
  padding-right: 38px !important;
  background-color: #ffffff;
  user-select: none;
}

.custom-dropdown-input:focus {
  background-color: #ffffff;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(207, 156, 36, 0.2);
}

.custom-dropdown-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-dark);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-dropdown.is-open .custom-dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: var(--primary-orange);
}

.custom-dropdown.is-open .custom-dropdown-input {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(207, 156, 36, 0.2);
}

/* Padajući meni koji se spušta direktno od input boxa na dole */
.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid var(--gold-border);
  border-radius: 8px;
  box-shadow: 0 10px 25px -4px rgba(31, 36, 50, 0.18), 0 4px 10px rgba(0, 0, 0, 0.05);
  max-height: 220px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
  padding: 4px 0;
}

.custom-dropdown.is-open .custom-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Scrollbar za listu opcija */
.custom-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.custom-dropdown-menu::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb {
  background: #cf9c24;
  border-radius: 4px;
}

.custom-dropdown-item {
  padding: 9px 16px;
  font-family: var(--font-main);
  font-size: 13.5px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  user-select: none;
}

.custom-dropdown-item:hover {
  background-color: rgba(207, 156, 36, 0.12);
  color: #1F2432;
}

.custom-dropdown-item.is-selected {
  background-color: rgba(207, 156, 36, 0.18);
  font-weight: 600;
  color: #9A7214;
}

.custom-dropdown-item.is-hidden {
  display: none !important;
}

.custom-dropdown-no-results {
  padding: 12px 16px;
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  text-align: center;
}

.review-rating-block {
  text-align: center;
  margin: 16px 0 18px 0;
}

.review-rating-label {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.review-interactive-stars {
  display: inline-flex;
  gap: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.star-interactive-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px;
  transition: transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.star-interactive-btn:hover {
  transform: scale(1.15);
}

.review-comment-block {
  margin-bottom: 16px;
  width: 100%;
}

.review-comment-label {
  display: block;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.review-textarea {
  width: 100%;
  height: 165px;
  background-color: var(--input-grey);
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  resize: vertical;
  line-height: 1.5;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-textarea:focus {
  background-color: #ffffff;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(207, 156, 36, 0.2);
}

.review-terms-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  color: #475569;
}

.review-terms-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-orange);
  cursor: pointer;
}

.review-terms-row a {
  text-decoration: underline;
  color: var(--primary-orange);
  font-weight: 500;
}

/* ==========================================================================
   PRONAĐI MAJSTORA
   ========================================================================== */
.find-initial-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 520px;
  width: 100%;
  margin: 16px auto 0 auto;
  text-align: center;
}

.find-initial-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(31, 36, 50, 0.08);
  border: 1px solid rgba(207, 156, 36, 0.25);
}

.find-initial-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.find-field-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.find-field-label {
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.input-with-search-icon {
  position: relative;
  width: 290px;
  max-width: 100%;
}

.input-with-search-icon .pill-input {
  width: 100%;
  padding-right: 36px;
}

.input-with-search-icon .search-icon-img {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  opacity: 0.6;
  pointer-events: none;
}

.results-page-container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.results-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
}

.results-craft-title {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.results-top-filters {
  display: flex;
  align-items: center;
  gap: 16px;
}

.results-filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.results-filter-item label {
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
}

.results-filter-item .input-with-search-icon {
  width: 165px;
}

.results-gold-container {
  border: 1.5px solid var(--gold-border);
  border-radius: 16px;
  background-color: var(--bg-white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 10px 25px -4px rgba(31, 36, 50, 0.05);
}

.craftsman-card {
  border: 1.5px solid var(--gold-border);
  border-radius: 14px;
  background-color: var(--bg-white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 4px 14px rgba(31, 36, 50, 0.04);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.craftsman-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(207, 156, 36, 0.2);
}

.craftsman-avatar-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--input-grey);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.trade-icon-svg {
  display: block;
  object-fit: contain;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.craftsman-card:hover .craftsman-avatar-circle .trade-icon-svg {
  transform: scale(1.1);
}

.profile-avatar-big .trade-icon-svg {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-avatar-big:hover .trade-icon-svg {
  transform: scale(1.08);
}

.craftsman-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  gap: 6px;
}

.craftsman-card-title {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.craftsman-card-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-main);
  font-size: 13.5px;
  color: #64748b;
  font-weight: 500;
  margin-top: -2px;
}

.craftsman-card-location svg {
  color: var(--primary-orange);
  flex-shrink: 0;
}

.craftsman-card-reviews {
  font-family: var(--font-main);
  font-size: 13.5px;
  color: #475569;
  font-weight: 500;
}

/* ==========================================================================
   PROVERI MAJSTORA
   ========================================================================== */
.check-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 520px;
  width: 100%;
  margin: 24px auto 30px auto;
  text-align: center;
}

.check-phone-illustration {
  width: 180px;
  height: 100px;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.check-phone-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.check-phone-illustration:hover {
  transform: scale(1.04);
}

.check-input-wrap {
  width: 360px;
  max-width: 100%;
  margin: 0 auto 16px auto;
  display: flex;
  justify-content: center;
}

.check-caption {
  font-family: var(--font-main);
  font-size: 14px;
  color: #475569;
  margin-bottom: 22px;
  text-align: center;
  line-height: 1.5;
}

/* ==========================================================================
   PROFIL MAJSTORA
   ========================================================================== */
.profile-container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-avatar-big {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--input-grey);
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(31, 36, 50, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-title {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.profile-location-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 12px;
}

.profile-location-row svg {
  color: var(--primary-orange);
  flex-shrink: 0;
}

.profile-reviews-num {
  font-family: var(--font-main);
  font-size: 14px;
  color: #475569;
  font-weight: 500;
  margin-top: 6px;
  margin-bottom: 12px;
}

.profile-phone-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 26px;
  padding: 8px 20px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(207, 156, 36, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.profile-phone-row a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.profile-phone-row a:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}

.profile-phone-icon {
  width: 18px;
  height: 18px;
}

.profile-gold-box {
  width: 100%;
  border: 1.5px solid var(--gold-border);
  border-radius: 16px;
  background-color: var(--bg-white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 10px 25px -4px rgba(31, 36, 50, 0.05);
  box-sizing: border-box;
}

.review-display-card {
  border: 1.5px solid var(--gold-border);
  border-radius: 12px;
  background-color: var(--bg-white);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(31, 36, 50, 0.03);
}

.review-display-stars {
  display: flex;
  justify-content: center;
}

.review-display-textbox {
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 14px 18px;
  background-color: #F8FAFC;
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dark);
  min-height: 70px;
}

.review-display-date {
  align-self: flex-end;
  font-family: var(--font-main);
  font-size: 12.5px;
  color: #64748B;
  font-weight: 500;
}

/* Paginacija recenzija na profilu majstora (posle 5. recenzije) */
.reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 6px 0;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background-color: var(--input-grey);
  color: var(--text-dark);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--input-border);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.pagination-btn:hover {
  background-color: var(--bg-dark);
  color: #ffffff;
  border-color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(31, 36, 50, 0.2);
}

.pagination-btn.active {
  background-color: var(--bg-dark);
  color: var(--primary-orange);
  border-color: var(--bg-dark);
  box-shadow: 0 4px 12px rgba(31, 36, 50, 0.25);
  pointer-events: none;
}

.pagination-btn.pagination-arrow {
  font-size: 16px;
  font-weight: 700;
}

/* ==========================================================================
   STARS
   ========================================================================== */
.star-rating {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.star-svg {
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   FOOTER (DESKTOP)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--primary-orange);
  border-top: 1.5px solid var(--gold-border);
  margin-top: auto;
  width: 100%;
}

.footer-inner {
  width: 100%;
  padding: 34px 80px 26px 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-self: start;
}

.footer-link {
  font-family: var(--font-main);
  color: var(--primary-orange);
  font-size: 13.5px;
  font-weight: 400;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.footer-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-self: center;
}

.footer-logo-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.footer-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand-name {
  font-family: var(--font-main);
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.footer-brand-name .brand-tld {
  color: var(--primary-orange);
}

.footer-right {
  display: flex;
  justify-self: end;
  justify-content: flex-end;
}

.footer-disclaimer-card {
  border: 1.5px solid var(--gold-border);
  border-radius: 2px;
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--primary-orange);
  text-align: justify;
  max-width: 440px;
  width: 100%;
}

.footer-bottom-strip {
  border-top: 1.5px solid var(--gold-border);
  text-align: center;
  padding: 12px 20px;
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--primary-orange);
  text-transform: uppercase;
  width: 100%;
}

/* ==========================================================================
   RESPONSIVNOST ZA MOBILNE TELEFONE (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Sprečavanje automatskog zumiranja na iOS Safari pri fokusu na polja */
  input[type="text"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Header */
  .site-header {
    padding: 12px 18px;
  }

  .site-nav {
    display: none;
    /* Sakrij desktop navigaciju */
  }

  .mobile-menu-toggle {
    display: block;
    /* Prikaži hamburger dugme */
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  /* Glavni omotači */
  .main-wrapper {
    padding: 24px 14px 60px 14px;
    margin: 0 auto 100px;
  }

  .wrapper-proveri-majstora,
  .wrapper-pronadji-majstora {
    min-height: calc(100dvh - 160px);
    padding: 20px 14px 40px 14px;
  }

  .wrapper-ostavi-recenziju,
  .wrapper-rezultati-pretrage,
  .wrapper-profil-majstora {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 50px;
  }



  .home-page {
    padding: 24px 16px;
    position: relative;
  }

  .home-logo-wrap {
    width: 105px;
    height: 105px;
    margin-bottom: 18px;
  }

  .home-brand-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .btn-home-gold {
    width: 100%;
    max-width: 320px;
    height: 48px;
    font-size: 14.5px;
  }

  .btn-home-grey {
    width: 100%;
    max-width: 230px;
    height: 44px;
    font-size: 13.5px;
  }

  .btn-home-light {
    width: 100%;
    max-width: 165px;
    height: 38px;
    font-size: 12px;
  }

  /* Upiši recenziju */
  .review-page-heading {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .review-gold-box,
  .gold-boxed-container,
  .results-gold-container,
  .profile-gold-box {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .review-info-notice {
    font-size: 11.5px;
    padding: 8px 10px;
    margin-bottom: 18px;
  }

  .review-form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 14px;
  }

  .review-form-label {
    width: 100%;
    font-size: 13px;
  }

  .pill-input {
    width: 100%;
    height: 42px;
    font-size: 16px;
    /* Sprečava automatski zoom na iOS Safari */
  }

  .review-interactive-stars {
    gap: 8px;
  }

  .star-interactive-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .star-interactive-btn svg {
    width: 32px;
    height: 32px;
  }

  .review-textarea {
    height: 160px;
    font-size: 14px;
    padding: 10px;
  }

  .review-terms-row {
    font-size: 11.5px;
  }

  /* Pronađi majstora */
  .find-initial-container {
    margin-top: 10px;
  }

  .find-initial-logo {
    width: 90px;
    height: 90px;
    margin-bottom: 16px;
  }

  .input-with-search-icon {
    width: 100%;
    max-width: 280px;
  }

  .results-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
  }

  .results-craft-title {
    font-size: 20px;
  }

  .results-top-filters {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .results-filter-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .results-filter-item .input-with-search-icon,
  .results-filter-item .custom-dropdown-filter {
    width: 68%;
    max-width: 240px;
  }

  .craftsman-card {
    padding: 16px 14px;
    gap: 16px;
  }

  .craftsman-avatar-circle {
    width: 60px;
    height: 60px;
  }

  .craftsman-card-title {
    font-size: 16px;
  }

  /* Proveri majstora */
  .check-page-container {
    margin: 20px auto 30px auto;
    padding: 0 10px;
  }

  .check-phone-illustration {
    width: 150px;
    height: 85px;
    margin-bottom: 18px;
  }

  .check-input-wrap {
    width: 100%;
    max-width: 320px;
  }

  .check-caption {
    font-size: 13px;
    padding: 0 10px;
  }

  /* Profil majstora */
  .profile-container {
    padding: 0 6px;
  }

  .profile-avatar-big {
    width: 105px;
    height: 105px;
    margin-bottom: 10px;
  }

  .profile-title {
    font-size: 20px;
  }

  .profile-phone-row {
    font-size: 14px;
    padding: 6px 16px;
    margin-bottom: 18px;
  }

  .review-display-card {
    padding: 12px 14px;
  }

  .review-display-textbox {
    font-size: 13px;
    padding: 10px 12px;
  }

  /* Footer na mobilnom */
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    padding: 28px 18px 22px 18px;
  }

  .footer-left {
    align-items: center;
    justify-self: center;
    text-align: center;
    gap: 10px;
  }

  .footer-right {
    justify-content: center;
    justify-self: center;
    width: 100%;
  }

  .footer-disclaimer-card {
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
    font-size: 11px;
    padding: 10px 14px;
  }
}

/* ==========================================================================
   SISTEM ZA PRIJAVU NEPRAVILNOSTI (REPORTS & MODAL)
   ========================================================================== */
.btn-report-profil {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(31, 36, 50, 0.25);
  color: #555555;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-report-profil:hover {
  background: #ffffff;
  color: #dc2626;
  border-color: #fca5a5;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.12);
}

.btn-report-komentar {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: none;
  color: #777777;
  font-family: var(--font-main);
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-report-komentar:hover {
  color: #dc2626;
  background-color: rgba(239, 68, 68, 0.08);
}

/* Modal za prijavu */
.report-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.report-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 14px;
  padding: 24px 22px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from {
    transform: translateY(20px) scale(0.97);
  }

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

.report-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background-color 0.15s;
}

.report-modal-close:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.report-modal-header {
  text-align: center;
  margin-bottom: 16px;
}

.report-modal-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.report-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.report-modal-header p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
}

.report-target-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--primary-orange);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #334155;
  margin-bottom: 16px;
  line-height: 1.45;
  word-break: break-word;
}

.report-form-group {
  margin-bottom: 14px;
  text-align: left;
}

.report-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 5px;
}

.report-form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 13px;
  color: #1e293b;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.report-form-input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(207, 156, 36, 0.18);
}

.report-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.btn-report-cancel {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-report-cancel:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.btn-report-submit {
  background: var(--primary-orange);
  border: 1.5px solid #1F2432;
  color: #1F2432;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-report-submit:hover {
  background: #b88517;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(207, 156, 36, 0.3);
}

.btn-report-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   BREADCRUMB NAVIGACIJA (SEO & UX)
   ========================================================================== */
.breadcrumb-nav {
  width: 100%;
  background: transparent;
  padding: 12px 20px;
  box-sizing: border-box;
}

.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 6px;
  font-size: 12.5px;
  color: #64748b;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.breadcrumb-link:hover {
  color: var(--primary-orange);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #94a3b8;
  font-size: 14px;
  user-select: none;
  margin: 0 2px;
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 700;
}

/* ==========================================================================
   GOOGLE "ADD TO SOURCES" DUGME U FOOTERU
   ========================================================================== */
.google-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1F2432;
  border: 1px solid #d4d4ce;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  margin-top: 6px;
  margin-bottom: 4px;
  width: fit-content;
}

.google-source-btn:hover {
  background: #f8fafc;
  border-color: #4285F4;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
  transform: translateY(-1px);
}

.google-source-btn svg {
  flex-shrink: 0;
}

/* ==========================================================================
   WELCOME ONBOARDING TUTORIAL MODAL
   ========================================================================== */
.welcome-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.welcome-modal-overlay.is-visible {
  opacity: 1;
}

.welcome-modal-card {
  position: relative;
  background: #ffffff;
  border: 2px solid var(--gold-border);
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px 30px;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(207, 156, 36, 0.2);
  text-align: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.welcome-modal-overlay.is-visible .welcome-modal-card {
  transform: scale(1) translateY(0);
}

.welcome-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.welcome-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.welcome-modal-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(207, 156, 36, 0.14);
  color: #9A7214;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.welcome-modal-title {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0 0 12px 0;
  letter-spacing: -0.3px;
}

.welcome-modal-intro {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 0 auto 22px auto;
  max-width: 500px;
}

.welcome-modal-intro strong {
  color: var(--text-dark);
}

.welcome-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin-bottom: 24px;
}

.welcome-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.welcome-step-item:hover {
  border-color: rgba(207, 156, 36, 0.45);
  background: #ffffff;
}

.welcome-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(207, 156, 36, 0.16);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.welcome-step-text h3 {
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 3px 0;
}

.welcome-step-text p {
  font-size: 13px;
  color: #57534e;
  line-height: 1.45;
  margin: 0;
}

.welcome-modal-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.welcome-btn-cta {
  width: 100% !important;
  max-width: 320px;
  height: 44px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(207, 156, 36, 0.3) !important;
}

.welcome-btn-dismiss {
  background: none;
  border: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.2s ease;
}

.welcome-btn-dismiss:hover {
  color: var(--text-dark);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .welcome-modal-card {
    padding: 24px 16px;
    border-radius: 14px;
  }

  .welcome-modal-title {
    font-size: 18.5px;
  }

  .welcome-modal-intro {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .welcome-step-item {
    gap: 10px;
    padding: 10px 12px;
  }

  .welcome-step-icon {
    width: 34px;
    height: 34px;
  }

  .welcome-step-text h3 {
    font-size: 13.5px;
  }

  .welcome-step-text p {
    font-size: 12px;
  }
}