/* =========================================================================
   TekSathi - member.css
   Consumer member portal, re-themed to match the PUBLIC main site.
   Reuses the design tokens from style.css (--primary, --green, --surface,
   --border, --radius-*, --shadow, --text, --muted, --bg, --bg-2). The member
   body carries the .light-mode class so these tokens resolve to the clean
   white/blue palette used across the public website. Class names/structure
   are unchanged - only the visual language now matches the main site.
   ========================================================================= */

/* ---------- Reset & Typography ---------- */
.member-portal-body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  padding-bottom: 90px; /* Space for mobile nav */
}

@media (min-width: 768px) {
  .member-portal-body { padding-bottom: 30px; }
}

/* ---------- Grid Layout Helpers ---------- */
.m-container { width: min(92%, 1200px); margin: 0 auto; }
.m-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.m-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.m-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

/* ---------- Desktop Navigation Bar ---------- */
.m-navbar {
  position: sticky;
  top: 0;
  background: rgba(8, 18, 31, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: none;
}
body.light-mode .m-navbar {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(16, 34, 56, 0.06);
}
@media (min-width: 768px) { .m-navbar { display: block; } }

/* ---------- Floating theme toggle ---------- */
.m-theme-toggle {
  position: fixed;
  right: 20px;
  bottom: 84px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  cursor: pointer;
  z-index: 200;
  transition: transform 0.2s, box-shadow 0.2s;
}
.m-theme-toggle:hover { transform: translateY(-2px) scale(1.05); }
@media (min-width: 768px) {
  .m-theme-toggle { bottom: 24px; right: 24px; }
}

.m-nav-container {
  max-width: 1320px; width: 92%; margin: 0 auto; min-height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.m-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.m-brand-logo {
  width: 40px; height: 40px; border-radius: 10px; object-fit: contain;
  background: #fff; padding: 4px; box-shadow: var(--shadow);
}
.m-brand-name {
  font-size: 1.25rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em;
}
.m-badge {
  background: rgba(31, 143, 229, 0.12); color: var(--primary);
  font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; text-transform: uppercase;
}

.m-nav-links { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.m-nav-links a {
  color: var(--muted); font-size: 0.94rem; font-weight: 600; text-decoration: none;
  display: flex; align-items: center; gap: 6px; position: relative; padding: 8px 0; transition: color 0.2s;
  white-space: nowrap;
}
.m-nav-links a i { font-size: 1rem; }
.m-nav-links a:hover { color: var(--primary); }
.m-nav-links a.active { color: var(--primary); }
.m-nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--green)); border-radius: 99px;
}
.m-unread-dot {
  width: 8px; height: 8px; background-color: #ef4444; border-radius: 50%;
  position: absolute; top: 6px; right: -6px;
}

