body {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
}

.navbar {
    margin-bottom: 20px;
}

.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}

#webcam-frame {
    border: 2px solid #000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    height: auto;
}

#webcam {
    width: 100%;
    height: 100%;
}

#timer {
    font-weight: bold;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 18px;
}

#progress-bar {
    height: 5px;
    background: #28a745;
    transition: width 0.1s linear;
}

#status {
    font-size: 18px;
    margin-top: 20px;
}

#loading-spinner {
    z-index: 1000;
}

#restart {
    display: none;  /* Hide the Restart Scanning button by default */
}

/* Banner styling */
.banner {
    width: 100%;
    text-align: center; /* Center the banner */
    background-color: #000; /* Optional: Add a background color */
    padding: 10px 0; /* Add some padding */
}

.banner img {
    max-width: 100%; /* Ensure the image is responsive */
    height: auto; /* Maintain aspect ratio */
}

.container {
    margin-bottom: 60px; /* Add space below the content to avoid overlap with the footer */
}

.footer {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    color: #555;
    height: 50px; /* Define the height of the footer */
}

.welcome-message {
        font-size: 28px;
        font-weight: bold;
        color: #e0f807;
        text-align: center;
}