/* ===== Fingerprint Enrollment Page Styles ===== */

/* Page Header */
.enrollment-fingerprint .page-header {
  padding: 2rem 0 1rem 0;
  margin-bottom: 2rem;
}

.enrollment-fingerprint .header-content {
  max-width: 800px;
  text-align: left;
}

.enrollment-fingerprint .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8bc34a, #6a9e34);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.5rem 0;
}

html.dark-mode .enrollment-fingerprint .page-title {
  background: linear-gradient(135deg, #ecf0f1, #a8d85f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.enrollment-fingerprint .page-subtitle {
  font-size: 1.1rem;
  color: #546e7a;
  margin: 0;
  font-weight: 400;
}

html.dark-mode .enrollment-fingerprint .page-subtitle {
  color: #95a5a6;
}

/* Navigation Tabs */
.enrollment-fingerprint .inner-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

html.dark-mode .enrollment-fingerprint .inner-tabs {
  background: #2a2a2a;
}

/* Tab Button - Flat color secondary UI control */
.enrollment-fingerprint .tab-button {
  flex: 1;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Sora', system-ui, sans-serif;
  color: #495057;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.enrollment-fingerprint .tab-button:hover {
  background: white;
  color: #4a6e1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.enrollment-fingerprint .tab-button.active {
  background: linear-gradient(135deg, #8bc34a, #7ab82d);
  color: white;
  box-shadow: 0 3px 10px rgba(139, 195, 74, 0.3);
  transform: translateY(-1px);
}

.enrollment-fingerprint .tab-button.active:hover {
  box-shadow: 0 4px 12px rgba(139, 195, 74, 0.4);
}

html.dark-mode .enrollment-fingerprint .tab-button {
  background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
  color: #d1d5db;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

html.dark-mode .enrollment-fingerprint .tab-button:hover {
  background: #1a1a1a;
  color: #a5d461;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

html.dark-mode .enrollment-fingerprint .tab-button.active {
  background: linear-gradient(135deg, #8bc34a, #7ab82d);
  color: white;
  box-shadow: 0 3px 10px rgba(139, 195, 74, 0.3);
}

html.dark-mode .enrollment-fingerprint .tab-button.active:hover {
  box-shadow: 0 4px 12px rgba(139, 195, 74, 0.4);
}

.enrollment-fingerprint .tab-button i {
  font-size: 1.125rem;
}

/* Main Wrapper - Grid Layout */
.enrollment-fingerprint .fingerprint-enrollment-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Section Cards */
.enrollment-fingerprint .enrollment-fp-section {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

html.dark-mode .enrollment-fingerprint .enrollment-fp-section {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Primary Section */
.enrollment-fingerprint .primary-section {
  padding: 2rem;
}

/* Action Blocks */
.enrollment-fingerprint .action-block {
  margin-bottom: 0.5rem;
}

.enrollment-fingerprint .block-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.enrollment-fingerprint .block-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enrollment-fingerprint .scan-icon {
  background: linear-gradient(135deg, #8bc34a, #7ab82d);
  color: white;
  box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3);
}

.enrollment-fingerprint .assign-icon {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.enrollment-fingerprint .save-icon {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

html.dark-mode .enrollment-fingerprint .scan-icon {
  box-shadow: 0 4px 12px rgba(139, 195, 74, 0.5);
}

html.dark-mode .enrollment-fingerprint .assign-icon {
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.5);
}

html.dark-mode .enrollment-fingerprint .save-icon {
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.5);
}

.enrollment-fingerprint .block-title-group {
  flex: 1;
}

.enrollment-fingerprint .block-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.25rem 0;
}

html.dark-mode .enrollment-fingerprint .block-title {
  color: #ecf0f1;
}

.enrollment-fingerprint .block-subtitle {
  font-size: 0.95rem;
  color: #546e7a;
  margin: 0;
}

html.dark-mode .enrollment-fingerprint .block-subtitle {
  color: #95a5a6;
}

/* Block Content */
.enrollment-fingerprint .block-content {
  padding-left: 72px;
}

/* Fingerprint Preview Area */
.enrollment-fingerprint .fingerprint-preview-area {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

html.dark-mode .enrollment-fingerprint .fingerprint-preview-area {
  background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
  border-color: rgba(255, 255, 255, 0.1);
}

.enrollment-fingerprint .preview-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #546e7a;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

html.dark-mode .enrollment-fingerprint .preview-label {
  color: #95a5a6;
}

.enrollment-fingerprint .preview-label i {
  font-size: 1rem;
}

.enrollment-fingerprint .preview-container {
  position: relative;
  width: 100%;
  min-height: 280px;
  background: white;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.dark-mode .enrollment-fingerprint .preview-container {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.1);
}

.enrollment-fingerprint .preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #95a5a6;
  padding: 2rem;
  text-align: center;
}

html.dark-mode .enrollment-fingerprint .preview-placeholder {
  color: #7f8c8d;
}

.enrollment-fingerprint .preview-placeholder-icon {
  font-size: 4rem;
  opacity: 0.3;
}

.enrollment-fingerprint .preview-placeholder-text {
  font-size: 0.95rem;
  font-weight: 500;
}

.enrollment-fingerprint .fingerprint-image {
  display: none;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  padding: 1rem;
}

.enrollment-fingerprint .fingerprint-image.visible {
  display: block;
}

.enrollment-fingerprint .preview-container.has-image {
  border-color: #9b59b6;
  box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.1);
}

html.dark-mode .enrollment-fingerprint .preview-container.has-image {
  border-color: #bb8fce;
  box-shadow: 0 0 0 3px rgba(187, 143, 206, 0.15);
}

/* Action Divider */
.enrollment-fingerprint .action-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 0 72px;
}

.enrollment-fingerprint .divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

html.dark-mode .enrollment-fingerprint .divider-line {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.enrollment-fingerprint .divider-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #546e7a;
  font-size: 0.875rem;
  border: 2px solid rgba(0, 0, 0, 0.06);
}

html.dark-mode .enrollment-fingerprint .divider-icon {
  background: linear-gradient(135deg, #2a2a2a, #1e1e1e);
  border-color: rgba(255, 255, 255, 0.1);
  color: #95a5a6;
}

/* Employee Select */
.enrollment-fingerprint .employee-select-wrapper {
  margin-bottom: 0.5rem;
}

.enrollment-fingerprint .select-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #546e7a;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

html.dark-mode .enrollment-fingerprint .select-label {
  color: #95a5a6;
}

.enrollment-fingerprint .employee-dropdown {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  font-size: 1rem;
  color: #2c3e50;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  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='%237f8c8d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.enrollment-fingerprint .employee-dropdown:hover {
  border-color: rgba(155, 89, 182, 0.3);
  background: white;
}

.enrollment-fingerprint .employee-dropdown:focus {
  outline: none;
  border-color: #9b59b6;
  box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.1);
  background: white;
  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='%239b59b6' d='M6 3L1 8h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

html.dark-mode .enrollment-fingerprint .employee-dropdown {
  background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ecf0f1;
  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='%2395a5a6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

html.dark-mode .enrollment-fingerprint .employee-dropdown:hover {
  border-color: rgba(187, 143, 206, 0.3);
  background: #1a1a1a;
}

html.dark-mode .enrollment-fingerprint .employee-dropdown:focus {
  border-color: #bb8fce;
  box-shadow: 0 0 0 3px rgba(187, 143, 206, 0.15);
  background: #1a1a1a;
  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='%23bb8fce' d='M6 3L1 8h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* Button styles are now in components/button.css */
/* Override for full-width buttons */
.enrollment-fingerprint .action-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  justify-content: center;
}

/* Special button colors for enrollment fingerprint */
.enrollment-fingerprint .scan-btn {
  background: linear-gradient(135deg, #8bc34a, #7ab82d);
  color: white;
  box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3);
}

.enrollment-fingerprint .scan-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #8bc34a, #7ab82d);
  box-shadow: 0 4px 16px rgba(139, 195, 74, 0.4);
}

.enrollment-fingerprint .save-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.enrollment-fingerprint .save-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

/* Status Bar */
.enrollment-fingerprint .status-bar {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-height: auto;
}

.enrollment-fingerprint .status-bar[data-status="ready"] {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.05));
  border: 2px solid rgba(52, 152, 219, 0.2);
  color: #2980b9;
}

.enrollment-fingerprint .status-bar[data-status="scanning"] {
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.1), rgba(94, 129, 34, 0.05));
  border: 2px solid rgba(139, 195, 74, 0.3);
  color: #7ab82d;
}

.enrollment-fingerprint .status-bar[data-status="success"] {
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.1), rgba(94, 129, 34, 0.05));
  border: 2px solid rgba(139, 195, 74, 0.3);
  color: #7ab82d;
}

