.ps-auth-box,
.ps-profile-box{
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  background:#fff;
  padding:18px;
  max-width:560px;
}

.ps-auth-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.ps-auth-title,
.ps-profile-title{
  font-size:26px;
  font-weight:800;
  line-height:1.1;
  margin:0;
}

.ps-auth-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.ps-tab{
  height:36px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  cursor:pointer;
  font-size:13px;
  line-height:1;
}
.ps-tab.is-active{
  border-color: rgba(22,160,133,.45);
  background: rgba(22,160,133,.10);
  color:#0f5e52;
  font-weight:700;
}

.ps-panel{ display:none; }
.ps-panel.is-active{ display:block; }

.ps-form{ display:flex; flex-direction:column; gap:12px; }

.ps-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media(max-width:640px){
  .ps-grid{ grid-template-columns:1fr; }
}

.ps-field label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin-bottom:6px;
}
.ps-req{ color:#c0392b; }

.ps-field input{
  width:100%;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid #e8e8e8;
  outline:none;
  font-family:inherit;
  font-size:14px;
}
.ps-field input:focus{
  border-color:#cfcfcf;
  box-shadow:0 0 0 3px rgba(0,0,0,.04);
}

.ps-hint{
  margin-top:6px;
  font-size:13px;
  opacity:.75;
}

.ps-suggestions{
  margin-top:8px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.ps-sug{
  height:30px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  cursor:pointer;
  font-size:12px;
}

.ps-btn{
  height:40px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.14);
  background:#fff;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  line-height:1;
  width:fit-content;
  max-width:100%;
}
.ps-btn-primary{
  background:#16A085;
  border-color:#16A085;
  color:#fff;
}
.ps-btn-primary:hover{
  background:#138d75;
  border-color:#138d75;
}

.ps-btn-ghost{
  background:transparent;
}

.ps-msg{
  font-size:14px;
  margin-top:4px;
  opacity:.85;
}

.ps-row{ display:flex; align-items:center; gap:10px; }
.ps-check{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(255,255,255,.9);
  font-size:13px;
}
.ps-check input{ margin:0; }

.ps-auth-footnote{
  font-size:13px;
  opacity:.7;
  margin-top:6px;
}

.ps-verify-top{
  margin-bottom:10px;
}
.ps-verify-title{
  font-weight:800;
  font-size:16px;
}
.ps-verify-sub{
  font-size:13px;
  opacity:.75;
  margin-top:4px;
}

/* Profile */
.ps-profile-card{
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:14px;
  margin-top:12px;
  background:#fff;
}
.ps-profile-row{ font-size:14px; margin:6px 0; }
.ps-profile-subtitle{ font-weight:800; margin-bottom:10px; }

.ps-auth-note{
  font-size:14px;
  opacity:.85;
}

.ps-comments{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.ps-c-item{
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  padding:12px;
}
.ps-c-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.ps-c-post{
  font-weight:800;
  text-decoration:none;
}
.ps-c-date{ font-size:13px; opacity:.7; white-space:nowrap; }
.ps-c-text{ margin-top:8px; font-size:14px; opacity:.9; }

.ps-profile-actions{ margin-top:12px; }

/* Stars (used on profile list) */
.ps-stars{
  display:inline-flex;
  gap:2px;
  align-items:center;
  margin-top:6px;
}
.ps-star-ico{
  width:16px;
  height:16px;
  display:inline-flex;
}
.ps-star-ico svg{
  width:100%;
  height:100%;
  fill: currentColor;
}
.ps-star-ico.is-on{ color:#F4B400; }   /* žuta */
.ps-star-ico.is-off{ color:rgba(0,0,0,.18); }


/* Wrapper cele auth sekcije */
.ps-auth-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Kartica */
.ps-auth-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid #eee;
}

/* Naslov centriran */
.ps-auth-title {
  text-align: center;
  margin-bottom: 18px;
}

/* Tab dugmad centrirana */
.ps-auth-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

/* Input grid */
.ps-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ps-auth-grid.full {
  grid-template-columns: 1fr;
}

/* Dugme full width */
.ps-auth-card button[type="submit"] {
  width: 100%;
  margin-top: 12px;
}

.ps-profile-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* 2 kolone */
.ps-profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: start;
}

/* Kartice */
.ps-profile-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Moje recenzije lista */
.ps-my-reviews {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Jedna recenzija */
.ps-my-review {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
  background: #fafafa;
}

/* Naslov pekare */
.ps-my-review a {
  font-weight: 600;
  text-decoration: none;
}

/* Datum desno */
.ps-my-review-date {
  font-size: 12px;
  opacity: .6;
  float: right;
}

/* Odjavi dugme dole */
.ps-logout-btn {
  margin-top: 14px;
}

@media (max-width: 768px) {

  .ps-profile-grid {
    grid-template-columns: 1fr;
  }

  .ps-auth-card {
    padding: 22px 18px;
  }

  .ps-auth-grid {
    grid-template-columns: 1fr;
  }
}

/* === Moj profil: 2 kolone (levo podaci / desno recenzije) === */
.ps-profile-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

.ps-profile-grid{
  display: grid !important;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  align-items: start;
}

/* Da kartice popune kolonu kako treba */
.ps-profile-grid > .ps-profile-card{
  width: 100%;
  min-width: 0;
}

/* Responsive: na manjim ekranima ide ispod */
@media (max-width: 900px){
  .ps-profile-grid{
    grid-template-columns: 1fr;
  }
}

/* Hard override ako tema nešto gazi */
body .ps-profile-wrap .ps-profile-grid{
  display: grid !important;
}

.ps-link{
  display:inline-block;
  background:transparent;
  border:0;
  padding:0;
  margin:0;
  color:#f07a3b; /* prilagodi tvojoj boji */
  font-weight:600;
  text-decoration:underline;
  cursor:pointer;
  font-size:14px;
  margin-bottom: 10px;
}
.ps-link:hover{ opacity:.85; }


.ps-profile-actions{
  margin-top: 14px;
}

.ps-profile-actions .ps-btn{
  width: 100%;
  justify-content: center;
}

.ps-profile-actions .ps-btn-ghost{
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  min-height: 42px;
  font-weight: 700;
  text-decoration: none;
}

/* ===== PROFILE TABS ===== */

.ps-profile-tabs-card{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.ps-profile-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:4px;
}

.ps-profile-tab{
  height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  cursor:pointer;
  font-size:13px;
  font-weight:700;
  line-height:1;
  transition:.18s ease;
}

.ps-profile-tab.is-active{
  background:#F6895A;
  border-color:#F6895A;
  color:#fff;
  box-shadow:0 6px 18px rgba(246,137,90,.22);
}

.ps-profile-tabpanel{
  display:none;
}

.ps-profile-tabpanel.is-active{
  display:block;
}

/* ===== BLOG LIST ===== */

.ps-blog-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.ps-blog-item{
  border:1px solid #eee;
  border-radius:14px;
  padding:14px;
  background:#fafafa;
}

.ps-blog-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}

.ps-blog-main{
  min-width:0;
  flex:1 1 auto;
}

.ps-blog-title{
  font-size:16px;
  font-weight:800;
  line-height:1.35;
  color:#111;
  margin-bottom:6px;
}

.ps-blog-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:#666;
}

