body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdf1e0;
    color: #333;
}

nav {
    background-color: #ff7f50;
    padding: 10px;
    position: fixed;
    z-index: 999;
    top: 0px;
    width: 100%;
    opacity: 0.9;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: #ff4500;
}

section {
    margin-top: 20px;
    padding: 20px;
    text-align: center;
}

h1 {
    color: #ff4500;
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

h2 {
    color: #ff7f50;
    font-size: 18px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #ff4500;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.item {
    margin-bottom: 20px;
    margin-right: 20px;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f5f5f5;
    color: #333;
    text-align: right;
}

input:focus {
     border-color: #ff7f50;
     outline: none;
}

button, input[type=file] {
    width: 90%;
    padding: 12px;
    background-color: #ff7f50;
    color: white;
    font-size: 18px;
    border: none;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #ff4500;
}
video {
    width: 100%!important

}
.qr-scan {
    position: fixed;
    bottom: 40px;
    right: 10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    z-index: 999;
    opacity: 0.7;
}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 70%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    opacity: 1;
    z-index: 998;
    display: none;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
}
table, th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
th {
    background-color: #ff7f50;
    color: white;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
tr:hover {
    background-color: #f1f1f1;
}

.checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #4CAF50;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: popUp 0.5s ease-in-out forwards;
}

.checkmark::before {
    content: "";
    display: block;
    width: 20px;
    height: 40px;
    border: solid white;
    border-width: 0 6px 6px 0;
    transform: rotate(45deg);
    animation: checkmarkAnimation 0.5s ease forwards;
}

@keyframes popUp {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes checkmarkAnimation {
    0% { height: 0; width: 0; }
    50% { height: 40px; width: 0; }
    100% { height: 40px; width: 20px; }
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #ff4500;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: popUp 0.5s ease-in-out forwards;
}

.error-icon::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background-color: white;
    position: absolute;
    transform: rotate(45deg);
}

.error-icon::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background-color: white;
    position: absolute;
    transform: rotate(-45deg);
}

canvas {
    max-width: 300px;
    max-height: 300px;
    width: 100%;
    height: 100%;
}

