/* public/assets/css/style.css */

:root {
    --primary-color: #0d6efd;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Card customizations */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Camera preview wrapper */
.camera-wrapper {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
}

.camera-preview {
    width: 100%;
    height: auto;
    display: block;
    transform: scaleX(-1); /* Mirror effect for front camera */
}

/* Canvas overlay for face bounding box */
.face-canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to video if needed */
    z-index: 10;
}

/* Loading overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

/* Utilities */
.cursor-pointer {
    cursor: pointer;
}
