/* ================================
   COMPONENT STYLES
   ================================ */

/* ===== BUTTONS ===== */

/* Base Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn i {
  width: 18px;
  height: 18px;
}
/* Button Sizes */
.btn-sm {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-base);
}

/* Primary Button */
.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Secondary Button */
.btn-secondary {
  background: var(--color-secondary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--color-secondary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover:not(:disabled) {
  background: var(--color-primary);
  color: white;
}

/* Danger Button */
.btn-danger {
  background: var(--color-error);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-danger:hover:not(:disabled) {
  background: var(--color-error-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-danger:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--color-gray-100);
  color: var(--color-text-primary);
}

/* Icon Only Button */
.btn-icon {
  padding: var(--spacing-md);
  aspect-ratio: 1;
}

/* ===== CARDS ===== */

/* Base Card */
.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-header {
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin: 0;
}

.card-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-top: var(--spacing-xs);
}

.card-body {
  padding: var(--spacing-xl);
}

.card-footer {
  padding: var(--spacing-xl);
  border-top: 1px solid var(--color-border-light);
  background: var(--color-bg-secondary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Glassmorphic Card */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.card-glass:hover {
  box-shadow: var(--shadow-xl);
}

/* Compact Card */
.card-compact .card-header,
.card-compact .card-body,
.card-compact .card-footer {
  padding: var(--spacing-lg);
}

/* Interactive Card */
.card-interactive {
  cursor: pointer;
}

.card-interactive:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* ===== BADGES ===== */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px var(--spacing-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* Badge Variants */
.badge-success {
  background: var(--color-success);
  color: white;
}

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

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

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

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

.badge-secondary {
  background: var(--color-gray-200);
  color: var(--color-text-secondary);
}

/* Badge with Icon */
.badge i {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}

/* ===== MODALS ===== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: var(--backdrop-blur-sm);
  z-index: var(--z-modal-backdrop);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  animation: fadeIn var(--transition-fast);
}

.modal {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp var(--transition-normal);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border-light);
  flex-shrink: 0; /* Prevent header from being hidden */
}

.modal-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin: 0;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-tertiary);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-gray-100);
  color: var(--color-text-primary);
}

.modal-close i {
  width: 20px;
  height: 20px;
}

.modal-body {
  flex: 1;
  padding: var(--spacing-xl);
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--spacing-md);
  padding: var(--spacing-xl);
  border-top: 1px solid var(--color-border-light);
  background: var(--color-bg-secondary);
}

/* Modal Sizes */
.modal-sm {
  max-width: 400px;
}

.modal-lg {
  max-width: 800px;
}

.modal-xl {
  max-width: 1200px;
}

/* ===== FORM INPUTS ===== */

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

.form-label-required::after {
  content: '*';
  color: var(--color-error);
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--color-text-primary);
  background: white;
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  background: var(--color-gray-50);
  cursor: not-allowed;
  opacity: 0.6;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
}

.form-input.error:focus,
.form-select.error:focus,
.form-textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-help {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-tertiary);
  margin-top: var(--spacing-xs);
}

.form-error {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-error);
  margin-top: var(--spacing-xs);
}

/* Input with Icon */
.input-group {
  position: relative;
}

.input-group i {
  position: absolute;
  left: var(--spacing-lg);
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-tertiary);
  pointer-events: none;
}

.input-group .form-input {
  padding-left: 44px;
}

/* Checkbox and Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.form-check-input {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.form-check-input[type="radio"] {
  border-radius: var(--radius-full);
}

.form-check-input:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.form-check-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-primary);
  cursor: pointer;
}

/* File Upload */
.file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl);
  border: 2px dashed var(--color-border-medium);
  border-radius: var(--radius-lg);
  background: var(--color-bg-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-upload:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  background-opacity: 0.05;
}

.file-upload.dragover {
  border-color: var(--color-primary);
  background: rgba(37, 99, 235, 0.05);
}

.file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.file-upload-text {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.file-upload-hint {
  font-size: var(--font-size-sm);
  color: var(--color-text-tertiary);
}

/* ===== DROPDOWNS ===== */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + var(--spacing-sm));
  right: 0;
  min-width: 200px;
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-sm);
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--color-gray-100);
}

.dropdown-item i {
  width: 18px;
  height: 18px;
}

.dropdown-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: var(--spacing-sm) 0;
}

/* ===== PROGRESS BARS ===== */

.progress {
  width: 100%;
  height: 8px;
  background: var(--color-gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.progress-bar-success {
  background: var(--color-success);
}

.progress-bar-warning {
  background: var(--color-warning);
}

.progress-bar-error {
  background: var(--color-error);
}

.progress-bar-striped {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
  animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
  0% {
    background-position: 1rem 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* Progress with Label */
.progress-container {
  width: 100%;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* ===== TABLES ===== */

.table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.table thead {
  background: var(--color-bg-secondary);
  border-bottom: 2px solid var(--color-border-medium);
}

.table th {
  padding: var(--spacing-lg);
  text-align: left;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  white-space: nowrap;
}

.table td {
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text-secondary);
}

.table tbody tr:hover {
  background: var(--color-bg-secondary);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* Compact Table */
.table-compact th,
.table-compact td {
  padding: var(--spacing-md);
}

/* Striped Table */
.table-striped tbody tr:nth-child(even) {
  background: var(--color-bg-secondary);
}

/* Bordered Table */
.table-bordered td,
.table-bordered th {
  border: 1px solid var(--color-border-light);
}

/* ===== LOADING SPINNERS ===== */

.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-gray-200);
  border-top-color: var(--color-primary);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Base Toast Styles */
.toast {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid #E5E7EB;
  border-left: 4px solid #3B82F6;
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  min-width: 300px;
  max-width: 450px;
  animation: slideInRight 0.3s ease-out;
  font-size: 14px;
  color: #111827;
  z-index: 99999;
}

.toast-fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

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

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

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

.toast-error {
  border-left-color: var(--color-error);
}

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

.toast-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  color: var(--color-success);
}

.toast-warning .toast-icon {
  color: var(--color-warning);
}

.toast-error .toast-icon {
  color: var(--color-error);
}

.toast-info .toast-icon {
  color: var(--color-info);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.toast-message {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.toast-close {
  width: 20px;
  height: 20px;
  color: var(--color-text-tertiary);
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.toast-close:hover {
  color: var(--color-text-primary);
}

/* ===== DIVIDERS ===== */

.divider {
  height: 1px;
  background: var(--color-border-light);
  margin: var(--spacing-xl) 0;
}

.divider-vertical {
  width: 1px;
  height: 100%;
  background: var(--color-border-light);
  margin: 0 var(--spacing-xl);
}

.divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: var(--spacing-xl) 0;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--color-border-light);
}

.divider-text::before {
  margin-right: var(--spacing-lg);
}

.divider-text::after {
  margin-left: var(--spacing-lg);
}

.divider-text span {
  font-size: var(--font-size-sm);
  color: var(--color-text-tertiary);
}

/* ===== ALERTS ===== */

.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.alert-success {
  background: rgba(22, 163, 74, 0.1);
  border-color: var(--color-success-light);
  color: var(--color-success-dark);
}

.alert-warning {
  background: rgba(234, 88, 12, 0.1);
  border-color: var(--color-warning-light);
  color: var(--color-warning-dark);
}

.alert-error {
  background: rgba(220, 38, 38, 0.1);
  border-color: var(--color-error-light);
  color: var(--color-error-dark);
}

.alert-info {
  background: rgba(8, 145, 178, 0.1);
  border-color: var(--color-info-light);
  color: var(--color-info-dark);
}

.alert-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-xs);
}

.alert-message {
  font-size: var(--font-size-sm);
}

.alert-close {
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

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

/* ===== TOOLTIPS ===== */

.tooltip {
  position: absolute;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-gray-900);
  color: white;
  font-size: var(--font-size-xs);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  z-index: var(--z-tooltip);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.tooltip.show {
  opacity: 1;
}

/* ===== PAGINATION ===== */

.pagination {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  list-style: none;
}

.pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 var(--spacing-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border-medium);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pagination-item:hover:not(.disabled) {
  background: var(--color-gray-100);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination-item.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.pagination-item.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* ===== TABS ===== */

.tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border-light);
  gap: var(--spacing-md);
}

.tab {
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

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

.tab-content {
  padding: var(--spacing-xl) 0;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn var(--transition-fast);
}

/* ===== EMPTY STATES ===== */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-4xl);
  text-align: center;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  color: var(--color-text-tertiary);
  margin-bottom: var(--spacing-xl);
}

.empty-state-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

.empty-state-message {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 400px;
}

/* ===== RESPONSIVE UTILITIES ===== */

/* Mobile-specific adjustments */
@media (max-width: 639px) {
  .modal {
    max-width: calc(100vw - var(--spacing-xl) * 2);
  }
  
  .toast {
    min-width: 280px;
  }
  
  .table-container {
    font-size: var(--font-size-xs);
  }
  
  .btn {
    padding: var(--spacing-md) var(--spacing-lg);
  }
  
  .card-body {
    padding: var(--spacing-lg);
  }
}

/* Tablet adjustments */
@media (min-width: 640px) and (max-width: 1023px) {
  .modal-lg {
    max-width: 90vw;
  }
}

/* ===== UTILITY CLASSES ===== */

/* Glassmorphism Utility */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur-lg);
  border: 1px solid var(--glass-border);
}

