﻿#html5Reader video {
    display: block;
    height: 300px !important;
    object-fit: cover;
}

#closeCamera {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-frame {
    position: absolute;
    width: 90%;
    height: 45%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
    color: #adb5bd;
    transition: color 0.2s ease;
}

.scan-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: currentColor;
    border-style: solid;
    border-width: 0;
}

.scan-corner-top-left {
    top: 0;
    left: 0;
    border-top-width: 4px;
    border-left-width: 4px;
}

.scan-corner-top-right {
    top: 0;
    right: 0;
    border-top-width: 4px;
    border-right-width: 4px;
}

.scan-corner-bottom-left {
    bottom: 0;
    left: 0;
    border-bottom-width: 4px;
    border-left-width: 4px;
}

.scan-corner-bottom-right {
    bottom: 0;
    right: 0;
    border-bottom-width: 4px;
    border-right-width: 4px;
}

.scan-frame.scan-success {
    color: #28a745;
}

.scan-frame.scan-error {
    color: #dc3545;
}

.pwa-install-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 320px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    z-index: 1050;
}

    .pwa-install-popup[hidden] {
        display: none;
    }

.pwa-install-close {
    position: absolute;
    top: 12px;
    right: 12px;
}

.pwa-install-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 10px;
}

.pwa-install-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pwa-install-instructions {
    font-size: 13px;
    line-height: 1.4;
}
