body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

h1 {
    color: #007bff;
    margin-bottom: 20px;
}

#qr-reader {
    width: 100%;
    margin: 20px auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

#message-area {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    min-height: 50px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#qr-reader-results {
    font-size: 1.2em;
    margin-top: 10px;
    color: #555;
}