/* =====================================================================
   Frizerski studio Jasmin Lorenčič – gold look on top of the common style.
   Loaded after assets/style.css; only colours and type, no structure.
   ===================================================================== */
.slot { display: block; border-top: 1px dotted #efe9dc; text-decoration: none; }
.col.off { background: repeating-linear-gradient(135deg, #f1ede4, #f1ede4 10px, #faf8f3 10px, #faf8f3 20px); }
:root {
  --bg: #faf7f1;
  --ink: #231f18;
  --muted: #766d5e;
  --line: #e6dfd1;
  --accent: #8f6f35;
  --accent-2: #b8944f;
  --accent-soft: #f4ecda;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(60, 48, 30, .05), 0 8px 24px rgba(60, 48, 30, .07);
  --shadow-lift: 0 2px 4px rgba(60, 48, 30, .08), 0 14px 32px rgba(60, 48, 30, .13);
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
body {
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 100% -10%, rgba(201, 168, 106, .16), transparent 60%),
    radial-gradient(800px 520px at -10% 0%, rgba(143, 111, 53, .13), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
.top { border-bottom: 1px solid rgba(230, 223, 209, .9); box-shadow: 0 4px 20px rgba(60, 48, 30, .05); }
.brand::before {
  content: ""; width: 26px; height: 26px; border-radius: 50% 50% 50% 4px; background: var(--grad);
  box-shadow: 0 3px 10px rgba(143, 111, 53, .35); transform: rotate(-45deg); transition: transform .5s var(--ease);
}
.top a.on { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(143, 111, 53, .28); }
.btn {
  border-radius: 10px; box-shadow: 0 1px 2px rgba(60, 48, 30, .05);
  transition: transform .18s var(--ease), box-shadow .18s, border-color .18s, background .18s, filter .18s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(60, 48, 30, .1); }
.btn.primary { background: var(--grad); border-color: transparent; box-shadow: 0 4px 14px rgba(143, 111, 53, .3); }
.btn.primary:hover { filter: brightness(1.06); box-shadow: 0 8px 20px rgba(143, 111, 53, .36); }
.card { border-color: rgba(230, 223, 209, .8); }
input:hover, select:hover, textarea:hover { border-color: #cdbf9f; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(143, 111, 53, .15); }
table tr:hover td { background: #fbf8f1; }
.dot { box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(60, 48, 30, .08); }
.cal-wrap { box-shadow: var(--shadow); border-color: rgba(230, 223, 209, .8); animation: rise .5s var(--ease) both; }
.cal-corner, .col-head { background: #fffefb; padding: .7rem .5rem; }
.col.today-col { background: linear-gradient(rgba(244, 236, 218, .35), rgba(244, 236, 218, .12)); }
.now-line::before {
  content: ""; position: absolute; left: -5px; top: -6px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 0 rgba(143, 111, 53, .5); animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(143, 111, 53, 0); } }
.off-part {
  position: absolute; left: 0; right: 0; z-index: 1; overflow: hidden; padding: 3px 8px;
  background: repeating-linear-gradient(135deg, #ece6d9, #ece6d9 10px, #f8f5ee 10px, #f8f5ee 20px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: .8rem; line-height: 1.3; text-decoration: none; cursor: not-allowed;
}
.cal-corner, .col-head { background: linear-gradient(#fffefb, #f8f3e8); border-bottom: 1px solid var(--line); }
.gutter { background: linear-gradient(90deg, #f8f3e8, #fffefb); border-right: 1px solid var(--line); }
.col {
  background-image: repeating-linear-gradient(to bottom,
    transparent 0, transparent var(--hour, 96px),
    rgba(143, 111, 53, .028) var(--hour, 96px), rgba(143, 111, 53, .028) calc(var(--hour, 96px) * 2));
  background-position: 0 var(--band, 0px);
}
.col.off { background-image: repeating-linear-gradient(135deg, #f1ede4, #f1ede4 10px, #faf8f3 10px, #faf8f3 20px); background-position: 0 0; }
.slot { border-top-color: #f1ebde; }
.slot.hour { border-top: 1px solid #e2d9c6; }
.bk-sms.none { background: #ece8df; color: #766d5e; }
.dp-btn:hover { border-color: #cdbf9f; }
.dp-btn:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(143, 111, 53, .15); }
.dp-pop {
  position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; width: 19rem; max-width: calc(100vw - 16px); padding: .8rem;
  background: #fff; border: 1px solid rgba(230, 223, 209, .9); border-radius: 16px; box-shadow: var(--shadow-lift);
  animation: pop .18s var(--ease);
}
.dp-day.other { color: #c2bbab; }
.dp-day.on, .dp-day.on:hover { background: var(--grad); color: #fff; border-color: transparent; font-weight: 700; box-shadow: 0 3px 8px rgba(143, 111, 53, .35); }
.dp-day:focus-visible, .dp-day.today:focus { outline: none; box-shadow: 0 0 0 4px rgba(143, 111, 53, .22); background: var(--accent-soft); }
.themes span::before { content: ""; width: .9rem; height: .9rem; border-radius: 50%; border: 1px solid currentColor; background: #faf7f1; }
.news-progress progress { width: 100%; height: 12px; accent-color: var(--accent); }
.news-compose textarea { min-height: 14rem; }
.news-img { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin: .2rem 0 1rem; }
.news-img img { max-width: 220px; max-height: 140px; border-radius: 10px; border: 1px solid var(--line); }
.news-test { display: flex; gap: .6rem; align-items: flex-end; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.news-test label { flex: 1 1 16rem; margin: 0; }
.news-send { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); align-items: center; }
.mail-preview { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.mail-preview img { max-width: 100%; }
label.news-ok { display: flex; gap: .6rem; align-items: flex-start; font-weight: normal; margin: .2rem 0 1rem; }
label.news-ok input { width: auto; margin-top: .25rem; }
label.news-ok span { display: flex; flex-direction: column; }
label.news-how { display: block; max-width: 22rem; margin: -.4rem 0 1rem 1.6rem; }
label.news-ok:not(:has(input:checked)) + label.news-how { display: none; }
.client-mail small { margin-left: .3rem; }
.client-mail .tag { vertical-align: middle; }
.tag.warn { background: var(--err-bg); color: var(--err-ink); }
.client-warn { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .25rem .6rem; align-items: baseline;
  margin: .2rem 0 .8rem; padding: .6rem .9rem; border-radius: 12px; background: var(--err-bg); color: var(--err-ink); }
.client-warn[hidden] { display: none; }
.client-warn .cw-w { white-space: pre-line; }
.client-warn .cw-x:empty, .client-warn .cw-w:empty { display: none; }
.ac-warn { color: var(--err-ink); margin-left: auto; }
.client-note textarea { margin-top: .35rem; }
.client-note.has-note { border-left: 4px solid var(--err-ink); }
.client-note .btn { margin-top: .6rem; }
.bk-warn { color: var(--err-ink); }
.bk.noshow { opacity: .55; }
.bk.noshow strong { text-decoration: line-through; }
