.pupils_page {
    background-color: #dfdfdf;
    padding: 10px;
    width: 100%;
    height: 100%;
}

.pupils_page .inside-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;  
}
.pupils_page .head {
    display: flex;
    align-items:center;
    padding: 20px;
}

.pupils_page .head form {
    display: flex;
}

.pupils_page .head .search {
    max-width: 450px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 9px;

}

.pupils_page .head .search input {
    width: 400px;
    padding: 10px;
    font-size: 18px;
    border: none;
    outline: none;
    border-radius: 9px;
}

.pupils_page .head .search button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    padding: 5px;
    font-size: 20px;
    background-color: transparent;
    cursor: pointer;
    border: none;
}

.pupils_page .head h1 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pupils_page table {
    padding: 20px;
}

.pupils_page table thead {
    display: flex;
}

.pupils_page table tbody {
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.pupils_page table tbody:last-child {
    border-radius: 0 0 20px 20px;
}

.pupils_page td, th {
    padding: 10px;
}

.pupils_page th {
    background-color: #0c6543ff;
    color: #fff;
    font-size: 20px;
}

.pupils_page td {
    border-radius: 20px;
    background-color: #fff;
    font-size: 18px;
}

#id {
    width: 10vh !important;
    text-align: center;
}

#name {
    width: 40vh !important;
    text-align: left;
}

#phone_number {
    width: 30vh !important;
    text-align: left;
}

#balance {
    width: 20vh !important;
    text-align: left;
}

#edit {
    width: 10vh !important;
    text-align: center;
}

#edit:hover {
    background-color: rgba(0, 0, 0, .1);
}

#edit a {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-rows {
    display: flex;
    flex-direction: column;
}

.pupils_page .profile-form {
    width: 430px;
    position: fixed;
    top: 15%;
    right: 1.5%;
    background-color: #0c6543ff;
    border-radius: 20px;
}

.pupils_page .profile-form form {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 20px;
    color: #fff;
}

.pupils_page .profile-form h2 {
    padding: 10px;
    font-size: 20px;
    text-align: center;
}

.pupils_page .profile-form p {
    padding: 8px;
    font-size: 17px;
}

.pupils_page .profile-form input {
    font-weight: 700;
    width: 370px;
    padding: 10px;
    font-size: 15px;
    border: none;
    outline: none;
    border-radius: 9px;
}

.pupils_page .profile-form select {
    font-weight: 700;
    border-radius: 9px;
    width: 370px;
    padding: 10px;
    font-size: 15px;
    border: none;
    outline: none;
    border-bottom: 2px solid #000;
}

.pupils_page .profile-form textarea {
    outline: none;
    font-weight: 700;
    border-radius: 9px;
    padding: 10px;
    font-size: 15px;
    width: 370px;
    height: 170px;
}

.pupils_page .profile-form button {
    width: 370px;
    padding: 10px;
    font-size: 20px;
    outline: none;
    border-radius: 9px;
    border: none;
    transition: all .2s ease;
}

.pupils_page .profile-form button:hover {
    background-color: #c4c4c4;
    border: none;
    cursor: pointer;
}

.errorlist {
    display: none;
}

