.webcam-container {
    position: relative;
    width: 640px;
    height: 480px;
    margin: 0 auto;
}

#webcam {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 24px;
    display: none;
}

.controls {
    margin-top: 20px;
    text-align: center;
}

.result-container {
    margin-top: 20px;
    padding: 20px;
    border-radius: 5px;
    display: none;
}

.action-buttons {
    margin-top: 15px;
    display: none;
}

.settings-container {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.api-status {
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.api-status.connected {
    color: #198754;
}

.api-status.error {
    color: #dc3545;
}

.confidence-indicator {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 8px;
}

.confidence-high {
    background-color: #d1e7dd;
    color: #0f5132;
}

.confidence-medium {
    background-color: #fff3cd;
    color: #664d03;
}

.confidence-low {
    background-color: #f8d7da;
    color: #842029;
} 