.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
}
h5{
    height:3rem;
}
app {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex: 1;
}

.row {
    display: flex;
    justify-content: start;
    width: 100%;
}

div {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

a {
    background-color: #0078d4;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 0.5rem;
    margin: 0.25rem;
    min-width: 8rem;
}

    a:hover {
        background-color: #005a9e;
    }

footer {
    background-color: #eeeeee;
    height: 1.5rem;
}

    footer a {
        background-color: #eeeeee;
        padding: 0;
        color: black;
        text-decoration: none;
        border-radius: 0;
        margin: 0;
        min-width: 0;
    }

        footer a:hover {
            background-color: #eeeeee;
        }


@media (max-width: 600px) {
    div {
        width: 90%;
    }

    a {
        padding: 15px;
        font-size: 1.1rem;
    }
}

select {
    border-radius: 4px 4px;
    height: 1.25rem;
    margin-bottom: 1.0rem;
    font-size: 1.0rem;
    min-width:15rem;
}

.selectList {
    list-style-type: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    max-height: 70vh;
    overflow: auto;
}

.selectListItems {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    text-align: left;
}

    .selectListItems:hover {
        background-color: #e0e0e0;
    }

    /* Kun riviä on klikattu (se on fokuksessa) */
    .selectListItems:focus {
        background-color: #0078d4; /* Vahva sininen tausta */
        color: white; /* Valkoinen teksti, jotta lukukelpoisuus säilyy */
        outline: none;
    }

    .selectListItems.selected {
        background-color: #0078d4;
        color: white;
        outline: none;
    }

input {
    border-radius: 4px 4px;
    border-color: lightgrey;
    border-style: solid;
    height: 1.25rem;
}

    input[type='search'] {
        height: 2.0rem;
        margin-bottom: 1rem;
    }

    input[type='password'] {
    }

    input[type='date'] {
        height: 1.75rem;
        width: 7rem;
    }

    input[type='time'] {
        height: 1.75rem;
        width: 5rem;
    }

    input[type='checkbox'] {
        height: 1.75rem;
        width: 1rem;
    }

.checkbox {
    flex-direction: row;
    height: 1rem;
}

    .checkbox label {
        padding-top: 0.25rem;
    }

button {
    background-color: #0078d4;
    color: white;
    padding: 0.5rem 1rem;
    border-color: #0078d4;
    border-style: solid;
    border-radius: 0.5rem;
    margin: 0.25rem;
    min-width: 10rem;
}

    button:hover {
        background-color: #005a9e;
    }

label {
    text-align: left;
    margin-bottom: -0.5rem;
}

header {
    display: flex;
    flex-direction: row;
    width: 100%;
}

columnheader {
    display: flex;
    flex-direction: column;
    width: 15rem;
}

/* Itse <message> komponentti konteittinina */
message {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none; /* Estää klikit tyhjillä alueilla */
}

.alert {
    position: relative;
    padding: 0.5rem 1rem;
    min-height: 2rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
    pointer-events: auto; /* Sallii haluttaessa vuorovaikutuksen */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alert-primary {
    background-color: blue;
    color: white;
}

.alert-success {
    background-color: green;
    color: white;
}

.alert-warning {
    background-color: yellow;
    color: black;
}

.alert-danger {
    background-color: red;
    color: white;
}

.alert-info {
    background-color: blue;
    color: white;
}
organizations{
    text-align:left;
}
.tab-container{
    display:flex;
}
.tab-headers {
    flex-direction: row;
}
.tab-content {
    display: none; 
    padding: 15px;
    border: 1px solid #ccc;
    border-top: none;
}

    .tab-content.active {
        display: block; 
    }

.tab-btn {
    padding: 10px 20px;
    cursor: pointer;
    outline: none;
}

    .tab-btn.active {
        font-weight: bold;
    }
language-switch{

}
language-switch button{
    min-width:2rem!important;
}