/* line 8, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

/* line 21, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

/* line 31, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__content {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 40px 48px;
  max-width: 720px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.4s ease-out;
}

/* line 48, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__header {
  text-align: center;
  margin-bottom: 32px;
}

/* line 53, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__logo {
  margin-bottom: 20px;
}

/* line 57, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__logo-image {
  height: 56px;
}

/* line 61, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__title {
  font-size: 28px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

/* line 69, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__subtitle {
  font-size: 15px;
  color: #64748b;
  line-height: 1.5;
  max-width: 400px;
  margin: 0 auto;
}

/* line 81, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__progress-section {
  margin-bottom: 24px;
}

/* line 85, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__progress-bar-container {
  margin-bottom: 28px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 12px;
}

/* line 92, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

/* line 99, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__progress-text {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* line 107, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__progress-percentage {
  font-size: 16px;
  font-weight: 700;
  color: #10b981;
}

/* line 113, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

/* line 121, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  transition: width 0.5s ease-out;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

/* line 129, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

/* line 145, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__progress-fill.progress-updating {
  animation: pulseProgress 0.3s ease-out;
}

/* line 154, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__documents {
  margin-bottom: 24px;
}

/* line 158, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__documents-title {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* line 168, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__documents-count {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 10px;
}

/* line 176, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__documents-count .count-updated {
  animation: pulseScale 0.3s ease-out;
}

/* line 181, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__documents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* line 191, app/assets/stylesheets/onboarding_welcome.scss */
.document-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
  position: relative;
  min-height: 80px;
  overflow: hidden;
}

/* line 204, app/assets/stylesheets/onboarding_welcome.scss */
.document-card--pending {
  border-color: #e2e8f0;
  background: #fafafa;
}

/* line 208, app/assets/stylesheets/onboarding_welcome.scss */
.document-card--pending .document-card__status-icon {
  background: #f1f5f9;
  color: #94a3b8;
}

/* line 214, app/assets/stylesheets/onboarding_welcome.scss */
.document-card--analyzing {
  border-color: #a5b4fc;
  background: #fafafe;
}

/* line 218, app/assets/stylesheets/onboarding_welcome.scss */
.document-card--analyzing .document-card__status-icon {
  background: #eef2ff;
  color: #6366f1;
}

/* line 224, app/assets/stylesheets/onboarding_welcome.scss */
.document-card--success {
  border-color: #86efac;
  background: #f0fdf4;
}

/* line 228, app/assets/stylesheets/onboarding_welcome.scss */
.document-card--success .document-card__status-icon {
  background: #dcfce7;
  color: #16a34a;
}

/* line 234, app/assets/stylesheets/onboarding_welcome.scss */
.document-card--failed {
  border-color: #fca5a5;
  background: #fef2f2;
}

/* line 238, app/assets/stylesheets/onboarding_welcome.scss */
.document-card--failed .document-card__status-icon {
  background: #fee2e2;
  color: #dc2626;
}

