/* General Styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #d4fc79, #96e6a1);
    color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Header Styles */
header {
    background-color: #2E7D32;
    color: white;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}
header h1 {
    margin: 0;
    font-size: 40px;
}
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin: 0 20px;
}
nav ul li a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #a0e7af;
}

/* Section Styles */
section {
    padding: 50px 20px;
    background: white;
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
section:hover {
    transform: translateY(-5px);
}

/* Scanner Card Styles */
.scanner-card {
    background-color: #e0f7fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
}

/* Camera Input Style */
#cameraInput {
    font-size: 16px;
    padding: 10px;
    margin: 20px 0;
    border-radius: 20px;
    border: 2px solid #4CAF50;
    cursor: pointer;
    transition: all 0.3s;
}
#cameraInput:hover {
    border-color: #2E7D32;
}

/* Scan Result Message */
#result {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #4CAF50;
}

/* Footer Styles */
footer {
    padding: 15px;
    background-color: #2E7D32;
    color: white;
    font-size: 14px;
}
