/* Employee Dashboard Styles - Stepwize Theme */

.employee-dashboard-container {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f9fafb;
  min-height: 100vh;
}

/* Header Styles */
.employee-dashboard-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.employee-dashboard-header .header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.employee-dashboard-header .header-left .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00008B;
  display: flex;
  align-items: center;
}

.employee-dashboard-header .header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.employee-dashboard-header .header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Notification Button */
.notification-btn {
  position: relative;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-btn:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #ef4444;
  color: white;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  min-width: 18px;
  text-align: center;
  transform: translate(25%, -25%);
}

/* Profile Styles (reuse from dashboard) */
.employee-dashboard-header .user-profile {
  position: relative;
}

.employee-dashboard-header .profile-dropdown {
  position: relative;
}

.employee-dashboard-header .profile-dropdown.active .dropdown-menu {
  display: block;
}

.employee-dashboard-header .profile-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.employee-dashboard-header .profile-btn:hover {
  background-color: #f3f4f6;
}

.employee-dashboard-header .profile-avatar-letter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #00008B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.employee-dashboard-header .avatar-letter {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.employee-dashboard-header .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  min-width: 200px;
  z-index: 50;
  display: none;
}

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

.employee-dashboard-header .company-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.employee-dashboard-header .company-name {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.employee-dashboard-header .company-role {
  font-size: 0.75rem;
  color: #6b7280;
}

.employee-dashboard-header .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.employee-dashboard-header .dropdown-item:hover {
  background-color: #f9fafb;
}

.employee-dashboard-header .dropdown-item.sign-out {
  color: #ef4444;
}

/* Layout */
.employee-dashboard-layout {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Sidebar Styles */
.employee-dashboard-sidebar {
  width: 240px;
  background-color: #ffffff;
  border-right: 1px solid #e5e7eb;
  padding: 1.5rem 0;
  position: sticky;
  top: 73px;
  height: calc(100vh - 73px);
  overflow-y: auto;
  flex-shrink: 0;
}

.employee-sidebar-nav {
  padding: 0 1rem;
}

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

.employee-sidebar-nav .nav-item {
  margin-bottom: 0.25rem;
}

.employee-sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #6b7280;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

.employee-sidebar-nav .nav-link:hover {
  background-color: #f9fafb;
  color: #374151;
}

.employee-sidebar-nav .nav-link.active {
  background-color: #eff6ff;
  color: #00008B;
}

.employee-sidebar-nav .nav-icon {
  flex-shrink: 0;
}

.employee-sidebar-nav .nav-text {
  flex: 1;
}

/* Main Content */
.employee-dashboard-main {
  flex: 1;
  padding: 2rem;
  min-height: calc(100vh - 73px);
}

.employee-dashboard-content {
  width: 100%;
}

.content-area {
  position: relative;
}

.content-pane {
  display: none;
}

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

/* Page Header - Scoped to employee dashboard */
.employee-dashboard-container .page-header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.employee-dashboard-container .header-motivation {
  display: flex;
  align-items: center;
}

.employee-dashboard-container .header-motivation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #00008B 0%, #4169e1 100%);
  border: 1px solid #3b82f6;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 139, 0.25);
}

.employee-dashboard-container .page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.employee-dashboard-container .page-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* Greeting Section */
.greeting-section {
  margin-bottom: 2rem;
}

.greeting-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.greeting-text {
  flex: 1;
  min-width: 300px;
}

.greeting-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.greeting-subtitle {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
}

.greeting-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #00008B 0%, #4169e1 100%);
  border: 2px solid #3b82f6;
  border-radius: 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 139, 0.25);
  white-space: nowrap;
}

/* Summary Cards */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.summary-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.summary-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon.assigned {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #00008B;
}

.card-icon.in-progress {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
}

.card-icon.completed {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
}

.card-icon.pending {
  background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
  color: #7c3aed;
}

.card-content {
  flex: 1;
}

.card-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  margin: 0 0 0.5rem 0;
}

.card-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

/* Recent Activity */
.recent-activity-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.employee-dashboard-container .section-header {
  margin-bottom: 1.5rem;
}

.employee-dashboard-container .section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.activity-item:hover {
  background: #f3f4f6;
}

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon.completed {
  background: #d1fae5;
  color: #059669;
}