.ps-blog-dot{
  opacity:.55;
}

.ps-blog-topic{
  font-weight:700;
}

.ps-blog-date{
  white-space:nowrap;
}

.ps-blog-summary{
  margin-top:10px;
  font-size:14px;
  line-height:1.6;
  color:#444;
}

.ps-blog-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
  border:1px solid transparent;
}

.ps-blog-status.is-na_pregledu{
  background:rgba(246,137,90,.12);
  color:#b85f35;
  border-color:rgba(246,137,90,.18);
}

.ps-blog-status.is-u_obradi{
  background:rgba(25,118,210,.10);
  color:#1565c0;
  border-color:rgba(25,118,210,.18);
}

.ps-blog-status.is-objavljeno{
  background:rgba(22,160,133,.10);
  color:#0f7d68;
  border-color:rgba(22,160,133,.18);
}

@media (max-width: 768px){
  .ps-blog-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .ps-profile-tabs{
    gap:8px;
  }

  .ps-profile-tab{
    width:100%;
    justify-content:center;
  }
}

.ps-profile-head-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
  flex-wrap:wrap;
}

.ps-profile-new-blog-btn,
.ps-profile-new-blog-btn:link,
.ps-profile-new-blog-btn:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 16px;
  border-radius:12px;
  font-size:13px;
  font-weight:700;
  text-decoration:none !important;
  border:none !important;
  background:#F6895A !important;
  color:#ffffff !important;
  box-shadow:0 6px 18px rgba(246,137,90,.35) !important;
  transition:none !important;
}

.ps-profile-new-blog-btn:hover,
.ps-profile-new-blog-btn:focus,
.ps-profile-new-blog-btn:active,
.ps-profile-new-blog-btn:focus-visible,
.ps-profile-new-blog-btn:hover:visited{
  background:#F6895A !important;
  color:#ffffff !important;
  text-decoration:none !important;
  box-shadow:0 6px 18px rgba(246,137,90,.35) !important;
  transform:none !important;
  border:none !important;
  outline:none !important;
}

.ps-blog-note{
  margin-top:12px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  background:#fafafa;
}

.ps-blog-note-label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  margin-bottom:4px;
}

.ps-blog-note-text{
  font-size:13px;
  line-height:1.6;
  color:#444;
}

.ps-blog-note.is-potrebna_dopuna{
  background:rgba(25,118,210,.06);
  border-color:rgba(25,118,210,.14);
}

.ps-blog-note.is-potrebna_dopuna .ps-blog-note-label{
  color:#1565c0;
}

