/*!****************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/common/NotificationBell.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************/
/* Notification Bell Container */
.notification-bell-container {
  position: relative;
  display: inline-block;
}

/* Bell Button */
.notification-bell-button {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 20px;
  color: #6576ff;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.notification-bell-button:hover {
  background: rgba(101, 118, 255, 0.1);
  color: #364a63;
}

/* Badge */
.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #e85347;
  color: white;
  border-radius: 10px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Dropdown */
.notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-height: 500px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e9f2;
}

.notification-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #364a63;
}

.mark-all-read-btn {
  background: transparent;
  border: none;
  color: #6576ff;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.mark-all-read-btn:hover {
  background: rgba(101, 118, 255, 0.1);
}

/* List */
.notification-list {
  flex: 1;
  overflow-y: auto;
  max-height: 400px;
}

.notification-list::-webkit-scrollbar {
  width: 6px;
}

.notification-list::-webkit-scrollbar-track {
  background: #f5f6fa;
}

.notification-list::-webkit-scrollbar-thumb {
  background: #c4cdd5;
  border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
  background: #a0a8b0;
}

/* No Notifications */
.no-notifications {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #8094ae;
}

.no-notifications i {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

.no-notifications p {
  margin: 0;
  font-size: 14px;
}

/* Notification Item */
.notification-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e9f2;
  cursor: pointer;
  transition: background 0.2s ease;
}

.notification-item:hover {
  background: #f5f6fa;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item.unread {
  background: #f0f4ff;
}

.notification-item.unread:hover {
  background: #e6edff;
}

/* Icon */
.notification-icon {
  font-size: 24px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Content */
.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 14px;
  font-weight: 600;
  color: #364a63;
  margin-bottom: 4px;
}