/* Shadow Utilities */
.shadow-none {
  box-shadow: none !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

/* Hover Effects */
.hover-lift {
  transition: transform var(--transition-fast);
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* Gradient Background Utilities */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.bg-gradient-blue-purple {
  background: var(--gradient-blue-purple);
}

/* ================================
   SIDEBAR ENHANCEMENTS (Redesign)
   ================================ */

/* Sidebar Header */
.sidebar-header {
  padding: var(--spacing-xl) var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-lg);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  color: white;
}

.sidebar-logo i {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.sidebar-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: white;
  line-height: 1.2;
}

.sidebar-subtitle {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.6);
  font-weight: var(--font-weight-normal);
}

/* Section Headers in Sidebar */
.nav-section-header {
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.nav-section-header span {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Sidebar Bottom Section */
.sidebar-bottom {
  margin-top: auto;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-bottom .nav-item {
  margin-bottom: var(--spacing-sm);
}

/* Enhanced Nav Item Hover */
.sidebar .nav-item {
  position: relative;
  margin-bottom: 4px;
}

.sidebar .nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--color-primary);
  border-radius: 0 3px 3px 0;
  transition: height 0.2s ease;
}

.sidebar .nav-item.active::before,
.sidebar .nav-item:hover::before {
  height: 70%;
}
/* Role Switcher (Testing - Part 3A) */
.role-switcher {
  display: flex;
  align-items: center;
}

.role-select {
  padding: 6px 32px 6px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 13px;
  color: #374151;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.role-select:hover {
  border-color: #6366F1;
  background-color: #F9FAFB;
}

.role-select:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ================================
   REVIEW TYPE SELECTION CARDS
   ================================ */

.review-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.review-type-card {
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.review-type-card:hover {
  border-color: #6366F1;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
  transform: translateY(-2px);
}

.review-type-card.selected {
  border-color: #6366F1;
  background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.review-type-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.review-type-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.review-type-description {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0;
}

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
  .review-type-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   DATA METHOD SELECTION CARDS (UAR Form)
   ================================ */

.data-method-card {
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.data-method-card:hover {
  border-color: #6366F1;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.data-method-card.selected {
  border-color: #6366F1;
  background: #F9FAFB;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

/* ================================
   SYSTEM SELECTION CARDS (UAR Form)
   ================================ */

.uar-system-card {
  position: relative;
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.uar-system-card:hover {
  border-color: #6366F1;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.uar-system-card.selected {
  border-color: #6366F1;
  background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.uar-system-checkbox-wrapper {
  position: absolute;
  top: 12px;
  right: 12px;
}

.uar-system-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #6366F1;
}

.uar-system-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-top: 8px;
}

.uar-icon-blue { background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%); }
.uar-icon-purple { background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%); }
.uar-icon-orange { background: linear-gradient(135deg, #F97316 0%, #FB923C 100%); }
.uar-icon-green { background: linear-gradient(135deg, #10B981 0%, #34D399 100%); }
.uar-icon-cyan { background: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%); }
.uar-icon-pink { background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%); }

.uar-system-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 4px 0;
  line-height: 1.3;
}

.uar-system-type {
  font-size: 12px;
  color: #6B7280;
  padding: 2px 8px;
  background: #F3F4F6;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  #uar-systems-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .uar-wizard-container {
    max-width: 100% !important;
    height: 100vh;
    max-height: 100vh;
  }
  
  .uar-wizard-main {
    padding: 24px 20px;
  }
}

/* ================================
   UAR WIZARD STYLES
   ================================ */

/* Wizard Container */
.modal-container.uar-wizard-container {
  max-width: 1200px !important; /* WIDER for side panel */
  width: 95vw !important; /* Use most of screen width */
  max-height: 85vh !important; /* 85% of viewport */
  height: 85vh !important; /* Fixed height */
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

/* Reduce header padding in wizard */
.modal-container.uar-wizard-container .modal-header {
  padding: 16px 32px !important;
}

/* Wizard Layout: Flex Container for Main Content (Side Panel Removed) */
.uar-wizard-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

/* Main Wizard Content Area - Expanded to Full Width */
.uar-wizard-main {
  flex: 1;
  overflow-y: auto;
  padding: 32px 48px; /* Increased horizontal padding for better readability */
  background: #FFFFFF;
  max-width: 1200px; /* Max width for optimal reading */
  margin: 0 auto; /* Center the content */
  width: 100%;
}

/* Progress Bar (if needed elsewhere) */
.uar-progress-bar {
  width: 100%;
  height: 8px;
  background: #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.uar-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Last Saved Indicator */
.uar-last-saved {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 6px;
  font-size: 12px;
  color: #92400E;
  animation: fadeIn 0.3s ease;
}

.uar-last-saved i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #D97706;
  animation: pulse 2s ease-in-out infinite;
}

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

/* Required Fields Checklist */
.uar-required-checklist {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 16px;
}

.uar-checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  color: #374151;
  border-bottom: 1px solid #F3F4F6;
  transition: all 0.3s ease;
}

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

/* Checklist circle (empty/filled states) */
.uar-checklist-circle {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.uar-checklist-circle.empty {
  border: 2px solid #D1D5DB;
  background: white;
}

.uar-checklist-circle.filled {
  border: 2px solid #10B981;
  background: #10B981;
  animation: checkPop 0.3s ease;
}

.uar-checklist-text {
  font-size: 13px;
  color: #374151;
  flex: 1;
}

/* Legacy support for old icon structure */
.uar-checklist-item i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.uar-checklist-item.complete {
  color: #10B981;
  font-weight: 500;
}

.uar-checklist-item.complete i {
  color: #10B981;
  animation: checkPop 0.3s ease;
}

.uar-checklist-item.incomplete i {
  color: #D1D5DB;
}

@keyframes checkPop {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Step Tips/Jump Section */
.uar-step-tips-content,
.uar-step-navigation {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 16px;
}

.uar-tip-content {
  font-size: 13px;
  line-height: 1.5;
  color: #6B7280;
}

/* Step Links */
.uar-step-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #374151;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.uar-step-link:hover {
  background: #F3F4F6;
  transform: translateX(2px);
}

.uar-step-link:active {
  transform: translateX(0);
}

.uar-step-link.active {
  background: #EFF6FF;
  color: #2563EB;
  font-weight: 500;
}

.uar-step-link-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #F3F4F6;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.uar-step-link.active .uar-step-link-number {
  background: #3B82F6;
  color: #FFFFFF;
}

/* Step Indicator */
.uar-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px; /* Restore better padding */
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  gap: 8px;
  flex-shrink: 0; /* CRITICAL: Prevent indicator from being hidden */
}

.uar-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex-shrink: 0;
}

.uar-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.uar-step-item.active .uar-step-number {
  background: #6366F1;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.uar-step-item.completed .uar-step-number {
  background: #10B981;
  color: #FFFFFF;
}

.uar-step-label {
  font-size: 12px;
  font-weight: 500;
  color: #6B7280;
  text-align: center;
  white-space: nowrap;
}

.uar-step-item.active .uar-step-label {
  color: #6366F1;
  font-weight: 600;
}

.uar-step-item.completed .uar-step-label {
  color: #10B981;
}

.uar-step-line {
  width: 60px;
  height: 2px;
  background: #E5E7EB;
  margin: 0 4px;
  flex-shrink: 0;
}

.uar-step-line.completed {
  background: #10B981;
}

/* Wizard Steps */
.uar-wizard-step {
  display: none;
}

.uar-wizard-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Step Title */
.uar-step-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.uar-step-title i,
.uar-step-title svg {
  width: 28px;
  height: 28px;
  color: #3B82F6;
}

.uar-step-subtitle {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 28px;
}

/* Wizard Footer */
.uar-wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  border-top: 1px solid #E5E7EB;
  background: #FFFFFF !important;
  flex-shrink: 0 !important;
  min-height: 70px !important;
  position: relative !important;
  z-index: 10 !important;
}

.uar-wizard-footer-left {
  display: flex;
  gap: 12px;
}

.uar-wizard-footer-right {
  display: flex;
  gap: 12px;
}

