/* ===========================================
   DeconWA - Shared Stylesheet
   Used by: blog.html, contact.html, dashboard.html
   =========================================== */

:root {
  --navy: #0f1c2e;
  --navy-light: #16253a;
  --orange: #f97316;
  --orange-dark: #ea6a0a;
  --teal: #14b8a6;
  --teal-dark: #0d9488;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --text-dark: #0f172a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--orange);
  color: var(--white);
  font-size: 14px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}

.top-bar-inner .hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.top-links {
  display: flex;
  gap: 24px;
}

.top-links a {
  opacity: 0.95;
}

.top-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---------- Main nav ---------- */
.main-nav {
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-weight: 700;
  font-size: 19px;
  color: var(--text-dark);
}

.logo-sub {
  font-size: 12px;
  color: var(--gray-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
  color: var(--text-dark);
}

.nav-links a {
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: background 0.15s ease, transform 0.05s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-light);
}

.btn-outline {
  background: var(--gray-100);
  color: var(--text-dark);
}

.btn-outline:hover {
  background: var(--gray-200);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
}

.btn-danger {
  background: #fee2e2;
  color: #b91c1c;
}

.btn-danger:hover {
  background: #fecaca;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.content-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.content-list-item:last-child {
  border-bottom: none;
}

.content-list-item-info strong {
  display: block;
  margin-bottom: 4px;
}

.content-list-item-info span {
  font-size: 13px;
  color: var(--gray-500);
}

.content-list-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-white:hover {
  background: var(--gray-100);
}

.btn-block {
  width: 100%;
}

/* ---------- Hero (dark navy banner) ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #14273f 100%);
  color: var(--white);
  padding: 64px 0;
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero p {
  font-size: 18px;
  color: #cbd5e1;
}

.hero-icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
}

.hero-icon-btn .dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* ---------- Generic sections ---------- */
.section {
  padding: 56px 0;
}

.section-bg {
  background: var(--gray-50);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 56px 0 0;
  margin-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand .logo-icon {
  background: var(--teal);
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand .logo-sub {
  color: var(--gray-400);
}

.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
}

.footer-social a:hover {
  background: var(--teal);
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--gray-400);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--teal);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--gray-400);
}

.footer-contact li i {
  color: var(--teal);
  margin-top: 3px;
}

.footer-contact li strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-400);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ===========================================
   Blog Page
   =========================================== */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.search-bar input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 15px;
  color: var(--text-dark);
}

.search-bar:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.10);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.pill {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  border: none;
}

.pill.active {
  background: var(--teal);
  color: var(--white);
}

.pill:hover:not(.active) {
  background: var(--gray-200);
}

.featured-article {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 40px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.badge-orange {
  background: var(--orange);
  color: var(--white);
}

.featured-article h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 760px;
}

.featured-article p {
  color: #cbd5e1;
  font-size: 16px;
  max-width: 700px;
  margin-bottom: 28px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-thumb {
  height: 160px;
  background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 100%);
}