/* line 245, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* line 251, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__status-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

/* line 258, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__status-label {
  font-size: 11px;
  color: #64748b;
}

/* line 263, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__add-context {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 500;
  color: #6366f1;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

/* line 276, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__add-context:hover {
  color: #4f46e5;
}

/* line 279, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__add-context:hover .document-card__add-context-icon {
  background: #c7d2fe;
}

/* line 285, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__add-context-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  font-size: 11px;
  font-weight: 700;
  background: #eef2ff;
  border-radius: 3px;
  transition: background 0.2s ease;
}

/* line 298, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__add-context-text {
  font-size: 10px;
}

/* line 302, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__icon {
  flex-shrink: 0;
}

/* line 306, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  flex-shrink: 0;
}

/* line 317, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__status-icon.spin {
  animation: spin 1s linear infinite;
}

/* line 322, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__content {
  width: 100%;
  overflow: hidden;
}

/* line 327, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__title {
  font-size: 10px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

/* line 340, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__status {
  font-size: 9px;
  color: #64748b;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
}

/* line 352, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__add-context-btn {
  background: none;
  border: 1px solid #d1d5db;
  color: #6366f1;
  font-size: 9px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

/* line 364, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__add-context-btn:hover {
  background: #eef2ff;
  border-color: #a5b4fc;
}

/* line 370, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__context {
  font-size: 9px;
  color: #475569;
  margin: 2px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* line 380, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__loader {
  position: absolute;
  right: 8px;
  top: 8px;
}

/* line 386, app/assets/stylesheets/onboarding_welcome.scss */
.document-card__spinner {
  width: 12px;
  height: 12px;
  border: 2px solid #e2e8f0;
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* line 399, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__case-analysis {
  margin-bottom: 20px;
}

/* line 403, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

/* line 413, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status--pending {
  border-color: #e2e8f0;
  background: #f8fafc;
}

/* line 418, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status--analyzing {
  border-color: #c7d2fe;
  background: linear-gradient(135deg, #fafafe 0%, #eef2ff 100%);
}

/* line 423, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status--success {
  border-color: #86efac;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* line 428, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status--warning {
  border-color: #fcd34d;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

/* line 433, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status--failed {
  border-color: #fca5a5;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

/* line 439, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* line 452, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__content {
  flex: 1;
}

/* line 456, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

/* line 463, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__message {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* line 470, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__loader {
  flex-shrink: 0;
}

/* line 474, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__button {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 20px;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

/* line 488, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__button:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* line 494, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__button:active {
  transform: translateY(0);
}

/* line 499, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__skip {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  text-align: left;
}

/* line 506, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__skip-link {
  background: none;
  border: none;
  color: #6366f1;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

/* line 517, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__skip-link:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* line 523, app/assets/stylesheets/onboarding_welcome.scss */
.case-analysis-status__skip-note {
  margin-top: 2px;
  font-size: 11px;
  color: #94a3b8;
}

/* line 533, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

/* line 541, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__tip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}

/* line 551, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__tip-icon {
  width: 18px;
  height: 18px;
  color: #6366f1;
  flex-shrink: 0;
}

/* line 558, app/assets/stylesheets/onboarding_welcome.scss */
.welcome-overlay__tip-text {
  font-size: 13px;
  color: #475569;
  margin: 0;
  line-height: 1.4;
}

/* line 569, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-highlight {
  position: absolute;
  border: 3px solid #4f46e5;
  border-radius: 8px;
  pointer-events: none;
  z-index: 9998;
  animation: tutorialPulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 99999px rgba(0, 0, 0, 0.5);
}

/* line 578, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-highlight--fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

/* line 583, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  animation: tooltipFadeIn 0.3s ease-out;
}

/* line 593, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip--fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

/* line 598, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip__content {
  position: relative;
}

/* line 602, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 8px;
}

/* line 609, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip__message {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* line 616, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* line 623, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip__skip {
  background: transparent;
  border: none;
  color: #718096;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

/* line 633, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip__skip:hover {
  background: #f7fafc;
  color: #4b5563;
}

/* line 639, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip__navigation {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 645, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip__progress {
  font-size: 12px;
  color: #718096;
  font-weight: 500;
}

/* line 651, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip__next,
.tutorial-tooltip__finish {
  background: #4f46e5;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* line 663, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip__next:hover,
.tutorial-tooltip__finish:hover {
  background: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* line 670, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip__arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
}

/* line 678, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip--top .tutorial-tooltip__arrow {
  bottom: -6px;
  left: 50%;
  margin-left: -6px;
}

/* line 684, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip--bottom .tutorial-tooltip__arrow {
  top: -6px;
  left: 50%;
  margin-left: -6px;
}

/* line 690, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip--left .tutorial-tooltip__arrow {
  right: -6px;
  top: 50%;
  margin-top: -6px;
}

/* line 696, app/assets/stylesheets/onboarding_welcome.scss */
.tutorial-tooltip--right .tutorial-tooltip__arrow {
  left: -6px;
  top: 50%;
  margin-top: -6px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

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

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

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

@keyframes pulseProgress {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

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

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes successPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes tutorialPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

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

/* line 823, app/assets/stylesheets/onboarding_welcome.scss */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #e2e8f0;
  border-top-color: #4f46e5;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* line 831, app/assets/stylesheets/onboarding_welcome.scss */
.spinner--small {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

@media (max-width: 768px) {
  /* line 843, app/assets/stylesheets/onboarding_welcome.scss */
  .welcome-overlay__content {
    padding: 28px 20px;
    max-height: 95vh;
    border-radius: 16px;
  }
  /* line 849, app/assets/stylesheets/onboarding_welcome.scss */
  .welcome-overlay__title {
    font-size: 22px;
  }
  /* line 853, app/assets/stylesheets/onboarding_welcome.scss */
  .welcome-overlay__subtitle {
    font-size: 13px;
  }
  /* line 857, app/assets/stylesheets/onboarding_welcome.scss */
  .welcome-overlay__documents-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  /* line 862, app/assets/stylesheets/onboarding_welcome.scss */
  .welcome-overlay__progress-bar-container {
    padding: 12px 16px;
  }
  /* line 866, app/assets/stylesheets/onboarding_welcome.scss */
  .document-card {
    padding: 10px;
  }
  /* line 870, app/assets/stylesheets/onboarding_welcome.scss */
  .document-card__title {
    font-size: 11px;
  }
  /* line 874, app/assets/stylesheets/onboarding_welcome.scss */
  .case-analysis-status {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  /* line 881, app/assets/stylesheets/onboarding_welcome.scss */
  .case-analysis-status__icon {
    margin: 0 auto 8px;
  }
  /* line 885, app/assets/stylesheets/onboarding_welcome.scss */
  .tutorial-tooltip {
    max-width: calc(100vw - 40px);
    padding: 20px;
  }
}

@media (max-width: 480px) {
  /* line 892, app/assets/stylesheets/onboarding_welcome.scss */
  .welcome-overlay__documents-grid {
    grid-template-columns: 1fr;
  }
}
