 body {
      margin: 0;
      font-family: 'Roboto', sans-serif;
      background: #fff;
      color: #202124;
    }
    
    .hidden { 
   display: none !important;
    }

.container {
  max-width: 400px;
  margin: 100px auto;
  padding: 30px 25px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: scale(1);
}

.container:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Soft blue glow */
}

.container h2 {
  margin-bottom: 4px;
  color: #1a73e8; /* Google-style blue */
  font-size: 24px;
  font-weight: 600;
}

.container p {
  margin-top: 0;
  color: #9aa0a6;
  font-size: 14px;
}


.container .tagline {
  margin-top: 20px;
  font-size: 12px;
  color: #9aa0a6; /* Soft gray */
  text-align: center;
}

    .form-group {
      position: relative;
      margin-top: 20px;
    }

    .form-group i.material-icons {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      color: #3385ff;
      background-color: #ffff;
      font-size: 20px;
      pointer-events: none;
    }

    input {
      width: 100%;
      padding: 12px 12px 12px 38px;
      border-radius: 8px;
      border: 1px solid #dadce0;
      font-size: 14px;
      box-sizing: border-box;
      color: #202124;
    }

    button {
      margin-top: 10px;
      width: 100%;
      padding: 12px;
      border-radius: 4px;
      border: none;
      background: #1a73e8;
      color: white;
      font-weight: bold;
      font-size: 15px;
      cursor: pointer;
    }

    button:hover {
      background: #1a66d1;
    }

    .sticky-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: #0066ff;
      padding: 10px 20px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.1);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .menu-btn {
      font-size: 24px;
      color: white !important;
      cursor: pointer;
    }

 .search-container {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 4px 10px;
  height: 25px;
  max-width: 280px;
  width: 100%;
  transition: background 0.3s;
}

.search-container input {
  border: none;
  outline: none;
  font-size: 13px;
  padding-right: 24px;
  background: transparent;
  width: 100%;
  color: #333;
  transition: color 0.3s;
}

.search-icon {
  position: absolute;
  right: 8px;
  font-size: 18px;
  color: #888;
  transition: color 0.3s;
}

.search-dropdown {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1500;
  width: 90%;
  max-width: 400px;
  display: none;
  transition: background 0.3s, color 0.3s;
}

.search-result-item {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
}

.search-result-item:hover {
  background-color: #f5f5f5;
}

.search-result-type {
  font-size: 12px;
  color: #666;
}

/* 🌙 DARK MODE OVERRIDES */
body.dark-mode .search-container {
  background: #333;
}

body.dark-mode .search-container input {
  color: #fff;
}

body.dark-mode .search-icon {
  color: #bbb;
}

body.dark-mode .search-dropdown {
  background: #222;
  color: #eee;
}

body.dark-mode .search-result-item {
  border-bottom: 1px solid #444;
}

body.dark-mode .search-result-item:hover {
  background-color: #2e2e2e;
}

body.dark-mode .search-result-type {
  color: #aaa;
}


.header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

    .header-gear {
      position: relative;
      cursor: pointer;
      font-size: 22px;
      color: white !important;
    }

    .dropdown-menu {
      position: absolute;
      right: 0;
      top: 30px;
      background: white;
      border: 1px solid #ddd;
      border-radius: 4px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      display: none;
      flex-direction: column;
      min-width: 140px;
      z-index: 1001;
      padding: 0;
    }

    .dropdown-menu button {
      padding: 8px 12px;
      font-size: 14px;
      color: #202124;
      background: none;
      border: none;
      text-align: left;
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0;
      width: 100%;
      transition: background 0.2s;
    }

    .dropdown-menu button:hover {
      background: #f1f3f4;
    }

    .dashboard-container {
      display: flex;
      height: calc(100vh - 60px);
    }

#summaryCards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

#summaryCards .dashboard-section-card {
  flex: 1 1 calc(33.333% - 16px); /* 3 cards per row */
  min-width: 280px;
}

@media (max-width: 1024px) {
  #summaryCards .dashboard-section-card {
    flex: 1 1 calc(50% - 16px);
  }
}

@media (max-width: 600px) {
  #summaryCards .dashboard-section-card {
    flex: 1 1 100%;
  }
}

 /* === SIDEBAR === */
.sidebar {
  width: 190px;
  background: #fff;
  border-right: 1px solid #ddd;
  padding: 20px 10px;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 0;
  position: relative;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, width 0.3s ease, padding 0.3s ease;
  z-index: 1001;
}