.notification-message {
  font-size: 13px;
  color: #8094ae;
  line-height: 1.4;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.notification-time {
  font-size: 12px;
  color: #b0bac9;
}

/* Delete Button */
.notification-delete {
  background: transparent;
  border: none;
  color: #8094ae;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
  opacity: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.notification-item:hover .notification-delete {
  opacity: 1;
}

.notification-delete:hover {
  color: #e85347;
}

/* Unread Indicator */
.unread-indicator {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #6576ff;
  border-radius: 50%;
}

/* Footer */
.notification-footer {
  padding: 12px 20px;
  border-top: 1px solid #e5e9f2;
  text-align: center;
}

.view-all-btn {
  background: transparent;
  border: none;
  color: #6576ff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.2s ease;
  width: 100%;
}

.view-all-btn:hover {
  background: rgba(101, 118, 255, 0.1);
}

/* Responsive */
@media (max-width: 480px) {
  .notification-dropdown {
    width: 320px;
    right: -20px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .notification-dropdown {
    background: #1c2b3a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .notification-header {
    border-bottom-color: #2d3d4f;
  }

  .notification-header h3 {
    color: #e5e9f2;
  }

  .notification-item {
    border-bottom-color: #2d3d4f;
  }

  .notification-item:hover {
    background: #253444;
  }

  .notification-item.unread {
    background: #1e2f42;
  }

  .notification-item.unread:hover {
    background: #243648;
  }

  .notification-title {
    color: #e5e9f2;
  }

  .notification-message {
    color: #b0bac9;
  }

  .notification-footer {
    border-top-color: #2d3d4f;
  }

  .no-notifications {
    color: #b0bac9;
  }
}

/*!*****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/common/Toast.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************/
/* Toast Notification Styles */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 500px;
}

.toast {
  min-width: 320px;
  max-width: 500px;
  padding: 18px 22px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: all;
  animation: slideIn 0.3s ease-out;
  background: white;
  border-left: 5px solid;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.toast.toast-exit {
  animation: slideOut 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.toast-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
}

.toast-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toast-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.toast-message {
  font-size: 13px;
  line-height: 1.4;
  color: #6c757d;
  margin: 0;
}

.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #6c757d;
  font-size: 18px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

/* Toast Types */
.toast.success {
  border-left-color: #28a745;
}

.toast.success .toast-icon {
  background: #d4edda;
  color: #28a745;
}

.toast.error {
  border-left-color: #dc3545;
}

.toast.error .toast-icon {
  background: #f8d7da;
  color: #dc3545;
}

.toast.warning {
  border-left-color: #ffc107;
}

.toast.warning .toast-icon {
  background: #fff3cd;
  color: #856404;
}

.toast.info {
  border-left-color: #17a2b8;
}

.toast.info .toast-icon {
  background: #d1ecf1;
  color: #17a2b8;
}

/* Dark mode support */
body.dark-mode .toast {
  background: #2d3748;
  color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .toast-message {
  color: #a0aec0;
}

body.dark-mode .toast-close {
  color: #a0aec0;
}

body.dark-mode .toast.success .toast-icon {
  background: rgba(40, 167, 69, 0.2);
}

body.dark-mode .toast.error .toast-icon {
  background: rgba(220, 53, 69, 0.2);
}

body.dark-mode .toast.warning .toast-icon {
  background: rgba(255, 193, 7, 0.2);
}

body.dark-mode .toast.info .toast-icon {
  background: rgba(23, 162, 184, 0.2);
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/notifications/TimesheetAlert.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************/
.notification-bell-button {
  position: relative;
  background-color: #f1f3f500;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease;
  color: #ffffff;
  /* box-shadow: 0 2px 6px rgb(0 0 0 / 0.1); */
}
.notification-bell-button:hover,
.notification-bell-button:focus {
  background-color: #ffffff00;
  outline: none;
  color: #161313;
  /* box-shadow: 0 4px 10px rgb(0 0 0 / 0.15); */
}
.bell-icon {
  width: 34px;
  height: 34px;
}
.notification-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 14px;
  height: 14px;
  padding: 0 6px;
  background-color: #e03131;
  color: white;
  font-weight: 700;
  font-size: 12px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #f1f3f5;
  user-select: none;
}

/* Dropdown - Theme Aware */
.dropdown-menu {
  position: absolute;
  top: 52px;
  width: 320px;
  max-height: 400px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.dropdown-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dropdown-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.settings-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.settings-link:hover {
  background-color: var(--hover-bg);
  color: var(--primary-color);
  text-decoration: none;
}

.settings-link i {
  font-size: 0.8rem;
}
.dropdown-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-color);
  transition: color 0.3s ease;
}
.badge-unread {
  background-color: #e03131;
  color: white;
  padding: 0.25em 0.6em;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}
.dropdown-body {
  overflow-y: auto;
  flex-grow: 1;
  max-height: 320px;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
}
.loading,
.no-alerts {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
  user-select: none;
  transition: color 0.3s ease;
}
.alert-item {
  display: flex;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  align-items: flex-start;
  background-color: var(--card-bg);
}
.alert-item.unread {
  background-color: var(--table-hover);
  font-weight: 600;
}
.alert-item:hover,
.alert-item:focus {
  background-color: var(--table-hover);
  outline: none;
}
.alert-icon {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}
.alert-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alert-message {
  margin-bottom: 0px;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}
.alert-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}
.alert-meta time {
  user-select: none;
}
.dismiss-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  user-select: none;
  border-radius: 4px;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.dismiss-btn:hover {
  color: #e03131;
  background-color: var(--table-hover);
}
.dropdown-footer {
  border-top: 1px solid var(--border-color);
  padding: 16px 20px;
  text-align: center;
  background-color: var(--card-bg);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.dropdown-footer .view-all-btn {
  /* background-color: #05253D !important; */
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none !important;
}
.dropdown-footer .view-all-btn:hover,
.dropdown-footer .view-all-btn:focus,
.dropdown-footer .view-all-btn:visited,
.dropdown-footer .view-all-btn:active {
  background-color: #0b5ed7 !important;
  outline: none;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  border: none !important;
}

/*!*******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/ai/AIAssistant.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************/
/* AI Assistant Styles */
.ai-assistant-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ai-assistant-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 800px;
  height: 80vh;
  max-height: 700px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e9ecef;
background: linear-gradient(to right, #F0FDFA 0%, #CFFBFE 100%);
/* background: linear-gradient(to bottom, #ECFEFF 0%, #CFFBFE 100%); */
}

.ai-assistant-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.ai-assistant-title h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.ai-assistant-title p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

.ai-close-btn {
  /* background: rgba(255, 255, 255, 0.2); */
  border: none;
  color: black;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-close-btn:hover {
  background: rgba(0, 211, 190, 0.286);
  transform: scale(1.05);
}

.ai-assistant-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.ai-message.user {
  align-self: flex-end;
}

.ai-message.ai {
  align-self: flex-start;
}

.ai-message-content {
  padding: 12px 16px;
  border-radius: 18px;
  line-height: 1.5;
  word-wrap: break-word;
}

.ai-message.user .ai-message-content {
  background: #6be6cd;
  color: black;
  border-bottom-right-radius: 4px;
}

.ai-message.ai .ai-message-content {
  background: #f8f9fa;
  color: #2c3e50 !important;
  border-bottom-left-radius: 4px;
  border: 1px solid #e9ecef;
}

.ai-message.ai .ai-message-content * {
  color: #2c3e50 !important;
}

.ai-message-content h4 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
}

.ai-message-content strong {
  font-weight: 600;
  color: #2c3e50;
}

.ai-message-content p {
  color: #2c3e50;
  margin: 0;
}

.ai-message-content ul,
.ai-message-content ol {
  color: #2c3e50;
  margin: 8px 0;
  padding-left: 20px;
}

.ai-message-content li {
  color: #2c3e50;
  margin: 4px 0;
}

.ai-message-time {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 4px;
  text-align: right;
}

.ai-message.ai .ai-message-time {
  text-align: left;
}

.ai-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
}

.ai-typing span {
  width: 8px;
  height: 8px;
  background: #6c757d;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.ai-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.ai-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

.ai-quick-questions {
  padding: 20px 24px;
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
}

.ai-quick-questions h4 {
  margin: 0 0 12px 0;
  font-size: 1rem;
  color: #495057;
}

.ai-question-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-question-chip {
  background: white;
  border: 1px solid #dee2e6;
  color: #495057 !important;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ai-question-chip:hover {
  background: #6be6cd;
  color: white;
  border-color: #6be6cd;
  transform: translateY(-1px);
}

.ai-assistant-footer {
  padding: 20px 24px;
  border-top: 1px solid #e9ecef;
  background: white;
}

.ai-input-container {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ai-input {
  flex: 1;
  border: 1px solid #dee2e6;
  border-radius: 24px;
  padding: 12px 20px;
  font-size: 0.9rem;
  color: #2c3e50;
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

.ai-input::placeholder {
  color: #6c757d;
  opacity: 1;
}

.ai-input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.ai-send-btn {
  background: #6be6cd;
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-send-btn:hover:not(:disabled) {
  background: #6be6cd;
  transform: scale(1.05);
}

.ai-send-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
}

/* Ask AI Button */
.ask-ai-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.ask-ai-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

.ask-ai-btn i {
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .ai-assistant-modal {
    width: 100%;
    height: 90vh;
    margin: 10px;
    border-radius: 12px;
  }

  .ai-assistant-header {
    padding: 16px 20px;
  }

  .ai-assistant-title h3 {
    font-size: 1.25rem;
  }

  .ai-messages {
    padding: 16px 20px;
  }

  .ai-message {
    max-width: 90%;
  }

  .ai-quick-questions {
    padding: 16px 20px;
  }

  .ai-question-chips {
    flex-direction: column;
  }

  .ai-question-chip {
    text-align: left;
  }

  .ai-assistant-footer {
    padding: 16px 20px;
  }

  .ask-ai-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .ai-assistant-overlay {
    padding: 10px;
  }

  .ai-assistant-modal {
    height: 95vh;
    margin: 5px;
  }

  .ai-assistant-title {
    gap: 8px;
  }

  .ai-avatar {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .ai-assistant-title h3 {
    font-size: 1.1rem;
  }

  .ai-assistant-title p {
    font-size: 0.8rem;
  }
}

/* Animation for modal appearance */
.ai-assistant-modal {
  animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scrollbar styling */
.ai-messages::-webkit-scrollbar {
  width: 6px;
}

.ai-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.ai-messages::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.ai-messages::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/common/GlobalSearch.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
/* Global Search Container */
.global-search-container {
  position: relative;
  width: 100%;
  max-width: 600px;
}

/* Search Input Wrapper */
.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
}

.global-search-input {
  width: 100%;
  padding: 10px 40px 10px 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.global-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.global-search-input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(77, 163, 199, 0.2);
}

.search-loading {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Results Dropdown */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 500px;
  overflow-y: auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark mode dropdown */
.dark .search-results-dropdown {
  background: #1e293b;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Results Section */
.search-results-section {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.dark .search-results-section {
  border-bottom-color: #334155;
}

.search-results-section:last-child {
  border-bottom: none;
}

.section-title {
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
}

.dark .section-title {
  color: #94a3b8;
}

.section-items {
  padding: 0;
}

/* Result Item */
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.search-result-item:hover,
.search-result-item.selected {
  background-color: #f3f4f6;
  border-left-color: #4da3c7;
}

.dark .search-result-item:hover,
.dark .search-result-item.selected {
  background-color: #334155;
  border-left-color: #60a5fa;
}

.result-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  color: white;
  font-size: 16px;
}

.result-content {
  flex: 1;
  min-width: 0;
}

.result-label {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dark .result-label {
  color: #f1f5f9;
}

.result-subtitle {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dark .result-subtitle {
  color: #94a3b8;
}

.result-status {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.result-status.status-pending {
  background-color: #fef3c7;
  color: #92400e;
}

.result-status.status-submitted,
.result-status.status-submitted\ for\ approval {
  background-color: #dbeafe;
  color: #1e40af;
}

.result-status.status-approved {
  background-color: #d1fae5;
  color: #065f46;
}

.result-status.status-rejected {
  background-color: #fee2e2;
  color: #991b1b;
}

.result-status.status-paid {
  background-color: #d1fae5;
  color: #065f46;
}

.result-status.status-unpaid {
  background-color: #fef3c7;
  color: #92400e;
}

.result-status.status-active {
  background-color: #d1fae5;
  color: #065f46;
}

.result-status.status-inactive {
  background-color: #f3f4f6;
  color: #4b5563;
}

/* Dark mode status badges */
.dark .result-status.status-pending {
  background-color: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.dark .result-status.status-submitted,
.dark .result-status.status-submitted\ for\ approval {
  background-color: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.dark .result-status.status-approved {
  background-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.dark .result-status.status-rejected {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.dark .result-status.status-paid {
  background-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.dark .result-status.status-unpaid {
  background-color: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.dark .result-status.status-active {
  background-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.dark .result-status.status-inactive {
  background-color: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
}

/* No Results */
.no-results {
  padding: 40px 20px;
  text-align: center;
  color: #6b7280;
}

.dark .no-results {
  color: #94a3b8;
}

.no-results i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.no-results p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #1f2937;
}

.dark .no-results p {
  color: #f1f5f9;
}

.no-results span {
  font-size: 13px;
  color: #9ca3af;
}

.dark .no-results span {
  color: #64748b;
}

/* Scrollbar Styling */
.search-results-dropdown::-webkit-scrollbar {
  width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.dark .search-results-dropdown::-webkit-scrollbar-thumb {
  background: #475569;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.dark .search-results-dropdown::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
  .global-search-container {
    max-width: 100%;
  }

  .search-results-dropdown {
    max-height: 400px;
  }

  .result-label {
    font-size: 13px;
  }

  .result-subtitle {
    font-size: 11px;
  }
}

/*!******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/layout/Header.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************/
.nk-header {
  background-color: palegreen !important;
  color: var(--header-text);
  box-shadow: var(--shadow);
  height: 60px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.notification-bell {
  position: relative;
  display: inline-block;
}

.bell-button {
  position: relative;
  background-color: var(--background-secondary);
  border: none;
  border-radius: 50%;
  padding: 10px 12px;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-color);
  transition: background-color 0.2s ease;
}

.bell-button:hover {
  background-color: var(--hover-bg);
}

.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background-color: var(--danger-color);
  color: var(--text-light);
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 5px;
  text-align: center;
  line-height: 14px;
  box-shadow: 0 0 0 2px var(--card-bg);
}

.nk-header-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}

.app-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--header-text);
  margin-right: 20px;
}

.app-brand-logo {
  max-height: 70px;
  width: auto;
  max-width: 280px;
  margin-right: 10px;
  object-fit: contain;
}

/* Allow tenant logos to be larger */
.app-brand-logo[src*="data:image"] {
  max-height: 60px !important;
  max-width: 250px !important;
}

.app-brand-text {
  color: var(--header-text);
  font-weight: 600;
}

.nk-header-tools {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 16px;
}

.header-action-item {
  color: var(--header-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 8px;
}

.header-action-item:hover {
  background-color: var(--hover-bg, rgba(0, 0, 0, 0.05));
}

.header-role-selector {
  position: relative;
  margin-right: 8px;
}

.header-action-icon {
  font-size: 20px;
}

.user-dropdown {
  display: flex;
  align-items: center;
  margin-left: 20px;
  cursor: pointer;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--background-color);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.trial-badge {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 12px;
  margin-right: 16px;
  color: var(--header-text);
  transition: color 0.3s ease;
}

/* Mobile hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--header-text);
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  margin-right: 8px;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  order: -1; /* Ensure it's always first */
}

.mobile-menu-toggle:hover {
  opacity: 0.7;
}

.mobile-menu-toggle:active {
  opacity: 0.5;
}

/* Responsive styles */
@media (max-width: 1199px) {
  .nk-header-wrap {
    padding: 0 15px;
  }
  
  .app-brand-logo {
    max-height: 50px;
    max-width: 200px;
  }
  
  .header-action-item {
    margin-left: 12px;
  }
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .app-brand {
    margin-right: auto;
    margin-left: 0;
  }
  
  .app-brand-logo {
    max-height: 45px;
    max-width: 180px;
    margin-right: 0;
  }
  
  .header-action-item {
    margin-left: 10px;
  }
  
  .header-action-icon {
    font-size: 18px;
  }
  
  .nk-header-tools {
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
  .nk-header {
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  
  .nk-header-wrap {
    padding: 0 12px;
  }
  
  .app-brand-logo {
    max-height: 40px;
    max-width: 150px;
  }
  
  .app-brand-text {
    display: none;
  }
  
  .header-action-item {
    margin-left: 8px;
  }
  
  .header-action-icon {
    font-size: 16px;
  }
  
  .user-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
    margin-right: 0;
  }
  
  .trial-badge {
    display: none;
  }
  
  /* Hide some items on very small screens */
  .header-role-selector {
    display: none;
  }
}

@media (max-width: 480px) {
  .app-brand-logo {
    max-height: 35px;
    max-width: 120px;
  }
  
  .header-action-item:not(:last-child):not(.notification-bell) {
    margin-left: 6px;
  }
}

/*!*******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/layout/Sidebar.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************/
.app-sidebar {
  width: 240px;
  background-color: var(--sidebar-bg, #1976d2);
  height: 120vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin-top: -10px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-collapse-button {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.811);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-collapse-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.sidebar-collapse-button i {
  color: rgba(17, 78, 234, 0.9);
  font-size: 24px;
}

.sidebar-collapse-button i:hover {
  color: rgba(255, 255, 255, 0.9);
  font-size: 24px;
}

/* Mobile overlay for sidebar */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Responsive sidebar styles */
@media (max-width: 1199px) {
  .app-sidebar {
    width: 220px;
  }
  
  .app-sidebar.collapsed {
    width: 70px;
  }
}

@media (max-width: 991px) {
  .app-sidebar {
    z-index: 1001;
    width: 260px;
    left: -260px;
    top: 60px;
    height: calc(100vh - 60px);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .app-sidebar.mobile-visible {
    left: 0;
  }
  
  .app-sidebar.collapsed {
    width: 260px;
    left: -260px;
  }
  
  .app-sidebar.collapsed.mobile-visible {
    left: 0;
    width: 260px;
  }
  
  /* Always show full sidebar on mobile when visible */
  .app-sidebar.mobile-visible .sidebar-text {
    display: inline !important;
  }
  
  .app-sidebar.mobile-visible .sidebar-icon {
    margin-right: 15px !important;
  }
}

@media (max-width: 767px) {
  .app-sidebar {
    width: 280px;
    left: -280px;
    padding-top: 0;
  }
  
  .app-sidebar.collapsed {
    width: 280px;
    left: -280px;
  }
  
  .sidebar-header {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .app-sidebar {
    width: 100%;
    left: -100%;
  }
  
  .app-sidebar.collapsed {
    width: 100%;
    left: -100%;
  }
}

.app-sidebar.collapsed {
  width: 70px;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-item {
  margin-bottom: 2px;
}

.sidebar-item.sub-item {
  padding-left: 32px;
  position: relative;
}

/* Vertical line for submenu */
.sidebar-item.with-vertical-line::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background-color: rgba(255, 255, 255, 0.4);
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--sidebar-text, rgba(255, 255, 255, 0.8)) !important;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-link:hover {
  background-color: #04A4BD !important;
  color: white !important; /* optional */
}


.sidebar-link.active {
  background-color:  #04A4BD !important;
  color: var(--sidebar-text, #ffffff) !important;
  border-left: 3px solid var(--sidebar-text, #ffffff);
}

.sidebar-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 15px;
}

.app-sidebar.collapsed .sidebar-icon {
  margin-right: 0;
}

.sidebar-text {
  font-size: 14px;
  font-weight: 500 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Scrollbar styling for sidebar */
.sidebar-content::-webkit-scrollbar {
  width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}



/*!*****************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/layout/WorkspaceSelector.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************/
.workspace-selector {
  padding: 15px 10px;
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 40px);
}

.workspace-current {
  display: flex;
  align-items: center;
  cursor: pointer;
  max-width: 100%;
}

.workspace-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 10px;
  margin-bottom: 20px;
  font-size: 12px;
}

.workspace-details {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.workspace-name {
  font-weight: 600;
  overflow: hidden;
  font-size: 14px;
  color: var(--sidebar-text, #ffffff) !important;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.workspace-tagline {
  font-size: 12px;
  color: var(--sidebar-text, #ffffff) !important;
  opacity: 0.7;
}

/*!**************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/components/layout/EmployerLayout.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************/
/* EmployerLayout.css */
.nk-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #075985;
}

.nk-app-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nk-main {
  display: flex;
  flex: 1;
  min-height: 100vh;
}

.nk-wrap {
  flex: 1;
  margin-left: 240px;
  transition: margin-left 0.3s ease;
  width: calc(100% - 240px);
}

.sidebar-collapsed .nk-wrap {
  margin-left: 70px;
  width: calc(100% - 70px);
}

.nk-content {
  padding: 20px;
  min-height: calc(100vh - 60px);
  margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 991px) {
  .nk-wrap {
    margin-left: 0;
    width: 100%;
  }
  
  .sidebar-collapsed .nk-wrap {
    margin-left: 0;
    width: 100%;
  }
}

/* Dark mode styles */
body.dark-mode .nk-body {
  background-color: #1c2b36;
  color: #e4e6eb;
}

body.dark-mode .nk-content {
  background-color: #1c2b36;
}

