﻿body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f9;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style-type: none;
    padding: 0;
}

    nav ul li {
        display: inline;
        margin-right: 20px;
    }

        nav ul li a {
            color: #ecf0f1;
            text-decoration: none;
            font-weight: bold;
        }

h1, h2 {
    color: #2c3e50;
}

.spreadsheet {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #34495e;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.total-row {
    font-weight: bold;
    background-color: #e74c3c;
    color: white;
}

.save-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

    .save-btn:hover {
        background-color: #2ecc71;
    }

.data-visual {
    margin-top: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 20px;
}

.chart-container {
    position: relative;
    height: 200px;
    width: 100%;
}

.bar {
    position: absolute;
    bottom: 0;
    width: 40px;
    background-color: #3498db;
    transition: height 0.5s ease-in-out;
}

.bar-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 12px;
}

.tips {
    background-color: #f1f8e9;
    border-left: 5px solid #8bc34a;
    padding: 15px;
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
}

    .tips h3 {
        color: #33691e;
        margin-top: 0;
    }

    .tips ul {
        padding-left: 20px;
    }

    .tips li {
        margin-bottom: 10px;
    }
.bar-10 {
    left: 10%;
    height: 0%;
}
.bar-30 {
    left: 30%;
    height: 0%;
}
.bar-50 {
    left: 50%;
    height: 0%;
}
.bar-70 {
    left: 70%;
    height: 0%;
}
.bar-90 {
    left: 90%;
    height: 0%;
}