:root {
  --primary: #10b916;
  /* Leaf Green */
  --primary-hover: #059669;
  --bg: #ffffff;
  --card-bg: #ffffff;
  --text-main: #111827;
  /* Near Black */
  --text-muted: #6b7280;
  /* Gray */
  --border-color: #e5e7eb;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --nav-bg: #ffffff;
  --nav-border: #f3f4f6;
  --secondary-bg: #f9fafb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background-color: var(--secondary-bg);
  color: var(--text-main);
  min-height: 100vh;
  padding-bottom: 80px;
  /* Space for bottom nav */
  overflow-x: hidden;
}

.app {
  max-width: 500px;
  margin: 0 auto;
  padding: 0.5rem;
}

header {
  margin-bottom: 1rem;
}

/* Three-part header layout */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.app-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.page-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  margin: 0 1rem;
  margin-left: 10px;
}

.profile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary-bg);
  border: 2px solid var(--border-color);
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
  margin-right: 10px;
}

/*
.profile-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}
*/

.profile-icon {
  width: 20px;
  height: 20px;
}

#installBtn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: auto;
  padding: 0.6rem 1rem;
  font-size: 0.8125rem;
  z-index: 1100;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: var(--primary);
  opacity: 0.95;
}

#installBtn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Legacy header styles - kept for compatibility */
header h1 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

header p {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Page management */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* Card Styling */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

h2 {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  font-weight: 700;
}

/* Recording Item */
.record-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.record-item:last-child {
  border-bottom: none;
}

.record-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.record-info p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.record-amount {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.125rem;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-top: 0.5rem;
}

.status-local {
  background: #fef3c7;
  color: #92400e;
  /* Amber/Orange for "Pending" */
}

.status-pushed {
  background: #d1fae5;
  color: #065f46;
  /* Green for "Saved/Synced" */
}

/* Form Styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

/* Waste Type Radio Cards */
.waste-type-grid {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.waste-type-card {
  flex: 1;
  cursor: pointer;
  position: relative;
}

.waste-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: var(--card-bg);
  border: 4px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.card-content i {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.card-content span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.3s;
}

/* Hover effect */
.waste-type-card:hover .card-content {
  border-color: var(--primary);
  transform: translateY(-2px);
  background: var(--secondary-bg);
}

/* Selection states */
.waste-type-card input[type="radio"]:checked+.card-content {
  background: white;
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.waste-type-card input[type="radio"]:checked+.card-content span {
  color: var(--text-main);
}

/* Specific Colors */
.waste-type-card.biodegradable input[type="radio"]:checked+.card-content {
  border-color: #10b981;
}

.waste-type-card.biodegradable input[type="radio"]:checked+.card-content i {
  color: #10b981;
}

.waste-type-card.non-biodegradable input[type="radio"]:checked+.card-content {
  border-color: #64748b;
}

.waste-type-card.non-biodegradable input[type="radio"]:checked+.card-content i {
  color: #64748b;
}

.waste-type-card.special-wastes input[type="radio"]:checked+.card-content {
  border-color: #f59e0b;
}

.waste-type-card.special-wastes input[type="radio"]:checked+.card-content i {
  color: #f59e0b;
}

/* Icon animation on check */
.waste-type-card input[type="radio"]:checked+.card-content i {
  transform: scale(1.2);
}

input,
select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.btn-primary {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-danger {
  width: 100%;
  padding: 1rem;
  background: var(--danger);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.btn-danger:active {
  transform: translateY(0);
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  padding: 0.75rem 0.5rem 1.5rem;
  /* Extra bottom padding for iOS home bar */
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  position: relative;
}

.nav-item.active {
  color: var(--primary);
}

/* Focal point for the Add button */
.nav-item-add {
  margin-top: -30px;
  /* Pull it up */
}

.nav-item-add .nav-icon {
  background: var(--primary);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  font-size: 1.75rem;
  margin-bottom: 2px;
  border: 4px solid var(--bg);
  /* Create a gap feel */
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-item-add:hover .nav-icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
}

.nav-item-add:active .nav-icon {
  transform: scale(0.95);
}

.nav-icon {
  font-size: 1.5rem;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon svg {
  width: 24px;
  height: 24px;
}

.nav-item.active .nav-icon {
  transform: scale(1.1);
}

.nav-item-add.active .nav-icon {
  transform: scale(1.1);
  /* Keep active scale if needed */
}

/* Adjust button icons */
.btn-primary svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Tab specific colors (solid accents) */
.waste-recyclable {
  border-left: 6px solid var(--success);
}

.waste-organic {
  border-left: 6px solid #84cc16;
}

.waste-hazardous {
  border-left: 6px solid var(--danger);
}

.waste-medical {
  border-left: 6px solid #a855f7;
}

.waste-general {
  border-left: 6px solid #64748b;
}

/* Profile Page Styles */
.profile-avatar-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.profile-user-info {
  flex: 1;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--secondary-bg);
  border-radius: 12px;
  transition: transform 0.2s;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 0.25rem 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

/* Settings List */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--secondary-bg);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-main);
  font-size: 0.9375rem;
  font-weight: 500;
  width: 100%;
  text-align: left;
}

.settings-item:hover {
  background: var(--border-color);
  transform: translateX(4px);
}

.settings-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Activity Logs */
#activityLogsList {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Custom scrollbar for activity logs */
#activityLogsList::-webkit-scrollbar {
  width: 4px;
}

#activityLogsList::-webkit-scrollbar-track {
  background: transparent;
}

#activityLogsList::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}

#activityLogsList::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.activity-log-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--secondary-bg);
  border-radius: 12px;
  transition: all 0.2s;
  border-left: 4px solid transparent;
}

