body {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Poppins;
    font-size: 18px;
}

.formBody {
    width: 60%;
    display: flex;
    flex-direction: column;
    row-gap: 35px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 25px;
}

.container {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    padding: 0;
}

form {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

img {
    width: 500px;
    margin-bottom: 35px;
}

.inputLabel {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

label {
    font-weight: 600;
}

input {
    font-size: 15px;
    background-color: rgba(26, 117, 188, 0.08);
    border: none;
    border-radius: 5px;
    padding: 10px;
    color: #5e6278;
}

button {
    background-color: #1a75bc;
    color: white;
    padding: 5px;
    border: none;
    border-radius: 8px;
}

button:hover {
    background-color: #105386;
} 

.btn-ghost {
    color: red;
}

#camera-section {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    animation: slideDown 0.3s ease;
}

#camera-section.visible { display: flex; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.camera-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.camera-frame::before, .camera-frame::after,
.corner-br, .corner-bl {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 10;
}

.camera-frame::before { top: 8px; left: 8px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.camera-frame::after  { top: 8px; right: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.corner-br { bottom: 8px; right: 8px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.corner-bl { bottom: 8px; left: 8px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }

#video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#captured-img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

canvas { display: none; }