.activity-icon.in-progress {
  background: #fef3c7;
  color: #d97706;
}

.activity-icon.assigned {
  background: #dbeafe;
  color: #1e40af;
}

.activity-content {
  flex: 1;
}

.activity-text {
  font-size: 0.875rem;
  color: #374151;
  margin: 0 0 0.25rem 0;
}

.activity-time {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Enhanced Motivational Message */
.motivational-message-enhanced {
  background: linear-gradient(135deg, #00008B 0%, #4169e1 100%);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 139, 0.25);
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.motivational-message-enhanced::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse-motivation 4s ease-in-out infinite;
}

@keyframes pulse-motivation {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

.motivational-content-enhanced {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.motivational-icon-enhanced {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.motivational-text-enhanced {
  max-width: 600px;
}

.motivational-title-enhanced {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: white;
}

.motivational-subtitle-enhanced {
  font-size: 1rem;
  opacity: 0.95;
  margin: 0;
  font-weight: 500;
}

/* My Guides Styles */
.employee-my-guides-content {
  width: 100%;
}

.search-filter-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Search bar styling is now inherited from dashboard.css */

/* Filter Section */
.filter-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sort-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.sort-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.sort-label svg {
  color: #6b7280;
}

.sort-select {
  padding: 0.625rem 1rem;
  padding-right: 2.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
}

.sort-select:hover {
  border-color: #00008B;
  color: #00008B;
  box-shadow: 0 2px 6px rgba(0, 0, 139, 0.15);
}

.sort-select:focus {
  outline: none;
  border-color: #00008B;
  box-shadow: 0 0 0 3px rgba(0, 0, 139, 0.1);
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
  border-color: #00008B;
  color: #00008B;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 139, 0.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, #00008B 0%, #4169e1 100%);
  border-color: #00008B;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 139, 0.25);
}

.filter-btn.active:hover {
  background: linear-gradient(135deg, #00006B 0%, #00008B 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 139, 0.35);
}

/* Guides Cards - Scoped to employee dashboard */
.employee-dashboard-container .guides-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.employee-dashboard-container .guide-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.employee-dashboard-container .guide-card.guide-card-completed {
  border-color: #86efac;
  background: #f0fdf4;
}

.employee-dashboard-container .guide-card.guide-card-in_progress {
  border-color: #fde68a;
  background: #fffbeb;
}

.employee-dashboard-container .guide-card.guide-card-pending {
  border-color: #ddd6fe;
  background: #faf5ff;
}

.employee-dashboard-container .guide-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.employee-dashboard-container .guide-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.employee-dashboard-container .guide-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.employee-dashboard-container .guide-card-icon.status-completed {
  background: #d1fae5;
  color: #059669;
}

.employee-dashboard-container .guide-card-icon.status-in-progress {
  background: #fef3c7;
  color: #d97706;
}

.employee-dashboard-container .guide-card-icon.status-pending {
  background: #e9d5ff;
  color: #7c3aed;
}

.employee-dashboard-container .guide-card-body {
  flex: 1;
  margin-bottom: 1rem;
}

.employee-dashboard-container .guide-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.employee-dashboard-container .guide-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.employee-dashboard-container .guide-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.employee-dashboard-container .guide-meta-item svg {
  flex-shrink: 0;
  color: #9ca3af;
}

.employee-dashboard-container .guide-card-footer {
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  margin-top: auto;
}

/* Empty State */
.guides-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border: 2px dashed #e5e7eb;
  border-radius: 16px;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.5rem 0;
}

.empty-state-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* Status Badges - Scoped to employee dashboard */
.employee-dashboard-container .status-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.employee-dashboard-container .status-completed {
  background: #d1fae5;
  color: #059669;
}

.employee-dashboard-container .status-in-progress {
  background: #fef3c7;
  color: #d97706;
}

.employee-dashboard-container .status-pending {
  background: #e9d5ff;
  color: #7c3aed;
}

/* Action Buttons - Scoped to employee dashboard */
.employee-dashboard-container .btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #00008B 0%, #0000CD 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.employee-dashboard-container .btn-action:hover {
  background: linear-gradient(135deg, #00006B 0%, #00008B 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 139, 0.3);
}

.employee-dashboard-container .btn-action svg {
  flex-shrink: 0;
}

.employee-dashboard-container .btn-action-completed {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.employee-dashboard-container .btn-action-completed:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.employee-dashboard-container .btn-action-in_progress {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.employee-dashboard-container .btn-action-in_progress:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
}

.employee-dashboard-container .btn-action-pending {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.employee-dashboard-container .btn-action-pending:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.35);
  transform: translateY(-2px);
}

/* Guide Detail View */
.guide-detail-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.guide-detail-header {
  margin-bottom: 2rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.back-button:hover {
  background: #f9fafb;
  border-color: #00008B;
  color: #00008B;
  transform: translateX(-2px);
}

.guide-detail-title-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.guide-detail-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  flex: 1;
}

.guide-detail-status-badge {
  display: flex;
  align-items: center;
}

.guide-steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.guide-step-item {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.guide-step-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #00008B;
  transition: all 0.3s ease;
}

.guide-step-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 139, 0.15);
  transform: translateY(-2px);
  border-color: #00008B;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #00008B 0%, #4169e1 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 139, 0.3);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.step-content {
  margin-top: 1rem;
}

.step-description {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  font-weight: 500;
}

.step-screenshot {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.step-screenshot:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 139, 0.15);
  transform: scale(1.01);
}

.screenshot-image {
  width: 100%;
  height: auto;
  display: block;
}

.guide-actions-footer {
  display: flex;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  margin-top: 2rem;
}

.btn-mark-complete {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 139, 0.3);
}

.btn-mark-complete:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 139, 0.4);
}