.activity-log-item.session-ended {
  background: rgba(59, 130, 246, 0.05);
  border-left-color: #3b82f6;
}

.activity-log-item.session-ended .log-type i {
  color: #3b82f6;
}

.activity-log-item.session-ended .log-amount {
  color: #3b82f6;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.activity-log-item:hover {
  transform: translateX(4px);
}

.log-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.log-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-main);
}

.log-type i {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.log-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.log-amount {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9375rem;
}

/* ========== SESSION UI STYLES ========== */

/* Session Start Container */
.session-start-container {
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.session-start-card {
  background: rgb(243, 243, 243);
  border: 2px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  width: 100%;
  transition: all 0.3s;
}

.session-start-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15);
  border-color: var(--primary);
}

.session-start-card i {
  color: var(--primary);
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.session-start-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.session-start-card p {
  font-size: 0.9375rem;
}

/* Session Active Container */
.session-active-container {
  animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Session Header */
.session-header {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.session-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.9375rem;
}

.status-indicator {
  width: 12px;
  height: 12px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-indicator 1s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

.status-indicator-inactive {
  width: 12px;
  height: 12px;
  background: var(--text-muted);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(205, 205, 205, 0.7);
}

@keyframes pulse-indicator {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.session-time {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Current Recording Card */
.current-recording-card {
  margin-bottom: 1.5rem;
  animation: pulse-indicator 1s ease-in-out infinite;
}

.current-recording-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Waste Totals List (shared between current and recent) */
.waste-totals-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Make waste records in current recording clickable */
.current-recording-card .waste-total-row {
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  padding: 0.875rem 1rem;
  border-radius: 12px;
}

.current-recording-card .waste-total-row:hover {
  background-color: rgba(0, 0, 0, 0.03);
  transform: translateX(4px);
}

.current-recording-card .waste-total-row:active {
  transform: translateX(2px);
  background-color: rgba(0, 0, 0, 0.05);
}

/* ========== MODAL STYLES ========== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-container {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  z-index: 2001;
  padding: 1.5rem;
  transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
}

.modal-container.active {
  bottom: 0;
}

.modal-overlay.active {
  display: block;
  opacity: 1;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.close-modal {
  background: var(--secondary-bg);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.close-modal:hover {
  background: var(--border-color);
  color: var(--text-main);
}

.modal-body {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.modal-body::-webkit-scrollbar {
  width: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}

/* History Entry Item */
.history-entry-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--secondary-bg);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-color);
}

.entry-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.entry-amount {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.entry-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-remove-entry {
  background: #fee2e2;
  color: var(--danger);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-remove-entry:hover {
  background: var(--danger);
  color: white;
  transform: scale(1.1);
}

.waste-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1rem;
  background: var(--secondary-bg);
  border-radius: 12px;
  border-left: 4px solid;
  transition: all 0.2s;
}

.waste-total-row:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.waste-total-row.biodegradable {
  border-left-color: #10b981;
}

.waste-total-row.biodegradable .waste-type-info i {
  color: #10b981;
}

.waste-total-row.non-biodegradable {
  border-left-color: #64748b;
}

.waste-total-row.non-biodegradable .waste-type-info i {
  color: #64748b;
}

.waste-total-row.special-wastes {
  border-left-color: #f59e0b;
}

.waste-total-row.special-wastes .waste-type-info i {
  color: #f59e0b;
}

.waste-type-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.waste-type-info i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.waste-type-info span {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.waste-amount-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.waste-amount-info .amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.waste-amount-info .count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Compact version for recent sessions */
.waste-totals-list.compact .waste-total-row {
  padding: 0.625rem 0.875rem;
}

.waste-totals-list.compact .waste-type-info span {
  font-size: 0.75rem;
}

.waste-totals-list.compact .amount {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

/* Secondary Button */
.btn-secondary {
  width: 100%;
  padding: 1rem;
  background: var(--secondary-bg);
  color: var(--text-main);
  border: 2px solid var(--border-color);
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--border-color);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* ========== RECENT SESSIONS STYLES ========== */

#recentSessionsContainer {
  margin-top: 2rem;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

#recentSessionsList {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

#recentSessionsList::-webkit-scrollbar {
  display: none;
}

#recentSessionsList {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.empty-message {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 2rem;
}

/* Session Record Card */
.session-record-card {
  flex: 0 0 300px;
  margin-bottom: 0;
  padding: 1rem;
  scroll-snap-align: start;
  transition: all 0.2s;
}

.session-record-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.session-record-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.session-date-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.8125rem;
  min-width: 0;
}

.session-date-info i {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.session-sync-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
  flex-shrink: 0;
}

.session-sync-status.synced {
  background: #d1fae5;
  color: #065f46;
}

.session-sync-status.synced i {
  color: #10b981;
  width: 14px;
  height: 14px;
}

.session-sync-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.session-sync-status.pending i {
  color: #f59e0b;
  width: 14px;
  height: 14px;
}

.session-details-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.session-date,
.session-time-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.session-date i,
.session-time-range i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.8;
}

/* Session Actions */
.session-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-push,
.btn-remove {
  flex: 1;
  padding: 0.75rem 0.5rem;
  border: none;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
}

/* Push Button */
.btn-push {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-push:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35);
}

/* Remove Button */
.btn-remove {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-remove:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.btn-push:active,
.btn-remove:active {
  transform: translateY(0);
}

.btn-push i,
.btn-remove i {
  width: 16px;
  height: 16px;
}

/* Info Message */
.info-message {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
  border: 2px solid #93c5fd;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-message i {
  color: #2563eb;
  flex-shrink: 0;
}

.info-message p {
  margin: 0;
  color: #1e40af;
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Disabled Navigation State */
.nav-item.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Toast Styles */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 320px;
}

.toast {
  background: white;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  border-left: 4px solid var(--success);
}

.toast-error {
  border-left: 4px solid var(--danger);
}

.toast i {
  flex-shrink: 0;
}

.toast-success i {
  color: var(--success);
}

.toast-error i {
  color: var(--danger);
}

.toast span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
}