/* Modern Dark-Indigo CSS Reset & Palette Variables */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --panel-bg: rgba(30, 41, 59, 0.45);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --secondary: #a855f7;
  --secondary-hover: #9333ea;
  --success: #10b981;
  --success-hover: #059669;
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --info: #0ea5e9;
  --font-display: 'Outfit', 'Noto Sans TC', sans-serif;
  --font-body: 'Noto Sans TC', 'Outfit', sans-serif;
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
  --radius-lg: 16px;
  --radius-md: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

/* Background decorative glowing orbs */
.glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}
.glow-1 {
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -10%;
  left: -10%;
}
.glow-2 {
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: -10%;
  right: -10%;
}

/* App Container */
.app-container {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

/* Header */
.app-header {
  text-align: center;
  margin-bottom: 4px;
}
.logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
  animation: float 6s ease-in-out infinite;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-text span {
  font-weight: 300;
}
.subtitle {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-top: 6px;
  text-transform: uppercase;
}

/* Top Navigation Bar */
.app-nav {
  display: flex;
  gap: 10px;
  margin: 5px 0;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
  justify-content: center;
}
.nav-tab {
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 24px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.nav-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

/* Steps Progress indicator */
.step-progress-wrapper {
  margin: 10px 0;
  padding: 0 40px;
}
.step-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.step-progress::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  z-index: 1;
}
.step-bar {
  position: absolute;
  top: 18px;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
  z-index: 2;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
.step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.step-node.active .step-number {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}
.step-node.active .step-label {
  color: #fff;
}
.step-node.completed .step-number {
  border-color: var(--secondary);
  color: #fff;
  background: var(--secondary);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}
.step-node.completed .step-label {
  color: var(--secondary);
}

/* Glass panel */
.glass-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

.glass-panel-sub {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
}

/* Typography elements */
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  color: #fff;
}
.section-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Forms layout */
.step-section {
  display: none;
}
.step-section.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Left inputs Column */
.inputs-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #d1d5db;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  color: var(--text-muted);
}
.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: rgba(17, 24, 39, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 15px;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  outline: none;
}
.input-wrapper select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.input-wrapper input:focus,
.input-wrapper select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  background: rgba(17, 24, 39, 0.8);
}

/* Upload Drop zone styling */
.uploads-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.upload-zone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  background: rgba(17, 24, 39, 0.3);
  border-radius: var(--radius-md);
  height: 144px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}
.upload-zone:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
}
.upload-zone.dragover {
  border-color: var(--secondary);
  background: rgba(168, 85, 247, 0.1);
  transform: scale(1.02);
}
.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  pointer-events: none;
}
.upload-icon {
  font-size: 32px;
}
.upload-text {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.upload-tip {
  font-size: 12px;
  color: var(--text-muted);
}

/* Image preview box */
.preview-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111827;
  display: flex;
  justify-content: center;
  align-items: center;
}
.image-preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: background 0.2s ease;
}
.remove-btn:hover {
  background: var(--danger);
}

/* Action button area */
.form-actions-full {
  grid-column: 1 / -1;
  margin-top: 10px;
}

/* Buttons style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-success {
  background: var(--success);
  color: #fff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}
.btn-success:hover {
  background: var(--success-hover);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover {
  background: var(--danger-hover);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: rgba(99, 102, 241, 0.08);
}

.btn-large {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  animation: shine 4s infinite linear;
}

/* Verification Step 2 Layout */
.verification-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.verification-group-card {
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.group-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 5px;
}
.verify-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.verify-field.full-width {
  grid-column: 1 / -1;
}
.verify-field label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.verify-field input,
.verify-field select {
  background: rgba(17, 24, 39, 0.2);
  border: 1px solid transparent;
  color: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  width: 100%;
  outline: none;
}
.verify-field input.readonly-field {
  pointer-events: none;
  background: transparent;
  border-color: transparent;
  padding-left: 0;
  font-size: 15px;
  font-weight: 500;
}
.verify-field select.readonly-field {
  pointer-events: none;
  background: transparent;
  border-color: transparent;
  padding-left: 0;
  font-size: 15px;
  font-weight: 500;
  appearance: none;
  background-image: none;
}

/* Edit State styles */
.verify-field input.editable,
.verify-field select.editable {
  background: rgba(17, 24, 39, 0.8) !important;
  border-color: var(--primary) !important;
  pointer-events: auto !important;
  padding-left: 12px !important;
  box-shadow: 0 0 5px rgba(99, 102, 241, 0.2);
}

.verification-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

