/* CSS Document */
/* Yleinen sivun tyyli pp2tuloshaku/css/style.css v. 1.2*/
body {
    font-family: Arial, sans-serif;
    background: #eef2f5;
    padding: 20px;
    margin: 0;
}

/* Korttimainen laatikko */
.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Otsikot */
h1, h2, h3 {
    margin-top: 0;
    font-weight: 600;
}

/* Taulukot */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
}

th {
	color: #FFF;
	background-color: #09F;
}

tr:nth-child(even) {
    background: #f7f9fc;
}

/* Hakukenttä */
input[type="text"] {
    padding: 10px;
    width: 250px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Yleiset napit */
button {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Ylös-nappi */
#ylosNappi {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    background: #2196f3;
    color: white;
    cursor: pointer;
    display: none; /* JS näyttää tämän */
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.muokkaustila td {
    cursor: pointer;
    border: 1px solid #888;
    background-color: #fff8dc; /* vaalea keltainen */
}

.plus {
    background-color: #c8f7c5; /* vihreä */
}

.miinus {
    background-color: #f7c5c5; /* punainen */
}

.xmerkki {
    background-color: #e0e0e0; /* harmaa */
}

.muokkausVaroitus {
    background: #ffe0e0;
    border-left: 5px solid #cc0000;
    padding: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

.aikataulukko-wrapper {
    max-width: 1100px;      /* kapeampi kuin lajitaulukko */
    margin: 0 auto;         /* keskitys */
    padding: 10px;
}

.tulostaulukko th:nth-child(1) {
    width: 220px;           /* Järvi-sarake */
}

.tulostaulukko th {
    width: auto;            /* Aikakestot */
    padding: 6px 4px;
}

.tulostaulukko td {
    padding: 6px 4px;
}

.plus {
    background: #e8f7e8;    /* pehmeä vihreä */
}

.miinus {
    background: #f7e8e8;    /* pehmeä punainen */
}

.edistysbar {
    background:#f0f0f0;
    width:100%;
    height:8px;             /* matalampi, siistimpi */
    border-radius:5px;
    overflow:hidden;
}

.edistysbar-fill {
    background:#2ecc71;
    height:100%;
}

.kokonaisbox {
    margin: 0 auto 20px auto;
    display: block;
}

/*.pystyotsikko {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    padding: 4px 2px;
}


/*.tulostaulukko {
    width: 100%;
    border-collapse: collapse;
}

.tulostaulukko th,
.tulostaulukko td {
    padding: 6px 10px;
    text-align: center;
}*/


