.excel-dashboard-container {
    width:80%;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    overflow-x: hidden;
}

#uploadArea {
    border: 3px dashed #0073aa;
    border-radius: 16px;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

#uploadArea:hover {
    border-color: #00a0d2;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

#uploadArea.drag-over {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #0073aa;
    transform: scale(1.02);
}

#uploadArea p {
    font-size: 18px;
    color: #495057;
    margin: 0;
    font-weight: 500;
}

#fileInfo {
    display: none;
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#fileInfo p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}

#fileName {
    font-weight: 600;
    color: #0073aa;
}

#removeFile, #processBtn {
    padding: 12px 28px;
    margin: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#removeFile {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

#removeFile:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220,53,69,0.3);
}

#processBtn {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

#processBtn:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40,167,69,0.3);
}

#processBtn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

#errorMessage {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    text-align: center;
}

#dashboard {
    display: none;
    margin-top: 30px;
    width: 100%;
    overflow: visible;
}

.delete-btn {
    display: block;
    margin: 0 auto 25px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.delete-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220,53,69,0.3);
}

.dashboard-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    z-index: 100;
    position: relative;
}

.dashboard-buttons button {
    padding: 14px 28px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #0073aa 0%, #005f8a 100%);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,115,170,0.2);
}

.dashboard-buttons button:hover {
    background: linear-gradient(135deg, #005f8a 0%, #004d70 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,115,170,0.3);
}

.dashboard-buttons button.active {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    box-shadow: 0 4px 10px rgba(40,167,69,0.4);
}

#dashboardContent {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow-x: auto;
    width: 100%;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #0073aa;
}

.dashboard-header h3 {
    font-size: 28px;
    color: #333;
    margin: 0;
    font-weight: 700;
}

.tables-section {
    margin-bottom: 40px;
}

.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: white;
}

.data-table th {
    background: linear-gradient(135deg, #0073aa 0%, #005f8a 100%);
    color: white;
    padding: 14px 10px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.data-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    white-space: nowrap;
}

.data-table tr:hover td {
    background-color: #f8f9fa;
}

.data-table tr:nth-child(even) td {
    background-color: #fafbfc;
}

.chart-container {
    position: relative;
    height: 400px;
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

canvas {
    max-width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .excel-dashboard-container {
        padding: 15px;
    }
    
    #uploadArea {
        padding: 40px 20px;
    }
    
    .dashboard-buttons {
        flex-direction: column;
    }
    
    .dashboard-buttons button {
        width: 100%;
    }
    
    .chart-container {
        height: 300px;
        padding: 15px;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 12px;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px 6px;
    }
}