/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    background: #223985;
    color: #ffffff;
    text-align: center;
}

/* Logo Section */
.logo-section {
    width: 100%;
    text-align: center; /* Center the logo */
    margin: 20px 0; /* Add spacing from the top */
}

.logo-section img {
    max-width: 300px; /* Adjust maximum width for responsiveness */
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Container Styles */
.container {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95); /* Semi-transparent white */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Soft shadow */
    color: #333333;
    margin-top: 10px; /* Space below the logo */
}

/* Section Styles */
.section {
    margin-bottom: 30px;
}

/* Section Headings */
.section h2 {
    color: #174ca2; /* Dark blue for headings */
    font-weight: 700;
    margin-bottom: 10px;
}

/* Input File Field */
.section input[type="file"] {
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #b2b2b2;
    border-radius: 5px;
    background: #ffffff;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
}

/* Buttons */
button {
    padding: 12px 20px;
    margin-top: 15px;
    border: none;
    border-radius: 25px; /* Fully rounded corners */
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(90deg, #4f9cdb, #d74177); /* Gradient background */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Subtle text shadow */
}

/* Hover Effect for Buttons */
button:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* Add shadow on hover */
}

/* Active State */
button:active {
    transform: scale(0.98); /* Slight press-in effect */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Reduce shadow */
}

/* QR Reader Styles */
#my-qr-reader {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Light shadow */
}

#my-qr-reader img[alt="Info icon"] {
    display: none;
}

#my-qr-reader img[alt="Camera based scan"] {
    width: 80px !important;
    height: 80px !important;
}

/* Result Section */
#result {
    text-align: left;
    margin-top: 20px;
    padding: 20px;
    background: rgba(245, 247, 250, 0.95); /* Light grey background */
    border: 1px solid #d1e7ff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

#result td {
    padding: 10px;
    font-size: 14px;
    color: #333333; /* Row text color */
}

#result td:first-child {
    font-weight: 700;
    color: #174ca2; /* Blue for labels */
}

/* Hide Select Camera Dropdown */
#html5-qrcode-camera-selection {
    display: none !important;
}

/* Title Changes */
#resultTitle {
    font-size: 20px;
    font-weight: 700;
    color: #174ca2;
    margin-bottom: 15px;
}