.article-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-body .pill {
  align-self: flex-start;
  padding: 5px 14px;
  font-size: 12px;
  background: var(--gray-100);
  margin-bottom: 14px;
}

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.article-body p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 16px;
  flex: 1;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-500);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 16px;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.read-link {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===========================================
   Contact Page
   =========================================== */
.emergency-banner {
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.emergency-banner i.icon-alert {
  font-size: 26px;
  margin-top: 4px;
}

.emergency-banner h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.emergency-banner p {
  margin-bottom: 16px;
  opacity: 0.95;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.info-card {
  padding: 28px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.info-card h4 {
  font-size: 18px;
  margin-bottom: 14px;
}

.info-card .label {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.info-card .value {
  font-weight: 600;
  margin-bottom: 14px;
}

.info-card .value.link {
  color: var(--teal-dark);
  display: block;
}

.info-card .value.link:hover {
  text-decoration: underline;
}

.info-card .value:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}

.contact-grid h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.form-error-msg {
  display: none;
  color: #ef4444;
  font-size: 12px;
  margin-top: 6px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ef4444;
}

.form-group.error .form-error-msg {
  display: block;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}

.form-success.show {
  display: flex;
}

.form-success i {
  font-size: 20px;
}

.form-error-banner {
  display: none;
  align-items: center;
  gap: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}

.form-error-banner.show {
  display: flex;
}

.office-hours-box {
  padding: 28px;
  margin-bottom: 24px;
}

.hours-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.hours-row i {
  color: var(--teal);
  margin-top: 3px;
}

.hours-row strong {
  display: block;
  margin-bottom: 4px;
}

.hours-row p {
  font-size: 14px;
  color: var(--gray-500);
}

.hours-table div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.hours-table .day {
  color: var(--gray-500);
}

.hours-table .time {
  font-weight: 600;
}

.map-placeholder {
  height: 220px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  text-align: center;
  gap: 8px;
}

.map-placeholder i {
  font-size: 28px;
  color: var(--gray-400);
}

/* ===========================================
   Dashboard Page
   =========================================== */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -48px;
  margin-bottom: 40px;
}

.stat-card {
  padding: 24px;
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--gray-500);
  font-size: 14px;
}

.stat-card-top i {
  color: var(--teal);
  font-size: 18px;
}

.stat-card .stat-value {
  font-size: 28px;
  font-weight: 800;
}

.booking-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.tab-group {
  display: flex;
  gap: 10px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  font-weight: 600;
  font-size: 14px;
  border: none;
  color: var(--text-dark);
}

.tab-btn.active {
  background: var(--teal);
  color: var(--white);
}

.booking-card {
  padding: 28px;
  margin-bottom: 20px;
}

.booking-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.booking-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-title h4 {
  font-size: 19px;
  font-weight: 700;
}

.status-badge {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-progress {
  background: #dbeafe;
  color: #2563eb;
}

.status-scheduled {
  background: var(--gray-100);
  color: var(--gray-700);
}

.close-btn {
  color: var(--gray-400);
  font-size: 18px;
  background: none;
  border: none;
}

.booking-id {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 18px;
}

.booking-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.booking-details span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-details i {
  color: var(--gray-400);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.progress-label .pct {
  color: var(--teal-dark);
}

.progress-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: 999px;
  margin-bottom: 24px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 999px;
}

.booking-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.dashboard-grid h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.panel {
  padding: 28px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.quick-action .info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 16px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.quick-action strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.quick-action span {
  font-size: 13px;
  color: var(--gray-500);
}

.account-info .form-group:last-of-type {
  margin-bottom: 20px;
}

.account-field {
  margin-bottom: 20px;
}

.account-field .label {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.account-field .value {
  font-weight: 600;
  font-size: 15px;
}

/* ===========================================
   Shared interactive components
   (toasts, modals, dropdowns, stepper)
   =========================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  max-width: 340px;
  border-left: 4px solid var(--teal);
  animation: toast-in 0.25s ease;
}

.toast.error {
  border-left-color: #ef4444;
}

.toast.hide {
  animation: toast-out 0.25s ease forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px); }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-head h3 {
  font-size: 20px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--gray-500);
}

.notif-panel {
  position: absolute;
  top: 56px;
  right: 0;
  width: 320px;
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.15s ease;
  z-index: 40;
}

.notif-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.notif-head {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.notif-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item.unread {
  background: #f0fdfa;
}

.notif-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

.notif-item p {
  color: var(--gray-500);
  margin-bottom: 4px;
}

.notif-item time {
  color: var(--gray-400);
  font-size: 11px;
}

.notif-empty {
  padding: 24px;
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
}

.no-results i {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--gray-400);
  display: block;
}

.status-completed {
  background: #dcfce7;
  color: #16a34a;
}

.status-cancelled {
  background: #fee2e2;
  color: #dc2626;
}

.stepper {
  display: flex;
  justify-content: space-between;
  margin: 28px 0;
  position: relative;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--gray-400);
  flex: 1;
  text-align: center;
}

.step .dot2 {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.step.done {
  color: var(--text-dark);
  font-weight: 600;
}

.step.done .dot2 {
  background: var(--teal);
}

.tech-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.tech-contact-row .avatar {
  width: 44px;
  height: 44px;
  font-size: 15px;
}

.field-static {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-static .btn {
  padding: 8px 16px;
  font-size: 13px;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-500);
}

.empty-state i {
  display: block;
  font-size: 30px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.empty-state h4 {
  color: var(--text-dark);
  font-size: 16px;
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 14px;
  margin: 0 auto 16px;
  max-width: 360px;
}

.empty-state .btn {
  display: inline-flex;
}

/* ===========================================
   Admin Dashboard Page (admin.html)
   Pure HTML/CSS only — charts are static SVG.
   =========================================== */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.metric-card {
  padding: 28px;
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.metric-icon.bg-teal { background: var(--teal); }
.metric-icon.bg-orange { background: var(--orange); }
.metric-icon.bg-purple { background: #7c3aed; }
.metric-icon.bg-blue { background: #2563eb; }

.metric-change {
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
}

.metric-card .metric-value {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
}

.metric-card .metric-label {
  color: var(--gray-500);
  font-size: 14px;
}

.chart-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.chart-card {
  padding: 28px;
}

.chart-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.chart-legend {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend .dot-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.table-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.table-card {
  padding: 28px;
}

.table-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  text-align: left;
  color: var(--gray-500);
  font-weight: 600;
  padding: 10px 8px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
}

.data-table td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--gray-100);
}

.status-chip {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.chip-progress { background: #dbeafe; color: #2563eb; }
.chip-done { background: #dcfce7; color: #16a34a; }
.chip-scheduled { background: var(--gray-100); color: var(--gray-700); }
.chip-pending { background: #fef3c7; color: #b45309; }
.chip-cancelled { background: #fee2e2; color: #b91c1c; }

.status-select {
  padding: 6px 10px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  background: var(--white);
  cursor: pointer;
}

.message-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.message-item:last-child {
  border-bottom: none;
}

.message-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.message-item-name {
  font-weight: 700;
}

.message-item-meta {
  font-size: 12px;
  color: var(--gray-500);
}

.message-item-body {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
}

.message-item-emergency {
  color: #dc2626;
  font-weight: 700;
  font-size: 12px;
}

.staff-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.staff-item:last-child {
  border-bottom: none;
}

.staff-name {
  font-weight: 700;
  margin-bottom: 2px;
}

.staff-jobs {
  font-size: 13px;
  color: var(--gray-500);
}

.staff-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  display: inline-block;
}

.badge-active { background: #dbeafe; color: #2563eb; }
.badge-available { background: #dcfce7; color: #16a34a; }

.staff-rating {
  font-size: 13px;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

.bottom-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bottom-stat {
  padding: 28px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid;
}

.bottom-stat.tint-green { background: #f0fdf4; border-color: #bbf7d0; }
.bottom-stat.tint-blue { background: #eff6ff; border-color: #bfdbfe; }
.bottom-stat.tint-orange { background: #fff7ed; border-color: #fed7aa; }

.bottom-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  flex-shrink: 0;
}

.bottom-stat .stat-big {
  font-size: 24px;
  font-weight: 800;
}

.bottom-stat .stat-small {
  font-size: 13px;
  color: var(--gray-500);
}

/* ===========================================
   Pure-CSS interactive patterns
   (no JavaScript anywhere on the site)
   Used by blog.html, contact.html, dashboard.html
   =========================================== */

/* Overlays/modals are opened with a plain link to
   their #id and closed by linking back to "#" —
   this is the browser's built-in :target state. */
.modal-overlay:target {
  opacity: 1;
  pointer-events: auto;
}

/* Hidden checkboxes/radios used to drive show/hide state.
   Kept in the accessibility tree, just not visible. */
.hidden-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Blog category filter (radio-hack) — #filter-all uses no
   rule since the default state is "show everything" */
.article-card.search-hidden { display: none !important; }

#filter-safety:checked ~ .article-grid .article-card:not([data-category="Safety Tips"]) { display: none; }
#filter-industry:checked ~ .article-grid .article-card:not([data-category="Industry News"]) { display: none; }
#filter-guides:checked ~ .article-grid .article-card:not([data-category="Guides"]) { display: none; }
#filter-case:checked ~ .article-grid .article-card:not([data-category="Case Studies"]) { display: none; }

#filter-all:checked ~ .filter-pills label[for="filter-all"],
#filter-safety:checked ~ .filter-pills label[for="filter-safety"],
#filter-industry:checked ~ .filter-pills label[for="filter-industry"],
#filter-guides:checked ~ .filter-pills label[for="filter-guides"],
#filter-case:checked ~ .filter-pills label[for="filter-case"] {
  background: var(--teal);
  color: var(--white);
}

/* Dashboard tabs (radio-hack) */
#tab-active:checked ~ .booking-tabs label[for="tab-active"],
#tab-history:checked ~ .booking-tabs label[for="tab-history"] {
  background: var(--teal);
  color: var(--white);
}

#tab-active:checked ~ #activeBookingsList { display: block; }
#tab-active:checked ~ #historyList { display: none; }
#tab-history:checked ~ #activeBookingsList { display: none; }
#tab-history:checked ~ #historyList { display: block; }

/* Cancel booking + edit profile + notifications (:has()) */
.booking-card:has(.cancel-toggle:checked) {
  display: none;
}


.bell-wrap:has(.bell-toggle:checked) .notif-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.bell-wrap:has(.bell-toggle:checked) .dot {
  display: none;
}

/* Contact form: native HTML5 validation feedback (no JS) */
.contact-form input:invalid:not(:placeholder-shown),
.contact-form select:invalid,
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.contact-form:has(#emergencyCheck:checked) .submit-btn {
  background: var(--orange);
}

.form-note {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.bell-wrap {
  position: relative;
}

.hero-icon-btn {
  cursor: pointer;
}

.account-card {
  padding: 28px;
}

/* ---------- Responsive (booking + admin) ---------- */
@media (max-width: 900px) {
  .service-grid,
  .metric-grid,
  .chart-grid,
  .table-grid,
  .bottom-stats {
    grid-template-columns: 1fr 1fr;
  }
  .chart-grid,
  .table-grid {
    grid-template-columns: 1fr;
  }
  .wizard-step span:last-child {
    display: none;
  }
}

@media (max-width: 600px) {
  .service-grid,
  .metric-grid,
  .bottom-stats {
    grid-template-columns: 1fr;
  }
  .wizard-panel {
    padding: 24px;
  }
}

/* ---------- Responsive ---------- */
.mobile-nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-dark);
    font-size: 18px;
    cursor: pointer;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-md);
    z-index: 40;
  }
  .nav-links.nav-open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 10px 0;
  }
  .hero h1 {
    font-size: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .article-grid,
  .info-cards,
  .stat-cards,
  .form-row,
  .quick-actions-grid,
  .booking-actions {
    grid-template-columns: 1fr;
  }
  .featured-article {
    padding: 28px;
  }
  .featured-article h2 {
    font-size: 24px;
  }
}