/* Wizard Footer Buttons - Modern Styling */
.uar-wizard-footer .btn-secondary,
.uar-wizard-footer .btn-primary {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

/* Cancel Button - Subtle Gray */
.uar-wizard-footer .btn-secondary:first-child {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

.uar-wizard-footer .btn-secondary:first-child:hover {
  background: #E5E7EB;
  color: #374151;
}

/* Save Draft Button - Light Blue */
.uar-wizard-footer .btn-secondary:not(:first-child) {
  background: #EFF6FF;
  color: #3B82F6;
  border: 1px solid #BFDBFE;
}

.uar-wizard-footer .btn-secondary:not(:first-child):hover {
  background: #DBEAFE;
  color: #2563EB;
}

/* Previous Button - Gray */
#uar-prev-btn {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

#uar-prev-btn:hover {
  background: #E5E7EB;
  color: #374151;
}

/* Next Button - Modern Blue */
#uar-next-btn {
  background: #3B82F6;
  color: #FFFFFF;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#uar-next-btn:hover {
  background: #2563EB;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

/* Submit Button - Success Green */
#uar-submit-btn {
  background: #10B981;
  color: #FFFFFF;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#uar-submit-btn:hover {
  background: #059669;
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

/* Progress Text */
.uar-progress-text {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 16px;
}

.uar-progress-text strong {
  color: #6366F1;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .uar-step-indicator {
    padding: 16px;
    overflow-x: auto;
  }
  
  .uar-step-line {
    width: 40px;
  }
  
  .uar-step-label {
    display: none;
  }
  
  .uar-wizard-main {
    padding: 24px 20px;
  }
  
  .uar-wizard-footer {
    padding: 16px 20px;
    flex-direction: column;
    gap: 12px;
  }
  
  .uar-wizard-footer-left,
  .uar-wizard-footer-right {
    width: 100%;
    justify-content: space-between;
  }
}


/* ================================
   UAR WIZARD - FULL PAGE LAYOUT
   ================================ */

/* Full Page Container */
.uar-full-page {
  min-height: 100vh;
  background: #F9FAFB;
  display: flex;
  flex-direction: column;
}

/* Page Header */
.uar-page-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  padding: 24px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.uar-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.uar-back-button:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
}

.uar-back-button i {
  width: 16px;
  height: 16px;
}

.uar-header-content h1 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.uar-header-content h1 i {
  width: 32px;
  height: 32px;
  color: #6366F1;
}

.uar-header-content p {
  font-size: 15px;
  color: #6B7280;
  margin: 0;
}

/* Page Content */
.uar-page-content {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 40px;
}

/* ============================================
   REVIEW TYPE SELECTION PAGE
   ============================================ */

.review-type-selection-page {
  min-height: calc(100vh - 64px);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 40px 0;
}

/* Page Header */
.review-type-header {
  max-width: 1400px;
  margin: 0 auto 48px;
  padding: 0 40px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 24px;
}

.back-button:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateX(-2px);
}

.back-button i {
  width: 16px;
  height: 16px;
}

.review-type-title-section {
  text-align: center;
}

.review-type-title {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
}

.review-type-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
}

/* Review Type Cards Grid */
.review-type-cards {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 32px;
}

/* Individual Card */
.review-type-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.review-type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.review-type-card:hover::before {
  transform: scaleX(1);
}

.review-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: #e5e7eb;
}

/* Card Icon */
.review-type-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.review-type-card-icon i {
  width: 32px;
  height: 32px;
  color: white;
}

/* Card Content */
.review-type-card-content {
  flex: 1;
}

.review-type-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
}

.review-type-card-description {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0 0 20px 0;
}

/* Feature Badges */
.review-type-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.2s ease;
}

.feature-badge i {
  width: 14px;
  height: 14px;
}

.review-type-card:hover .feature-badge {
  background: #e5e7eb;
}

/* Card Action */
.review-type-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.action-text {
  font-size: 15px;
  font-weight: 600;
  color: #3b82f6;
  transition: color 0.2s ease;
}

.review-type-card:hover .action-text {
  color: #2563eb;
}

.review-type-card-action i {
  width: 20px;
  height: 20px;
  color: #3b82f6;
  transition: all 0.2s ease;
}

.review-type-card:hover .review-type-card-action i {
  transform: translateX(4px);
  color: #2563eb;
}

/* Add More Card (Special Styling) */
.add-more-card {
  border: 2px dashed #d1d5db;
  background: #fafafa;
}

.add-more-card:hover {
  background: white;
  border-color: #8b5cf6;
}

.add-more-card .review-type-card-title {
  color: #8b5cf6;
}

.add-more-card .action-text {
  color: #8b5cf6;
}

.add-more-card .review-type-card-action i {
  color: #8b5cf6;
}

/* Coming Soon State */
.review-type-card[onclick*="showComingSoon"] {
  opacity: 0.85;
}

.review-type-card[onclick*="showComingSoon"]:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .review-type-cards {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .review-type-selection-page {
    padding: 24px 0;
  }
  
  .review-type-header {
    margin-bottom: 32px;
    padding: 0 24px;
  }
  
  .review-type-title {
    font-size: 28px;
  }
  
  .review-type-subtitle {
    font-size: 16px;
  }
  
  .review-type-cards {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 20px;
  }
  
  .review-type-card {
    padding: 24px;
  }
}

/* ============================================
   UAR WIZARD - FULL PAGE ADJUSTMENTS
   ============================================ */

/* Full Page Container - Use full width */
.uar-full-page .uar-page-content {
  max-width: 100%; /* Use full width instead of limiting to 1700px */
  width: 100%;
  padding: 0; /* Remove padding to eliminate gaps */
  margin: 0;
}

/* Wizard container in full page mode - Full width */
.uar-full-page .uar-wizard-container {
  max-width: 100%;
  width: 100%;
  height: auto; /* Override the fixed 85vh height for full-page mode */
  max-height: none; /* Remove max-height restriction */
  overflow: visible; /* Allow content to flow naturally */
  display: flex;
  flex-direction: column;
}

/* Ensure step indicator is visible in full page mode */
.uar-full-page .uar-step-indicator {
  display: flex !important;
  flex-shrink: 0;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  padding: 24px 40px;
  margin-bottom: 0;
}

/* More padding for wizard main content in full page */
.uar-full-page .uar-wizard-main {
  padding: 48px 72px; /* Generous horizontal padding for wider content */
  max-width: none; /* Remove max-width restriction */
  flex: 1; /* Take ALL remaining space */
  min-width: 0; /* Allow flexbox to shrink if needed */
}

/* Adjust system grid for wider layout */
.uar-full-page #uar-systems-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* More columns */
  max-height: 400px; /* Taller to show more systems */
  gap: 16px; /* Slightly larger gap */
}

/* Footer padding in full page */
.uar-full-page .uar-wizard-footer {
  padding: 24px 48px; /* Match main content padding */
}

/* Enhanced side panel content for wider layout */
.uar-full-page .uar-progress-summary {
  padding: 24px;
}

/* Fix form layout in full-page wizard - LEFT ALIGNED */
.uar-full-page .uar-wizard-step .form-section {
  max-width: 800px; /* Constrain width for better readability */
  text-align: left;
}

.uar-full-page .uar-wizard-step .form-group {
  text-align: left;
}

.uar-full-page .uar-wizard-step .form-group label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  justify-content: flex-start !important;
  text-align: left;
}

.uar-full-page .uar-wizard-step .form-input,
.uar-full-page .uar-wizard-step select.form-input {
  max-width: 400px; /* Reasonable width for form inputs */
}

.uar-full-page .uar-progress-percentage {
  font-size: 48px; /* Larger percentage display */
}

.uar-full-page .uar-required-checklist,
.uar-full-page .uar-step-navigation {
  padding: 20px;
}

.uar-full-page .uar-step-tips-content {
  padding: 20px;
  min-height: 120px; /* More room for tips */
}

.uar-full-page .uar-checklist-item,
.uar-full-page .uar-step-link {
  padding: 14px 16px; /* More padding */
  font-size: 15px; /* Slightly larger text */
}

