/* style.css */
body {
    background-color: #0f172a;
    color: #f8fafc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.camera-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

#webcam, #overlayCanvas {
    width: 100%;
    height: auto;
    display: block;
}

#overlayCanvas {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: auto; /* Permite arrastrar/ajustar puntos manualmente */
    cursor: crosshair;
}

.finger-selector .btn {
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.finger-selector .btn.active {
    background-color: #ec4899;
    color: #fff;
    border-color: #ec4899;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.5);
}

.design-card {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #1e293b;
}

.design-card:hover {
    transform: translateY(-3px);
    border-color: #ec4899;
}

.design-card img {
    height: 80px;
    object-fit: contain;
}

.hud-status {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #38bdf8;
    border: 1px solid rgba(255,255,255,0.1);
}