.guide-completed-badge-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid #86efac;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.guide-completed-badge-large svg {
  flex-shrink: 0;
}

/* Progress Page Styles */
.employee-progress-content {
  width: 100%;
}

/* Progress Hero Section */
.progress-hero-section {
  margin-bottom: 2rem;
}

.progress-hero-card {
  background: linear-gradient(135deg, #00008B 0%, #4169e1 100%);
  border-radius: 20px;
  padding: 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 139, 0.3);
}

.progress-hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

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

.progress-hero-content {
  position: relative;
  z-index: 1;
}

.progress-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.progress-hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.progress-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.progress-hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-item.highlight .hero-stat-value {
  font-size: 3rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.hero-stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: 500;
}

.progress-hero-bar {
  width: 100%;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.progress-hero-fill {
  height: 100%;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 9999px;
  position: relative;
  transition: width 0.8s ease;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.progress-hero-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

.progress-hero-message {
  text-align: center;
  font-size: 1rem;
  opacity: 0.95;
  font-weight: 500;
}

/* Achievements Section */
.achievements-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

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

.achievement-card {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #e5e7eb;
  transition: all 0.3s ease;
}

.achievement-card.earned {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
}

.achievement-card.earned::before {
  background: linear-gradient(180deg, #00008B 0%, #4169e1 100%);
}

.achievement-card.locked {
  opacity: 0.7;
  background: #f9fafb;
}

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

.achievement-card.earned:hover {
  border-color: #60a5fa;
  box-shadow: 0 4px 12px rgba(0, 0, 139, 0.2);
}

.achievement-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.achievement-card.earned .achievement-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #00008B;
}

.achievement-card.locked .achievement-icon {
  background: #e5e7eb;
  color: #9ca3af;
}

.achievement-content {
  flex: 1;
}

.achievement-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

.achievement-desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 0.5rem 0;
}

.achievement-date {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
}

.achievement-card.earned .achievement-date {
  color: #00008B;
}

.achievement-badge-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.achievement-card.locked .achievement-badge-icon {
  opacity: 0.5;
}


/* Accomplishments Section */
.accomplishments-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.employee-dashboard-container .section-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0.25rem 0 0 0;
}

.accomplishments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.accomplishment-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #86efac;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.accomplishment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

.accomplishment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  border-color: #4ade80;
}

.accomplishment-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  flex-shrink: 0;
}

.accomplishment-content {
  flex: 1;
}

.accomplishment-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

.accomplishment-desc {
  font-size: 0.875rem;
  color: #059669;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}

.accomplishment-date {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}


/* Next Steps Section */
.next-steps-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.next-step-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #fde68a;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.next-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  border-radius: 12px 0 0 12px;
}

.next-step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
  border-color: #fbbf24;
}

.next-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.next-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.next-step-icon.in-progress {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
}

.next-step-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d97706;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
}

