
/* Tom Photography Suite v3.2.0 — portal timeline, category filter and admin workflow */

/* Client Portal timeline */
.tps320-portal-progress{
  margin-top:14px;
  padding:15px;
  border:1px solid var(--tps300-line);
  border-radius:12px;
  background:var(--tps300-soft);
}
.tps320-progress-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:13px;
}
.tps320-progress-head span{
  color:var(--tps300-muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.tps320-progress-head strong{
  color:var(--tps300-text);
  font-size:12px;
}
.tps320-portal-progress ol{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.tps320-portal-progress li{
  position:relative;
  display:flex;
  min-width:0;
  align-items:center;
  gap:7px;
  padding:8px;
  border:1px solid var(--tps300-line);
  border-radius:9px;
  background:var(--tps300-bg);
  color:var(--tps300-muted);
  font-size:9px;
  font-weight:750;
}
.tps320-portal-progress li i{
  display:grid;
  place-items:center;
  flex:0 0 20px;
  width:20px;
  height:20px;
  border:1px solid var(--tps300-line);
  border-radius:50%;
  color:inherit;
  font-style:normal;
  font-size:9px;
}
.tps320-portal-progress li.is-done{
  border-color:#cbe6d5;
  background:#f2faf5;
  color:#17663b;
}
.tps320-portal-progress li.is-done i{
  border-color:#b8ddc6;
  background:#dff2e6;
}
.tps320-portal-progress li.is-current{
  border-color:#cbc6be;
  color:var(--tps300-text);
}
.tps320-portal-progress p{
  margin:11px 0 0;
  font-size:10px;
}

/* Portfolio category filter */
.tps320-category-filter{
  --f-bg:#fff;
  --f-text:#1d1d1f;
  --f-muted:#706c66;
  --f-line:#e5e1da;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  width:100%;
  box-sizing:border-box;
}
.tps320-category-filter.tps320-dark{
  --f-bg:#171719;
  --f-text:#fff;
  --f-muted:#c2beb8;
  --f-line:rgba(255,255,255,.15);
}
.tps320-category-filter a{
  display:inline-flex;
  min-height:38px;
  align-items:center;
  gap:7px;
  padding:0 12px;
  border:1px solid var(--f-line);
  border-radius:999px;
  background:var(--f-bg);
  color:var(--f-text)!important;
  text-decoration:none!important;
  font-size:10px;
  font-weight:800;
}
.tps320-category-filter a:hover{
  border-color:#aaa49a;
}
.tps320-category-filter a.is-active{
  border-color:#202022;
  background:#202022;
  color:#fff!important;
}
.tps320-category-filter small{
  opacity:.58;
  font-size:9px;
}

/* Gallery expiry */
.tpscg-expiry{
  margin-top:7px!important;
  font-size:11px!important;
  font-weight:700!important;
}
.tpscg-expired{
  border-style:dashed!important;
}

/* Admin private notes */
.tps320-private-note-box p{
  margin:0 0 10px;
  color:#706c66;
  font-size:12px;
}
.tps320-private-note-box textarea{
  width:100%;
  min-height:150px;
  padding:11px 12px;
  border:1px solid #ddd8d0;
  border-radius:10px;
  background:#fff;
  line-height:1.55;
}

/* Activity feed admin */
.tps320-activity-page{
  max-width:1120px;
}
.tps320-activity-page>h1{
  margin-bottom:4px;
}
.tps320-activity-feed{
  overflow:hidden;
  margin-top:20px;
  border:1px solid #e4e0d9;
  border-radius:14px;
  background:#fff;
}
.tps320-activity-item{
  display:grid;
  grid-template-columns:10px 1fr auto;
  gap:13px;
  align-items:center;
  padding:14px 16px;
  border-bottom:1px solid #ece8e2;
  color:#242426!important;
  text-decoration:none!important;
}
.tps320-activity-item:last-child{
  border-bottom:0;
}
.tps320-activity-item:hover{
  background:#faf9f7;
}
.tps320-activity-item>i{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#8c8780;
}
.tps320-activity-item.is-booking>i{background:#202022}
.tps320-activity-item.is-gallery>i{background:#7a746c}
.tps320-activity-item.is-download>i{background:#2f7b53}
.tps320-activity-item strong{
  display:block;
  margin-bottom:3px;
  font-size:13px;
}
.tps320-activity-item span{
  color:#716d67;
  font-size:11px;
}
.tps320-activity-item time{
  color:#8a857d;
  font-size:10px;
  font-weight:700;
}
.tps320-activity-empty{
  padding:24px;
  color:#716d67;
  text-align:center;
}

@container(max-width:760px){
  .tps320-portal-progress ol{
    grid-template-columns:1fr;
  }
}
@media(max-width:782px){
  .tps320-activity-item{
    grid-template-columns:10px 1fr;
  }
  .tps320-activity-item time{
    grid-column:2;
  }
}