.enrollment-fingerprint .status-bar[data-status="error"] {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(192, 57, 43, 0.05));
  border: 2px solid rgba(231, 76, 60, 0.3);
  color: #c0392b;
}

.enrollment-fingerprint .status-bar[data-status="warning"] {
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), rgba(243, 156, 18, 0.05));
  border: 2px solid rgba(241, 196, 15, 0.3);
  color: #f39c12;
}

html.dark-mode .enrollment-fingerprint .status-bar[data-status="ready"] {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(41, 128, 185, 0.08));
  border-color: rgba(52, 152, 219, 0.3);
  color: #5dade2;
}

html.dark-mode .enrollment-fingerprint .status-bar[data-status="scanning"] {
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.15), rgba(139, 195, 74, 0.08));
  border-color: rgba(139, 195, 74, 0.3);
  color: #8bc34a;
}

html.dark-mode .enrollment-fingerprint .status-bar[data-status="success"] {
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.15), rgba(139, 195, 74, 0.08));
  border-color: rgba(139, 195, 74, 0.3);
  color: #8bc34a;
}

html.dark-mode .enrollment-fingerprint .status-bar[data-status="error"] {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(192, 57, 43, 0.08));
  border-color: rgba(231, 76, 60, 0.4);
  color: #e74c3c;
}

