﻿.camera-actions {
    width: 100%;
    margin-bottom: 1rem;
    text-align: left;
    display: block;
}

.camera-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 0.5rem;
}

.camera-column {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.camera-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
}

.camera-box {
    width: 100%;
    max-height: 360px;
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

    .camera-box video,
    .camera-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.preview-placeholder {
    color: #777;
    font-size: 0.95rem;
    padding: 0.5rem;
}

.preview-box {
    width: 100%;
    max-height: 360px;
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
    .camera-container {
        flex-direction: column;
        gap: 0.75rem;
        max-width: 520px;
    }

    .camera-box {
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .camera-column {
        width: 100%;
    }

    .camera-label {
        margin-bottom: 0.35rem;
    }
}
