:root {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --sidebar-width: 398px;
    --accent-color: #0dbd8b; /* Matrix Green */
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
    width: 100vw;
    transition: all 0.3s ease;
}

/* Video Bereich */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.video-container {
    flex-grow: 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

video {
  width:100%;
  height:100%;
  background:black;
}

/* Sidebar / Chat */
.sidebar {
    width: var(--sidebar-width);
    height: 100%;
    background: #262626;
    border-left: 2px solid #333;
    transition: margin-right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar.hidden {
    margin-right: calc(var(--sidebar-width) * -1);
}

.chat-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* Controls */
.toggle-chat {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
    background: var(--accent-color);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.stream-info {
    padding: 15px;
    background: #222;
}