.card {
    max-width: 420px;
    margin: 40px auto;
    background: rgba(10,20,50,0.85);
    border-radius: 18px;
    padding: 24px 22px 26px 22px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.12);
}

.card h2 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1.4rem;
}

.card .sub {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: rgba(220,230,255,0.8);
}

label {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 4px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    height: 44px;
    padding: 0 11px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(3,10,30,0.9);
    color: #f5f7ff;
    margin-bottom: 12px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #5fb3ff;
    box-shadow: 0 0 0 1px rgba(95,179,255,0.6);
}

.btn {
    width: 100%;
    padding: 11px 0;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #1e90ff, #0a66c2);
    color: white;
    font-size: 0.98rem;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.45);
}

.btn:hover {
    filter: brightness(1.05);
}

#uploadStatus {
    margin-top: 10px;
    text-align: center;
    font-size: 1.4rem;
    color: #4dff4d;
    display: none;
}

/* CAMERA SHEET */
#cameraSheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80vh;
    background: rgba(10,20,40,0.95);
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding: 20px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

#cameraSheet.open {
    transform: translateY(0);
}

/* TOP BUTTONS */
.top-btn {
    position: absolute;
    top: 16px;
    font-size: 1.8rem;
    color: white;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

#closeBtn { left: 20px; }
#flipBtn { right: 20px; }

/* CIRCLE CAMERA PREVIEW */
#cameraContainer {
    width: 260px;
    height: 260px;
    margin: 70px auto 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.8);
    background: black;
}

#cameraPreview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CAPTURE BUTTON */
.capture-btn {
    width: 100%;
    padding: 14px 0;
    margin-top: 30px;
    border-radius: 12px;
    border: none;
    background: #1e90ff;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
}