/* Collapsed sidebar - works on all screen sizes */
.sidebar.collapsed {
  transform: translateX(-100%);
  width: 0;
  padding: 0;
  overflow: hidden;
}

/* Mobile-specific sidebar settings */
@media (max-width: 768px) {
  .sidebar {
    position: absolute;
    left: 0;
    top: 60px;
    height: calc(100vh - 60px);
  }
}

/* === SIDEBAR LOGO & DIVIDER === */
.sidebar-logo {
  width: 120px;
  margin: 0 auto 24px;
  display: block;
  padding-top: 8px;
}

.sidebar-divider {
  border: none;
  height: 1px;
  background: #e0e0e0;
  margin: 0 0 16px;
}

 .tab {
  background: none;
  border: none;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  color: #202124;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  position: relative;
}

.tab i.material-icons {
  font-size: 20px;
  color: #5f6368;
  transition: color 0.2s;
}

.tab:hover {
  background: #f1f3f4;
}

.tab.active {
  background: #ffff;
  color: #1a73e8;
  font-weight: 500;
  border-left: 4px solid #1a73e8;
  border-radius: 4px 0 0 4px; /* Flat left corner */
}

.tab.active i.material-icons {
  color: #1a73e8;
}

    .main-panel {
      flex-grow: 1;
      padding: 20px;
      overflow-y: auto;
    }

    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.4);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 2000;
    }

    .modal {
      background: white;
      padding: 20px;
      border-radius: 8px;
      width: 300px;
      max-width: 90%;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .modal h3 {
      margin-top: 0;
      color: #202124;
      font-size: 18px;
      font-weight: 500;
    }

    .modal p {
      margin: 10px 0;
    }

    .modal button {
      margin-top: 10px;
      background: #1a73e8;
      color: white;
      padding: 8px 12px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

@media (max-width: 500px) {
  .modal {
    font-size: 14px;
  }
  .modal img {
    max-width: 60px;
  }
}


    .snackbar-container {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      z-index: 3000;
    }

    .snackbar {
      color: #fff;
      padding: 12px 16px;
      border-radius: 4px;
      min-width: 200px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
      animation: fadeInUp 0.3s ease;
    }

    .snackbar.success { background: #34a853; }  /* Green */
    .snackbar.warning { background: #e6b800; } /* Yellow */
    .snackbar.error   { background: #ea4335; }  /* Red */
    .snackbar.info { background: #3385ff; } /* Yellow */

    .snackbar .material-icons {
      cursor: pointer;
      font-size: 18px;
    }

    @keyframes fadeInUp {
      from { transform: translateY(20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    
.notification-wrapper {
  position: relative;
  cursor: pointer;
  margin-right: 12px;
}

.notification-wrapper .material-icons {
  color: white;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: black; /* Soft red */
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  display: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.notif-dropdown {
  position: absolute;
  right: 0;
  top: 36px;
  width: 280px;
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 8px;
  z-index: 999;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px 0;
  animation: fadeIn 0.2s ease;
}

.notif-dropdown > div:first-child {
  padding: 8px 16px;
  font-weight: 600;
  color: #202124;
  border-bottom: 1px solid #eee;
}

.notif-dropdown button {
  background: #1a73e8;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s ease;
}

.notif-dropdown button:hover {
  background: #1666cc;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.floating-select-container {
    position: relative;
    display: inline-block;
    margin-left: 10px;
  }

  .floating-select-label {
    position: absolute;
    top: 10px;
    left: 12px;
    color: #5f6368;
    font-size: 14px;
    pointer-events: none;
    transition: 0.2s ease all;
    background: white;
    padding: 0 4px;
  }

  .floating-select:focus + .floating-select-label,
  .floating-select:not([value=""]):valid + .floating-select-label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    color: #1a73e8;
  }

  .floating-select {
    appearance: none;
    background: #fefefe;
    color: #202124;
    padding: 14px 36px 6px 12px;
    font-size: 14px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%235f6368" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition: border 0.2s ease, box-shadow 0.2s ease, background-color 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    width: 140px;
  }

  .floating-select:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 0 3px rgb(102, 179, 255);
    background-color: #ffffff;
  }

  .floating-select:hover {
    border-color: #1a73e8;
    background-color: #f1f3f4;
    cursor: pointer;
  }
  .calendar-day {
    padding: 12px;
    height: 40px;
    cursor: pointer;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
  }

  .calendar-day:hover {
    background: #f1f3f4 !important;
    box-shadow: inset 0 0 0 1px #ffffff;
  }

  .meeting-badge {
    position: absolute;
    top: 4px;
    right: 6px;
    background: #1a73e8;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: 500;
  }
  
  #invoicePagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

#invoicePagination button {
  display: inline-block;
  width: auto !important;
  min-width: 36px;
  padding: 6px 12px;
  background: #f1f3f4;
  color: #1a73e8;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

#invoicePagination button:hover {
  background: #dbe9ff;
}

#invoicePagination button.active {
  background: #1a73e8;
  color: white;
  font-weight: bold;
}

#taskPagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

#taskPagination button {
  display: inline-block;
  width: auto !important;
  min-width: 36px;
  padding: 6px 12px;
  background: #f1f3f4;
  color: #1a73e8;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

#taskPagination button:hover {
  background: #dbe9ff;
}

#taskPagination button.active {
  background: #1a73e8;
  color: white;
  font-weight: bold;
}

mark {
  background: #fff3b0;
  color: #000;
  padding: 0 2px;
  border-radius: 2px;
}

.dashboard-sections-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch; /* Make all cards equal height */
}

.dashboard-section-card {
  flex: 1 1 calc(33.333% - 16px); /* 3 columns with spacing */
  min-width: 280px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .dashboard-section-card {
    flex: 1 1 calc(50% - 16px);
  }
}

@media (max-width: 600px) {
  .dashboard-section-card {
    flex: 1 1 100%; /* Single column on phones */
  }
}

.section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #ddd;
  border-radius: 8px 8px 0 0;
  font-size: 14px;
}

.section-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.section-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #333;
}

.section-body small {
  font-size: 12px;
  color: #888;
}


.google-blue {
  background-color: #1a73e8;
  color: white;
}

.google-blue .material-icons {
  color: white;
   font-size: 18px;
}
.dashboard-section-wrapper {
  margin-bottom: 24px;
}

.dashboard-section-wrapper {
  margin-bottom: 32px;
}

.dashboard-section-title {
  font-size: 16px;
  font-weight: 500;
  color: #1a73e8;
  margin-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 4px;
}

.highlight-box-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight-box {
  background-color: #f1f3f4;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.highlight-box .label {
  font-weight: 500;
  color: #1a73e8;
}

.highlight-box .value {
  font-weight: 600;
  color: #202124;
}

.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton-box {
  height: 16px;
  width: 100%;
  margin: 6px 0;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.login-loader.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(200, 200, 200, 0.4); /* Light gray with opacity */
  backdrop-filter: blur(6px); /* Blurring everything behind */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}


.login-loader .loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 280px;
}

