body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}


.res-active {
    background-image: url('pix/activen.png');
	background-repeat:no-repeat;
	background-position: center center;	
	background-size: 300px;
}

.res-issue {
    background-image: url('pix/issuen.png');
	background-repeat:no-repeat;
	background-position: center center;	
	background-size: 300px;
}

.res-lost {
    background-image: url('pix/lostn.png');
	background-repeat:no-repeat;
	background-position: center center;	
	background-size: 300px;
}

.res-brm {
    background-image: url('pix/brmn.png');
	background-repeat:no-repeat;
	background-position: center center; 
	background-size: 300px;
}

.res-intro {
    background-image: url('pix/intro.png');
	background-repeat:no-repeat;
	background-position: center center; 
	background-size: 300px;
}
.container {
    text-align: center;
    position: relative;
}

#bnum	{
	position: absolute;
	font-weight: 900;
	font-size: 14pt;
	color: white;
	top: 40px;
	left: 50%;
	transform: translateX(-130px);
}

#result-box {
    width: 100%;
	
    box-sizing: border-box;
    font-size: 1em;
    text-align: center;
    padding: 10px;
   
	min-height: 340px;
    /*background-color: #ffffff;
    display: none;
	border: 1px solid #ccc;
	 margin-bottom: 10px;
    border-radius: 5px;
	min-height: 419px;
    min-height: 40px;*/
}

#display {
    width: 100%;
    box-sizing: border-box;
    font-size: 2em;
    text-align: center;
    padding: 5px;
    margin-bottom: 10px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.qr-button {
    width: 100%;
    padding: 9px;
    font-size: 1.5em;
    border: none;
    background-color: #fff;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
    margin-bottom: 5px;
}

.qr-reader	{
	display: block;
}

.qr-button:hover {
    background-color: #e0e0e0;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.key {
    padding: 10px;
    font-size: 1.5em;
    border: none;
    background-color: #fff;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

.key:hover {
    background-color: #e0e0e0;
}

#camera-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

#camera-button img {
    width: 40px;
    height: 40px;
}
