:root {
  --black: #111111;
  --text: #111111;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg-page: #f9fafb;
  --bg-card: #ffffff;
  --bg-subtle: #f9fafb;
  --danger: #c0392b;
  --success: #16a34a;
  --brand: #4355ac; /* your logo colour — now the main button colour */
  --brand-dark: #34408c; /* hover state for brand buttons */
  --brand-tint: #eef0fa;
  --radius: 24px;
  --radius-sm: 16px;
  --serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
}

/* ---------- App shell (the "phone card") ---------- */

.app-shell {
  width: 100%;
  max-width: 448px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.notif-bell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text);
  line-height: 1;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
}
.notif-bell:hover { background: #f3f4f6; }

.notif-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #dc2626;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.notif-item {
  cursor: default;
}

.notif-item.unread {
  border-left: 3px solid var(--black);
}

.guest-estimate-link {
  display: block;
  margin: 14px auto 0;
  text-align: center;
}

.staff-entry-link {
  display: block;
  margin: 18px auto 0;
  background: none;
  border: none;
  font-size: 0.72rem;
  color: #d1d5db;
  cursor: pointer;
  padding: 4px;
}

.staff-entry-link:hover {
  color: var(--muted);
}

.app-content {
  height: 650px;
  overflow-y: auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 480px) {
  body { padding: 0; align-items: stretch; }
  .app-shell { max-width: 100%; min-height: 100vh; border-radius: 0; border: none; }
  .app-content { height: auto; flex: 1; }
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  animation: screenFadeIn 0.7s ease;
}
.screen.hidden { display: none; }

@keyframes screenFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.screen-split { justify-content: space-between; }

/* ---------- Splash ---------- */

.splash-screen {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.splash-logo {
  width: min(320px, 80%);
  opacity: 0;
  animation: splashIn 4s ease forwards;
}

.splash-loading {
  font-size: 0.85rem;
  color: var(--muted);
}

@keyframes splashIn {
  0% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---------- Typography / headers ---------- */

.screen-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.screen-title-lg {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--serif);
  margin-bottom: 8px;
}

.screen-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.back-btn {
  height: 38px;
  width: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
}
.back-btn:hover { background: #e5e7eb; }

h3 { font-size: 0.9rem; margin: 16px 0 8px; font-weight: 600; }

.sub { color: var(--muted); margin: 0 0 16px; font-size: 0.9rem; }

.hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------- Layout helpers ---------- */

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .grid3 { grid-template-columns: 1fr; } }

.field { margin-bottom: 14px; }

.stop-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.stop-row { display: flex; gap: 8px; align-items: flex-start; }
.stop-row input, .stop-row textarea, .stop-row .stop-input { flex: 1; }
.stop-remove-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #f3f4f6;
  color: var(--danger);
  font-size: 0.85rem;
  cursor: pointer;
}
.stop-remove-btn:hover { background: #fdeceb; }
.add-stop-btn { margin-bottom: 16px; display: inline-block; }

.stack-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

#homeStep {
  text-align: center;
  align-items: center;
}

.home-logo {
  width: min(320px, 80%);
  height: auto;
  display: block;
  margin: 20px auto 30px;
}

#homeStep .screen-title-lg {
  margin-bottom: 22px;
}

#homeStep .screen-subtitle {
  margin-top: 12px;
  margin-bottom: 26px;
}

.home-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
  margin-bottom: 26px;
  width: 100%;
}

.home-instagram-link {
  display: block;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 26px;
  text-decoration: none;
}

.home-instagram-strip {
  width: 100%;
  display: block;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.home-instagram-caption {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 8px;
}

#savedEstimatesStep .booking-item {
  cursor: pointer;
  transition: border-color 0.15s ease;
}
#savedEstimatesStep .booking-item:hover { border-color: var(--brand); }

/* ---------- Forms ---------- */

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
}

textarea { resize: vertical; }

.checkbox-field { display: flex; align-items: center; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 0.86rem;
  cursor: pointer;
}
.checkbox-label input { width: auto; margin: 0; }

.hidden { display: none !important; }

/* ---------- Buttons ---------- */

