/* --- Global Styles --- */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Segoe UI', sans-serif; 
}

body { 
    background-color: #000; 
    color: white; 
    height: 100vh; 
    overflow: hidden; 
    width: 100vw; 
}

.dashboard-container {
    display: grid;
    grid-template-rows: 90px 1fr 110px; 
    height: 100vh;
}

/* --- Top Title Bar --- */
.title-bar {
    background: linear-gradient(90deg, #0a0a0a, #1a1a1a);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    border-bottom: 3px solid #3498db;
    z-index: 10;
}

/* --- Main Layout --- */
.main-content {
    display: grid;
    grid-template-columns: 350px 1fr; 
    height: 100%;
    overflow: hidden;
}

/* --- News Section (Sidebar) --- */
.sidebar-left {
    background: #0a0a0a;
    border-right: 1px solid #333;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden; 
}

.news-box {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.scroll-window {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#news-feed {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.news-item {
    padding: 25px 20px;
    border-bottom: 1px solid #222;
    background: #0a0a0a;
}

.news-source {
    color: #3498db;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-title {
    font-size: 1.15rem;
    color: #eee;
    line-height: 1.5;
}

/* --- Video Section --- */
.slideshow-container {
    background: #000;
    position: relative;
    overflow: hidden;
    height: 100%;
}

#main-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills area without black bars */
}

/* --- Weather Bar (Bottom) --- */
.weather-bar {
    background-color: #1a3c6e;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 20px;
    border-top: 2px solid #444;
    height: 100%; 
    overflow: hidden;
    z-index: 10;
}

.weather-left {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
    border-right: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.forecast-container {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: space-evenly;
    align-items: center;
}

.forecast-day { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.f-day-name { font-weight: bold; font-size: 0.9rem; margin-bottom: 5px; }
.f-temps { font-size: 0.85rem; }
.high-temp { color: #ffeb3b; font-weight: bold; }
.low-temp { color: #cfd8dc; margin-left: 5px; }