.login-loader .skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.2s ease-in-out infinite;
  border-radius: 8px;
}

.login-loader .skeleton-logo {
  width: 240px;
  height: 60px;
  margin-bottom: 16px;
}

.login-loader .skeleton-line {
  width: 160px;
  height: 14px;
  margin-bottom: 20px;
}

.login-loader .loader-text {
  font-size: 12px;
  color: #404040;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}



.welcome-box {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

#welcomeMessage {
  color: #1a73e8;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.login-info {
  font-size: 13px;
  color: #5f6368;
  margin-top: 4px;
}

.whatsapp-chat-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #25D366;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-chat-float:hover {
  transform: scale(1.1);
}

.whatsapp-chat-float img {
  width: 28px;
  height: 28px;
}

.tooltip-text {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-chat-float:hover .tooltip-text {
  opacity: 1;
}

.hidden {
  display: none !important;
}

body.dark-mode {
  background-color: #1e1e1e;
  color: #f0f0f0;
}

body.dark-mode .container,
body.dark-mode .dashboard-container,
body.dark-mode .sticky-header,
body.dark-mode .sidebar,
body.dark-mode .main-panel,
body.dark-mode .modal {
  background-color: #2c2c2c !important;
  color: #fff !important;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode button {
  background-color: #333;
  color: #fff;
  border-color: #444;
}

body.dark-mode .tab.active {
  background-color: #444;
}

body.dark-mode .tab:hover {
  background-color: #555;
}

body.dark-mode .snackbar {
  background-color: #333;
  color: #fff;
}

.dark-mode-toggle {
  cursor: pointer;
  padding: 0 12px;
  color: white !important;
  
}
/* DARK MODE EXTENSIONS */

body.dark-mode .dashboard-section-card,
body.dark-mode .container,
body.dark-mode .modal,
body.dark-mode .highlight-box,
body.dark-mode .dropdown-menu,
body.dark-mode .notif-dropdown {
  background-color: #2e2e2e !important;
  color: #fff !important;
  border-color: #444;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

body.dark-mode .section-body,
body.dark-mode .section-header,
body.dark-mode .dashboard-section-title,
body.dark-mode .tab,
body.dark-mode .highlight-box .value,
body.dark-mode .highlight-box .label,
body.dark-mode .floating-select-label {
  color: #ddd !important;
}

body.dark-mode .tab i.material-icons,
body.dark-mode .header-icons .material-icons,
body.dark-mode .header-gear .material-icons {
  color: #ccc !important;
}

body.dark-mode table,
body.dark-mode th,
body.dark-mode td {
  background-color: #2a2a2a;
  color: #e0e0e0;
  border-color: #444;
}

body.dark-mode th {
  background-color: #333;
}

body.dark-mode .calendar-day {
  background: #2b2b2b;
  color: #eee;
  border: 1px solid #444;
}

body.dark-mode .calendar-day:hover {
  background: #3a3a3a !important;
  box-shadow: inset 0 0 0 1px #555;
}

body.dark-mode .meeting-badge {
  background: #3385ff;
  color: #fff;
}

body.dark-mode .floating-select {
  background-color: #2c2c2c;
  color: #f0f0f0;
  border-color: #555;
}

body.dark-mode .floating-select-label {
  background: #2c2c2c;
}

body.dark-mode .floating-select:focus {
  background-color: #2c2c2c;
  box-shadow: 0 0 0 2px #1a73e8;
}

body.dark-mode #invoicePagination button,
body.dark-mode #taskPagination button {
  background-color: #3a3a3a;
  color: #1a73e8;
}

body.dark-mode #invoicePagination button.active,
body.dark-mode #taskPagination button.active {
  background-color: #1a73e8;
  color: #fff;
}