.next-step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.next-step-desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 1rem 0;
}

.next-step-progress {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.next-step-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  overflow: hidden;
}

.next-step-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 9999px;
  transition: width 0.5s ease;
}

.next-step-progress-text {
  font-size: 0.75rem;
  color: #92400e;
  font-weight: 500;
}

/* Visual Progress Section */
.visual-progress-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.progress-visual-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.progress-visual-card {
  padding: 1.25rem;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.progress-visual-card:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.progress-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.progress-visual-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.completed-dot {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.in-progress-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.pending-dot {
  background: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.progress-visual-percentage {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.progress-visual-bar {
  width: 100%;
  height: 16px;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  position: relative;
}

.progress-visual-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.5s ease;
  position: relative;
  overflow: hidden;
}

.progress-visual-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.completed-fill {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.in-progress-fill {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.pending-fill {
  background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
}

.progress-visual-stats {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

.learning-history-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.history-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.history-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.history-card:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateX(4px);
}

.history-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.history-card-icon.completed {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
}

.history-card-icon.in-progress {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
}

.history-card-icon.pending {
  background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
  color: #7c3aed;
}

.history-card-content {
  flex: 1;
}

.history-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.history-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.history-date {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Settings Page Styles */
.employee-settings-content {
  width: 100%;
  max-width: 800px;
}

.settings-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.settings-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
}

.settings-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.employee-dashboard-container .form-group {
  margin-bottom: 1.5rem;
}

.employee-dashboard-container .form-group:last-child {
  margin-bottom: 0;
}

.employee-dashboard-container .form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.employee-dashboard-container .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background: #f9fafb;
}

.employee-dashboard-container .form-input:focus {
  outline: none;
  border-color: #00008B;
  box-shadow: 0 0 0 3px rgba(0, 0, 139, 0.1);
  background: white;
}

.employee-dashboard-container .form-input[readonly] {
  cursor: not-allowed;
  background: #f9fafb;
}

.employee-dashboard-container .helper-text {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

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

.employee-dashboard-container .form-actions {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 1rem;
}

.employee-dashboard-container .settings-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Buttons - Scoped to employee dashboard */
.employee-dashboard-container .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #00008B 0%, #0000CD 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 139, 0.1);
}

.employee-dashboard-container .btn-primary:hover {
  background: linear-gradient(135deg, #00006B 0%, #00008B 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 139, 0.2);
}

.employee-dashboard-container .btn-primary:active {
  transform: translateY(0);
}

.employee-dashboard-container .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: white;
  color: #374151;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  width: 100%;
  justify-content: center;
}

.employee-dashboard-container .btn-secondary:hover {
  background: #f9fafb;
  border-color: #00008B;
  color: #00008B;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 139, 0.15);
}

.employee-dashboard-container .btn-secondary:active {
  transform: translateY(0);
}

.employee-dashboard-container .btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: 2px solid #ef4444;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
  width: 100%;
  justify-content: center;
}

.employee-dashboard-container .btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(239, 68, 68, 0.3);
}

.employee-dashboard-container .btn-danger:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .employee-dashboard-layout {
    flex-direction: column;
  }

  .employee-dashboard-sidebar {
    width: 100%;
    position: relative;
    top: 0;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .employee-sidebar-nav .nav-list {
    display: flex;
    overflow-x: auto;
    padding: 0.5rem;
  }

  .employee-sidebar-nav .nav-item {
    margin-bottom: 0;
    margin-right: 0.5rem;
  }

  .employee-dashboard-main {
    padding: 1rem;
  }

  .summary-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .filter-section {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-section {
    margin-left: 0;
    width: 100%;
  }

  .sort-select {
    flex: 1;
    width: 100%;
  }

  @media (max-width: 640px) {
    .summary-cards {
      grid-template-columns: 1fr;
    }
  }

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

  .guides-cards-container {
    grid-template-columns: 1fr;
  }

  .progress-hero-card {
    padding: 1.5rem;
  }

  .progress-hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stat-divider {
    display: none;
  }

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

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

  .next-steps-grid {
    grid-template-columns: 1fr;
  }

  .motivational-message-enhanced {
    padding: 2rem 1.5rem;
  }

  .guide-detail-title-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .guide-step-item {
    padding: 1.5rem;
  }
}

