.main-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 95%;
    max-width: 1200px;
    height: 80%;
}

.video-preview {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.control-panel {
    background: #f8f9fa;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.control-panel h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #343a40;
}

.control-panel button {
    margin-bottom: 15px;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
}

.btn-live-action {
    background-color: #dc3545;
    color: white;
}

.btn-live-action:hover {
    background-color: #c82333;
}

.btn-muted,
.btn-record-start,
.btn-record-stop {
    background-color: #6c757d;
    color: white;
}

.btn-muted:hover,
.btn-record-start:hover,
.btn-record-stop:hover {
    background-color: #5a6268;
}

.btn-back {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .control-panel {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .control-panel button {
        flex: 1 1 calc(50% - 10px);
        margin: 5px;
    }
}

@media (max-width: 576px) {
    .control-panel button {
        flex: 1 1 100%;
        margin: 5px 0;
    }
}