/* app.css - Organized & Minified */
body {
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent
}

.no-scrollbar::-webkit-scrollbar {
    display: none
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none
}

/* View Transitions */
.view-section {
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .4s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: #F8F9FA;
    opacity: 0;
    transform: translateY(20px) scale(.98);
    pointer-events: none;
    z-index: 0
}

.view-section.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    z-index: 10
}

/* Animations */
.card-enter {
    animation: cardEnter .4s ease-out forwards
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.slide-up-modal {
    animation: slideUpModal .3s cubic-bezier(.16, 1, .3, 1) forwards
}

@keyframes slideUpModal {
    from {
        transform: translateY(100%)
    }

    to {
        transform: translateY(0)
    }
}

.deleted-item {
    animation: collapseItem .4s cubic-bezier(.4, 0, .2, 1) forwards
}

@keyframes collapseItem {
    0% {
        opacity: 1;
        transform: scale(1);
        height: auto;
        margin-bottom: 12px
    }

    100% {
        opacity: 0;
        transform: scale(.9);
        height: 0;
        margin-bottom: 0;
        padding: 0;
        border: none
    }
}

.scanning-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: scan 1.5s linear infinite;
    z-index: 10
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0
    }

    10%,
    90% {
        opacity: 1
    }

    100% {
        top: 100%;
        opacity: 0
    }
}

/* Utils */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom)
}