/* =====================================================
   my.porta.link — style.css
   App shell: navy sidebar + svijetli sadrzaj
   Brand: #1B3A6B — Plus Jakarta Sans (sve)
   ===================================================== */

:root {
  --navy:        #1B3A6B;
  --navy-deep:   #152e54;
  --navy-dark:   #0F0F0E;
  --navy-line:   #2D5F9F;
  --ink:         #1A1917;
  --paper:       #F8F7F3;
  --paper-2:     #EFEDE7;
  --card:        #FEFEFC;
  --muted:       rgba(26, 25, 23, 0.62);
  --faint:       rgba(26, 25, 23, 0.40);
  --line:        rgba(26, 25, 23, 0.08);
  --accent:      #2D5F9F;
  --blue-soft:   #AEC3E8;
  --blue-glow:   rgb(150,180,235);
  --green:       #3A7D44;
  --green-bg:    #e8f1e9;
  --amber:       #9a6a1e;
  --amber-bg:    #f4ecdd;
  --err-bg:      #f6e4e4;
  --err-tx:      #C24343;
}

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

html, body { height: 100%; }

.pl-body {
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* ===================== SHELL ===================== */

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

/* ---------- SIDEBAR ---------- */

.pl-sidebar {
  width: 272px;
  flex-shrink: 0;
  background: linear-gradient(168deg, #244a86 0%, var(--navy) 38%, #14274a 72%, var(--navy-dark) 100%);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.pl-brand { padding: 26px 22px 18px; }

.pl-brand-mark { display: inline-flex; align-items: center; }
.pl-brand-mark svg { height: 26px; width: auto; display: block; }

.pl-nav {
  flex: 1;
  padding: 8px 14px;
  overflow-y: auto;
}

.pl-nav-group {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: rgba(255,255,255,0.4);
  padding: 18px 12px 8px;
}

.pl-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin-bottom: 2px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 450;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  position: relative;
  transition: background .14s ease, color .14s ease;
}
.pl-nav-item:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.pl-nav-item.active {
  background: rgba(255,255,255,0.11);
  color: #fff;
  font-weight: 600;
}
.pl-nav-item.active::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 2px;
  background: #6fa8e0;
}
.pl-nav-item.active .pl-nav-ico { opacity: 1; }

.pl-nav-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  opacity: 0.85;
}
.pl-nav-ico svg { width: 18px; height: 18px; }

.pl-side-foot {
  padding: 16px 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.pl-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  margin-bottom: 8px;
  border-radius: 11px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: background .14s ease, border-color .14s ease;
}
.pl-user:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.14); }
.pl-user.active { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.16); }
.pl-user-go { margin-left: auto; flex-shrink: 0; color: rgba(255,255,255,0.4); display: flex; }
.pl-user-go svg { width: 16px; height: 16px; }

.pl-user-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pl-user-meta { display: flex; flex-direction: column; min-width: 0; }

.pl-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-user-role {
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
}

.pl-logout {
  display: block;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background .14s ease, color .14s ease;
}
.pl-logout:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ---------- MAIN ---------- */

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

.pl-header {
  padding: 30px 40px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.pl-h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.4px;
}

.pl-h1-sub {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--muted);
}

.pl-content {
  padding: 28px 40px 48px;
  flex: 1;
}
.pl-content-loading {
  pointer-events: none;
  position: relative;
}

/* ===================== ALERT ===================== */

.pl-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  margin-bottom: 22px;
}
.pl-alert.ok  { background: var(--green-bg); color: var(--green); }
.pl-alert.err { background: var(--err-bg);   color: var(--err-tx); }

/* ===================== PICKER ===================== */

.pl-picker {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 24px;
  max-width: 320px;
}
.pl-picker label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.pl-picker select {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 13px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  cursor: pointer;
}
.pl-picker select:focus { outline: none; border-color: var(--navy); }

/* ===================== EMPTY ===================== */

.pl-empty {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 48px 28px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ===================== STATS ===================== */

.pl-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.pl-stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pl-stat-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.pl-stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 27px;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.pl-stat-note {
  font-size: 12px;
  color: var(--faint);
}
.pl-stat-note.pl-green { color: var(--green); }
.pl-stat-note.pl-amber { color: var(--amber); }

/* ===================== CARD ===================== */

.pl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.pl-card-head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.pl-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}

.pl-card-sub {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ===================== TABLE ===================== */

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

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

.pl-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--faint);
  padding: 13px 24px;
  border-bottom: 1px solid var(--line);
  background: #faf9f6;
}

.pl-table tbody td {
  padding: 14px 24px;
  border-bottom: 1px solid #f3f1ea;
  vertical-align: middle;
}
.pl-table tbody tr:last-child td { border-bottom: none; }
.pl-table tbody tr:hover { background: #faf9f6; }

/* tablica na mobitelu: puni rub + horizontalni scroll (kao kalendar) */
@media (max-width: 880px) {
  .pl-card:has(.pl-table-wrap) {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
  .pl-card:has(.pl-table-wrap) .pl-card-head {
    padding-left: 20px;
    padding-right: 20px;
  }
  .pl-table { min-width: 540px; }
  .pl-table th,
  .pl-table td { white-space: nowrap; }
  .pl-table thead th:first-child,
  .pl-table tbody td:first-child { padding-left: 20px; }
  .pl-table thead th:last-child,
  .pl-table tbody td:last-child { padding-right: 20px; }
}

.pl-dim    { color: var(--muted); }
.pl-strong { font-weight: 600; color: var(--ink); }

.pl-action-cell { text-align: right; }

/* ===================== TAG ===================== */

.pl-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  white-space: nowrap;
}
.pl-tag.ok   { background: var(--green-bg); color: var(--green); }
.pl-tag.wait { background: var(--amber-bg); color: var(--amber); }

/* ===================== BUTTON ===================== */

.pl-btn {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 18px;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  transition: opacity .14s ease, background .14s ease;
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
}
.pl-btn:hover { opacity: 0.88; }
.pl-btn.solid { background: var(--navy); color: #fff; }
.pl-btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--line);
}
.pl-btn.ghost:hover { background: #f3f1ea; opacity: 1; }

.pl-btn-ghost-danger {
  background: transparent;
  color: var(--err-tx);
  border: 1.5px solid rgba(194,67,67,0.3);
  padding: 9px 20px;
}
.pl-btn-ghost-danger:hover { background: var(--err-bg); opacity: 1; }

/* ===================== PORTAL EDITOR ===================== */

.pl-form { max-width: 680px; }

.pl-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 18px;
}

