:root {
    --primary-green: #A6ED39;
    --primary-blue: #1EC5E5;
    --accent-orange: #FF8C42;
    --charcoal: #2C2C2C;
    --soft-white: #F9F9F9;
    --light-grey: #E6E6E6;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: var(--charcoal);
    color: var(--soft-white);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

h1, h2, h3, .name-tag {
    font-family: 'Montserrat', sans-serif;
}

.teams-container {
    width: 95vw;
    max-width: 1600px;
    height: 95vh;
    background-color: #1f1f1f;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.teams-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #141414;
    border-bottom: 1px solid #333;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 40px;
    height: 40px;
}

.brand h1 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--primary-green);
}

.status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary-green);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--primary-green);
}

.video-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #000;
    min-width: 0;
    min-height: 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #333;
}

#exec-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.name-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
}



.main-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.controls-area {
    padding: 1.5rem;
    background-color: #141414;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.controls-right {
    display: flex;
    justify-content: flex-end;
}

.transcript-btn {
    background-color: var(--charcoal);
    color: var(--soft-white);
    border: 1px solid #555;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.2s;
}

.transcript-btn:hover {
    background-color: #444;
}

.transcript-panel {
    width: 350px;
    background-color: #1a1a1a;
    border-left: 1px solid #333;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.transcript-panel.hidden {
    display: none;
}

.transcript-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #333;
}

.transcript-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-green);
}

.icon-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
}

.icon-btn:hover {
    color: white;
}

.transcript-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message.user {
    background-color: #2c2c2c;
    align-self: flex-end;
    color: #fff;
    border-bottom-right-radius: 2px;
}

.message.system {
    background-color: rgba(30, 197, 229, 0.1);
    border-left: 3px solid var(--primary-blue);
    align-self: flex-start;
    color: #ddd;
    border-bottom-left-radius: 2px;
}

.mic-button {
    background-color: #333;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.mic-button:hover {
    background-color: #444;
}

.mic-button:active, .mic-button.recording {
    background-color: var(--accent-orange);
    transform: scale(0.98);
}

.mic-icon {
    font-size: 1.5rem;
}