html.dark-mode .enrollment-fingerprint .status-bar[data-status="warning"] {
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.15), rgba(243, 156, 18, 0.08));
  border-color: rgba(241, 196, 15, 0.4);
  color: #f1c40f;
}

.enrollment-fingerprint .status-icon {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

.enrollment-fingerprint .status-bar[data-status="scanning"] .status-icon {
  animation: fingerprint-status-pulse 1.5s ease-in-out infinite;
}

.enrollment-fingerprint .status-message {
  flex: 1;
  line-height: 1.4;
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
}

/* Instructions Card */
.enrollment-fingerprint .instructions-card {
  padding: 2rem;
  height: fit-content;
  position: static;
}

.enrollment-fingerprint .instructions-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.enrollment-fingerprint .instructions-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

html.dark-mode .enrollment-fingerprint .instructions-icon {
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.5);
}

.enrollment-fingerprint .instructions-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

html.dark-mode .enrollment-fingerprint .instructions-title {
  color: #ecf0f1;
}

/* Steps List */
.enrollment-fingerprint .steps-list {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.enrollment-fingerprint .step-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.enrollment-fingerprint .step-item:last-child {
  border-bottom: none;
}

html.dark-mode .enrollment-fingerprint .step-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.enrollment-fingerprint .step-number {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8bc34a, #7ab82d);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(139, 195, 74, 0.3);
}

html.dark-mode .enrollment-fingerprint .step-number {
  box-shadow: 0 2px 8px rgba(139, 195, 74, 0.5);
}

.enrollment-fingerprint .step-info {
  flex: 1;
}

.enrollment-fingerprint .step-name {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.25rem 0;
}

html.dark-mode .enrollment-fingerprint .step-name {
  color: #ecf0f1;
}

.enrollment-fingerprint .step-desc {
  font-size: 0.9rem;
  color: #546e7a;
  margin: 0;
  line-height: 1.5;
}

html.dark-mode .enrollment-fingerprint .step-desc {
  color: #95a5a6;
}

/* Logic Items (plain sections, not cards) */
.enrollment-fingerprint .logic-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.enrollment-fingerprint .logic-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.enrollment-fingerprint .logic-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

html.dark-mode .enrollment-fingerprint .logic-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.enrollment-fingerprint .logic-icon-wrapper {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8bc34a, #7ab82d);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(139, 195, 74, 0.3);
}

html.dark-mode .enrollment-fingerprint .logic-icon-wrapper {
  box-shadow: 0 2px 8px rgba(139, 195, 74, 0.5);
}

.enrollment-fingerprint .logic-content h5 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
}

html.dark-mode .enrollment-fingerprint .logic-content h5 {
  color: #ecf0f1;
}

.enrollment-fingerprint .logic-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #546e7a;
  line-height: 1.6;
}

html.dark-mode .enrollment-fingerprint .logic-content p {
  color: #95a5a6;
}

.enrollment-fingerprint .logic-content strong {
  color: #2c3e50;
}

html.dark-mode .enrollment-fingerprint .logic-content strong {
  color: #ecf0f1;
}

