body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #1e1e2f, #2a2d4a);
    color: #fff;
}


/* Glassmorphism Container */

.container {
    max-width: 600px;
    margin: 80px auto;
    padding: 32px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}


/* Headings & Text*/

h1 {
    margin-top: 0;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
}

.muted {
    text-align: center;
    opacity: 0.75;
    margin-bottom: 28px;
}


/* Buttons */

.form-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 20px;
    background: rgba(0, 136, 255, 0.5);
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 16px;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.btn:hover {
    background: rgba(0, 136, 255, 0.7);
    transform: translateY(-2px);
}


/* Camera Preview Box */

#cameraPreview {
    width: 100%;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


/* QR Scan Result */

#qrResult {
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 15px;
    word-wrap: break-word;
}