/* Scanner PWA App Styles */

#agt-scanner-app {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #3c434a;
}

#agt-scanner-app * {
    box-sizing: border-box;
}

#agt-login-view h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #1d2327;
}

#agt-login-btn {
    transition: background 0.2s ease;
}

#agt-login-btn:hover {
    background: #135e96;
}

/* Scanner View */
.agt-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

#agt-reader-container {
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    border: 2px solid #2271b1;
}

#agt-camera-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#agt-camera-placeholder p {
    color: #f0f0f1;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.agt-result-box {
    margin-top: 15px;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agt-result-box small {
    display: block;
    margin-top: 5px;
    font-weight: normal;
    font-size: 0.9em;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Network Status */
#agt-network-badge {
    font-weight: 600;
}

#agt-queue-count {
    color: #d63638;
    font-weight: 600;
}
