/* Stream and dashboard */
#stream {
    padding: 40px 25px;
    background-color: var(--background-color);
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#stream .stream-container {
    width: 70%;
    position: relative;
}

#stream video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.stream-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--pixel-font);
    font-size: 14px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.online {
    background-color: #00ff00;
    box-shadow: 0 0 6px #00ff00;
}

.status-indicator.offline {
    background-color: #ff0000;
    box-shadow: 0 0 6px #ff0000;
}

.stream-status span {
    color: white;
    font-weight: 500;
}

#stream .stream-info {
    width: 30%;
}

#stream .stream-container {
    margin-bottom: 40px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
#stream .stream-container img {
    max-width: 800px;
}

#stream .stream-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

#stream .dashboard-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#stream .dashboard-item .label,
#stream .dashboard-item .value {
    font-family: var(--pixel-font);
    font-size: var(--body-size);
    color: var(--text-color);
    position: relative;
    line-height: 1.4;
}

#stream .dashboard-item .label {
    font-weight: 600;
    color: var(--text-color); /* Slightly grey color for labels */
}

#stream .dashboard-item .value {
    margin-left: 20px;
    font-weight: 400;
    color: var(--grey-text-color);
}

#stream .dashboard-item .ca-container .value {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
#stream .ca-container .value {
    color: var(--cta-text-color);
    display: flex;
    gap: 5px;
}
#copy-ca {
    background: transparent;
    border: none;
    color: var(--cta-text-color);
    font-family: var(--pixel-font);
    font-size: var(--body-size);
    cursor: pointer;
}