.btn-primary, .btn-secondary {
  border: none;
  border-radius: 16px;
  padding: 13px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:disabled { opacity: 0.5; cursor: default; }

.btn-secondary {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: #e5e7eb; }

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.btn-row .btn-primary, .btn-row .btn-secondary { width: auto; flex: 1; }

form { display: flex; flex-direction: column; flex: 1; }
form > .btn-primary:last-of-type,
form > .stack-actions:last-child { margin-top: auto; }

.error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 10px;
  min-height: 1em;
}

.success {
  color: var(--success);
  font-size: 0.85rem;
  margin-top: 10px;
}

.forgot-password-link {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  margin: -8px 0 16px;
  text-decoration: underline;
}
.forgot-password-link:hover { color: var(--brand); }

.arrival-alert {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(192, 57, 43, 0.96);
  animation: arrival-pulse 1.1s ease-in-out infinite;
}
.arrival-alert.hidden { display: none; }

.arrival-alert-box {
  max-width: 420px;
  width: 100%;
  text-align: center;
  color: #ffffff;
}
.arrival-alert-title {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.arrival-alert-body {
  font-size: 1.05rem;
  margin-bottom: 26px;
}
.arrival-alert-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.arrival-alert-actions .btn-primary {
  background: #ffffff;
  color: var(--danger);
}
.arrival-alert-actions .btn-primary:hover { background: #f3f4f6; }
.arrival-alert-actions .btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.arrival-alert-actions .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

@keyframes arrival-pulse {
  0%, 100% { background-color: rgba(192, 57, 43, 0.96); }
  50% { background-color: rgba(160, 40, 30, 0.96); }
}

.push-optin {
  margin: 4px 0 16px;
  padding: 12px 14px;
  background: var(--brand-tint);
  border-radius: 10px;
}
.push-optin .btn-secondary { width: 100%; }
.push-optin .hint { margin: 8px 0 0; text-align: center; }

.fineprint {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 12px;
}

.date-mode-toggle {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.date-mode-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--muted);
  cursor: pointer;
}
.date-mode-option:has(input:checked) {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-tint);
  font-weight: 600;
}
.date-mode-option input[type="radio"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: var(--brand);
}

/* ---------- Availability calendar (date picker) ---------- */

.date-picker { position: relative; flex: 1; }

.date-picker-btn {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.date-picker-btn:hover { border-color: var(--black); }

.date-picker-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  width: 280px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 12px;
}

.date-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.date-picker-nav {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #f3f4f6;
  cursor: pointer;
  font-size: 0.9rem;
}
.date-picker-nav:hover { background: #e5e7eb; }

.date-picker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.date-picker-day {
  aspect-ratio: 1;
  border: none;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text);
}
.date-picker-day:hover:not(:disabled) { background: var(--brand-tint); }
.date-picker-day.empty { background: none; cursor: default; }
.date-picker-day.past { background: none; color: var(--border); cursor: not-allowed; }
.date-picker-day.partial { background: #e5e7eb; color: var(--text); }
.date-picker-day.full { background: #fbdcd8; color: #b42318; cursor: not-allowed; }
.date-picker-day.selected { background: var(--black); color: #fff; }

.date-picker-legend {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--muted);
}
.date-picker-legend span { display: flex; align-items: center; gap: 4px; }

.date-picker-legend-inline {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e5e7eb;
}
.dot.full { background: #fbdcd8; border: 1px solid #b42318; }

.date-range-fields {
  margin-top: 4px;
}
.date-range-fields .hint {
  margin-bottom: 8px;
}

.service-note {
  background: var(--brand-tint);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--black);
  margin-top: 18px;
  margin-bottom: 18px;
}
.service-note strong { color: var(--brand); }

/* ---------- Cards / boxes ---------- */

.quote-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 4px 0 16px;
}

.quote-box-title {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.quote-box-text {
  font-size: 0.88rem;
}

.quote-service-line {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 14px;
}
.quote-service-title { margin-bottom: 4px; }
.quote-service-range { color: var(--muted); font-size: 0.84rem; }

.quote-details-summary {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.quote-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.quote-detail-row:last-child { border-bottom: none; }
.quote-detail-row span:first-child { color: var(--muted); flex-shrink: 0; }
.quote-detail-row span:last-child { text-align: right; }

.total-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.total-card-compact { padding: 14px 18px; }

.total-card-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.total-card-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--serif);
}

.total-card-ref { font-size: 1.3rem; }

.breakdown-block {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-row span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Booking list / cards ---------- */

.booking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: #fff;
}

.booking-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.booking-ref {
  font-weight: 700;
  font-family: var(--serif);
}

.booking-item .booking-desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 3px 0 6px;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #f3f4f6;
  color: #374151;
  white-space: nowrap;
}

.status-badge.cancelled { background: #fdeceb; color: var(--danger); }
.status-badge.completed { background: #eef7ee; color: #2f7a3a; }
.status-badge.pending { background: #fff6e5; color: #966400; }

.proposal-box {
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}
.proposal-title { font-weight: 600; font-size: 0.86rem; margin-bottom: 2px; }
.proposal-detail { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; }
.proposal-box .btn-row { margin-top: 0; }
.proposal-box .btn-primary, .proposal-box .btn-secondary { padding: 9px 14px; font-size: 0.85rem; }

.tracking-map {
  height: 170px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  border: 1px solid var(--border);
}

#bookingDetailStep .tracking-map, #publicTrackStep .tracking-map { height: 260px; }

.map-recenter-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.booking-item-clickable {
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.booking-item-clickable:hover { border-color: var(--brand); }

.tracking-hint {
  color: var(--brand);
  font-weight: 600;
  margin-top: 6px;
}

.text-link {
  background: none;
  border: none;
  color: var(--black);
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-size: 0.85rem;
}

.empty-state {
  text-align: center;
  padding: 30px 10px;
  color: var(--muted);
}

/* ---------- Staff dashboard ---------- */

.staff-view-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.staff-view-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 4px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.staff-view-tab:hover { color: var(--text); }
.staff-view-tab.active { color: var(--brand); border-bottom-color: var(--brand); }

.staff-view.hidden { display: none; }

/* ---------- Staff schedule (grouped list) ---------- */

.schedule-group { margin-bottom: 20px; }
.schedule-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 8px;
}

.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.schedule-item:hover { border-color: var(--brand); }

.schedule-item-source {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  background: var(--brand);
}
.schedule-item-source.ninox { background: #966400; }

.schedule-item-main { min-width: 0; flex: 1; }
.schedule-item-title { font-weight: 700; font-size: 0.9rem; }
.schedule-item-sub { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }

/* ---------- Staff calendar ---------- */

.staff-calendar-panel { margin-top: 4px; }
.staff-calendar-legend { margin-top: 14px; }

.date-picker-day.has-app { background: var(--brand-tint); color: var(--brand-dark); font-weight: 700; }
.date-picker-day.has-ninox { background: #fff6e5; color: #966400; font-weight: 700; }
.date-picker-day.has-both { background: linear-gradient(135deg, var(--brand-tint) 50%, #fff6e5 50%); color: var(--text); font-weight: 700; }

.dot.ninox { background: #fff6e5; border: 1px solid #966400; }

/* ---------- Staff day-detail overlay ---------- */

.day-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  background: rgba(17, 17, 17, 0.55);
}
.day-detail-overlay.hidden { display: none; }

.day-detail-box {
  width: 100%;
  max-width: 400px;
  max-height: 82vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 20px;
  position: relative;
}

.day-detail-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.day-detail-close:hover { color: var(--text); }

.day-detail-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 14px;
  padding-right: 20px;
}

.day-detail-job {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 10px;
}
.day-detail-job:last-child { margin-bottom: 0; }
.day-detail-job-title { font-weight: 700; font-size: 0.88rem; margin-bottom: 4px; }
.day-detail-job-field { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.day-detail-job-field b { color: var(--text); font-weight: 600; }

.dash-header-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.dash-header-actions select { width: auto; flex: 1; }
.dash-header-actions .btn-secondary { width: auto; }

.staff-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.staff-block {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.staff-block-title {
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.staff-contact {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.5;
}

.inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
@media (max-width: 420px) { .inline-fields { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }
