/* ----------------------------------------------------
   DESIGN SYSTEM & VARIABLES
------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-main: #ffffff;
  --bg-sidebar: #f8fafc;
  --card-bg: #ffffff;
  --card-border: rgba(15, 23, 42, 0.08);
  --card-glow: rgba(99, 102, 241, 0.01);

  --text-main: #0f172a;
  --text-medium: #475569;
  --text-dim: #64748b;

  /* Accent Colors */
  --accent-indigo: #4f46e5;
  --accent-indigo-glow: rgba(79, 70, 229, 0.15);
  --accent-teal: #0d9488;
  --accent-teal-glow: rgba(13, 148, 136, 0.15);
  --accent-green: #059669;
  --accent-green-glow: rgba(5, 150, 105, 0.15);
  --accent-amber: #d97706;
  --accent-amber-glow: rgba(217, 119, 6, 0.15);
  --accent-red: #dc2626;
  --accent-red-glow: rgba(220, 38, 38, 0.15);

  /* Fonts */
  --font-header: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadow & Blur */
  --blur-amount: 20px;
  --shadow-premium: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 20px 0px rgba(99, 102, 241, 0.05);
}

/* ----------------------------------------------------
   BASE STYLES & RESET
------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-indigo);
}

/* Typography Utility */
h1,
h2,
h3,
h4,
.brand-name {
  font-family: var(--font-header);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.text-dim {
  color: var(--text-dim);
}

.text-medium {
  color: var(--text-medium);
}

.text-teal {
  color: var(--accent-teal);
}

.text-warning {
  color: var(--accent-amber);
}

.text-danger {
  color: var(--accent-red);
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.w-100 {
  width: 100%;
}

/* ----------------------------------------------------
   LAYOUT: SIDEBAR & MAIN
------------------------------------------------------- */
.app-container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar styling */
.app-sidebar {
  width: 260px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  z-index: 100;
  transition: transform var(--transition-normal);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-teal));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.brand-svg {
  animation: logo-spin 10s linear infinite;
}

@keyframes logo-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--text-main), var(--accent-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  color: var(--text-medium);
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.menu-item svg {
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.menu-item:hover,
.menu-item.active {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.02);
}

.menu-item.active {
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.08), transparent);
  border-color: rgba(79, 70, 229, 0.15);
  color: var(--accent-indigo);
}

.menu-item.active svg {
  color: var(--accent-indigo);
  opacity: 1;
  filter: drop-shadow(0 0 5px var(--accent-indigo-glow));
}

.sidebar-footer {
  margin-top: auto;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-indigo));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-header);
  color: white;
  font-size: 0.9rem;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.user-status {
  font-size: 0.7rem;
  color: var(--accent-teal);
}

/* Main Area */
.app-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.app-header {
  height: 70px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(var(--blur-amount));
  z-index: 90;
}

#page-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

.view-content {
  flex-grow: 1;
  padding: 2rem;
  overflow-y: auto;
  position: relative;
}

/* View Visibilities */
.app-view {
  display: none;
  animation: fade-in var(--transition-normal) forwards;
}

.app-view.active-view {
  display: block;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------------------
   COMPONENTS: CARDS, BUTTONS & FORMS
------------------------------------------------------- */
/* Glassmorphism Card styling */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--blur-amount));
  -webkit-backdrop-filter: blur(var(--blur-amount));
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, var(--card-glow), transparent 60%);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: var(--shadow-premium), var(--shadow-glow);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

/* Buttons styling */
.btn {
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo), #4f46e5);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7c3aed, var(--accent-indigo));
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.05);
  border-color: var(--card-border);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.15);
}

.btn-danger-outline {
  background: transparent;
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--accent-red);
}

.btn-danger-outline:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--accent-red);
}

.btn:active {
  transform: scale(0.98);
}

/* Forms styling */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.form-row .form-group {
  margin-bottom: 0;
}

.span-2 {
  grid-column: span 2;
}

.span-3 {
  grid-column: span 3;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-medium);
}

.form-control {
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 0.65rem 0.95rem;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.1);
  background: white;
}

.form-help {
  font-size: 0.75rem;
}

/* Toggle row utility */
.toggle-group {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1rem;
}

.toggle-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* ----------------------------------------------------
   1. DASHBOARD VIEW STYLING
------------------------------------------------------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Summary Card */
.summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-details h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.badge-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.streak-badge,
.compliance-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--card-border);
}

.streak-badge {
  border-color: rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
}

.compliance-badge {
  border-color: rgba(6, 182, 212, 0.2);
  color: var(--accent-teal);
}

/* Progress circle design */
.progress-circle-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-ring-bar {
  transition: stroke-dashoffset 0.35s;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 6px var(--accent-teal-glow));
}

.progress-text {
  position: absolute;
  font-family: var(--font-header);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Next Dose Card */
.next-dose-card {
  display: flex;
  flex-direction: column;
}

.next-dose-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-medium);
}

.next-dose-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
  justify-content: center;
}

.next-dose-active {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.next-med-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.next-med-time-left {
  font-size: 0.9rem;
  color: var(--accent-teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.next-med-schedule {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Timeline Cards */
.timeline-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

.timeline-card h3 {
  font-size: 1.25rem;
}

.date-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-grow: 1;
}

/* Empty States */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 1rem;
  color: var(--text-dim);
  flex-grow: 1;
}

.empty-state-small {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 1.5rem 0;
}

.empty-icon {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Timeline Item Card */
.timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all var(--transition-fast);
}

.timeline-item:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

.timeline-item.taken {
  opacity: 0.8;
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.06);
}

.timeline-item.skipped {
  opacity: 0.8;
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.06);
}

.timeline-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.timeline-time-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 65px;
  padding: 0.5rem;
  background: rgba(15, 23, 42, 0.03);
  border-radius: 8px;
  border: 1px solid var(--card-border);
}

.time-val {
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 700;
}

.time-ampm {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-dim);
}

.timeline-med-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.timeline-med-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.timeline-med-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-medium);
}

.bullet-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
}

.food-tag {
  color: var(--accent-teal);
  font-weight: 500;
}

.timeline-actions {
  display: flex;
  gap: 0.5rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ----------------------------------------------------
   2. MEDICATIONS VIEW STYLING
------------------------------------------------------- */
.medications-view-header {
  margin-bottom: 2rem;
}

.medications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.medication-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.med-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.med-card-color-strip {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--accent-indigo);
}

.med-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.med-card-dosage {
  font-size: 0.9rem;
  color: var(--text-medium);
}

.med-card-options-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color var(--transition-fast);
}

.med-card-options-btn:hover {
  color: var(--text-main);
}

.med-card-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-medium);
  flex-grow: 1;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-row svg {
  color: var(--text-dim);
}

.med-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--card-border);
}

.stock-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--card-border);
}

.stock-low {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
  color: var(--accent-red);
  animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.med-card-actions {
  display: flex;
  gap: 0.4rem;
}

/* ----------------------------------------------------
   3. HISTORY & CALENDAR VIEW STYLING
------------------------------------------------------- */
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-value {
  font-family: var(--font-header);
  font-size: 1.75rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* Weekly chart */
.adherence-chart-container {
  margin-top: 1rem;
}

.chart-header {
  font-size: 0.85rem;
  color: var(--text-medium);
  font-weight: 600;
  margin-bottom: 1rem;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  padding-top: 10px;
}

.chart-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-grow: 1;
}

.bar-container {
  width: 16px;
  height: 80px;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.bar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--accent-indigo), var(--accent-teal));
  border-radius: 4px;
  transition: height var(--transition-slow);
}

.bar-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Calendar styling */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-nav {
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text-medium);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all var(--transition-fast);
}

.calendar-nav:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-main);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.calendar-day:hover {
  background: rgba(15, 23, 42, 0.05);
}

.day-empty {
  color: var(--text-dim);
  opacity: 0.3;
  pointer-events: none;
}

/* Calendar status colors */
.day-perfect {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #065f46;
  font-weight: 600;
}

.day-partial {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: #92400e;
  font-weight: 600;
}

.day-missed {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #991b1b;
  font-weight: 600;
}

.day-none {
  background: transparent;
  color: var(--text-medium);
}

.day-today {
  box-shadow: inset 0 0 0 2px var(--accent-indigo);
}

.calendar-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.7rem;
  color: var(--text-medium);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-perfect {
  background: var(--accent-green);
}

.dot-partial {
  background: var(--accent-amber);
}

.dot-missed {
  background: var(--accent-red);
}

.dot-none {
  background: rgba(15, 23, 42, 0.15);
}

/* History log list */
.history-log-card {
  max-height: 400px;
  display: flex;
  flex-direction: column;
}

.log-date-badge {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-indigo);
  background: var(--accent-indigo-glow);
  border-radius: 6px;
  padding: 0.15rem 0.55rem;
  margin-left: 0.5rem;
  vertical-align: middle;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.log-list-container {
  overflow-y: auto;
  flex-grow: 1;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.log-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.01);
  border: 1px solid var(--card-border);
}

.log-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.log-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.log-time {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.log-status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.log-status-taken {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}

.log-status-skipped {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
}

.log-status-missed {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
}

/* ----------------------------------------------------
   4. SETTINGS VIEW STYLING
------------------------------------------------------- */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.volume-slider-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.volume-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(15, 23, 42, 0.1);
  height: 6px;
  border-radius: 3px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-indigo);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  transition: transform var(--transition-fast);
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.form-actions-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.data-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-file-label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ----------------------------------------------------
   MODAL OVERLAY & POPUPS
------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 12, 30, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.5rem;
}

.modal-card {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 16px;
  padding: 1.5rem;
  background: linear-gradient(150deg, #ffffff 0%, #f5f3ff 55%, #eef2ff 100%);
  border: 1.5px solid rgba(99, 102, 241, 0.22);
  box-shadow:
    0 30px 70px -10px rgba(79, 70, 229, 0.22),
    0 10px 30px -5px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.modal-overlay.active {
  display: flex;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid rgba(99, 102, 241, 0.12);
}

.modal-header h3 {
  font-size: 1.35rem;
  background: linear-gradient(90deg, var(--text-main), var(--accent-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-main);
}

.days-checkbox-grid {
  display: flex;
  gap: 0.35rem;
  justify-content: space-between;
}

.day-check {
  cursor: pointer;
  flex-grow: 1;
}

.day-check input {
  display: none;
}

.day-check span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--card-border);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.day-check input:checked+span {
  background: var(--accent-indigo);
  border-color: var(--accent-indigo);
  color: white;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.color-picker-grid {
  display: flex;
  gap: 0.5rem;
}

.color-picker-item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--picker-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.color-picker-item input {
  display: none;
}

.color-picker-item:has(input:checked) {
  border-color: var(--text-main);
  box-shadow: 0 0 10px var(--picker-color);
}

.time-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn-remove-time {
  background: none;
  border: none;
  color: var(--accent-red);
  cursor: pointer;
  font-size: 1.25rem;
}

/* Animations */
.animate-slide-up {
  animation: slide-up var(--transition-normal) forwards;
}

@keyframes slide-up {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ----------------------------------------------------
   REAL-TIME ACTIVE ALARM SCREEN
------------------------------------------------------- */
.alarm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 1.5rem;
}

.alarm-overlay.active {
  display: flex;
}

.alarm-card {
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: 3rem 2rem;
  background: #0f172a;
  color: #f8fafc;
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 0 50px rgba(239, 68, 68, 0.25);
}

.alarm-card .alarm-med-notes {
  color: #94a3b8;
}

.alarm-card .alarm-meta-badge {
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.alarm-bell-icon {
  margin-bottom: 2rem;
  display: inline-flex;
  justify-content: center;
}

.bell-ringing {
  animation: ring 1.5s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes ring {

  0%,
  100% {
    transform: rotate(0);
  }

  15% {
    transform: rotate(15deg);
  }

  30% {
    transform: rotate(-15deg);
  }

  45% {
    transform: rotate(10deg);
  }

  60% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(4deg);
  }

  85% {
    transform: rotate(-4deg);
  }
}

.animate-pulse-glow {
  animation: pulse-red-glow 2s infinite;
}

@keyframes pulse-red-glow {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.15);
  }

  50% {
    box-shadow: 0 0 60px rgba(239, 68, 68, 0.35);
    border-color: rgba(239, 68, 68, 0.35);
  }
}

.alarm-header-label {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-red);
  margin-bottom: 0.75rem;
  display: block;
}

.alarm-med-name {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.alarm-med-meta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.alarm-meta-badge {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
}

.alarm-med-notes {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.alarm-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ----------------------------------------------------
   TOAST SYSTEM (NON-BLOCKING ALERTS)
------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 400;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
  backdrop-filter: blur(15px);
  border: 1px solid var(--card-border);
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 250px;
  transform: translateX(120%);
  animation: toast-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  overflow: hidden;
}

.toast::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--accent-indigo);
}

.toast-success::before {
  background-color: var(--accent-green);
}

.toast-warning::before {
  background-color: var(--accent-amber);
}

.toast-info::before {
  background-color: var(--accent-teal);
}

.toast-error::before {
  background-color: var(--accent-red);
}

@keyframes toast-slide-in {
  to {
    transform: translateX(0);
  }
}

.toast.fade-out {
  animation: toast-slide-out 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toast-slide-out {
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* ----------------------------------------------------
   RESPONSIVE LAYOUT adjustments
------------------------------------------------------- */
@media (max-width: 992px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-card {
    grid-column: span 2;
  }

  .timeline-card {
    grid-column: span 2;
  }

  .history-grid {
    grid-template-columns: 1fr;
  }

  .history-log-card {
    grid-column: span 1;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }
}

/* Default: Hide mobile-only layouts on desktop */
.mobile-tab-bar {
  display: none;
}

.modal-drag-handle {
  display: none;
}

@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
  }

  /* Hide desktop sidebar drawer since we have bottom tab bar navigation */
  .app-sidebar {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  /* Notch safe area top spacing */
  .app-header {
    padding-top: calc(env(safe-area-inset-top, 20px) + 0.5rem);
    height: auto;
    min-height: calc(env(safe-area-inset-top, 20px) + 60px);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Keep main view scrolls safe from overlapping the tab bar and home indicator */
  .view-content {
    padding: 1.25rem;
    padding-bottom: calc(env(safe-area-inset-bottom, 12px) + 80px) !important;
  }

  /* iOS HIG Style Bottom Tab Bar */
  .mobile-tab-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(env(safe-area-inset-bottom, 12px) + 64px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    z-index: 150;
    justify-content: space-around;
    align-items: flex-start;
    padding-top: 8px;
    padding-bottom: env(safe-area-inset-bottom, 12px);
  }

  .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    gap: 4px;
    flex-grow: 1;
    transition: color var(--transition-fast);
  }

  .tab-item svg {
    opacity: 0.65;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .tab-item.active {
    color: var(--accent-indigo);
  }

  .tab-item.active svg {
    opacity: 1;
    color: var(--accent-indigo);
    transform: scale(1.05);
  }

  /* iOS Bottom Sheet (Page Sheet) Modal Overlay styling */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
    background: rgba(5, 5, 8, 0.6);
  }

  .modal-card {
    max-width: 100%;
    max-height: 88vh;
    background: linear-gradient(160deg, #ffffff 0%, #f5f3ff 100%);
    border-radius: 20px 20px 0 0;
    margin-bottom: 0;
    border-bottom: none;
    box-shadow: 0 -15px 35px rgba(15, 23, 42, 0.12);
    padding-top: 0.5rem;
    animation: slide-up-ios 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .modal-drag-handle {
    display: block;
    width: 38px;
    height: 5px;
    background-color: rgba(15, 23, 42, 0.15);
    border-radius: 3px;
    margin: 0.5rem auto 1rem auto;
  }

  @keyframes slide-up-ios {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .summary-card,
  .next-dose-card,
  .timeline-card {
    grid-column: span 1;
  }

  .summary-card {
    flex-direction: column-reverse;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .progress-circle-container {
    align-self: center;
  }

  .medications-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .medication-card {
    min-height: 190px;
  }

  .data-actions {
    flex-direction: column;
    width: 100%;
  }

  .data-actions button,
  .data-actions label {
    width: 100%;
  }
}

.progress-ring-bg {
  stroke: rgba(15, 23, 42, 0.06) !important;
}

/* Updated Status Container and Button sizing */
.status-container-updated {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-xs {
  padding: 0.2rem 0.4rem;
  font-size: 0.75rem;
  border-radius: 4px;
}

/* ----------------------------------------------------
   AUTH OVERLAY & CARD
------------------------------------------------------- */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.auth-overlay.auth-visible {
  opacity: 1;
  pointer-events: all;
}

.auth-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: authCardIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes authCardIn {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0);       opacity: 1; }
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.auth-brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.auth-brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.auth-brand-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
}

/* Tabs */
.auth-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  padding: 0.5rem;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* Form Fields */
.auth-field {
  margin-bottom: 1rem;
}

.auth-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.35rem;
}

.auth-hint {
  font-weight: 400;
  color: #94a3b8;
}

.auth-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: #f8fafc;
  color: #0f172a;
  transition: all 0.2s;
  outline: none;
}

.auth-input:focus {
  border-color: #4f46e5;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Primary Auth Button */
.btn-auth-primary {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-auth-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.btn-auth-primary:active {
  transform: translateY(0);
}

.btn-auth-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider span {
  font-size: 0.78rem;
  color: #94a3b8;
  white-space: nowrap;
}

/* Social Buttons */
.auth-social-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: #1e293b;
  transition: all 0.2s;
}

.btn-social:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-social:active {
  transform: translateY(0);
}

/* Error Message */
.auth-error {
  margin-top: 1rem;
  padding: 0.65rem 0.9rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Sign Out Button in Sidebar */
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-signout {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  padding: 0.4rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-signout:hover {
  color: var(--accent-red);
  background: var(--accent-red-glow);
}

@media (max-width: 768px) {
  .auth-card {
    margin: 1rem;
    padding: 1.75rem;
    border-radius: 16px;
  }
}

/* ---- Mobile header user card ---- */
.mobile-user-card {
  display: none;
  position: relative;
}

.mobile-user-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.6rem 0.28rem 0.28rem;
  border-radius: 20px;
  background: rgba(79, 70, 229, 0.07);
  border: 1px solid rgba(79, 70, 229, 0.18);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.mobile-user-chip .avatar {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.mobile-chip-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.mobile-chip-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-main);
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-chip-coins {
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* Popover card */
.mobile-user-popover {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
  padding: 1rem;
  min-width: 210px;
  z-index: 200;
}

.mobile-user-popover.open {
  display: block;
}

.mobile-popover-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.mobile-popover-header .avatar {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.mobile-popover-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.mobile-popover-coins {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--card-border);
}

.btn-popover-signout {
  width: 100%;
  padding: 0.5rem;
  background: none;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  color: #ef4444;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}

.btn-popover-signout:active {
  background: #fef2f2;
}

@media (max-width: 768px) {
  .mobile-user-card {
    display: block;
  }
}