/* Make section headers more prominent */
.uar-full-page .uar-section-header {
  font-size: 15px;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

/* Full-page wizard layout adjustments */
.uar-full-page .uar-wizard-layout {
  width: 100%;
  gap: 0; /* No gap between main and side panel */
}

/* Ensure step indicator spans full width */
.uar-full-page .uar-step-indicator {
  width: 100%;
  padding: 20px 72px; /* Match main content padding */
}

/* Footer spans full width */
.uar-full-page .uar-wizard-footer {
  width: 100%;
  padding: 24px 72px; /* Match main content padding */
}

/* Make form inputs use more width */
.uar-full-page .form-input,
.uar-full-page .form-select {
  max-width: 100%;
}

/* System grid - make cards slightly wider */
.uar-full-page .uar-system-card {
  min-width: 180px;
}

/* Make top step indicator interactive */
.uar-step-item {
  transition: all 0.2s ease;
}

.uar-step-item:hover {
  transform: translateY(-2px);
}

.uar-step-item:hover .uar-step-number {
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transform: scale(1.05);
}

.uar-step-item:hover .uar-step-label {
  color: #4F46E5;
}

/* Active step pointer cursor already set via inline style */

/* Give Tips section more space now that Jump to Step is removed */
.uar-full-page .uar-step-tips-content {
  padding: 24px;
  min-height: 180px; /* Increased from 120px */
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border-radius: 12px;
  border: 1px solid #C7D2FE;
}

.uar-full-page .uar-tip-content {
  font-size: 15px;
  line-height: 1.7;
  color: #4338CA;
}

/* Make Progress section larger too */
.uar-full-page .uar-progress-summary {
  padding: 28px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Make Required Fields section larger */
.uar-full-page .uar-required-checklist {
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


/* ================================
   MANAGER REVIEW SCREEN STYLES
   ================================ */

.manager-review-container {
  padding: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

/* Navigation Bar */
.manager-review-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E7EB;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
}

.btn-back i {
  width: 16px;
  height: 16px;
}

.nav-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6B7280;
}

.breadcrumb-item {
  color: #6B7280;
}

.breadcrumb-item.active {
  color: #111827;
  font-weight: 500;
}

/* Header Section */
.manager-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.mrh-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mrh-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.mrh-logo i {
  width: 32px;
  height: 32px;
}

.mrh-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mrh-label {
  font-size: 14px;
  color: #6B7280;
  font-weight: 500;
}

.mrh-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.mrh-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mrh-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mrh-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mrh-detail-label {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
}

.mrh-detail-value {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.mrh-badge {
  padding: 12px 16px;
  background: #F3F4F6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #374151;
}

/* Content Section */
.manager-review-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

/* Left Side Cards */
.mrc-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mrc-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mrc-card-header {
  padding: 16px;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.mrc-card-header i {
  width: 18px;
  height: 18px;
  color: #6366F1;
}

.mrc-card-body {
  padding: 16px;
}

.mrc-link {
  color: #6366F1;
  text-decoration: none;
  font-size: 14px;
}

.mrc-link:hover {
  text-decoration: underline;
}

.mrc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mrc-stat-item {
  text-align: center;
  padding: 12px;
  background: #F9FAFB;
  border-radius: 8px;
}

.mrc-stat-label {
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 4px;
}

.mrc-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

/* Right Side */
.mrc-right {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 24px;
}

/* Toolbar */
.mrc-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.mrc-search {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.mrc-search i {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #9CA3AF;
}

.mrc-search input {
  width: 100%;
  padding: 10px 12px 10px 40px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 14px;
}

.mrc-search input:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Mass Action */
.mrc-mass-action {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E7EB;
}

.mrc-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  color: #374151;
}

.mrc-checkbox input {
  cursor: pointer;
}

#mr-mass-action-btns {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.btn-sm i {
  width: 14px;
  height: 14px;
}

.btn-success {
  background: #10B981;
  color: white;
}

.btn-success:hover {
  background: #059669;
}

.btn-danger {
  background: #EF4444;
  color: white;
}

.btn-danger:hover {
  background: #DC2626;
}

/* Table Container */
.mrc-table-container {
  overflow-x: auto;
}

.mrc-table {
  width: 100%;
  border-collapse: collapse;
}

.mrc-table thead {
  background: #F9FAFB;
  border-bottom: 2px solid #E5E7EB;
}

.mrc-table th {
  padding: 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mrc-table tbody tr {
  border-bottom: 1px solid #E5E7EB;
  transition: background 0.2s;
}

.mrc-table tbody tr:hover {
  background: #F9FAFB;
}

.mrc-table td {
  padding: 16px 12px;
  font-size: 14px;
  color: #374151;
}

.mr-row-completed {
  opacity: 0.6;
}

.mr-user-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mr-user-icon {
  width: 18px;
  height: 18px;
  color: #F59E0B;
}

/* Action Buttons */
.mr-action-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mr-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.mr-btn-approve {
  background: #10B981;
  color: white;
}

.mr-btn-approve:hover {
  background: #059669;
}

.mr-btn-remove {
  background: #EF4444;
  color: white;
}

.mr-btn-remove:hover {
  background: #DC2626;
}

.mr-btn-reject {
  background: #F59E0B;
  color: white;
}

.mr-btn-reject:hover {
  background: #D97706;
}

.mr-btn-forward {
  background: #6B7280;
  color: white;
}

.mr-btn-forward:hover {
  background: #4B5563;
}

/* Status Badge */
.mr-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  width: fit-content;
}

.mr-status-badge i {
  width: 16px;
  height: 16px;
}

.mr-status-approved {
  background: #D1FAE5;
  color: #065F46;
}

.mr-status-removed {
  background: #FEE2E2;
  color: #991B1B;
}

.mr-status-rejected {
  background: #FEF3C7;
  color: #92400E;
}

/* Comment Input */
.mr-comment-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 13px;
}

.mr-comment-input:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.mr-comment-input:disabled {
  background: #F3F4F6;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1200px) {
  .manager-review-content {
    grid-template-columns: 1fr;
  }
  
  .mrc-left {
    flex-direction: row;
  }
  
  .mrh-detail-grid {
    grid-template-columns: 1fr;
  }
}


/* ================================
   ADMIN REVIEW SCREEN STYLES
   ================================ */

.admin-review-container {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Admin Navigation */
.admin-review-nav {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E7EB;
}

.admin-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-review-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.admin-stats {
  display: flex;
  gap: 16px;
}

.stat-badge {
  background: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #6366F1;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: #6B7280;
  margin-top: 4px;
}

.admin-review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-review-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.admin-review-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.arc-header {
  padding: 24px;
  border-bottom: 1px solid #E5E7EB;
}

.arc-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.arc-title h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.arc-badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.arc-badge-pending {
  background: #FEF3C7;
  color: #92400E;
}

.arc-badge-success {
  background: #D1FAE5;
  color: #065F46;
}

.arc-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: #6B7280;
}

.arc-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.arc-meta i {
  width: 16px;
  height: 16px;
}

.arc-body {
  padding: 24px;
}

.arc-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.arc-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arc-info-label {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.arc-info-value {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.arc-description {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #E5E7EB;
}

.arc-description strong {
  color: #374151;
  font-size: 14px;
}

.arc-description p {
  margin-top: 8px;
  color: #6B7280;
  line-height: 1.6;
}

.arc-footer {
  padding: 20px 24px;
  background: #F9FAFB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arc-actions {
  display: flex;
  gap: 12px;
}

.empty-state {
  padding: 80px 20px;
  text-align: center;
  background: white;
  border-radius: 12px;
}

.empty-state h3 {
  font-size: 20px;
  color: #111827;
  margin: 16px 0 8px 0;
}

.empty-state p {
  color: #6B7280;
  margin: 0;
}
/* ========================================
   REVIEWER DATABASE STYLES
   ======================================== */

.reviewer-db-container {
  padding: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.reviewer-db-nav {
  margin-bottom: 24px;
}

.reviewer-db-header {
  margin-bottom: 32px;
}

/* User Database Header with divider line */
.reviewer-db-header.user-db-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.reviewer-db-header.user-db-header .reviewer-db-title h1 {
  font-size: 1.75rem;
}

.reviewer-db-header.user-db-header .reviewer-db-title h1 i {
  width: 24px;
  height: 24px;
  color: #64748b;
}

.reviewer-db-header.user-db-header .reviewer-db-title p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 4px 0 0 0;
}

.reviewer-db-title h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.reviewer-db-title h1 i {
  width: 32px;
  height: 32px;
  color: #6366F1;
}

/* Statistics Cards */
.reviewer-db-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
}

.stat-card:hover {
  border-color: #6366F1;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

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

.stat-icon i {
  width: 24px;
  height: 24px;
}

.stat-icon-primary {
  background: rgba(99, 102, 241, 0.1);
  color: #6366F1;
}

.stat-icon-success {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.stat-icon-info {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.stat-icon-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: #6B7280;
  margin-top: 4px;
}

/* ================================
   QUICK ACTIONS - SIMPLE & RELIABLE
   High Contrast, Easy to Read
   ================================ */

.quick-actions-section {
  margin-bottom: 48px;
  clear: both;
}

.quick-actions-title {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

/* Base Card - White with Strong Border */
.action-card {
  position: relative;
  background: white;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  padding: 36px 28px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-card:hover {
  border-color: #6366f1;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* Import CSV - Purple Solid with BLACK text */
.action-card-primary {
  background: #6366f1;
  border: 2px solid #4f46e5;
  color: #111827;
}

.action-card-primary .action-card-title {
  color: #111827;
  font-weight: 700;
}

.action-card-primary .action-card-description {
  color: #1f2937;
}

.action-card-primary:hover {
  background: #4f46e5;
  border-color: #4338ca;
}

/* Load Template - Green with Background */
.action-card-featured {
  background: #ecfdf5;
  border: 3px solid #10b981;
}

.action-card-featured .action-card-title {
  color: #065f46;
}

.action-card-featured .action-card-description {
  color: #047857;
}

.action-card-featured:hover {
  background: #d1fae5;
  border-color: #059669;
}

/* NEW Badge Top Right */
.action-card-badge-new {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #10b981;
  color: white;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
  z-index: 10;
}

.action-card-badge-new i {
  width: 14px;
  height: 14px;
}

/* NEW Badge Bottom */
.action-card-badge-bottom {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  background: #10b981;
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Icons - Large and Clear */
.action-card-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.action-card-icon i {
  width: 36px;
  height: 36px;
  color: white;
  stroke-width: 2;
}

/* Vibrant gradient icon classes - matching Admin Console */
.action-icon-blue {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.action-icon-teal {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

.action-icon-green {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
}

.action-icon-purple {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%) !important;
}

.action-icon-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
}

.action-icon-slate {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
}

.action-icon-teal {
  background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%) !important;
}

.action-icon-coral {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

/* Legacy styles for backwards compatibility */
.action-card-icon-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.action-card-primary .action-card-icon i {
  color: white;
}

.action-card-icon-success {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.action-card-featured .action-card-icon i {
  color: white;
}

/* Typography - Bold and Clear */
.action-card-title {
  font-size: 19px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.action-card-description {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .quick-actions-grid {
    grid-template-columns: 1fr;
  }
  
  .action-card {
    padding: 32px 24px;
    min-height: 200px;
  }
}

/* Keep old button styles for other pages */
/* Action Buttons Container (Legacy - for other pages) */
.reviewer-db-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding: 20px;
  background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
  gap: 16px;
}

.action-buttons-left,
.action-buttons-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Modern Button Base Styles */
.reviewer-db-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.reviewer-db-actions button:active {
  transform: translateY(1px);
}

.reviewer-db-actions button i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Primary Action Button (Import CSV) */
.reviewer-db-actions .btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2), 
              0 1px 2px rgba(0, 0, 0, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.reviewer-db-actions .btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  box-shadow: 0 4px 8px rgba(99, 102, 241, 0.25), 
              0 2px 4px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* Featured Action Button (Load Template) */
.reviewer-db-actions .btn-load-template {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2),
              0 1px 2px rgba(0, 0, 0, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
}

.reviewer-db-actions .btn-load-template:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.25),
              0 2px 4px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.reviewer-db-actions .btn-load-template::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  border-radius: 8px;
  pointer-events: none;
}

/* NEW Badge */
.reviewer-db-actions .btn-new-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 4px;
  backdrop-filter: blur(4px);
}

/* Secondary Action Buttons */
.reviewer-db-actions .btn-secondary {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.reviewer-db-actions .btn-secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  color: #111827;
}

.reviewer-db-actions .btn-secondary:active {
  background: #f3f4f6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) inset;
}

/* Button Focus States (Accessibility) */
.reviewer-db-actions button:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.reviewer-db-actions .btn-load-template:focus-visible {
  outline-color: #10b981;
}

/* Disabled State */
.reviewer-db-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.reviewer-db-actions button:disabled:hover {
  transform: none !important;
  box-shadow: none;
}

/* Search Bar */
.reviewer-db-search {
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  max-width: 600px;
}

.search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #6B7280;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s;
}

.search-box input:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6B7280;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.search-clear-btn:hover {
  background: #F3F4F6;
  color: #374151;
}

.search-clear-btn i {
  width: 18px;
  height: 18px;
}

/* Table Container */
.reviewer-db-table-container {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.reviewer-db-table {
  width: 100%;
  border-collapse: collapse;
}

.reviewer-db-table thead {
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
}

.reviewer-db-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reviewer-db-table tbody tr {
  border-bottom: 1px solid #E5E7EB;
  transition: background 0.15s;
}

.reviewer-db-table tbody tr:last-child {
  border-bottom: none;
}

.reviewer-db-table tbody tr:hover {
  background: #F9FAFB;
}

.reviewer-db-table td {
  padding: 16px;
  font-size: 14px;
  color: #374151;
}

.text-center {
  text-align: center;
}

/* Table Badges */
.manager-id-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.1);
  color: #6366F1;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Monaco', 'Courier New', monospace;
}

.dept-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.reportee-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

.manager-name strong {
  color: #111827;
  font-weight: 600;
}

/* Action Buttons in Table */
.action-buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.btn-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #D1D5DB;
  background: white;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon i {
  width: 18px;
  height: 18px;
}

.btn-icon-edit {
  color: #6366F1;
}

.btn-icon-edit:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: #6366F1;
}

.btn-icon-delete {
  color: #EF4444;
}

.btn-icon-delete:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #EF4444;
}

/* Footer */
.reviewer-db-footer {
  padding: 16px;
  text-align: center;
  background: #F9FAFB;
  border-radius: 8px;
}

.reviewer-db-footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.reviewer-db-footer i {
  width: 16px;
  height: 16px;
}

/* Modal Styles Enhancement */
.modal-medium {
  max-width: 600px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input:read-only {
  background: #F3F4F6;
  cursor: not-allowed;
  color: #6B7280;
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

/* Empty State Enhancement */
.empty-state {
  padding: 80px 40px;
  text-align: center;
}

.empty-state i {
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
}

.empty-state p {
  color: #6B7280;
  font-size: 15px;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .reviewer-db-container {
    padding: 20px;
  }

  .reviewer-db-title h1 {
    font-size: 24px;
  }

  .reviewer-db-stats {
    grid-template-columns: 1fr;
  }

  .reviewer-db-actions {
    flex-direction: column;
  }

  .action-buttons-left,
  .action-buttons-right {
    width: 100%;
    justify-content: stretch;
  }

  .action-buttons-left button,
  .action-buttons-right button {
    flex: 1;
  }

  .reviewer-db-table-container {
    overflow-x: auto;
  }

  .reviewer-db-table {
    min-width: 900px;
  }
}

/* Button Styles Enhancement (if not already present) */
.btn-primary,
.btn-secondary,
.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: #6366F1;
  color: white;
}

.btn-primary:hover {
  background: #4F46E5;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: white;
  color: #374151;
  border: 1px solid #D1D5DB;
}

.btn-secondary:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
}

.btn-danger {
  background: #EF4444;
  color: white;
}

.btn-danger:hover {
  background: #DC2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
}

.btn-back i {
  width: 16px;
  height: 16px;
}


/* ========================================
   ADMIN CONSOLE HUB STYLES
   ======================================== */

.admin-console-container {
  padding: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.admin-console-header {
  margin-bottom: 32px;
}

.admin-console-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.admin-console-header p {
  font-size: 16px;
  color: #6B7280;
}

.admin-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.admin-card {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.admin-card:hover:not(.admin-card-disabled) {
  border-color: #6366F1;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.admin-card-disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.admin-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.admin-card-icon i {
  width: 32px;
  height: 32px;
}

.admin-card-icon-primary {
  background: rgba(99, 102, 241, 0.1);
  color: #6366F1;
}

.admin-card-icon-success {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.admin-card-icon-info {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.admin-card-icon-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.admin-card-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.admin-card-content p {
  color: #6B7280;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.admin-card-stats {
  display: flex;
  gap: 24px;
}

.admin-stat {
  display: flex;
  flex-direction: column;
}

.admin-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.admin-stat-label {
  font-size: 12px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.admin-card-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  color: #D1D5DB;
  transition: all 0.2s;
}

.admin-card:hover:not(.admin-card-disabled) .admin-card-arrow {
  color: #6366F1;
  transform: translateX(4px);
}

.coming-soon-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 12px;
}

/* Status Badge Styles */
.status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  display: inline-block;
}

.status-active {
  background: #D1FAE5;
  color: #065F46;
}

.status-inactive {
  background: #FEE2E2;
  color: #991B1B;
}

/* Responsive Admin Console */
@media (max-width: 768px) {
  .admin-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-console-container {
    padding: 20px;
  }

  .admin-card {
    padding: 24px;
  }

  .admin-card-stats {
    flex-direction: column;
    gap: 16px;
  }
}

/* ========================================
   USER DATABASE STYLES
   ======================================== */

.user-database-container {
  padding: 32px;
  max-width: 1600px;
  margin: 0 auto;
}

.user-database-header {
  margin-bottom: 32px;
}

.user-database-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.user-database-header p {
  font-size: 16px;
  color: #6B7280;
}

.user-db-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.user-db-stat-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
}

.user-db-stat-label {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 8px;
}

.user-db-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
}

.user-db-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.user-db-search {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.user-db-search input {
  width: 100%;
  padding: 12px 16px;
  padding-left: 40px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s;
}

.user-db-search input:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.user-db-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.user-db-table-container {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
}

.user-db-table {
  width: 100%;
  border-collapse: collapse;
}

.user-db-table thead {
  background: #F9FAFB;
  border-bottom: 2px solid #E5E7EB;
}

.user-db-table th {
  padding: 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-db-table td {
  padding: 16px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
  color: #111827;
}

.user-db-table tbody tr:hover {
  background: #F9FAFB;
}

.user-db-table tbody tr:last-child td {
  border-bottom: none;
}

.user-db-actions-cell {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.user-db-action-btn {
  padding: 6px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  background: white;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.user-db-action-btn:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
}

.user-db-action-btn.danger:hover {
  background: #FEE2E2;
  border-color: #EF4444;
  color: #DC2626;
}

.user-db-empty {
  text-align: center;
  padding: 64px 32px;
  color: #6B7280;
}

.user-db-empty i {
  width: 64px;
  height: 64px;
  color: #D1D5DB;
  margin-bottom: 16px;
}

.user-db-empty h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.user-db-empty p {
  font-size: 14px;
  margin-bottom: 24px;
}

/* Responsive User Database */
@media (max-width: 768px) {
  .user-database-container {
    padding: 20px;
  }

  .user-db-stats {
    grid-template-columns: 1fr;
  }

  .user-db-actions {
    flex-direction: column;
  }

  .user-db-search {
    max-width: 100%;
  }

  .user-db-buttons {
    width: 100%;
    justify-content: stretch;
  }

  .user-db-buttons button {
    flex: 1;
  }

  .user-db-table-container {
    overflow-x: auto;
  }

  .user-db-table {
    min-width: 1000px;
  }
}


/* ===================================
   REVIEW & IMPORT PREVIEW UI
   Step 4 of Import Wizard
   =================================== */

.review-main-container {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #E5E7EB;
}

.review-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-header-left i {
  width: 32px;
  height: 32px;
  color: #667EEA;
}

.review-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.review-status-badge {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

/* Statistics Grid */
.review-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
}

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

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

.stat-icon i {
  width: 24px;
  height: 24px;
}

.stat-primary .stat-icon {
  background: rgba(102, 126, 234, 0.1);
  color: #667EEA;
}

.stat-success .stat-icon {
  background: rgba(72, 187, 120, 0.1);
  color: #48BB78;
}

.stat-warning .stat-icon {
  background: rgba(251, 191, 36, 0.1);
  color: #FBBF24;
}

.stat-error .stat-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-primary .stat-value {
  color: #667EEA;
}

.stat-success .stat-value {
  color: #48BB78;
}

.stat-warning .stat-value {
  color: #FBBF24;
}

.stat-error .stat-value {
  color: #EF4444;
}

.stat-label {
  font-size: 13px;
  color: #6B7280;
  font-weight: 500;
}

/* Review Sections */
.review-section {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.review-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 20px 0;
}

.review-section-title i {
  width: 20px;
  height: 20px;
  color: #667EEA;
}

/* Source Files List */
.source-files-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.source-file-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  transition: all 0.2s;
}

.source-file-item:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
}

.source-file-icon {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.source-file-icon i {
  width: 20px;
  height: 20px;
  color: #667EEA;
}

.source-file-info {
  flex: 1;
}

.source-file-name {
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.source-file-meta {
  font-size: 13px;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.source-file-meta .separator {
  color: #D1D5DB;
}

.source-file-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-success {
  background: rgba(72, 187, 120, 0.1);
  color: #48BB78;
  border: 1px solid rgba(72, 187, 120, 0.3);
}

.badge-warning {
  background: rgba(251, 191, 36, 0.1);
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-neutral {
  background: rgba(107, 114, 128, 0.1);
  color: #6B7280;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

/* Info Boxes */
.review-info-box {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.review-info-box i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.review-info-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.review-info-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.info-warning {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #92400E;
}

.info-warning i {
  color: #FBBF24;
}

.info-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #7F1D1D;
}

.info-error i {
  color: #EF4444;
}

/* Conflicts List */
.conflicts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.conflict-item {
  padding: 16px;
  background: rgba(251, 191, 36, 0.05);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-left: 4px solid #FBBF24;
  border-radius: 8px;
}

.conflict-id {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.conflict-id i {
  width: 16px;
  height: 16px;
  color: #FBBF24;
}

.conflict-id strong {
  font-size: 14px;
  color: #111827;
}

.conflict-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.conflict-sources {
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.source-tag {
  background: white;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #E5E7EB;
  font-size: 12px;
  font-weight: 500;
}

.conflict-resolution {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #48BB78;
  font-weight: 500;
}

.conflict-resolution i {
  width: 14px;
  height: 14px;
}

.conflicts-more {
  padding: 12px;
  text-align: center;
  color: #6B7280;
  font-size: 13px;
  font-style: italic;
}

/* Issues List */
.issues-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.issue-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 6px;
  border-left: 4px solid;
}

.issue-error {
  background: rgba(239, 68, 68, 0.05);
  border-color: #EF4444;
}

.issue-warning {
  background: rgba(251, 191, 36, 0.05);
  border-color: #FBBF24;
}

.issue-severity {
  flex-shrink: 0;
}

.issue-severity i {
  width: 18px;
  height: 18px;
}

.issue-error .issue-severity i {
  color: #EF4444;
}

.issue-warning .issue-severity i {
  color: #FBBF24;
}

.issue-details {
  flex: 1;
}

.issue-location {
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 4px;
}

.issue-location strong {
  color: #111827;
  font-weight: 600;
}

.issue-location .separator {
  color: #D1D5DB;
  margin: 0 6px;
}

.issue-message {
  font-size: 13px;
  color: #374151;
}

.issues-more {
  padding: 12px;
  text-align: center;
  color: #6B7280;
  font-size: 13px;
  font-style: italic;
}

/* Preview Table */
.preview-table-container {
  overflow-x: auto;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.preview-table thead {
  background: #F9FAFB;
  border-bottom: 2px solid #E5E7EB;
}

.preview-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #6B7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.preview-table tbody tr {
  border-bottom: 1px solid #F3F4F6;
  transition: background-color 0.15s;
}

.preview-table tbody tr:hover {
  background: #F9FAFB;
}

.preview-table tbody tr.row-error {
  background: rgba(239, 68, 68, 0.05);
}

.preview-table tbody tr.row-warning {
  background: rgba(251, 191, 36, 0.05);
}

.preview-table td {
  padding: 12px;
  color: #374151;
  vertical-align: middle;
}

.preview-table .source-column {
  font-size: 11px;
  color: #6B7280;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.missing-data {
  color: #EF4444;
  font-style: italic;
}

.conflict-badge {
  display: inline-block;
  margin-left: 6px;
  color: #FBBF24;
  cursor: help;
}

.status-active {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #48BB78;
  font-weight: 500;
}

.status-active i {
  width: 14px;
  height: 14px;
}

.status-inactive {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6B7280;
}

.status-inactive i {
  width: 14px;
  height: 14px;
}

.preview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  border-radius: 0 0 8px 8px;
}

.preview-footer p {
  margin: 0;
  font-size: 13px;
  color: #6B7280;
}

/* Import Summary Box */
.import-summary-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid;
}

.summary-ready {
  background: rgba(72, 187, 120, 0.05);
  border-color: #48BB78;
}

.summary-blocked {
  background: rgba(239, 68, 68, 0.05);
  border-color: #EF4444;
}

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

.summary-ready .summary-icon {
  background: rgba(72, 187, 120, 0.1);
}

.summary-ready .summary-icon i {
  width: 28px;
  height: 28px;
  color: #48BB78;
}

.summary-blocked .summary-icon {
  background: rgba(239, 68, 68, 0.1);
}

.summary-blocked .summary-icon i {
  width: 28px;
  height: 28px;
  color: #EF4444;
}

.summary-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.summary-ready .summary-content h4 {
  color: #065F46;
}

.summary-blocked .summary-content h4 {
  color: #7F1D1D;
}

.summary-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.summary-ready .summary-content p {
  color: #047857;
}

.summary-blocked .summary-content p {
  color: #991B1B;
}

/* Responsive Design */
@media (max-width: 768px) {
  .review-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .source-file-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .conflict-item {
    padding: 12px;
  }
  
  .preview-table-container {
    margin: 0 -24px;
  }
  
  .preview-table {
    min-width: 900px;
  }
  
  .import-summary-box {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ===================================
   FLAGGING SYSTEM STYLES
   Sub-Task 1.5: Review Queue & Flags
   =================================== */

/* Completeness Bar */
.completeness-bar {
  display: flex;
  width: 100%;
  height: 40px;
  background: #F3F4F6;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #E5E7EB;
}

.completeness-fill {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
}

.completeness-complete {
  background: linear-gradient(90deg, #48BB78 0%, #38A169 100%);
  color: white;
}

.completeness-flagged {
  background: linear-gradient(90deg, #FBBF24 0%, #F59E0B 100%);
  color: #78350F;
}

/* Flag Breakdown */
.flag-breakdown {
  display: flex;
  gap: 24px;
  padding: 16px;
  background: #F9FAFB;
  border-radius: 8px;
}

.flag-breakdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.flag-icon {
  font-size: 16px;
}

.flag-label {
  color: #6B7280;
  font-weight: 500;
}

.flag-count {
  color: #111827;
  font-weight: 700;
}

/* Priority Badges in Issues List */
.priority-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.priority-high {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.priority-medium {
  background: rgba(251, 191, 36, 0.1);
  color: #D97706;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.priority-low {
  background: rgba(59, 130, 246, 0.1);
  color: #2563EB;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Issue Info Style */
.issue-info {
  background: rgba(59, 130, 246, 0.05);
  border-color: #3B82F6;
}

.issue-info .issue-severity i {
  color: #3B82F6;
}

/* Table Row Flagged State */
.preview-table tbody tr.row-flagged {
  background: rgba(251, 191, 36, 0.03);
}

.preview-table tbody tr.row-flagged:hover {
  background: rgba(251, 191, 36, 0.08);
}

/* Review Status Column */
.review-status-column {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Flag Badge (In Table) */
.flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: help;
}

.flag-badge.flag-high {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.flag-badge.flag-medium {
  background: rgba(251, 191, 36, 0.1);
  color: #D97706;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.flag-badge.flag-low {
  background: rgba(59, 130, 246, 0.1);
  color: #2563EB;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Complete Badge (In Table) */
.complete-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(72, 187, 120, 0.1);
  color: #059669;
  border: 1px solid rgba(72, 187, 120, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .completeness-bar {
    height: 60px;
    flex-direction: column;
  }
  
  .completeness-fill {
    width: 100% !important;
  }
  
  .flag-breakdown {
    flex-direction: column;
    gap: 12px;
  }
  
  .preview-table .review-status-column {
    min-width: 120px;
  }
}


/* ===================================
   TEMPORARY VALUES STYLING
   Sub-Task 1.6: Temp ID/Email Generation
   =================================== */

/* Temporary Values Info Banner */
.info-temp-values {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
  border: 2px solid #FBBF24;
  border-left: 6px solid #F59E0B;
}

.info-temp-values i {
  color: #F59E0B;
  width: 24px;
  height: 24px;
}

.info-temp-values strong {
  color: #92400E;
  font-size: 16px;
}

.info-temp-values p {
  color: #78350F;
  margin-bottom: 12px;
}

/* Temporary Values List */
.temp-values-list {
  margin: 12px 0 16px 0;
  padding-left: 20px;
  list-style: none;
}

.temp-values-list li {
  padding: 8px 0;
  color: #78350F;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
}

.temp-values-list li::before {
  content: "→";
  position: absolute;
  left: -20px;
  color: #F59E0B;
  font-weight: bold;
}

.temp-values-list strong {
  color: #92400E;
  font-weight: 700;
}

.temp-values-list code {
  background: rgba(251, 191, 36, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'Monaco', 'Courier New', monospace;
  color: #92400E;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Temporary Values Actions */
.temp-values-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(251, 191, 36, 0.3);
}

.temp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #92400E;
}

/* Temporary Value Styling in Table */
.temp-value-cell {
  position: relative;
}

.temp-value {
  color: #D97706 !important;
  font-style: italic;
  font-weight: 500;
  border-bottom: 2px dashed #FBBF24;
  cursor: help;
  padding-bottom: 2px;
}

.temp-value-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 6px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #D97706;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Tooltip for Temporary Values */
.temp-value::after {
  content: attr(data-temp-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background: #1F2937;
  color: white;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  margin-bottom: 8px;
  z-index: 1000;
}

.temp-value::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1F2937;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  margin-bottom: 2px;
}

.temp-value:hover::after,
.temp-value:hover::before {
  opacity: 1;
}

/* Highlighted Row for Temp Values */
.preview-table tbody tr.row-temp {
  background: rgba(251, 191, 36, 0.05);
}

.preview-table tbody tr.row-temp:hover {
  background: rgba(251, 191, 36, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .temp-values-list {
    padding-left: 16px;
  }
  
  .temp-values-actions {
    flex-direction: column;
  }
  
  .temp-badge {
    width: 100%;
    justify-content: center;
  }
  
  .temp-value::after {
    left: 0;
    transform: none;
    white-space: normal;
    max-width: 200px;
  }
}


/* ============================================================================
   FILES LIST HEADER (Clear All Button)
   ============================================================================ */

.files-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #1e293b;
}

.files-list-header span {
  font-size: 0.875rem;
}

.admin-secondary-btn-sm {
  padding: 6px 12px;
  font-size: 0.813rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-secondary-btn-sm i {
  width: 14px;
  height: 14px;
}

/* File Status Badge Colors */
.file-status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.813rem;
  font-weight: 500;
  white-space: nowrap;
}

.file-status-pending {
  background: #f1f5f9;
  color: #64748b;
}

.file-status-processing {
  background: #dbeafe;
  color: #1e40af;
  animation: pulse 1.5s ease-in-out infinite;
}

.file-status-success {
  background: #dcfce7;
  color: #166534;
}

.file-status-error {
  background: #fee2e2;
  color: #991b1b;
}

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


.files-list-actions {
  display: flex;
  gap: 8px;
}

.files-list-actions .admin-secondary-btn-sm {
  white-space: nowrap;
}


/* ============================================================================
   MERGE DETAILS DISPLAY - Phase 2 Enhancement
   ============================================================================ */

/* Merge Info Banner */
.info-merge {
  background: linear-gradient(135deg, #3b82f620 0%, #60a5fa20 100%);
  border-left: 4px solid #3b82f6;
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.info-merge .info-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.info-merge .info-content {
  flex: 1;
}

.info-merge .info-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.info-merge .info-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* Merge Details Container */
.merge-details-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

/* Merge Detail Card */
.merge-detail-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.2s ease;
}

.merge-detail-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #3b82f6;
  transform: translateY(-2px);
}

/* Merge Header */
.merge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.merge-employee-id {
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.merge-employee-id i {
  width: 16px;
  height: 16px;
  color: #3b82f6;
}

.merge-count-badge {
  background: #3b82f620;
  color: #3b82f6;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
}

/* Merge Sources */
.merge-sources {
  margin-bottom: 12px;
}

.merge-label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.merge-label i {
  width: 14px;
  height: 14px;
}

.merge-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.merge-source-badge {
  background: #f3f4f6;
  color: #4b5563;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #e5e7eb;
}

.merge-source-badge:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}

/* Merge Conflicts */
.merge-conflicts {
  margin-bottom: 12px;
  padding: 12px;
  background: #fef3c7;
  border-radius: 6px;
  border: 1px solid #fbbf24;
}

.merge-conflicts .merge-label {
  color: #92400e;
  margin-bottom: 8px;
}

.conflict-field-list {
  margin-top: 8px;
}

.conflict-field-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px dashed #fde68a;
}

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

.conflict-field-name {
  font-weight: 600;
  color: #92400e;
}

.conflict-resolution {
  color: #78350f;
  font-size: 12px;
  font-style: italic;
}

.conflict-more {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #fbbf24;
  color: #92400e;
  font-size: 13px;
  text-align: center;
  font-weight: 500;
}

/* No Conflicts Message */
.merge-no-conflicts {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f0fdf4;
  border-radius: 6px;
  color: #15803d;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.merge-no-conflicts i {
  width: 16px;
  height: 16px;
}

/* Merge Strategy */
.merge-strategy {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f0fdf4;
  border-radius: 6px;
  color: #15803d;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #86efac;
}

.merge-strategy i {
  width: 16px;
  height: 16px;
}

/* More Card */
.merge-more-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.merge-more-content {
  text-align: center;
  color: #64748b;
}

.merge-more-content i {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: #94a3b8;
}

.merge-more-content strong {
  display: block;
  font-size: 16px;
  color: #475569;
  margin-bottom: 8px;
}

.merge-more-content p {
  font-size: 13px;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .merge-details-container {
    grid-template-columns: 1fr;
  }
  
  .merge-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


/* Stat Card Enhancements */
.stat-detail {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
  font-weight: 400;
}

.stat-info {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.stat-info .stat-icon,
.stat-info .stat-value,
.stat-info .stat-label,
.stat-info .stat-detail {
  color: white;
}

/* ================================
   TEMPLATE SELECTION DIALOG STYLES
   ================================ */

/* Load Template Button with Green Highlight */
.btn-load-template {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
  position: relative;
}

.btn-load-template:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-load-template:active {
  transform: translateY(0);
}

.btn-load-template i {
  width: 18px;
  height: 18px;
}

.btn-new-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: 4px;
}

/* Template Dialog Overlay */
.template-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Template Dialog */
.template-dialog {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Dialog Header */
.template-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid #E5E7EB;
}

.template-dialog-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.template-dialog-title i {
  width: 24px;
  height: 24px;
  color: #10B981;
}

.template-dialog-title h2 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.template-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6B7280;
}

.template-dialog-close:hover {
  background: #F3F4F6;
  color: #111827;
}

.template-dialog-close i {
  width: 20px;
  height: 20px;
}

/* Dialog Content */
.template-dialog-content {
  padding: 24px 32px 32px;
  overflow-y: auto;
  max-height: calc(90vh - 100px);
}

.template-dialog-description {
  color: #6B7280;
  font-size: 14px;
  margin: 0 0 24px 0;
  line-height: 1.6;
}

/* Template Grid */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

/* Template Card */
.template-card {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.template-card:hover {
  border-color: #10B981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

/* Template Card Header */
.template-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.template-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border-radius: 10px;
  flex-shrink: 0;
}

.template-icon i {
  width: 20px;
  height: 20px;
  color: white;
}

.template-info {
  flex: 1;
  min-width: 0;
}

.template-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
  word-wrap: break-word;
}

.template-system {
  display: inline-block;
  padding: 4px 10px;
  background: #F3F4F6;
  color: #6B7280;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.template-default-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.template-default-badge i {
  width: 12px;
  height: 12px;
}

/* Template Description */
.template-description {
  color: #6B7280;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* Template Meta */
.template-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.template-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9CA3AF;
  font-size: 13px;
}

.template-meta-item i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Template Actions */
.template-actions {
  display: flex;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #F3F4F6;
}

.template-btn-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.template-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.template-btn-primary i {
  width: 16px;
  height: 16px;
}

.template-btn-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6B7280;
}

.template-btn-delete:hover {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
}

.template-btn-delete i {
  width: 16px;
  height: 16px;
}

/* Empty State */
.template-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.template-empty-state i {
  width: 64px;
  height: 64px;
  color: #D1D5DB;
  margin-bottom: 16px;
}

.template-empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 8px 0;
}

.template-empty-state p {
  color: #6B7280;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .template-dialog {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .template-grid {
    grid-template-columns: 1fr;
  }
  
  .template-dialog-header {
    padding: 20px;
  }
  
  .template-dialog-content {
    padding: 20px;
  }
}

/* ========================================
   Column Customizer Slide-In Panel
   ======================================== */

.column-customizer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.column-customizer-panel {
  background: white;
  width: 500px;
  max-width: 90vw;
  height: 100%;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.panel-header {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
}

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.panel-section {
  margin-bottom: 32px;
}

.panel-section:last-child {
  margin-bottom: 0;
}

.panel-section h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.panel-hint {
  margin: 0 0 16px 0;
  font-size: 13px;
  color: #6b7280;
}

.panel-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Column Items */
.columns-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.column-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s;
}

.column-item:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.column-item.column-locked {
  background: #fef3c7;
  border-color: #fcd34d;
}

.column-drag-handle {
  color: #9ca3af;
  cursor: move;
  display: flex;
  align-items: center;
}

.column-info {
  flex: 1;
  min-width: 0;
}

.column-label {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.column-meta {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.column-actions {
  display: flex;
  gap: 4px;
}

/* Available Columns */
.column-item-available {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: all 0.2s;
}

.column-item-available:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.category-group {
  margin-bottom: 8px;
}

.category-header {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  user-select: none;
}

.category-header:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.category-header.collapsed .category-chevron {
  transform: rotate(0deg);
}

.category-header:not(.collapsed) .category-chevron {
  transform: rotate(90deg);
}

.category-chevron {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.category-items {
  padding: 8px 0 8px 8px;
  margin-left: 8px;
  border-left: 2px solid #e5e7eb;
}

/* Button Styles */
.btn-icon-sm {
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.btn-icon-sm.btn-add {
  color: #10b981;
}

.btn-icon-sm.btn-add:hover {
  background: #d1fae5;
  color: #059669;
}

/* Responsive */
@media (max-width: 768px) {
  .column-customizer-panel {
    width: 100%;
    max-width: 100%;
  }
}


/* ============================================
   AUTO-ASSIGNMENT SECTION STYLES
   ============================================ */

/* Auto-Assignment Section */
.auto-assignment-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid #E5E7EB;
}

.auto-assignment-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px;
}

.checkbox-label-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  padding: 8px 0;
}

.checkbox-label-primary input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.auto-assignment-config {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

.config-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: 8px;
  margin-bottom: 16px;
  color: #1E40AF;
  font-size: 14px;
}

.config-info i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.config-item {
  margin-bottom: 16px;
}

.config-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4B5563;
  cursor: pointer;
  padding: 6px 0;
}

.radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.fallback-reviewer-select {
  margin-left: 24px;
  margin-top: 8px;
  width: calc(100% - 24px);
  padding: 8px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s;
}

.fallback-reviewer-select:hover {
  border-color: #9CA3AF;
}

.fallback-reviewer-select:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Reviewer Database Dropdown */
.reviewer-database-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 14px;
  background: white;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.reviewer-database-select:hover {
  border-color: #9CA3AF;
}

.reviewer-database-select:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.reviewer-database-select option {
  padding: 8px;
}


/* ============================================
   CUSTOM REVIEWER GROUP CREATION MODAL
   ============================================ */

/* Member Selection Tabs */
.member-selection-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.member-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: #F3F4F6;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.2s;
}

.member-tab:hover {
  background: #E5E7EB;
  color: #374151;
}

.member-tab.active {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #3B82F6;
}

.member-tab i {
  width: 18px;
  height: 18px;
}

/* Tab Content */
.member-tab-content {
  display: none;
}

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

/* Member Selection List */
.member-selection-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: white;
  padding: 4px;
}

.member-selection-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.member-selection-item:hover {
  background: #F9FAFB;
}

.member-selection-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.member-info {
  flex: 1;
}

.member-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 2px;
}

.member-details {
  font-size: 13px;
  color: #6B7280;
}

.member-selection-count {
  text-align: center;
  font-size: 14px;
  color: #374151;
}

.member-selection-count strong {
  color: #3B82F6;
  font-size: 16px;
}

/* Upload Area */
.upload-area {
  border: 2px dashed #D1D5DB;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  background: #F9FAFB;
  transition: all 0.2s;
  cursor: pointer;
}

.upload-area:hover {
  border-color: #3B82F6;
  background: #EFF6FF;
}

.upload-area.dragover {
  border-color: #3B82F6;
  background: #EFF6FF;
}

/* Custom Group Card Styling */
.custom-group-card {
  position: relative;
}

.custom-group-card .reviewer-db-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
}

.custom-group-card:hover .reviewer-db-actions {
  opacity: 1;
}

/* Action Button Icons */
.custom-group-card .admin-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: #F3F4F6;
  border: none;
  border-radius: 8px;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.2s;
}

.custom-group-card .admin-icon-btn:hover {
  background: #E5E7EB;
  color: #111827;
  transform: translateY(-1px);
}

.custom-group-card .admin-icon-btn.danger:hover {
  background: #FEE2E2;
  color: #DC2626;
}

.custom-group-card .admin-icon-btn svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  fill: none;
}

/* Custom Groups Section */
.custom-groups-section {
  margin-top: 48px;
}

.custom-groups-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.custom-groups-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
}

.custom-groups-title i {
  width: 28px;
  height: 28px;
  color: #6366F1;
}

.custom-groups-subtitle {
  color: #6B7280;
  font-size: 14px;
  margin: 0;
}

.custom-groups-empty {
  text-align: center;
  padding: 60px 20px;
  background: #F9FAFB;
  border: 2px dashed #E5E7EB;
  border-radius: 16px;
}

.custom-groups-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: #EFF6FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-groups-empty-icon i {
  width: 40px;
  height: 40px;
  color: #3B82F6;
}

.custom-groups-empty h3 {
  font-size: 20px;
  color: #111827;
  margin: 0 0 12px 0;
}

.custom-groups-empty p {
  font-size: 14px;
  color: #6B7280;
  margin: 0 0 24px 0;
}


/* ================================ */
/* USER DROPDOWN MENU */
/* ================================ */

.user-menu {
  position: relative;
}

.user-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.user-button:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.user-button:active {
  transform: scale(0.98);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.user-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

#user-menu-chevron {
  transition: transform 0.2s;
}

.user-button[aria-expanded="true"] #user-menu-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  animation: dropdown-fade-in 0.2s ease-out;
}

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

/* Dropdown Header */
.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 12px 12px 0 0;
}

.user-dropdown-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}

.user-dropdown-info {
  flex: 1;
  min-width: 0;
}

.user-dropdown-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown-role {
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

.user-dropdown-email {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dropdown Items */
.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.user-dropdown-item:hover {
  background: #f9fafb;
}

.user-dropdown-item:active {
  background: #f3f4f6;
}

.user-dropdown-item i {
  width: 18px;
  height: 18px;
  color: #6b7280;
  flex-shrink: 0;
}

.user-dropdown-item span {
  flex: 1;
}

.user-dropdown-signout {
  color: #dc2626;
}

.user-dropdown-signout i {
  color: #dc2626;
}

.user-dropdown-signout:hover {
  background: #fef2f2;
}

/* Delegation Menu Badge */
.delegation-menu-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: auto;
}

/* Dropdown Divider */
.user-dropdown-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 4px 0;
}
