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

:root {
  --primary-color: #0066cc;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --dark: #1a1a1a;
  --gray: #6c757d;
  --light-gray: #f8f9fa;
  --border-color: #dee2e6;
  --sidebar-width: 250px;
  --header-height: 64px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f8f4f0;
  overflow-x: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* ===================================
   HEADER - RESPONSIVE
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--dark);
  color: white;
  padding: 0 1rem;
  height: var(--header-height);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: 0.5rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

.subtitle {
  font-size: 0.8rem;
  color: #aaa;
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-avatar,
.user-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.user-avatar-placeholder {
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.user-name {
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  display: none;
}

.user-role {
  color: #999;
  font-size: 0.75rem;
  text-transform: capitalize;
  display: none;
}

.user-role-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: none;
}

.user-role-badge.super-admin {
  background-color: #28a745;
  color: white;
}

.user-role-badge.admin {
  background-color: #667eea;
  color: white;
}

/* ===================================
   SIDEBAR - COLLAPSIBLE ON ALL DEVICES
   =================================== */
.sidebar {
  position: fixed;
  top: var(--header-height);
  left: -100%;
  width: var(--sidebar-width);
  height: calc(100vh - var(--header-height));
  background-color: white;
  box-shadow: 2px 0 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  z-index: 900;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar.active {
  left: 0;
}

.sidebar-nav {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 0;
  overflow: hidden;
}

.sidebar-nav-main {
  flex: 1;
  overflow-y: auto;
}

.sidebar-nav-bottom {
  border-top: 1px solid #e0e0e0;
  padding: 1rem;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: transparent;
  color: #333;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.logout-btn:hover {
  background-color: #f0f0f0;
}

.logout-btn .icon {
  font-size: 1.25rem;
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
  white-space: nowrap;
}

.sidebar-link:hover {
  background-color: var(--light-gray);
  color: var(--primary-color);
  text-decoration: none;
}

.sidebar-link.active {
  background-color: #e8f4ff;
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  font-weight: 500;
}

.sidebar-link .icon {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}


/* Overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 800;
}

.sidebar-overlay.active {
  display: block;
}

/* ===================================
   MAIN CONTENT - RESPONSIVE
   =================================== */
.main-with-sidebar {
  margin-top: var(--header-height);
  padding: 1.5rem 1rem;
  min-height: calc(100vh - var(--header-height));
}

.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.date-info {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===================================
   STATS GRID - FULLY RESPONSIVE
   =================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.25rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  border-left: 4px solid var(--gray);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.stat-card h3 {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
}

.stat-success {
  border-left-color: var(--success-color);
}

.stat-warning {
  border-left-color: var(--warning-color);
}

.stat-info {
  border-left-color: var(--info-color);
}

/* ===================================
   SECTIONS - RESPONSIVE
   =================================== */
.alert-section,
.stations-section,
.recent-absences-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.alert-section h2,
.stations-section h2,
.recent-absences-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.alert-list,
.station-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.alert-item,
.station-item {
  padding: 1rem;
  border-radius: 6px;
  background-color: var(--light-gray);
  border-left: 4px solid var(--gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.alert-item.alert-watch {
  border-left-color: var(--info-color);
  background-color: #e8f4ff;
}

.alert-item.alert-at_risk {
  border-left-color: var(--warning-color);
  background-color: #fff8e8;
}

.alert-item.alert-formal_review {
  border-left-color: var(--danger-color);
  background-color: #ffe8e8;
}

.alert-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 150px;
}

.employee-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 1rem;
}

.employee-station {
  color: var(--gray);
  font-size: 0.85rem;
}

.alert-points {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.points {
  font-weight: 600;
  color: var(--dark);
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge.status-watch {
  background-color: var(--info-color);
  color: white;
}

.status-badge.status-at_risk {
  background-color: var(--warning-color);
  color: #333;
}

.status-badge.status-formal_review {
  background-color: var(--danger-color);
  color: white;
}

/* ===================================
   TABLE - RESPONSIVE WITH SCROLL
   =================================== */
/* Table wrapper for horizontal scroll on mobile */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.absences-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}

.absences-table thead {
  background-color: var(--light-gray);
}

.absences-table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  border-bottom: 2px solid var(--border-color);
}

.absences-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.absences-table tbody tr:hover {
  background-color: var(--light-gray);
}

/* Mobile scroll hint */
@media (max-width: 767px) {
  .table-responsive::after {
    content: "← Scroll to see more →";
    display: block;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.75rem;
    color: #666;
    background-color: #f8f9fa;
    border-top: 1px solid var(--border-color);
  }
}

.type-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.type-badge.type-sick {
  background-color: #ffe8e8;
  color: var(--danger-color);
}

.type-badge.type-late {
  background-color: #fff8e8;
  color: #cc8800;
}

.type-badge.type-personal {
  background-color: #e8f4ff;
  color: var(--info-color);
}

.no-data {
  text-align: center;
  color: var(--gray);
  padding: 2rem !important;
  font-style: italic;
}

/* ===================================
   BUTTONS - RESPONSIVE
   =================================== */
.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: #0052a3;
}

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

.btn-secondary:hover {
  background-color: #5a6268;
}

.btn-small {
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-small:hover {
  background-color: #0052a3;
}

/* ===================================
   QUICK ACTIONS - REMOVED (REDUNDANT)
   Quick actions removed as they duplicate sidebar links
   =================================== */

/* ===================================
   MODAL - RESPONSIVE
   =================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 1rem;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content h2 {
  margin-bottom: 1rem;
  color: var(--dark);
}

.modal-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* ===================================
   TABLET BREAKPOINT (768px+)
   =================================== */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .subtitle {
    display: inline;
  }

  .user-name {
    display: inline;
  }

  .sidebar {
    left: 0;
  }

  .sidebar-overlay {
    display: none !important;
  }

  .main-with-sidebar {
    margin-left: var(--sidebar-width);
    padding: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .dashboard-header h1 {
    font-size: 2rem;
  }
}

/* ===================================
   DESKTOP BREAKPOINT (1024px+)
   =================================== */
@media (min-width: 1024px) {
  .user-role,
  .user-role-badge {
    display: inline;
  }

  .main-with-sidebar {
    padding: 2.5rem 3rem;
  }

  .dashboard-header h1 {
    font-size: 2.25rem;
  }
}

/* ===================================
   MOBILE MENU TOGGLE
   =================================== */
@media (max-width: 767px) {
  .menu-toggle {
    display: block;
  }
}

/* ===================================
   STATION CARDS - RESPONSIVE GRID
   =================================== */
.line-section {
  margin-bottom: 2.5rem;
}

.line-section h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

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

.station-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 4px solid var(--gray);
}

.station-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.station-card.station-affected {
  border-left-color: var(--warning-color);
}

.station-card-header {
  padding: 1rem;
  background-color: var(--light-gray);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.station-card-header h4 {
  margin: 0;
  flex: 1;
  min-width: 150px;
  font-size: 1rem;
}

.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-warning {
  background-color: var(--warning-color);
  color: #333;
}

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

.station-card-body {
  padding: 1rem;
}

.station-info {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

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

.station-info strong {
  color: var(--dark);
  display: block;
  margin-bottom: 0.25rem;
}

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

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

/* ===================================
   EMPLOYEE DETAIL PAGE - RESPONSIVE
   =================================== */
.employee-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.employee-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.employee-meta {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

.section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}

.data-table thead {
  background-color: var(--light-gray);
}

.data-table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  border-bottom: 2px solid var(--border-color);
}

.data-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.data-table tbody tr:hover {
  background-color: var(--light-gray);
}

.quick-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ===================================
   TABLET ADJUSTMENTS FOR NEW ELEMENTS
   =================================== */
@media (min-width: 768px) {
  .station-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }

  .employee-header h1 {
    font-size: 2rem;
  }
}

/* ===================================
   DESKTOP ADJUSTMENTS FOR NEW ELEMENTS
   =================================== */
@media (min-width: 1024px) {
  .line-section h2 {
    font-size: 1.75rem;
  }

  .employee-header h1 {
    font-size: 2.25rem;
  }
}

/* ===================================
   REPORTS PAGE - RESPONSIVE
   =================================== */
.reports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.report-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.report-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.report-card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.9rem;
}

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

.quick-reports {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.quick-reports h3 {
  margin-bottom: 1rem;
  color: var(--dark);
}

.quick-reports button {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ===================================
   MANAGEMENT TABS - RESPONSIVE
   =================================== */
.management-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  overflow-x: auto;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--gray);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.search-bar {
  margin-bottom: 1rem;
}

.search-bar input {
  width: 100%;
  max-width: 400px;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
}

.station-card-actions {
  padding: 1rem;
  background-color: var(--light-gray);
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

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

.btn-danger:hover {
  background-color: #c82333;
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 20px;
  margin-right: 0.5rem;
  transition: 0.2s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.2s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--success-color);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* ===================================
   TABLET ADJUSTMENTS FOR NEW ELEMENTS
   =================================== */
@media (min-width: 768px) {
  .station-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }

  .employee-header h1 {
    font-size: 2rem;
  }

  .reports-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===================================
   DESKTOP ADJUSTMENTS FOR NEW ELEMENTS
   =================================== */
@media (min-width: 1024px) {
  .line-section h2 {
    font-size: 1.75rem;
  }

  .employee-header h1 {
    font-size: 2.25rem;
  }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
  .header,
  .sidebar,
  .menu-toggle,
  .btn,
  .sidebar-overlay,
  .quick-actions,
  .quick-reports,
  .management-tabs,
  .search-bar,
  .station-card-actions {
    display: none !important;
  }

  .main-with-sidebar {
    margin: 0;
    padding: 0;
  }
}

/* ===================================
   USER DROPDOWN MENU
   =================================== */
.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 1000;
}

.dropdown-header {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.dropdown-header strong {
  display: block;
  margin-bottom: 0.25rem;
}

.dropdown-divider {
  height: 1px;
  background: #eee;
  margin: 0;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: #f5f5f5;
}

.dropdown-item:active {
  background: #eee;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .user-name {
    display: none;
  }

  .user-role-badge,
  .user-role {
    display: none;
  }

  .user-dropdown {
    right: -10px;
  }
}

/* ===================================
   AMP TIMELINE STYLES
   =================================== */

.timeline-item {
  transition: transform 0.2s, box-shadow 0.2s;
}

.timeline-item:hover {
  transform: translateX(5px);
}

.timeline-loading {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Mobile responsiveness for timeline */
@media (max-width: 768px) {
  .timeline-item {
    padding-left: 1rem !important;
  }

  .timeline-item > div > div {
    font-size: 0.9rem;
  }

  .timeline-item strong {
    font-size: 1rem !important;
  }
}

/* Print styles - hide AMP timeline when printing */
@media print {
  #ampTimeline {
    display: none;
  }
}