/* Note Card (blue card with left border highlight) */
.enrollment-fingerprint .note-card {
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.05));
  border-radius: 8px;
  border-left: 4px solid #3498db;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #2c3e50;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

html.dark-mode .enrollment-fingerprint .note-card {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(41, 128, 185, 0.08));
  border-left-color: #5dade2;
  color: #ecf0f1;
}

.enrollment-fingerprint .note-card i {
  font-size: 1.1rem;
  flex-shrink: 0;
  color: #3498db;
}

html.dark-mode .enrollment-fingerprint .note-card i {
  color: #5dade2;
}

.enrollment-fingerprint .note-card strong {
  color: #2c3e50;
}

html.dark-mode .enrollment-fingerprint .note-card strong {
  color: #ecf0f1;
}

/* Tips Section */
.enrollment-fingerprint .tips-section {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.1), rgba(94, 129, 34, 0.05));
  border-radius: 12px;
  border: 2px solid rgba(139, 195, 74, 0.2);
  margin-bottom: 1.5rem;
}

html.dark-mode .enrollment-fingerprint .tips-section {
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.15), rgba(139, 195, 74, 0.08));
  border-color: rgba(139, 195, 74, 0.3);
}

.enrollment-fingerprint .tip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #7ab82d;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.enrollment-fingerprint .tip-item:last-child {
  margin-bottom: 0;
}

html.dark-mode .enrollment-fingerprint .tip-item {
  color: #8bc34a;
}

.enrollment-fingerprint .tip-item i {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Technical Info Section */
.enrollment-fingerprint .technical-info {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.05));
  border-radius: 12px;
  border: 2px solid rgba(52, 152, 219, 0.2);
}

html.dark-mode .enrollment-fingerprint .technical-info {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(41, 128, 185, 0.08));
  border-color: rgba(52, 152, 219, 0.3);
}

.enrollment-fingerprint .tech-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2980b9;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

html.dark-mode .enrollment-fingerprint .tech-header {
  color: #5dade2;
}

.enrollment-fingerprint .tech-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.enrollment-fingerprint .tech-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.enrollment-fingerprint .tech-item:last-child {
  border-bottom: none;
}

html.dark-mode .enrollment-fingerprint .tech-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.enrollment-fingerprint .tech-label {
  font-size: 0.875rem;
  color: #546e7a;
  font-weight: 500;
}

html.dark-mode .enrollment-fingerprint .tech-label {
  color: #95a5a6;
}

.enrollment-fingerprint .tech-value {
  font-size: 0.875rem;
  color: #2c3e50;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

html.dark-mode .enrollment-fingerprint .tech-value {
  color: #ecf0f1;
}

/* Hand Diagram Styles */
.hand-diagram-container {
  background: var(--bg-secondary);
  border-radius: 1rem;
  padding: 1rem;
  margin-top: 0.5rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hand-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
  user-select: none;
}

.finger-dot {
  fill: var(--bg-surface);
  stroke: var(--text-secondary);
  stroke-width: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.finger-dot:hover {
  fill: rgba(76, 175, 80, 0.3);
  stroke: #4caf50;
}

.finger-dot.selected {
  fill: #4caf50;
  stroke: #2e7d32;
  r: 16; /* Slightly larger */
}

.finger-dot.enrolled {
  fill: #2196f3;
  stroke: #1565c0;
}

.finger-dot.enrolled.selected {
  fill: #4caf50; /* Selection overrides enrolled color for fill, but maybe keep stroke? */
  stroke: #2e7d32;
  stroke-width: 3px;
}

/* Dark mode adjustments if needed, using variables should handle most */

/* Responsive Design */
@media (max-width: 968px) {
  .enrollment-fingerprint .fingerprint-enrollment-wrapper {
    grid-template-columns: 1fr;
  }

  .enrollment-fingerprint .instructions-card {
    order: -1;
  }
}

@media (max-width: 768px) {
  .enrollment-fingerprint .primary-section,
  .enrollment-fingerprint .instructions-card {
    padding: 1.5rem;
  }

  .enrollment-fingerprint .block-content {
    padding-left: 0;
  }

  .enrollment-fingerprint .action-divider {
    padding: 0;
  }

  .enrollment-fingerprint .block-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .enrollment-fingerprint .block-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .enrollment-fingerprint .preview-container {
    min-height: 220px;
  }
}

/* Pulse Animation for Scanning Status */
@keyframes fingerprint-status-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

