/* OmniConvert World-Class UI Styles */

/* Active tab styling */
.tab-btn.active {
  background-color: #ffffff;
  color: #0369a1;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Drag & Drop zone */
.dropzone.dragover {
  border-color: #0284c7 !important;
  background-color: #f0f9ff !important;
  transform: scale(1.01);
}

.dropzone, .tab-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toast Notifications */
.toast {
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.2s ease;
}

.toast.toast-out {
  animation: toastOut 0.25s ease forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Dedicated Print Styles for Passport Photo Sheet */
@media print {
  body * {
    visibility: hidden;
  }
  #result-preview-container, #result-preview-container * {
    visibility: visible;
  }
  #result-preview-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  #result-preview-img {
    max-height: none !important;
    max-width: 100% !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
  }
}
