form{
    text-align: left;
    border-radius: 30px;
}

table, td{
    border-collapse: collapse;
    width: 150px;
    padding: 15px;
    background-color: whitesmoke;
    border: 1px solid black;
}

input[type=text], input[type=date], input[type=number] {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1%;
}

label{
    font-weight: bold;
}

input[type=text]+label{
    color: #3f6fa0;
}

input[type=text]{
    border: 2px solid #8bb8e8;
    border-radius: 4px;
    padding: 1%;
}

input[type=radio]+label{
    background-color: #fff9ee;
    font-size: 10pt;
    padding: 5px;
    width: 60px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    line-height: 40px;
}

/* teeb checkboxi tausta rohelisemaks */
input[type=checkbox]{
    accent-color: green;
}

input[type=checkbox]+label{
    background-color: white;
    padding: 4px;
    border-radius: 4px;
}

input[type=range]{
    accent-color: purple;
    width: 200px;
}

input[type=color]{
    width: 50px;
    height: 30px;
    border: 1px solid gray;
    border-radius: 5px;
}

input[type=button]{
    background-color: green;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px;
    cursor: pointer;
}

input[type=reset]{
    background-color: palevioletred;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px;
    cursor: pointer;
}

input[type=button]:hover{
    background-color: darkgreen;
}

#puhasta:hover{
    background-color: #a83e61;
}

#vastusKoik{
    margin-top: 20px;
    padding: 20px;
    border: 1px solid lightblue;
    border-radius: 5px;
    background-color: lightyellow;
}