.pl-section-head { margin-bottom: 18px; }

.pl-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}

.pl-section-sub {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
}

.pl-fields { display: flex; flex-direction: column; gap: 15px; }

.pl-row { display: flex; gap: 15px; }
.pl-row .pl-field { flex: 1; }

.pl-field { display: flex; flex-direction: column; }

.pl-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.pl-field input,
.pl-field textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: #faf9f6;
  transition: border-color .14s ease, background .14s ease;
  resize: vertical;
}
.pl-field input:focus,
.pl-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
}
.pl-field input::placeholder,
.pl-field textarea::placeholder { color: #b7b4aa; }

/* ----- Color picker (Brend boja) ----- */
.pl-color { display: flex; align-items: center; gap: 12px; }

/* NE koristimo appearance:none — to ukloni swatch (boju).
   Native swatch ostaje, samo zaobljujemo i povecavamo okvir. */
.pl-field .pl-color input[type="color"] {
  width: 66px;
  height: 46px;
  padding: 4px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.pl-color input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.pl-color input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 8px;
}
.pl-color input[type="color"]::-moz-color-swatch {
  border: none;
  border-radius: 8px;
}
.pl-color-hex {
  font-size: 14px;
  color: #5a6473;
  font-variant-numeric: tabular-nums;
}

.pl-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.pl-save {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--navy);
  border: none;
  border-radius: 9px;
  padding: 12px 26px;
  cursor: pointer;
  transition: background .14s ease;
}
.pl-save:hover { background: var(--navy-deep); }

/* ===================== MANAGERS FORM ===================== */

.pl-mgr-form { max-width: 420px; display: flex; flex-direction: column; }
.pl-mgr-form .pl-field { margin-bottom: 14px; }

/* ===================== BOTTOM TABS (mobitel) ===================== */

.pl-tabs { display: none; }

/* ===================== RESPONSIVE ===================== */

@media (max-width: 880px) {
  /* sidebar van — zamjenjuju ga bottom tabs */
  .pl-sidebar { display: none; }

  .pl-shell { display: block; }

  .pl-main { min-height: 100vh; }

  .pl-header {
    padding: 20px 20px 16px;
  }
  .pl-h1 { font-size: 22px; }

  .pl-content {
    padding: 20px 20px calc(96px + env(safe-area-inset-bottom));
  }

  /* bottom tab bar */
  .pl-tabs {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 100;
    background: #0F0F0E;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  }
  .pl-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 4px 11px;
    text-decoration: none;
    color: rgba(255,255,255,0.4);
    transition: color .14s ease;
  }
  .pl-tab svg {
    width: 25px;
    height: 25px;
    transition: filter .14s ease;
  }
  .pl-tab span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1px;
  }
  .pl-tab:active { color: rgba(255,255,255,0.7); }
  .pl-tab.active {
    color: var(--blue-glow);
  }
  .pl-tab.active span { font-weight: 600; }
  .pl-tab.active svg {
    filter: drop-shadow(0 0 6px rgba(150,180,235,0.55));
  }

}

@media (max-width: 560px) {
  .pl-row { flex-direction: column; }
}

/* ===================== HELLO ===================== */

.pl-hello { margin-bottom: 22px; }
.pl-hello-t {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.3px;
}
.pl-hello-s {
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
  text-transform: capitalize;
}

/* ===================== KPI ===================== */

.pl-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.pl-kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.pl-kpi-top { margin-bottom: 14px; }

.pl-kpi-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
}
.pl-kpi-ico svg { width: 19px; height: 19px; }
.pl-kpi-ico-blue  { background: rgba(45,95,159,0.1);  color: var(--accent); }
.pl-kpi-ico-green { background: var(--green-bg);       color: var(--green); }
.pl-kpi-ico-amber { background: var(--amber-bg);       color: var(--amber); }
.pl-kpi-ico-navy  { background: rgba(27,58,107,0.1);   color: var(--navy); }

.pl-kpi-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 23px;
  color: var(--ink);
  letter-spacing: -0.4px;
  line-height: 1.1;
}
.pl-kpi-label {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ===================== CHART ===================== */

.pl-chart-card { margin-bottom: 18px; }

.pl-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 24px;
  height: 200px;
}
.pl-chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
}
.pl-chart-bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
}
.pl-chart-bar {
  width: 100%;
  background: linear-gradient(180deg, var(--accent), var(--navy));
  border-radius: 5px 5px 0 0;
  min-height: 3px;
  transition: opacity .14s ease;
}
.pl-chart-bar:hover { opacity: 0.8; }
.pl-chart-x {
  font-size: 10px;
  color: var(--faint);
  white-space: nowrap;
}
.pl-chart-empty {
  margin: auto;
  font-size: 13px;
  color: var(--muted);
}

/* ===================== GRID 2 ===================== */

.pl-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ===================== FEED ===================== */

