/* Smooth fade-in animation for uploaded attachments */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

/* Success animation for completed steps */
@keyframes success {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.animate-success {
  animation: success 0.4s ease-in-out;
}

/* Print styles for equipment QR code labels */

@media print {
  /* Set page size to label dimensions (3" x 2") */
  @page {
    margin: 0;
    padding: 0;
    size: 3in 2in;
  }

  /* Hide screen-only content when printing */
  nav,
  aside,
  header,
  .sidebar,
  .no-print {
    display: none !important;
  }

  /* Global print resets */
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
  }

  /* Remove shadows in print */
  * {
    box-shadow: none !important;
  }

  /* Equipment QR label print styles - Medium label (3" x 2") */
  .print-label {
    width: 3in;
    height: 2in;
    margin: 0 auto;
    padding: 0.1in 0.05in;
    text-align: center;
    page-break-inside: avoid;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow: hidden;
  }

  .print-label-qr {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0.85in;
    height: 0.85in;
    flex-shrink: 0;
  }

  .print-label-qr svg {
    width: 100% !important;
    height: 100% !important;
  }

  .print-label-content {
    width: 1.2in;
    text-align: left;
    padding-top: 0.05in;
    flex-shrink: 0;
  }

  .print-label-name {
    font-size: 6pt;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.02in;
    line-height: 1.2;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .print-label-details {
    margin: 0;
    text-align: left;
  }

  .print-label-detail {
    display: block;
    font-size: 5pt;
    padding: 0;
    line-height: 1.4;
  }

  .print-label-detail-label {
    color: #6b7280;
    font-weight: 500;
  }

  .print-label-detail-label::after {
    content: ": ";
  }

  .print-label-detail-value {
    color: #111827;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Hide print-only content on screen */
.print-label {
  display: none;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
