/* DIMS Dashboard Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #111;
    color: white;
    font-family: Arial, sans-serif;
    padding: 20px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: white;
    margin-bottom: 10px;
}

.header h3 {
    color: #5787A3;
    margin-bottom: 5px;
    font-weight: normal;
}

.header .contacts {
    color: #9787A3;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

select, input {
    background-color: #222;
    color: white;
    border: 1px solid #555;
    padding: 8px 12px;
    border-radius: 4px;
}

select {
    min-width: 150px;
}

.main-content {
    display: flex;
    gap: 20px;
    width: 100%;
}

.chart-section {
    flex: 1;
    min-width: 0;
}

.time-slider {
    margin-bottom: 20px;
    padding: 0 20px;
}

.video-section {
    width: 400px;
    position: sticky;
    top: 10px;
    height: fit-content;
    max-height: 100vh;
    overflow-y: auto;
}

.video-container {
    background-color: #222;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.video-player-container h3 {
    margin-bottom: 10px;
    text-align: center;
}

.video-player-container video {
    width: 100%;
    border-radius: 4px;
}

.transcript-container {
    background-color: #222;
    border-radius: 8px;
    padding: 15px;
}

.transcript-content {
    background-color: #111;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.4;
}

.loading {
    text-align: center;
    color: #888;
    padding: 20px;
}

.status {
    text-align: center;
    margin-bottom: 20px;
    color: #888;
}

.status.error {
    color: #ff6b6b;
}

.slider-container {
    position: relative;
    height: 40px;
    margin: 20px 0;
}

@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
    }
    
    .video-section {
        width: 100%;
        position: relative;
    }
}