/* Notification banners */
.alert-info-banner {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #bae6fd;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Loader styling */
.loader-container {
  padding: 60px 0;
}
.loading-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.loading-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 6px solid var(--primary);
  border-radius: 50%;
  animation: loading-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--primary) transparent transparent transparent;
}
.loading-ring div:nth-child(1) { animation-delay: -0.45s; }
.loading-ring div:nth-child(2) { animation-delay: -0.3s; }
.loading-ring div:nth-child(3) { animation-delay: -0.15s; }

.loading-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 10px;
}
.loading-progress-bar {
  width: 320px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin: 30px auto 0 auto;
  overflow: hidden;
  position: relative;
}
.loading-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  animation: progress-mock 4s infinite ease-out;
}

/* Step 3 Success UI */
.success-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 3px solid var(--success);
  margin-bottom: 24px;
  color: var(--success);
  font-size: 40px;
  font-weight: 700;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-box p {
  font-size: 15px;
  margin-bottom: 10px;
  color: #d1d5db;
}
.success-box p:last-child {
  margin-bottom: 0;
}
.text-glow {
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff !important;
}

/* Recent submissions table */
.records-section {
  margin-top: 40px;
  text-align: left;
  border-top: 1.5px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
}
.records-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.table-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  background: rgba(17, 24, 39, 0.2);
}
.records-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.records-table th,
.records-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.records-table th {
  background: rgba(17, 24, 39, 0.6);
  font-weight: 600;
  color: #9ca3af;
  white-space: nowrap;
}
.records-table td {
  color: #d1d5db;
  white-space: nowrap;
}
.records-table tr:last-child td {
  border-bottom: none;
}
.records-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Interactive list layout */
.clickable-table tbody tr {
  cursor: pointer;
  transition: all 0.2s ease;
}
.clickable-table tbody tr:hover td {
  background: rgba(99, 102, 241, 0.08) !important;
  color: #fff;
}

/* Detail Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Modal Card Container */
.modal-card {
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modal-enter 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 30px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

@keyframes modal-enter {
  0% { transform: scale(0.92) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
  z-index: 10;
}
.modal-close:hover {
  color: #fff;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.modal-subtitle {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}

/* Modal Grid Content */
.modal-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
}

.modal-group-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Left side: text fields details list */
.modal-fields-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-field-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(17, 24, 39, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}
.modal-field-item .field-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.modal-field-item .field-value {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  text-align: right;
}
.modal-field-item .field-value.text-highlight {
  color: #a855f7;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Right side: image review */
.modal-images-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-image-tabs {
  display: flex;
  gap: 8px;
  background: rgba(17, 24, 39, 0.6);
  padding: 4px;
  border-radius: 8px;
}
.image-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.image-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.image-tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* Interactive Image Canvas Area */
.image-view-area {
  position: relative;
  width: 100%;
}
.viewer-container {
  width: 100%;
  height: 250px;
  background: #090c14;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  display: none;
  cursor: crosshair; /* crosshair indicates magnifier action */
}
.viewer-container.active {
  display: block;
}

/* Transform Wrapper holds zoom and rotate styles */
.image-transform-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center center;
  transition: transform 0.15s cubic-bezier(0.1, 0.8, 0.25, 1);
}
.viewer-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none; /* Passes hover mouse events directly to parent viewer-container */
}

/* Magnifying Glass Overlay Circle */
.magnifier-lens {
  position: absolute;
  border: 3.5px solid var(--primary);
  border-radius: 50%;
  cursor: none;
  width: 160px;
  height: 160px;
  display: none;
  pointer-events: none; /* Ignores mouse events to prevent mousemove feedback loops */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), inset 0 0 12px rgba(0, 0, 0, 0.4);
  z-index: 100;
  background-repeat: no-repeat;
  background-color: #090c14;
}

.viewer-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-sm {
  padding: 8px 12px;
  font-size: 12px;
}

/* Footer styling */
.app-footer {
  text-align: center;
  color: #6b7280;
  font-size: 12px;
  margin-top: 10px;
}

/* Utilities */
.text-center { text-align: center; }
.margin-top-md { margin-top: 16px; }
.margin-top-lg { margin-top: 24px; }
.margin-top-xl { margin-top: 40px; }
.hidden { display: none !important; }

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes shine {
  0% { left: -100%; }
  10% { left: 100%; }
  100% { left: 100%; }
}
@keyframes loading-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes progress-mock {
  0% { width: 0%; }
  50% { width: 85%; }
  100% { width: 95%; }
}
@keyframes pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsiveness adjustments */
@media (max-width: 860px) {
  body {
    padding: 20px 10px;
  }
  .glass-panel {
    padding: 24px 16px;
  }
  .form-grid,
  .verification-grid,
  .modal-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step-progress-wrapper {
    padding: 0 10px;
  }
  .step-label {
    font-size: 10px;
  }
  .logo-text {
    font-size: 26px;
  }
}