.ps-blog-note.is-odbijeno{
  background:rgba(217,45,32,.06);
  border-color:rgba(217,45,32,.14);
}

.ps-blog-note.is-odbijeno .ps-blog-note-label{
  color:#b42318;
}

.ps-blog-actions{
  margin-top:12px;
}

.ps-blog-edit-btn,
.ps-blog-edit-btn:link,
.ps-blog-edit-btn:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 16px;
  border-radius:12px;
  font-size:13px;
  font-weight:700;
  text-decoration:none !important;
  border:1px solid rgba(0,0,0,.10) !important;
  background:#ffffff !important;
  color:#111111 !important;
  box-shadow:0 6px 18px rgba(0,0,0,.08) !important;
  transition:none !important;
}

.ps-blog-edit-btn:hover,
.ps-blog-edit-btn:focus,
.ps-blog-edit-btn:active,
.ps-blog-edit-btn:focus-visible,
.ps-blog-edit-btn:hover:visited{
  background:#ffffff !important;
  color:#111111 !important;
  text-decoration:none !important;
  box-shadow:0 6px 18px rgba(0,0,0,.08) !important;
  transform:none !important;
  border:1px solid rgba(0,0,0,.10) !important;
  outline:none !important;
}

.ps-profile-new-blog-btn,
.ps-blog-edit-btn{
  box-sizing:border-box;
  line-height:1;
  white-space:nowrap;
}

.ps-blog-status.is-potrebna_dopuna{
  background:rgba(25,118,210,.10);
  color:#1565c0;
  border-color:rgba(25,118,210,.18);
}

.ps-blog-status.is-odbijeno{
  background:rgba(217,45,32,.10);
  color:#b42318;
  border-color:rgba(217,45,32,.18);
}

@media (max-width: 768px){
  .ps-profile-head-row{
    align-items:stretch;
  }

  .ps-profile-new-blog-btn,
  .ps-blog-edit-btn{
    width:100%;
    justify-content:center;
  }
}


.ps-profile-head-row .ps-profile-new-blog-btn,
.ps-profile-head-row .ps-profile-new-blog-btn:link,
.ps-profile-head-row .ps-profile-new-blog-btn:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border: none !important;
  background: #F6895A !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(246,137,90,.35) !important;
  box-sizing: border-box !important;
  transition: none !important;
  white-space: nowrap !important;
}

.ps-profile-head-row .ps-profile-new-blog-btn:hover,
.ps-profile-head-row .ps-profile-new-blog-btn:focus,
.ps-profile-head-row .ps-profile-new-blog-btn:active,
.ps-profile-head-row .ps-profile-new-blog-btn:focus-visible {
  background: #F6895A !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(246,137,90,.35) !important;
  transform: none !important;
  border: none !important;
  outline: none !important;
}

.ps-profile-grid.is-messages-mode{
  grid-template-columns:1fr !important;
  gap:18px;
}

.ps-profile-grid.is-messages-mode #psProfileSidebarCard{
  width:100%;
}

.ps-profile-grid.is-messages-mode #psProfileTabsCard{
  width:100%;
}

.ps-profile-grid.is-messages-mode #psProfileSidebarCard{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  align-items:flex-start;
}

.ps-profile-grid.is-messages-mode #psProfileSidebarCard .ps-profile-row{
  margin:0;
  min-width:220px;
  flex:1 1 220px;
}

.ps-profile-grid.is-messages-mode #psProfileSidebarCard .ps-profile-actions{
  margin-top:0;
  margin-left:auto;
  min-width:220px;
  flex:0 0 220px;
}

.ps-profile-grid.is-messages-mode #psProfileSidebarCard .ps-profile-actions .ps-btn{
  width:100%;
}

.ps-profile-grid.is-messages-mode #psProfileTabsCard{
  padding:22px;
}

@media (max-width: 900px){
  .ps-profile-grid.is-messages-mode #psProfileSidebarCard{
    display:block;
  }

  .ps-profile-grid.is-messages-mode #psProfileSidebarCard .ps-profile-row{
    margin:6px 0;
    min-width:0;
  }

  .ps-profile-grid.is-messages-mode #psProfileSidebarCard .ps-profile-actions{
    margin-top:14px;
    margin-left:0;
    min-width:0;
  }
}

.ps-profile-tab{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.ps-profile-tab-label{
  display:inline-block;
}

.ps-profile-tab-badge{
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#F6895A;
  color:#fff;
  font-size:11px;
  font-weight:800;
  line-height:1;
  box-shadow:0 6px 14px rgba(246,137,90,.22);
}

.ps-profile-tab.is-active .ps-profile-tab-badge{
  background:#fff;
  color:#F6895A;
  box-shadow:none;
}

.psli-thread-unread{
  min-width:24px;
  height:24px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#F6895A;
  color:#fff;
  font-size:12px;
  font-weight:800;
  line-height:1;
  box-shadow:0 6px 14px rgba(246,137,90,.20);
}