body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
  
}
a {
    color: #00838F;
    text-decoration: none;
    font-size: 14px;
}
a:hover {
    text-decoration: underline;
}
p {
    font-size: 16px;
    margin: 10px 0;
}
h2 {
    display:flex;
    justify-content:center;
}
h3 {
    display:flex;
    justify-content:center;
}

.votes_container {
      display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.votes {
      display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    
}
.votes_sisu {
    width:100%;
    display:flex;
    flex-direction:column;
    flex-wrap:wrap;
    align-items:center;
    
}
.poolt {
    color: #2E7D32; /* Tumeroheline */
}

.vastu {
    color: #C62828; /* Tumepunane */
}
.success {
    display:flex;
    justify-content:center;
}
table {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    font-size: 18px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
table thead tr {
    background-color: #00838F; 
    color: white;
    font-weight: 500;
}
table td {
    padding: 20px;
}
thead {
    background-color: #00838F;
    color:white;
}
thead tr {
    background-color: #00838F;
    color: white;
}
table td:last-child {
    text-align: right;
}

table tr:first-child {
    background-color: inherit;
    color: inherit;
    font-weight: inherit;
}

table tr {
    border-bottom: 1px dotted #00838F;
}

form table {
    width: 35%;
}

form table tr {
    vertical-align: top;
}

form table tr:first-child {
    background-color: #fff;
    color: #000;
    font-weight: normal;
}

form table tr:last-child {
    text-align: center;
}
table tr:hover {
    background-color: #f0f8ff;
}
table tr:first-child th:first-child {
    border-top-left-radius: 8px;
}

table tr:first-child th:last-child {
    border-top-right-radius: 8px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.button {
    background-color: #00838F;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.button:hover {
    background-color: #006064;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.button:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.logi-nupp {
    background-color: #f4f4f4;
    color: #00838F;
    border: 2px solid #00838F;
    padding: 10px 15px 10px 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    position: relative;
}

.logi-nupp:hover {
    background-color: #e0f7fa;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logi-nupp::before {
    content: "📄";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}
.float-right {
    float: right;
}

.error { 
    color: red;
    font-size: 12px;
    display:flex;
    justify-content:center;
}