body.dark-mode mark {
  background: #444455;
  color: #fff;
}
/* Dark Mode for Titles, Headers & Welcome Text */

body.dark-mode .dashboard-section-title,
body.dark-mode .section-header,
body.dark-mode .section-header h4,
body.dark-mode .modal h3,
body.dark-mode #welcomeMessage {
  color: #ffffff !important;
}

body.dark-mode .dashboard-section-title {
  border-bottom-color: #444;
}

body.dark-mode .welcome-box {
  border-bottom-color: #444;
}

body.dark-mode .section-header {
  background-color: #2e2e2e;
  border-bottom-color: #444;
}

body.dark-mode .sidebar-logo {
  filter: brightness(0) invert(1);
}

.training-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
}

.training-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 16px;
  transition: transform 0.2s;
}
.training-card h4 {
     margin-top: 0;
    font-size: 12px;
    color: #1a8cff; 
  margin-bottom: 2px;
}

.training-card small {
  margin-top: 0;
  color: #61656b; /* subtle gray-blue, like Google UI */
  font-size: 10px;
}


.training-card p {
  font-size: 8px;
  color: #666;
  margin-top: 6px;
}


.training-card:hover {
  transform: translateY(-4px);
}

.training-card iframe {
  width: 100%;
  height: 180px;
  border-radius: 6px;
  border: none;
  margin-bottom: 10px;
}

/* --- Dark Mode Support (Optional) --- */
body.dark-mode .training-card {
  background: #2c2c2c;
  color: #fff;
}

#trainingPagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-wrap: wrap; /* allow wrapping on small screens */
  gap: 8px;
  margin-top: 20px;
}

#trainingPagination button {
  display: inline-block !important;
  min-width: 36px;
  padding: 6px 12px;
  background: #f1f3f4;
  color: #1a73e8;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

#trainingPagination button.active {
  background: #1a73e8;
  color: white;
}

.training-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.training-filter-input {
  flex: 1 1 200px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 180px;
  max-width: 240px;
}

.training-filter-select {
  flex: 0 1 160px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 140px;
}

.training-filter-clear {
  flex: 0 0 auto;
  padding: 8px 12px;
  background: #f1f3f4;
  color: #1a73e8;
  border: none;
  border-radius: 4px;
  white-space: nowrap;
  cursor: pointer;
}

#welcomeMessage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.greeting-text {
  font-size: 1.4em;
  font-weight: 600;
}

.client-since-text {
  font-size: 0.5em;
  color: #555;
  font-weight: 300;
}

@media (max-width: 600px) {
  #welcomeMessage {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-since-text {
    font-size: 0.85em;
    margin-top: 4px;
  }
}
