.camera-test-component {
    padding: 1%;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
    overflow: hidden;
}
.camera-controls {
    margin-bottom: 1%;
    display: flex;
    gap: 1%;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
    justify-content: center;
}
.camera-grid {
    flex: 1;
    display: grid;
    gap: 1%;
    width: 100%;
    overflow: hidden;
    align-content: start;
}
.camera-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: auto;
}
.camera-video {
    width: 100%;
    height: auto;
    display: block;
}
.camera-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 4px;
    font-size: 0.7em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.camera-error {
    color: #dc3545;
    font-size: 0.8em;
    text-align: center;
    padding: 10px;
}
.camera-loading {
    color: #6c757d;
    font-size: 0.8em;
    text-align: center;
    padding: 10px;
}
.camera-fullscreen-btn {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.camera-fullscreen-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.9);
}
.camera-fullscreen-btn svg {
    width: 16px;
    height: 16px;
}