/* ─── ADDITIONAL STYLES – appended to style.css ─── */

/* Progress bar */
.progress-bar { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 0.6s ease; }

/* Mini chart bars */
.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 48px; }
.mini-bar { flex: 1; border-radius: 3px 3px 0 0; background: rgba(10,79,212,0.2); min-height: 4px; transition: var(--transition); }
.mini-bar.active { background: var(--primary); }
.mini-bar:hover { background: var(--primary-light); }

/* Timeline */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 16px; }
.timeline-dot { position: absolute; left: -21px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid white; box-shadow: 0 0 0 2px var(--primary); }
.timeline-dot.green { background: #22c55e; box-shadow: 0 0 0 2px #22c55e; }
.timeline-dot.orange { background: #f97316; box-shadow: 0 0 0 2px #f97316; }
.timeline-time { font-size: .72rem; color: var(--text-light); margin-bottom: 2px; }
.timeline-text { font-size: .83rem; font-weight: 600; }
.timeline-sub { font-size: .75rem; color: var(--text-light); }

/* Notification badge */
.nav-badge { position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; background: #ef4444; border-radius: 50%; font-size: .6rem; font-weight: 800; color: white; display: flex; align-items: center; justify-content: center; border: 2px solid white; }

/* Summary row */
.summary-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-label { font-size: .83rem; color: var(--text-mid); }
.summary-value { font-size: .88rem; font-weight: 700; }

/* Pill tabs */
.pill-tabs { display: flex; background: var(--off-white); border-radius: 10px; padding: 3px; gap: 2px; margin-bottom: 16px; }
.pill-tab { flex: 1; text-align: center; padding: 8px 4px; border-radius: 8px; font-size: .78rem; font-weight: 700; color: var(--text-light); cursor: pointer; border: none; background: none; font-family: 'Barlow', sans-serif; transition: var(--transition); }
.pill-tab.active { background: white; color: var(--primary); box-shadow: var(--shadow-sm); }

/* Floating action button */
.fab { position: fixed; bottom: calc(var(--bottom-nav-h) + 16px); right: 16px; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(10,79,212,.4); z-index: 90; border: none; cursor: pointer; }
.fab svg { width: 24px; height: 24px; stroke: white; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Info list */
.info-list { display: flex; flex-direction: column; gap: 0; }
.info-row { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-icon { width: 36px; height: 36px; border-radius: 9px; background: rgba(10,79,212,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-icon svg { width: 17px; height: 17px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; }
.info-label { font-size: .72rem; color: var(--text-light); margin-bottom: 1px; }
.info-val { font-size: .88rem; font-weight: 600; }

/* Tooltip chip */
.tooltip-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; background: var(--off-white); border: 1px solid var(--border); border-radius: 20px; font-size: .72rem; font-weight: 600; color: var(--text-mid); }

/* Section divider with label */
.section-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0 14px; }
.section-divider-line { flex: 1; height: 1px; background: var(--border); }
.section-divider-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); white-space: nowrap; }

/* Availability grid */
.avail-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.avail-cell { aspect-ratio: 1; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 700; cursor: pointer; border: 1.5px solid var(--border); background: white; transition: var(--transition); }
.avail-cell.available { background: rgba(34,197,94,.1); border-color: #22c55e; color: #16a34a; }
.avail-cell.busy { background: rgba(239,68,68,.08); border-color: #ef4444; color: #dc2626; }

/* Input with icon */
.input-icon-wrap { position: relative; }
.input-icon-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--text-light); fill: none; stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.input-icon-wrap .form-control { padding-left: 38px; }

/* Booking status tracker */
.status-track { display: flex; align-items: center; gap: 0; margin: 16px 0; }
.status-step { display: flex; flex-direction: column; align-items: center; flex: 1; }
.status-step-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; border: 2px solid var(--border); background: white; color: var(--text-light); position: relative; z-index: 1; }
.status-step-dot.done { background: var(--primary); border-color: var(--primary); color: white; }
.status-step-dot.current { background: white; border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 3px rgba(10,79,212,.15); }
.status-step-label { font-size: .62rem; font-weight: 600; color: var(--text-light); margin-top: 5px; text-align: center; }
.status-step-label.done { color: var(--primary); }
.status-line { flex: 1; height: 2px; background: var(--border); margin-top: -14px; }
.status-line.done { background: var(--primary); }

/* Skeleton loader */
.skeleton { background: linear-gradient(90deg, var(--border) 25%, #f0f4ff 50%, var(--border) 75%); background-size: 200% 100%; animation: skeleton-wave 1.4s ease-in-out infinite; border-radius: 6px; }
@keyframes skeleton-wave { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  /* Keep white/light theme for professional look – no dark mode */
}
