body.haaletamine {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    padding: 20px;
}

form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 0 auto;
}

input[type="text"] {
    width: 90%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.decision-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
    }

.decision-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}


.decision-buttons button[value="Jah"] {
    background-color: green;
    color: white;
}
.decision-buttons button[value="Ei"] {
    background-color: red;
    color: white;
}
.decision-buttons button[value="Jah"]:hover {
    background-color: #086708; 
}
.decision-buttons button[value="Ei"]:hover {
    background-color: #b30000; 
}

#changeVoteButton {
    padding: 10px 20px;
    border: none;
    margin-top:5rem;
    border-radius: 5px;
    background-color: #007bff; 
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 20px auto;
}


#changeVoteButton:hover {
    background-color: #0056b3; 
}

#message-container {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 24px;
    display: block;
    margin:50px auto;
}

.success {
    font-size: 24px;
    display: flex;
    justify-content: center;
}

.tabelbutton {
    font-size: 18px;
    display: flex;
    justify-content: center;
    text-decoration:none;
}

.muudanupp {
    display: inline-block;
            padding: 10px 20px;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            text-decoration: none;
            color: #ffffff;
            background-color: #007bff; /* Blue color */
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
}

.center-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 2rem;
        }

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;

}

tr:nth-child(even) {
    background-color: white;
}



.tabelikujundus{
    max-width:600px;
    display:block;
    margin: auto;
    margin-top:5rem;
}

.table-background{
    background: lightblue;
}

.tulemusednupp{
    text-decoration:none;
    font-size: 18px;
    display: flex;
    justify-content: center;
    margin-top:50px;
}