:root {
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
}

.header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.header h1 {
    margin: 0;
    color: #333;
    padding: 0;
}

.qr-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    border-radius: 16px;
}

.qr-container h1 {
    color: #333;
}

.qr-container p {
    margin-bottom: 64px;
}

#qr-code {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding-bottom: 32px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#qr-code img {
    width: 400px;
    height: 400px;
}

#status {
    padding: 8px 16px;
    border-radius: 8px;
}

.status-completed {
    background-color: rgb(45, 180, 45);
    color: white;
}

.status-failed {
    background-color: rgb(249, 33, 33);
    color: white;
}

.status-pending {
    background-color: orange;
}

.status-in-progress {
    background-color: rgb(52, 123, 255);
    color: white;
}

.note {
    margin-top: 16px;
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.5rem;
}

.evidence-dialog {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -500%;
    opacity: 0;
    pointer-events: none;
}

.evidence-dialog.open {
    transition: all 0.3s ease-in-out;
    top: 0;
    opacity: 1;
    pointer-events: auto;
}

.evidence-content {
    width: 80%;
    max-width: 600px;
    background-color: white;
    border-radius: 16px;
    color: black;
    display: flex;
    flex-direction: column;
    padding: 16px;
    padding-bottom: 32px;
    align-items: center;
    justify-content: center;
}

.evidence-content tr {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.evidence-content table {
    width: 70%;
}

.close-dialog {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.816);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.badges {
    display: flex;
    gap: 8px;
}

.badge {
    padding: 8px 16px;
    border-radius: 16px;
    background-color: #eee;
    font-size: 14px;
    cursor: pointer;
    border: #ddd solid 1px;
    color: #333;
    text-decoration: none;
}

.badge.selected {
    background-color: #333;
    color: white;
    border: none;
}

.failure-note p {
    text-align: center;
}