.pl-feed { padding: 8px 0; }
.pl-feed-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
}
.pl-feed-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pl-feed-dot.ok   { background: var(--green); }
.pl-feed-dot.wait { background: var(--amber); }
.pl-feed-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.pl-feed-t {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.pl-feed-s {
  font-size: 12px;
  color: var(--muted);
}
.pl-feed-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.pl-feed-empty {
  padding: 20px 24px;
  font-size: 13px;
  color: var(--muted);
}

.pl-card-foot-link {
  display: block;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.pl-card-foot-link:hover { background: #faf9f6; }

/* ===================== QUICK ACTIONS ===================== */

.pl-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px 24px 24px;
}
.pl-quick-btn {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .14s ease, background .14s ease;
}
.pl-quick-btn:hover {
  border-color: var(--accent);
  background: #faf9f6;
}
.pl-quick-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(45,95,159,0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.pl-quick-ico svg { width: 17px; height: 17px; }
.pl-quick-t {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* ===================== FILTERS / CHIPS ===================== */

.pl-filters {
  display: flex;
  gap: 9px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pl-chip {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 99px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: border-color .14s ease, color .14s ease;
}
.pl-chip.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.pl-chip:disabled { cursor: default; opacity: 0.7; }
.pl-soon-dot {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--amber-bg);
  color: var(--amber);
  padding: 2px 6px;
  border-radius: 20px;
}

/* ===================== SOON BANNER ===================== */

.pl-soon-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(45,95,159,0.07), rgba(27,58,107,0.04));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.pl-soon-banner-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(45,95,159,0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.pl-soon-banner-ico svg { width: 21px; height: 21px; }
.pl-soon-banner-t {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}
.pl-soon-banner-s {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.pl-soon-card { margin-top: 18px; }
.pl-soon-card-in {
  padding: 36px 24px;
  text-align: center;
}
.pl-soon-card-in .pl-soon-banner-ico {
  margin: 0 auto 14px;
}
.pl-soon-card-in .pl-soon-banner-s {
  max-width: 380px;
  margin: 3px auto 0;
}

/* ===================== SERVICES ===================== */

.pl-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pl-svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pl-svc-ico {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(45,95,159,0.09);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.pl-svc-ico svg { width: 22px; height: 22px; }
.pl-svc-t {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}
.pl-svc-s {
  margin-top: 5px;
  margin-bottom: 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}
.pl-svc-card .pl-btn { opacity: 0.6; }

/* ===================== RANK (stats) ===================== */

.pl-rank { padding: 18px 24px 22px; }
.pl-rank-row { margin-bottom: 18px; }
.pl-rank-row:last-child { margin-bottom: 0; }
.pl-rank-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
}
.pl-rank-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.pl-rank-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.pl-rank-track {
  height: 8px;
  background: var(--paper-2);
  border-radius: 99px;
  overflow: hidden;
}
.pl-rank-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--navy));
  border-radius: 99px;
}
.pl-rank-meta {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--faint);
}

/* ===================== PROFIL LINKS ===================== */

.pl-prof-links { padding: 8px 16px 16px; }
.pl-prof-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 8px;
  border-bottom: 1px solid #f3f1ea;
  text-decoration: none;
}
.pl-prof-link:last-child { border-bottom: none; }
.pl-prof-link-t {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.pl-prof-link-arr {
  font-size: 15px;
  color: var(--accent);
}

/* ===================== RESPONSIVE: DASHBOARD ===================== */

@media (max-width: 880px) {
  .pl-kpis { grid-template-columns: 1fr 1fr; }
  .pl-grid-2 { grid-template-columns: 1fr; }
  .pl-svc-grid { grid-template-columns: 1fr 1fr; }
  .pl-hello-t { font-size: 19px; }
  .pl-skeleton { padding: 20px 20px calc(96px + env(safe-area-inset-bottom)); }

}

@media (max-width: 560px) {
  .pl-svc-grid { grid-template-columns: 1fr; }
  .pl-quick { grid-template-columns: 1fr; }
  .pl-chart { padding: 16px 12px; height: 170px; }
  .pl-chart-x { font-size: 9px; }
}

/* ===================== PROFIL FORMA ===================== */

.pl-prof-form { padding: 4px 24px 22px; }
.pl-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.pl-field-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.pl-prof-form-row {
  display: flex;
  gap: 10px;
}
.pl-field-input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .14s ease, background .14s ease;
}
.pl-field-input:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--card);
}
.pl-prof-form-row .pl-btn { flex-shrink: 0; }

/* ===================== SKELETON LOADING ===================== */

