body {
    font-family: 'Inter', sans-serif;
}
/* Custom styles for the center marker and video overlay */
#camera-container {
    position: relative;
    width: 100%;
    max-width: 640px; /* Max width for the camera view */
    margin: 0 auto; /* Center the container */
}
#webcam {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.5rem; /* Tailwind: rounded-lg */
    transform: scaleX(-1); /* Mirror mode */
}
#center-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px; /* Current size */
    height: 150px; /* Current size */
    border: 3px dashed #f87171; /* Tailwind: red-400 (default color) */
    transform: translate(-50%, -50%);
    pointer-events: none; /* Allows clicks to go through */
    border-radius: 0.25rem; /* Tailwind: rounded-sm */
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out; /* Smooth transition for color change */
}
#status-toast {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.toast-visible {
    opacity: 1;
    transform: translateY(0);
}
.toast-hidden {
    opacity: 0;
    transform: translateY(20px);
}
/* Loading spinner */
.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}