/* assets/css/style.css */

/* Custom Animations like Framer Motion */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

/* Staggered animation classes */
.stagger-1 { animation-delay: 50ms; }
.stagger-2 { animation-delay: 100ms; }
.stagger-3 { animation-delay: 150ms; }
.stagger-4 { animation-delay: 200ms; }
.stagger-5 { animation-delay: 250ms; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Card Styles */
.card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media print {
    @page {
        margin: 0;
    }
    body * {
        visibility: hidden;
    }
    #print-label-area, #print-label-area * {
        visibility: visible;
    }
    #print-label-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100mm;
        padding: 5mm;
        background: white;
        font-family: 'Inter', sans-serif;
        color: black;
    }
    html, body {
        height: 100vh;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }
}

.label-container {
    width: 100%;
    max-width: 90mm;
    margin: 0 auto;
    border: 1px solid #000;
    padding: 4mm;
    display: flex;
    flex-direction: column;
    gap: 2mm;
    box-sizing: border-box;
    page-break-inside: avoid;
}

.label-box {
    border: 2px solid black;
    border-radius: 8px;
    padding: 4px 8px;
    text-align: center;
    font-weight: bold;
}

.label-section {
    border: 1.5px solid black;
    border-radius: 8px;
    padding: 4px 8px;
}

.label-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.label-header {
    text-align: center;
    margin-bottom: 2mm;
}

.label-qr {
    display: flex;
    justify-content: center;
    margin: 2mm 0;
}

.label-tracking {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 2mm;
}

.label-title {
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #444;
}

.label-value {
    font-size: 0.9rem;
    font-weight: 700;
}