.pl-skeleton {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--paper);
  z-index: 5;
  padding: 28px 40px 48px;
}
.pl-sk-box {
  background: linear-gradient(100deg,
    #ECE8DF 40%,
    #f5f2ec 50%,
    #ECE8DF 60%);
  background-size: 200% 100%;
  border-radius: 12px;
  animation: pl-sk-shimmer 1.6s ease-in-out infinite;
}
.pl-sk-line { height: 14px; border-radius: 7px; margin-bottom: 20px; }
.pl-sk-bar  { height: 72px; border-radius: 16px; margin-bottom: 12px; }
@keyframes pl-sk-shimmer {
  0%   { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}

/* ===================== PRAZNA STANJA ===================== */

.pl-empty2 {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 52px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pl-empty2-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--faint);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.pl-empty2-ico svg { width: 27px; height: 27px; }
.pl-empty2-t {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 5px;
}
.pl-empty2-s {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.55;
}

/* ===================== KARTICA ZARADE (Pregled) ===================== */

.pl-earn {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.pl-earn-label { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.pl-earn-total {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.05;
}
.pl-earn-month { font-size: 12px; color: var(--faint); margin-top: 3px; min-height: 15px; }
.pl-earn-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.pl-earn-cell { background: var(--paper-2, #F4F2EC); border-radius: 11px; padding: 12px; }
.pl-earn-cell-lab {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 3px;
}
.pl-earn-ico { display: inline-flex; color: var(--accent); }
.pl-earn-ico svg { width: 15px; height: 15px; }
.pl-earn-cell-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}
.pl-earn-cell-sub { font-size: 11.5px; color: var(--faint); margin-top: 1px; }
.pl-earn[data-loading] .pl-earn-total,
.pl-earn[data-loading] .pl-earn-cell-val { color: var(--faint); }

/* ===================== KALENDAR ===================== */

.pl-cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}
.pl-cal-arrow {
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  color: var(--navy);
  text-decoration: none;
  transition: background .14s ease, border-color .14s ease;
}
.pl-cal-arrow:hover { background: var(--paper-2); border-color: var(--navy); }
.pl-cal-arrow svg { width: 17px; height: 17px; }
.pl-cal-month {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.2px;
  min-width: 170px;
  text-align: center;
}

/* scroll kontejner */
.pl-cal-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* kalendar: nizovi redova, svaki pune širine */
.pl-cal {
  --col:     72px;     /* širina stupca dana */
  --head-h:  46px;     /* visina zaglavlja dana */
  --row-h:   46px;     /* visina reda sobe */
  --bar-h:   32px;     /* visina pilule */
  width: max-content;
  min-width: 100%;
}

/* zaglavlje: dani (puna širina, bez kuta) */
.pl-cal-headrow {
  display: flex;
}
.pl-cal-days {
  display: grid;
  grid-template-columns: repeat(var(--days), var(--col));
  flex-shrink: 0;
}
.pl-cal-day {
  height: var(--head-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-right: 1px solid #f2f0ea;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.pl-cal-day.we { background: #faf9f6; }
.pl-cal-dow {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--faint);
  text-transform: uppercase;
}
.pl-cal-dnum {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.pl-cal-day.today { background: var(--navy); }
.pl-cal-day.today .pl-cal-dow,
.pl-cal-day.today .pl-cal-dnum { color: #fff; }

/* naziv sobe — puna svijetla traka iznad track-a; tekst pinned lijevo */
.pl-cal-roomband {
  width: 100%;
  height: 30px;
  background: #F1EEE8;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.pl-cal-roomband span {
  position: sticky;
  left: 0;
  padding: 0 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--navy);
  white-space: nowrap;
}

/* traka dana — grid ćelija + apsolutno pozicionirane pilule */
.pl-cal-track {
  flex-shrink: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--days), var(--col));
  height: var(--row-h);
  border-bottom: 1px solid #f2f0ea;
}
.pl-cal-track:last-child { border-bottom: none; }
.pl-cal-cell {
  border-right: 1px solid #f2f0ea;
}
.pl-cal-cell.we { background: #faf9f6; }
.pl-cal-cell.today { background: rgba(27,58,107,0.05); }

/* pilula — pozicija po danu (--start/--span) */
.pl-cal-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: var(--bar-h);
  left: calc((var(--start) - 1) * var(--col) + var(--col) / 2 + 3px);
  width: calc((var(--span) - 1) * var(--col) - 6px);
  min-width: 60px;
  background: var(--navy);
  border: none;
  border-radius: 99px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 0 4px 0 11px;
  overflow: hidden;
  transition: filter .14s ease;
  z-index: 1;
}
.pl-cal-bar:hover { filter: brightness(1.12); }
.pl-cal-bar:active { filter: brightness(0.95); }

.pl-cal-bar.ch-airbnb  { background: #E0457B; }
.pl-cal-bar.ch-booking { background: #2E6FBF; }
.pl-cal-bar.ch-expedia { background: #F0A020; }
.pl-cal-bar.ch-vrbo    { background: #6E59C7; }
.pl-cal-bar.ch-direct  { background: #2E8B57; }
.pl-cal-bar.ch-website { background: #2E8B57; }
.pl-cal-bar.ch-other   { background: #5F5E5A; }

.pl-cal-bar-txt {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* zvono — signal da gost ima nešto s portala */
.pl-cal-bar-bell {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-cal-bar-bell svg { width: 14px; height: 14px; }
.pl-cal-bar.ch-airbnb  .pl-cal-bar-bell { color: #E0457B; }
.pl-cal-bar.ch-booking .pl-cal-bar-bell { color: #2E6FBF; }
.pl-cal-bar.ch-expedia .pl-cal-bar-bell { color: #F0A020; }
.pl-cal-bar.ch-vrbo    .pl-cal-bar-bell { color: #6E59C7; }
.pl-cal-bar.ch-direct  .pl-cal-bar-bell { color: #2E8B57; }
.pl-cal-bar.ch-website .pl-cal-bar-bell { color: #2E8B57; }
.pl-cal-bar.ch-other   .pl-cal-bar-bell { color: #5F5E5A; }

/* mini brojčić — gore desno, kao notifikacija */
.pl-cal-bar-num {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 13px;
  height: 13px;
  border-radius: 99px;
  background: currentColor;
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
}
.pl-cal-bar.ch-airbnb  .pl-cal-bar-num { background: #E0457B; }
.pl-cal-bar.ch-booking .pl-cal-bar-num { background: #2E6FBF; }
.pl-cal-bar.ch-expedia .pl-cal-bar-num { background: #F0A020; }
.pl-cal-bar.ch-vrbo    .pl-cal-bar-num { background: #6E59C7; }
.pl-cal-bar.ch-direct  .pl-cal-bar-num { background: #2E8B57; }
.pl-cal-bar.ch-website .pl-cal-bar-num { background: #2E8B57; }
.pl-cal-bar.ch-other   .pl-cal-bar-num { background: #5F5E5A; }

.pl-cal-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin-top: 16px;
}
.pl-cal-leg {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.pl-cal-leg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===================== KLIKABILNI RED ===================== */

.pl-feed-click {
  cursor: pointer;
  transition: background .12s ease;
}
.pl-feed-click:hover { background: #faf9f6; }
.pl-feed-arr {
  font-size: 19px;
  color: var(--faint);
  font-weight: 400;
  margin-left: 4px;
}

/* ===================== MODAL ===================== */

.pl-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}
.pl-modal.open { display: flex; }

.pl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,15,14,0.5);
  backdrop-filter: blur(3px);
}

/* full-screen slide-up sheet */
.pl-modal-card {
  position: relative;
  background: var(--card);
  border-radius: 0;
  width: 100%;
  max-width: 520px;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.28);
  animation: pl-sheet-up .3s cubic-bezier(.16,1,.3,1);
}
@keyframes pl-sheet-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* desktop: centrirani visoki sheet sa zaobljenjem */
@media (min-width: 640px) {
  .pl-modal { align-items: center; padding: 24px; }
  .pl-modal-card {
    height: auto;
    max-height: 92vh;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.34);
    animation: pl-modal-pop .22s cubic-bezier(.16,1,.3,1);
  }
}
@keyframes pl-modal-pop {
  from { opacity: 0; transform: scale(0.96) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.pl-modal-x {
  position: absolute;
  top: max(22px, calc(env(safe-area-inset-top) + 10px));
  right: 18px;
  width: 34px; height: 34px;
  border: none;
  background: var(--paper-2);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--muted);
  z-index: 5;
  transition: background .14s ease;
}
.pl-modal-x:hover { background: #e6e3dc; }
.pl-modal-x svg { width: 17px; height: 17px; }

.pl-modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: max(26px, calc(env(safe-area-inset-top) + 14px)) 22px calc(28px + env(safe-area-inset-bottom)) 22px;
}

/* ── Pregled: toggle Agenda/Kalendar ── */
.pl-ov-toggle { display: flex; gap: 6px; background: var(--paper-2); border-radius: 12px; padding: 4px; margin-bottom: 22px; width: 100%; }
.pl-ov-tab { flex: 1; border: none; background: transparent; border-radius: 9px; padding: 10px; font: inherit; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.pl-ov-tab.active { background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.06); }

/* subtabs Dolasci/Odlasci — underline stil (kao Your details / Room Guide) */
.pl-ag-subtabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.pl-ag-subtab { border: none; background: transparent; padding: 0 0 12px; font: inherit; font-size: 15px; font-weight: 500; color: var(--faint); cursor: pointer; position: relative; margin-bottom: -1px; transition: color .15s; }
.pl-ag-subtab.active { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--ink); }

/* kanal logo (gore desno) */
.pl-ag-corner { flex: none; align-self: flex-start; }
.pl-ag-chlogo { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--paper-2); color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; }
.pl-ag-chlogo-img { overflow: hidden; background: #fff; border: 1px solid var(--line); }

/* vrijeme dolaska (dolje lijevo) — običan tekst, bez okvira */
.pl-ag-time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink); }
.pl-ag-time svg { width: 15px; height: 15px; color: var(--muted); }
.pl-ag-time.muted { color: var(--faint); }
.pl-ag-time.empty { display: inline-block; }
.pl-ag-evlink { margin-left: auto; text-decoration: none; }

/* ── Agenda feed ── */
.pl-agenda-loading { display: grid; place-items: center; padding: 60px 0; }
.pl-ag-dayhead { display: flex; align-items: center; gap: 9px; margin: 28px 0 12px; padding-left: 11px; border-left: 3px solid var(--line); }
.pl-ag-dayhead:first-child { margin-top: 4px; }
.pl-ag-dayname { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.pl-ag-daydate { font-size: 12.5px; color: #c2bcae; }
.pl-ag-dayhead.today { border-left-color: var(--green); }
.pl-ag-dayhead.today .pl-ag-dayname { color: var(--green); }
.pl-ag-dayhead.tmr { border-left-color: var(--navy); }
.pl-ag-dayhead.tmr .pl-ag-dayname { color: var(--navy); }

.pl-ag-row { background: #fff; border: 0.5px solid rgba(0,0,0,.08); border-radius: 16px; padding: 14px; margin-bottom: 10px; cursor: pointer; box-shadow: 0 1px 2px rgba(20,30,55,.05); transition: transform .14s, box-shadow .14s; }
.pl-ag-row:hover { transform: translateY(-1px); box-shadow: 0 3px 12px rgba(20,30,55,.07); }
.pl-ag-row:active { transform: translateY(0); }
.pl-ag-row.dep { background: #FBFAF7; }
.pl-ag-top { display: flex; align-items: center; gap: 11px; }
.pl-ag-ico { width: 40px; height: 40px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.pl-ag-ico.arr { background: #EAF3E5; color: var(--green); }
.pl-ag-ico.dep { background: var(--paper-2); color: #8a8576; }
.pl-ag-ico svg { width: 20px; height: 20px; }
.pl-ag-main { flex: 1; min-width: 0; }
.pl-ag-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); }
.pl-ag-meta { font-size: 12.5px; color: var(--faint); margin-top: 2px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pl-ag-tag { display: inline-flex; align-items: center; gap: 3px; font-weight: 500; color: var(--muted); }
.pl-ag-tag svg { width: 13px; height: 13px; }
.pl-ag-when { text-align: right; flex: none; }
.pl-ag-when b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink); }
.pl-ag-when span { display: block; font-size: 11px; color: var(--faint); }

.pl-ag-bottom { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 0.5px solid rgba(0,0,0,.06); }
.pl-ag-ev { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 99px; }
.pl-ag-evdot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pl-ag-ev.ok { color: var(--green); background: #EAF3E5; }
.pl-ag-ev.wait { color: #9a6a1e; background: #FBF1E0; }
.pl-ag-ev.err { color: #b42318; background: #FBE9E7; }
.pl-ag-ev.none { color: #6B6F76; background: #F1EFE8; }
.pl-ag-act { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--navy); text-decoration: none; }
.pl-ag-chev { margin-left: auto; color: #c2bcae; }
.pl-ag-chev svg { width: 16px; height: 16px; }

.pl-ag-empty { text-align: center; padding: 60px 20px; }
.pl-ag-empty-ico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; background: var(--paper-2); color: var(--faint); display: grid; place-items: center; }
.pl-ag-empty-ico svg { width: 26px; height: 26px; }
.pl-ag-empty-t { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 600; color: var(--ink); }
.pl-ag-empty-s { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ── reservation detail (v2) ── */
.pl-rd-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 2px 0 0; }
.pl-rd-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 23px; font-weight: 500; color: var(--navy); letter-spacing: -0.4px; line-height: 1.15; }
.pl-rd-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; font-size: 12.5px; font-weight: 500; padding: 4px 11px; border-radius: 99px; }
.pl-rd-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pl-rd-status.is-ok   { color: #3A7D44; background: #EAF3E5; }
.pl-rd-status.is-wait { color: #9a6a1e; background: #FBF1E0; }
.pl-rd-status.is-err  { color: #b42318; background: #FBE9E7; }
.pl-rd-status.is-none { color: #6b6f76; background: #F1EFE8; }
/* eVisitor greška (razlog pada iz eVisitora) ispod badge */
.pl-rd-everr { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 11px 13px; background: #FBE9E7; border-radius: 11px; font-size: 13px; line-height: 1.4; color: #8a2c22; }
.pl-rd-everr svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: #b42318; }

.pl-rd-stay { display: flex; align-items: center; border: 0.5px solid rgba(0,0,0,.1); border-radius: 16px; margin-top: 20px; }
.pl-rd-stay-col { flex: 1; padding: 16px 18px; }
.pl-rd-stay-col.end { text-align: right; }
.pl-rd-stay-col span { display: block; font-size: 10.5px; letter-spacing: .07em; color: var(--faint); }
.pl-rd-stay-col b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px; font-weight: 500; color: var(--ink); margin-top: 6px; letter-spacing: -0.3px; }
.pl-rd-stay-mid { display: flex; flex-direction: column; align-items: center; color: #c2bcae; padding: 0 4px; }
.pl-rd-stay-mid em { font-style: normal; font-size: 10.5px; color: var(--faint); margin-bottom: 2px; }
.pl-rd-stay-mid svg { width: 18px; height: 18px; }

.pl-rd-sec { margin-top: 20px; }
.pl-rd-lab { font-size: 11px; letter-spacing: .07em; color: var(--faint); margin-bottom: 10px; }
.pl-rd-card { display: flex; align-items: center; gap: 12px; border: 0.5px solid rgba(0,0,0,.1); border-radius: 14px; padding: 13px 14px; }
.pl-rd-card.hi { background: var(--paper); }
.pl-rd-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; background: #F1EFE8; color: #5f5e5a; display: flex; align-items: center; justify-content: center; }
.pl-rd-ico.nav { background: var(--navy); color: #fff; }
.pl-rd-ico svg { width: 18px; height: 18px; }
.pl-rd-card-tx { min-width: 0; flex: 1; }
.pl-rd-card-tx b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.pl-rd-card-tx span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.pl-rd-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 0.5px solid rgba(0,0,0,.07); }
.pl-rd-row:last-child { border-bottom: none; }
.pl-rd-chk { width: 26px; height: 26px; flex: none; border-radius: 50%; background: #F1EFE8; color: #5f5e5a; display: flex; align-items: center; justify-content: center; }
.pl-rd-chk svg { width: 15px; height: 15px; }
.pl-rd-row-tx { flex: 1; font-size: 14px; color: var(--ink); }
.pl-rd-row-end { font-size: 13px; color: var(--muted); }
.pl-rd-empty { font-size: 13.5px; color: var(--muted); padding: 2px 0; }

/* kanal u headu (umjesto eVisitor statusa) */
.pl-rd-chan { display: inline-flex; align-items: center; gap: 7px; margin-top: 11px; font-size: 13px; font-weight: 500; color: var(--muted); }
.pl-rd-chan-dot { width: 8px; height: 8px; border-radius: 50%; }

/* iznos usluge/aktivnosti/rezervacije (desno u kartici) */
.pl-rd-amt { flex: none; align-self: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink); }

.pl-rd-btn { display: block; text-align: center; margin-top: 22px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 500; font-size: 15px; color: #fff; background: var(--navy); border-radius: 13px; padding: 15px; text-decoration: none; }
.pl-rd-btn:hover { background: var(--navy-deep); }
/* eVisitor status badge ISPOD dugmeta */
.pl-rd-btn-sub { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
.pl-rd-btn-sub-x { font-size: 12.5px; color: var(--faint); }
/* iznos rezervacije (mali red ispod stay stripa) */
.pl-rd-total { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 0 2px; }
.pl-rd-total span { font-size: 13px; color: var(--muted); }
.pl-rd-total b { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); }

.pl-modal-loading {
  display: grid;
  place-items: center;
  padding: 70px 0;
}
.pl-modal-spin {
  width: 28px; height: 28px;
  border: 2.5px solid var(--paper-2);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: pl-lg-spin .7s linear infinite;
}
.pl-rdetail-err {
  padding: 40px 16px;
  text-align: center;
  font-size: 13.5px;
  color: var(--err-tx);
}

/* Airbnb-style detalj rezervacije */
.pl-rdetail-hero {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  padding: 6px 44px 22px 0;
}
.pl-rdetail-avwrap {
  position: relative;
  width: 58px;
  flex: none;
  margin: 0;
}
.pl-rdetail-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 23px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-rdetail-htext {
  flex: 1;
  min-width: 0;
}
/* mali krug kanala zalijepljen na avatar */
.pl-rdetail-chdot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid var(--card);
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-rdetail-chdot.ch-airbnb  { background: #E0457B; }
.pl-rdetail-chdot.ch-booking { background: #2E6FBF; }
.pl-rdetail-chdot.ch-expedia { background: #F0A020; }
.pl-rdetail-chdot.ch-vrbo    { background: #6E59C7; }
.pl-rdetail-chdot.ch-direct  { background: #2E8B57; }
.pl-rdetail-chdot.ch-website { background: #2E8B57; }
.pl-rdetail-chdot.ch-other   { background: #5F5E5A; }

.pl-rdetail-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 23px;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.pl-rdetail-sub {
  margin-top: 8px;
}
.pl-rdetail-chan {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--paper-2);
  color: var(--muted);
}
.pl-rdetail-chan.ch-airbnb  { background: rgba(224,69,123,0.12); color: #993556; }
.pl-rdetail-chan.ch-booking { background: rgba(46,111,191,0.12); color: #1B4A85; }
.pl-rdetail-chan.ch-expedia { background: rgba(240,160,32,0.16); color: #854F0B; }
.pl-rdetail-chan.ch-vrbo    { background: rgba(110,89,199,0.13); color: #3C3489; }
.pl-rdetail-chan.ch-direct  { background: rgba(46,139,87,0.13);  color: #1E5E3A; }
.pl-rdetail-chan.ch-website { background: rgba(46,139,87,0.13);  color: #1E5E3A; }

/* dolazak -> odlazak */
.pl-rdetail-stay {
  display: flex;
  align-items: center;
  background: var(--navy);
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 14px;
}
.pl-rdetail-stay-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.pl-rdetail-stay-col span {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.55);
}
.pl-rdetail-stay-col b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.pl-rdetail-stay-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 14px;
}
.pl-rdetail-nights {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.pl-rdetail-stay-mid svg {
  width: 16px; height: 16px;
  color: rgba(255,255,255,0.5);
}

/* meta red — soba / gosti / trajanje */
.pl-rdetail-meta {
  display: flex;
  background: var(--paper);
  border-radius: 12px;
  padding: 4px 0;
  margin-bottom: 24px;
}
.pl-rdetail-meta-it {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 11px 6px;
  border-right: 1px solid #ece9e2;
}
.pl-rdetail-meta-it:last-child { border-right: none; }
.pl-rdetail-meta-it span {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--faint);
}
.pl-rdetail-meta-it b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* sekcija */
.pl-rdetail-sec {
  margin-bottom: 22px;
}
.pl-rdetail-sec:last-child { margin-bottom: 0; }
.pl-rdetail-h {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.pl-rdetail-empty {
  font-size: 13px;
  color: var(--muted);
  padding: 2px 0;
}
.pl-rdetail-note {
  font-size: 11.5px;
  color: var(--faint);
  margin-top: 8px;
}

/* arrival time istaknut */
.pl-rdetail-arr {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-bg);
  border-radius: 11px;
  padding: 13px 15px;
}
.pl-rdetail-arr svg {
  width: 19px; height: 19px;
  color: var(--green);
  flex-shrink: 0;
}
.pl-rdetail-arr span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green);
}

/* red usluge / aktivnosti */
.pl-rdetail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0eee7;
}
.pl-rdetail-row:last-of-type { border-bottom: none; }
.pl-rdetail-row-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.pl-rdetail-row-ico svg { width: 18px; height: 18px; }
.pl-rdetail-row-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pl-rdetail-row-main b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.pl-rdetail-row-main span {
  font-size: 12px;
  color: var(--muted);
}
.pl-rdetail-row-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pl-rdetail-amt {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.pl-rtag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
}
.pl-rtag.ok   { background: var(--green-bg); color: var(--green); }
.pl-rtag.wait { background: var(--amber-bg); color: var(--amber); }

/* ===================== PROFIL ===================== */

.pl-prof {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 620px;
}

.pl-prof-id {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
}
.pl-prof-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(155deg, #2D5F9F, #1B3A6B);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 24px;
  display: grid;
  place-items: center;
}
.pl-prof-id-meta { display: flex; flex-direction: column; gap: 5px; }
.pl-prof-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
}
.pl-prof-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: rgba(45,95,159,0.1);
  padding: 3px 10px;
  border-radius: 20px;
}

.pl-prof .pl-card-title {
  padding: 20px 24px 0;
}

.pl-prof-rows {
  padding: 8px 24px 20px;
}
.pl-prof-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f1ea;
}
.pl-prof-row:last-child { border-bottom: none; }
.pl-prof-k {
  font-size: 13px;
  color: var(--muted);
}
.pl-prof-v {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.pl-prof-note {
  padding: 6px 24px 16px;
  font-size: 13px;
  color: var(--muted);
}
.pl-prof .pl-btn-ghost-danger {
  margin: 0 24px 22px;
}

/* ===================== PROFIL — KARTICA PODRŠKA ===================== */

.pl-prof-support {
  padding: 4px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pl-prof-support-region {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--faint);
  margin-bottom: 4px;
}
.pl-prof-support-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #f3f1ea;
  text-decoration: none;
}
.pl-prof-support-row:last-child { border-bottom: none; }
.pl-prof-support-k {
  font-size: 13px;
  color: var(--muted);
}
.pl-prof-support-v {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  text-align: right;
}
.pl-prof-support-row:hover .pl-prof-support-v { text-decoration: underline; }

/* ===================== PROFIL — NOVE SEKCIJE (B) ===================== */

/* razmak izmedju kartica kad su izvan .pl-prof flex gapa (form ih omota) */
.pl-prof form { margin: 0; }
.pl-prof-block { margin-bottom: 18px; }
.pl-prof form .pl-prof-block:last-child { margin-bottom: 0; }

/* "Partner od" ispod badgea */
.pl-prof-since {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* polja unutar kartice */
.pl-prof-fields {
  padding: 4px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pl-prof-f {
  display: flex;
  flex-direction: column;
}
.pl-prof-f .pl-field-label { margin-bottom: 3px; }
.pl-prof-f .pl-field-hint { margin-bottom: 10px; }

/* dva polja u redu */
.pl-prof-row2 {
  display: flex;
  gap: 16px;
}
.pl-prof-row2 .pl-prof-f { flex: 1; min-width: 0; }

/* select izgleda kao input */
select.pl-field-input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%231A1917' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* zakljucano polje (disabled, npr. subdomain) */
.pl-field-locked {
  background: var(--paper-2) !important;
  color: var(--muted) !important;
  cursor: not-allowed;
}

/* save red — gumb desno */
.pl-prof-save-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}
.pl-prof-save-row .pl-btn { padding: 11px 24px; font-size: 13px; }

/* napomena uz tijesni gornji razmak */
.pl-prof-note-tight { padding-top: 14px; padding-bottom: 4px; }

/* guest portal blok */
.pl-prof-portal {
  margin: 10px 0 2px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.pl-prof-portal-url {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  word-break: break-all;
}
.pl-prof-portal-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Račun — brzi ulazi (klik-redovi); mobile-only (desktop ima sidebar) */
.pl-mobile-only { display: block; }
@media (min-width: 881px) { .pl-mobile-only { display: none; } }
.pl-prof-navs { margin-bottom: 14px; }
.pl-prof-nav {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
}
.pl-prof-nav:active { background: #faf9f6; }
.pl-prof-nav-accent { border: 1.5px solid var(--navy); }
.pl-prof-nav-ic { color: var(--navy); display: flex; flex-shrink: 0; }
.pl-prof-nav-ic svg { width: 21px; height: 21px; }
.pl-prof-nav-tx { flex: 1; min-width: 0; }
.pl-prof-nav-tx b { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.pl-prof-nav-tx small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pl-prof-nav-arr { color: var(--faint); font-size: 18px; flex-shrink: 0; }

/* Sigurnost — accordion unutar Računa */
.pl-acc-toggle { width: 100%; cursor: pointer; font-family: inherit; }
.pl-acc-chev { color: var(--faint); display: flex; flex-shrink: 0; transition: transform .15s ease; }
.pl-acc-chev svg { width: 18px; height: 18px; }
.pl-acc.open .pl-acc-chev { transform: rotate(180deg); }
.pl-acc-panel { display: none; padding: 2px 2px 0; }
.pl-acc.open .pl-acc-panel { display: block; }

/* Podrška — email + telefon + radno vrijeme po regiji */
.pl-sup { padding: 13px 0; border-top: 1px solid #f3f1ea; }
.pl-sup:first-of-type { border-top: none; padding-top: 4px; }
.pl-sup-region { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.pl-sup-line { display: flex; align-items: center; gap: 9px; padding: 5px 0; color: var(--ink); text-decoration: none; font-size: 13.5px; }
.pl-sup-line svg { width: 15px; height: 15px; color: var(--faint); flex-shrink: 0; }
.pl-sup-line:hover { color: var(--navy); }
.pl-sup-line:hover svg { color: var(--navy); }
.pl-sup-tx { display: flex; flex-direction: column; line-height: 1.35; }
.pl-sup-tx em { font-style: normal; font-size: 11.5px; color: var(--faint); margin-top: 1px; }

/* tijesni red u sigurnosti */
.pl-prof-rows-tight { padding-bottom: 6px; }

/* promjena lozinke */
.pl-prof-pwd {
  border-top: 1px solid #f3f1ea;
  margin: 0;
  padding: 24px 24px 4px;
}
.pl-prof-pwd-h {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 18px 0 !important;
}
.pl-prof-pwd .pl-prof-fields {
  padding: 0;
  max-width: 560px;
  gap: 18px;
}
.pl-prof-pwd .pl-prof-save-row {
  margin-top: 18px;
  margin-bottom: 18px;
  max-width: 560px;
}

@media (max-width: 560px) {
  .pl-prof-row2 { flex-direction: column; gap: 16px; }
  .pl-prof-portal { flex-direction: column; align-items: stretch; }
  .pl-prof-portal-actions { justify-content: stretch; }
  .pl-prof-portal-actions .pl-btn { flex: 1; text-align: center; }
}

/* ===================== BRAND FOOTER (globalan, diskretan) ===================== */

.pl-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 30px 40px 34px;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.pl-footer-logo {
  color: var(--navy);
  line-height: 0;
}
.pl-footer-mark {
  display: block;
  height: 24px;
  width: auto;
}
.pl-footer-tag {
  font-size: 11.5px;
  color: var(--muted);
}
.pl-footer-copy {
  font-size: 11px;
  color: var(--faint);
}

@media (max-width: 880px) {
  .pl-footer {
    padding: 26px 20px calc(96px + 24px + env(safe-area-inset-bottom));
    text-align: center;
  }
}

/* =====================================================
   LOGIN — .pl-lg- prefiks, 5 jezika, premium widget
   ===================================================== */

.pl-lg-body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background: #0F0F0E;
  -webkit-font-smoothing: antialiased;
}

.pl-lg-sec {
  background: #0F0F0E;
  min-height: 100vh;
  padding: clamp(24px,4vw,52px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pl-lg-sec::before {
  content: '';
  position: absolute;
  top: 60px; left: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,95,159,0.22), transparent 70%);
  pointer-events: none;
}
.pl-lg-sec::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,58,107,0.22), transparent 70%);
  pointer-events: none;
}

/* --- TOP BAR: logo + lang --- */
.pl-lg-topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.pl-lg-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: #fff;
}
.pl-lg-logo b { color: var(--blue-soft); font-weight: 500; }

/* --- LANGUAGE DROPDOWN --- */
.pl-lg-lang { position: relative; }

.pl-lg-lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  transition: border-color .15s, background .15s;
}
.pl-lg-lang-btn:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
}
.pl-lg-flag { font-size: 15px; line-height: 1; }
.pl-lg-chev {
  width: 9px; height: 9px;
  stroke: rgba(255,255,255,0.55);
  transition: transform .2s;
}
.pl-lg-lang.open .pl-lg-chev { transform: rotate(180deg); }

.pl-lg-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 168px;
  background: #1A1918;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 11px;
  padding: 6px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all .16s;
  z-index: 30;
}
.pl-lg-lang.open .pl-lg-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pl-lg-lang-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: background .12s, color .12s;
}
.pl-lg-lang-item:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.pl-lg-lang-item.active {
  background: rgba(45,95,159,0.25);
  color: #fff;
  font-weight: 600;
}

/* --- INNER --- */
.pl-lg-inner {
  flex: 1;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* --- LIJEVO --- */
.pl-lg-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 12px;
}
.pl-lg-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px,3.6vw,50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
}
.pl-lg-h2 i {
  font-style: normal;
  color: var(--blue-glow);
  font-weight: 700;
}
.pl-lg-lead {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.62;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  max-width: 460px;
}
.pl-lg-perks {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.pl-lg-perk {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  font-weight: 400;
  line-height: 1.5;
}
.pl-lg-perk svg {
  width: 17px; height: 17px;
  stroke: var(--blue-glow);
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- DESNO: FORMA --- */
.pl-lg-form {
  background: #FEFEFC;
  border-radius: 14px;
  padding: 36px;
  max-width: 400px;
  width: 100%;
  justify-self: end;
}

.pl-lg-form-head { margin-bottom: 22px; }
.pl-lg-form-head h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: #1A1917;
}

.pl-lg-error {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f6e4e4;
  color: #C24343;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}

.pl-lg-group { margin-bottom: 16px; }

.pl-lg-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #1A1917;
  margin-bottom: 7px;
}

.pl-lg-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(26,25,23,0.08);
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  color: #1A1917;
  background: #F8F7F3;
  transition: border-color .15s, background .15s;
}
.pl-lg-input::placeholder { color: rgba(26,25,23,0.4); font-weight: 400; }
.pl-lg-input:focus {
  outline: none;
  border-color: #1B3A6B;
  background: #FEFEFC;
}

/* show/hide lozinke */
.pl-lg-pass-wrap { position: relative; }
.pl-lg-pass-wrap .pl-lg-input { padding-right: 44px; }
.pl-lg-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 6px;
  transition: background .12s;
}
.pl-lg-eye:hover { background: rgba(26,25,23,0.05); }
.pl-lg-eye svg {
  width: 17px; height: 17px;
  stroke: rgba(26,25,23,0.45);
}

/* submit + loading */
.pl-lg-submit {
  width: 100%;
  height: 50px;
  border-radius: 99px;
  background: #1B3A6B;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: opacity .15s;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pl-lg-submit:hover { opacity: .88; }
.pl-lg-submit:disabled { cursor: default; opacity: .8; }
.pl-lg-submit-arr { width: 16px; height: 16px; stroke: currentColor; }

.pl-lg-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pl-lg-spin .7s linear infinite;
}
@keyframes pl-lg-spin { to { transform: rotate(360deg); } }

/* footer */
.pl-lg-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.32);
  padding-top: 32px;
}

/* --- RESPONSIVE --- */
@media (max-width: 880px) {
  .pl-lg-sec { padding: 20px; }
  .pl-lg-sec::before {
    background: radial-gradient(circle, rgba(45,95,159,0.32), transparent 70%);
  }
  .pl-lg-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }
  .pl-lg-perks { display: none; }
  .pl-lg-form { justify-self: stretch; max-width: 100%; }
}

/* ===================== KALENDAR MOBILNI (na kraju, jaci prioritet) ===================== */
@media (max-width: 880px) {
  .pl-cal-wrap {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    border: none;
    border-radius: 0;
  }
  .pl-cal-legend {
    padding-left: 20px;
    padding-right: 20px;
  }
}