body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 400px;
    width: 100%;
}

h1 { font-size: 1.5rem; margin-bottom: 5px; text-align: center; }
p { color: #94a3b8; font-size: 0.9rem; margin-bottom: 20px; text-align: center; }

.upload-section {
    margin-bottom: 15px;
    text-align: center;
}

.viewfinder {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

video#inputVideo {
    width: 100%;
    height: auto;
    display: block;
}

canvas#outputCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair; /* Muda o cursor para mira quando estiver no canvas */
}

.results-card {
    margin-top: 20px;
    background: #1e293b;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
}

.metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.95rem;
}