.m-nav-user {
  display: flex; align-items: center; gap: 12px;
  border-left: 1px solid var(--border); padding-left: 16px; flex-shrink: 0;
}
.m-user-avatar-sm {
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: rgba(31, 143, 229, 0.14); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem;
}
.m-user-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.m-user-info { display: flex; flex-direction: column; text-align: right; }
.m-user-name { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.m-user-code { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

/* ---------- Profile dropdown menu (matches the user-menu pattern used
   across the other TekSathi panels) ---------- */
.m-user-menu { position: relative; }
.m-user-menu-trigger {
  display: flex; align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer; padding: 4px 6px; border-radius: 10px;
  font-family: inherit; transition: background 0.2s;
}
.m-user-menu-trigger:hover { background: var(--surface-2); }
.m-user-menu-chevron { font-size: 0.7rem; color: var(--muted); transition: transform 0.15s ease; flex-shrink: 0; }
.m-user-menu.open .m-user-menu-chevron { transform: rotate(180deg); }
.m-user-menu-dropdown {
  display: none;
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 260px; max-height: calc(100vh - 100px); overflow-y: auto; padding: 6px; z-index: 200;
}
.m-user-menu.open .m-user-menu-dropdown { display: block; }
.m-user-menu-dropdown a {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; border-radius: 8px; border: 0; background: none; box-sizing: border-box;
  text-decoration: none; color: var(--text); font-size: 0.84rem; font-weight: 600;
  cursor: pointer; text-align: left; font-family: inherit; transition: background 0.15s;
}
.m-user-menu-dropdown a:hover { background: var(--surface-2); color: var(--primary); }
.m-user-menu-dropdown a i { width: 16px; color: var(--muted); }
.m-user-menu-dropdown a.m-user-menu-logout { color: #e74c3c; }
.m-user-menu-dropdown a.m-user-menu-logout:hover { background: #fde8e8; color: #e74c3c; }
.m-user-menu-dropdown a.m-user-menu-logout i { color: #e74c3c; }
.m-user-menu-dropdown hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; }

/* ---------- Mobile Bottom Navigation Bar ---------- */
.m-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: 64px;
  background: var(--bg-2); box-shadow: 0 -4px 20px rgba(16, 34, 56, 0.06);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-around; z-index: 100;
}
@media (min-width: 768px) { .m-bottom-nav { display: none; } }
.m-bottom-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none; font-size: 0.65rem; font-weight: 600;
  gap: 4px; width: 20%; height: 100%; transition: color 0.2s;
}
.m-bottom-item i { font-size: 1.2rem; }
.m-bottom-item:hover, .m-bottom-item.active { color: var(--primary); }

/* ---------- Main Content spacing ---------- */
.m-main-content { padding: 24px 0 40px; }
@media (max-width: 767px) { .m-main-content { padding: 16px 0 30px; } }

/* ---------- Alerts ---------- */
.m-alert {
  padding: 14px 18px; border-radius: 16px; font-size: 0.9rem; font-weight: 600;
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 12px rgba(16,34,56,0.04);
}
.m-alert-success { background-color: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.m-alert-danger { background-color: #fdf2f2; border: 1px solid #fecdca; color: #912018; }

/* ---------- White Rounded Cards & Sections ---------- */
.m-section-header { margin-bottom: 20px; }
.m-section-header h2 { font-size: 1.35rem; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.m-section-header p { font-size: 0.86rem; color: var(--muted); margin-top: 3px; }

.m-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
}
.m-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16,34,56,0.10); }

/* ---------- Welcome Banner ---------- */
.m-welcome-card {
  background: linear-gradient(135deg, var(--primary), var(--green));
  color: #ffffff; border-radius: var(--radius-xl); padding: 34px 28px;
  position: relative; overflow: hidden;
  box-shadow: 0 18px 40px rgba(21, 109, 177, 0.20); margin-bottom: 28px;
}
.m-welcome-card::before {
  content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
}
.m-welcome-card h1 { font-size: clamp(1.4rem, 4vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; }
.m-welcome-card p { font-size: 0.94rem; opacity: 0.9; margin-top: 6px; max-width: 580px; }

/* ---------- Search Block ---------- */
.m-search-sec { margin-top: 20px; }
.m-search-form {
  display: flex; align-items: center; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 16px; padding: 8px 12px; box-shadow: var(--shadow); gap: 10px; flex-wrap: wrap;
}
.m-search-input-group {
  display: flex; align-items: center; gap: 8px; flex: 1 1 200px; padding: 8px;
  border-radius: 10px; background: var(--surface-2);
}
.m-search-input-group i { color: var(--muted); }
.m-search-input-group input {
  border: none; background: none; outline: none; width: 100%; font-size: 0.94rem; color: var(--text);
}
.m-search-btn {
  background: linear-gradient(135deg, var(--primary), var(--green)); color: #fff; border: none;
  border-radius: 12px; padding: 10px 24px; font-weight: 700; font-size: 0.94rem; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s; flex-shrink: 0;
}
.m-search-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(31,143,229,0.25); }
@media (max-width: 580px) {
  .m-search-form { flex-direction: column; align-items: stretch; }
  .m-search-btn { width: 100%; }
}

.m-search-query-group { flex: 2 1 300px; }
.m-search-loc-group { flex: 1 1 160px; }

/* Mobile compact Welcome Card & Search Box */
@media (max-width: 767px) {
  .m-welcome-card {
    padding: 14px 12px;
    margin-bottom: 14px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(21, 109, 177, 0.15);
  }
  .m-welcome-card h1 {
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.2;
  }
  .m-welcome-card p {
    font-size: 0.78rem;
    margin-top: 3px;
    line-height: 1.3;
    opacity: 0.95;
  }
  .m-search-sec {
    margin-top: 8px;
  }
  .m-search-form {
    padding: 5px;
    gap: 5px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .m-search-loc-group {
    flex: 1 1 32%;
    padding: 5px 8px;
    border-radius: 8px;
    min-width: 0;
  }
  .m-search-query-group {
    flex: 1 1 63%;
    padding: 5px 8px;
    border-radius: 8px;
    min-width: 0;
  }
  .m-search-input-group i {
    font-size: 0.78rem;
  }
  .m-search-input-group input {
    font-size: 0.78rem;
  }
  .m-search-btn {
    width: 100%;
    padding: 7px 12px;
    font-size: 0.82rem;
    border-radius: 8px;
    height: 34px;
  }
}

/* ---------- Booking Card ---------- */
.m-bookings-section { margin-bottom: 28px; }
.m-booking-item {
  display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  margin-bottom: 16px; transition: transform 0.2s, box-shadow 0.2s;
}
.m-booking-item:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16,34,56,0.08); }
.m-booking-item-body { padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.m-booking-avatar {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(31,143,229,0.18), rgba(89,184,12,0.16));
  color: var(--primary); font-weight: 800; font-size: 1.25rem; display: grid; place-items: center; flex-shrink: 0;
}
.m-booking-details { flex-grow: 1; min-width: 0; }
.m-booking-badge {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 6px; display: inline-block; margin-bottom: 6px;
}
.badge-healthcare { background: rgba(31,143,229,0.12); color: var(--primary); }
.badge-clubs { background: #fdf2f8; color: #9d174d; }
.badge-generic { background: var(--surface-2); color: var(--muted); }
.m-booking-details h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.m-booking-subtitle { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.m-booking-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: var(--muted); }
.m-booking-meta span { display: inline-flex; align-items: center; gap: 5px; }
.m-booking-meta span i { color: var(--primary); }
.m-booking-status-tag {
  align-self: flex-start; font-size: 0.76rem; font-weight: 700; padding: 4px 10px;
  border-radius: 99px; text-transform: capitalize;
}
.status-booked { background-color: #ecfdf5; color: #047857; }
.status-waitlisted { background-color: #fffbeb; color: #b45309; }
.status-pending { background-color: var(--surface-2); color: var(--muted); }
.status-completed { background-color: rgba(31,143,229,0.12); color: var(--primary-2); }
.status-cancelled { background-color: #fdf2f2; color: #b91c1c; }
.m-booking-item-footer {
  background: var(--surface-2); border-top: 1px solid var(--border);
  padding: 12px 20px; display: flex; justify-content: flex-end; gap: 10px;
}
.m-booking-btn {
  padding: 8px 16px; border-radius: 10px; font-size: 0.84rem; font-weight: 700; border: none;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s;
}
.m-btn-outline { background: var(--bg-2); border: 1px solid var(--border); color: var(--text); }
.m-btn-outline:hover { background: var(--surface-2); }
.m-btn-danger-outline { background: var(--bg-2); border: 1px solid #fecdca; color: #b91c1c; }
.m-btn-danger-outline:hover { background: #fdf2f2; }
.m-btn-primary { background: linear-gradient(135deg, var(--primary), var(--green)); color: #fff; }
.m-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(31,143,229,0.25); }

/* ---------- Quick Actions ---------- */
.m-quick-actions { margin-bottom: 28px; }
.m-action-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 10px; text-decoration: none; text-align: center; transition: all 0.25s;
}
.m-action-item:hover { transform: translateY(-4px); border-color: rgba(31,143,229,0.4); box-shadow: var(--shadow); }
.m-action-ico {
  width: 52px; height: 52px; border-radius: 16px;
  background: rgba(31,143,229,0.12); color: var(--primary); font-size: 1.3rem;
  display: grid; place-items: center; margin-bottom: 12px; transition: all 0.25s;
}
.m-action-item:hover .m-action-ico { background: linear-gradient(135deg, var(--primary), var(--green)); color: #fff; }
.m-action-item strong { font-size: 0.88rem; font-weight: 700; color: var(--text); }

/* ---------- Feed / Lists ---------- */
.m-feed-list { display: flex; flex-direction: column; gap: 12px; }
.m-activity-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.m-activity-item:last-child { border-bottom: none; }
.m-act-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 0.9rem; flex-shrink: 0; }
.activity-primary { background: rgba(31,143,229,0.12); color: var(--primary); }
.activity-success { background: rgba(89,184,12,0.14); color: var(--green-2); }
.activity-danger { background: #fdf2f2; color: #dc2626; }
.activity-info { background: rgba(31,143,229,0.10); color: var(--primary); }
.m-act-text { flex-grow: 1; font-size: 0.88rem; color: var(--text); font-weight: 600; }
.m-act-time { font-size: 0.78rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.m-ann-item { padding: 16px; border-radius: 14px; background: var(--surface-2); border-left: 4px solid var(--primary); margin-bottom: 12px; }
.m-ann-item:last-child { margin-bottom: 0; }
.m-ann-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.m-ann-header strong { font-size: 0.88rem; font-weight: 800; color: var(--text); }
.m-ann-header span { font-size: 0.76rem; color: var(--muted); }
.m-ann-item p { font-size: 0.84rem; color: var(--muted); line-height: 1.45; }
.m-ann-source { font-size: 0.74rem; color: var(--muted); margin-top: 6px; font-weight: 600; }

/* ---------- Bookings Page (Tabs) ---------- */
.m-tabs-nav {
  display: flex; gap: 8px; overflow-x: auto; border-bottom: 1px solid var(--border);
  padding-bottom: 12px; margin-bottom: 22px; scrollbar-width: none;
}
.m-tab-link {
  background: none; border: none; padding: 8px 16px; border-radius: 10px; color: var(--muted);
  font-weight: 700; font-size: 0.88rem; cursor: pointer; white-space: nowrap; transition: all 0.2s;
}
.m-tab-link:hover { color: var(--text); background: var(--surface-2); }
.m-tab-link.active { background: rgba(31,143,229,0.12); color: var(--primary); }
.m-bookings-pane { display: none; }
.m-bookings-pane.active { display: block; }
.m-empty-state {
  text-align: center; padding: 48px 20px; background: var(--bg-2);
  border: 1px dashed var(--border); border-radius: var(--radius-lg);
}
.m-empty-ico { font-size: 2.5rem; color: var(--muted); margin-bottom: 14px; }
.m-empty-state h3 { font-size: 1.15rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.m-empty-state p { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }

/* ---------- Profile Layout ---------- */
.m-profile-layout { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
@media (max-width: 900px) { .m-profile-layout { grid-template-columns: 1fr; } }
.m-profile-nav {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
}
.m-profile-nav-btn {
  background: none; border: none; text-align: left; padding: 12px 16px; border-radius: 12px;
  color: var(--text); font-weight: 700; font-size: 0.92rem; cursor: pointer;
  display: flex; align-items: center; gap: 12px; transition: all 0.2s;
}
.m-profile-nav-btn i { font-size: 1rem; width: 20px; color: var(--muted); }
.m-profile-nav-btn:hover { background: var(--surface-2); color: var(--text); }
.m-profile-nav-btn.active { background: rgba(31,143,229,0.12); color: var(--primary); }
.m-profile-nav-btn.active i { color: var(--primary); }
.m-profile-pane { display: none; }
.m-profile-pane.active { display: block; }

/* Forms */
.m-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.m-form-group label { font-size: 0.8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.m-form-input {
  width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 11px 14px;
  font-size: 0.94rem; color: var(--text); background: var(--bg-2); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.m-form-input:focus { border-color: rgba(31,143,229,0.45); box-shadow: 0 0 0 4px rgba(31,143,229,0.08); }
.m-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

/* ---------- Family ---------- */
.m-family-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.m-family-card { border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: flex; align-items: center; gap: 14px; background: var(--surface-2); }
.m-family-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(31,143,229,0.14); color: var(--primary); font-weight: 800;
  display: grid; place-items: center; flex-shrink: 0;
}
.m-family-info strong { display: block; font-size: 0.9rem; color: var(--text); }
.m-family-info span { display: block; font-size: 0.76rem; color: var(--muted); font-weight: 500; }

/* Modals */
.m-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.m-modal-overlay { position: absolute; inset: 0; background: rgba(7, 17, 31, 0.45); backdrop-filter: blur(4px); }
.m-modal-content {
  position: relative; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  width: 100%; max-width: 500px; box-shadow: var(--shadow); padding: 28px; z-index: 10;
  animation: mModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.m-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.m-modal-header h3 { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.m-modal-close { background: none; border: none; font-size: 1.5rem; color: var(--muted); cursor: pointer; }
@keyframes mModalIn { from { opacity: 0; transform: scale(0.95) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* ---------- Payments & Documents ---------- */
.m-receipt-item { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); gap: 12px; }
.m-receipt-item:last-child { border-bottom: none; }
.m-receipt-info strong { display: block; font-size: 0.9rem; color: var(--text); }
.m-receipt-info span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.m-receipt-amount { text-align: right; }
.m-receipt-amount .amt { font-weight: 800; font-size: 0.95rem; color: var(--text); }
.m-receipt-amount .status { font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; display: inline-block; margin-top: 4px; }
.m-doc-item { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; }
.m-doc-item:last-child { margin-bottom: 0; }
.m-doc-info { display: flex; align-items: center; gap: 12px; }
.m-doc-ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(31,143,229,0.12); color: var(--primary); display: grid; place-items: center; font-size: 1.15rem; }
.m-doc-details strong { display: block; font-size: 0.88rem; color: var(--text); }
.m-doc-details span { font-size: 0.76rem; color: var(--muted); }
