body {
    margin: 0; padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: #0d0f14;
    color: #e2e8f0;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

#app-root {
    display: flex; width: 100%; height: 100%;
}

.dashboard-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.sidebar {
    width: 320px;
    min-width: 320px;
    background: #151821;
    border-right: 1px solid rgba(80, 220, 255, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
    box-shadow: 2px 0 20px rgba(0,0,0,0.5);
}

.sidebar h2 {
    margin: 0; font-size: 1.1rem; color: #50dcff;
    text-transform: uppercase; letter-spacing: 1px;
    display: flex; align-items: center; gap: 8px;
}

.drop-zone {
    border: 2px dashed #2a2e3d;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    color: #8a8d98;
    transition: all 0.3s;
    background: rgba(0,0,0,0.2);
    cursor: default;
}

.drop-zone.drag-over {
    border-color: #50dcff;
    background: rgba(80, 220, 255, 0.1);
    color: #fff;
    transform: scale(1.02);
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    flex: 1;
}

.file-item {
    background: #1e2230;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    border: 1px solid transparent;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-item:hover, .file-item.active {
    border-color: #50dcff;
    background: rgba(80, 220, 255, 0.05);
    color: #50dcff;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0d0f14;
    min-width: 0;
}

.controls {
    padding: 20px 30px;
    background: #151821;
    border-bottom: 1px solid rgba(80, 220, 255, 0.1);
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.control-group label {
    font-size: 0.70rem;
    text-transform: uppercase;
    color: #8a8d98;
    font-weight: 600;
    letter-spacing: 0.5px;
}

select {
    background: #1e2230;
    color: #e2e8f0;
    border: 1px solid #2a2e3d;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    min-width: 180px;
    cursor: pointer;
    transition: border-color 0.2s;
}

select:focus, select:hover {
    border-color: #50dcff;
}

.chart-area {
    flex: 1;
    padding: 30px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    overflow-y: auto;
    align-content: flex-start;
}

.chart-container {
    width: 400px;
    height: 350px;
    min-width: 250px;
    min-height: 250px;
    background: #151821;
    border: 1px solid #2a2e3d;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    position: relative;
    display: flex;
    flex-direction: column;
    resize: both;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.chart-container:hover {
    box-shadow: 0 10px 40px rgba(80, 220, 255, 0.15);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.chart-controls {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.chart-controls select {
    padding: 6px 10px;
    font-size: 0.8rem;
    min-width: 100px;
}

.chart-close {
    cursor: pointer;
    color: #ef4444;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    padding: 0;
}

.chart-close:hover {
    color: #f87171;
}

.coni-table {
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
    font-size: 0.9rem;
    text-align: left;
}

.coni-table th {
    background: #1e2230;
    padding: 10px;
    border-bottom: 2px solid #2a2e3d;
    font-weight: 600;
    color: #50dcff;
}

.coni-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #1e2230;
}

.coni-table tr:hover {
    background: rgba(80, 220, 255, 0.05);
}
