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

.groups_page .head {
    display: flex;
    align-items:center;
    padding: 20px;
}

.groups_page .head .search {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 9px;
}

.groups_page .head .search form {
    display: flex;
}

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

.groups_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;
}

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

.groups_page table {
    padding: 20px;
}

.groups_page table thead {
    display: flex;
}

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

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

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

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

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

.groups_page #id {
    width: 100px;
    text-align: center;
}

.groups_page #name {
    width: 350px;
    text-align: left;
}

.groups_page #teacher {
    width: 300px;
    text-align: left;
}

.groups_page #time {
    width: 130px;
    text-align: left;
}

.groups_page #days {
    width: 170px;
    text-align: left;
}

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

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

.groups_page .corner {
    border-radius: 20px 0 0 0;
}

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

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

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

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

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

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

.groups_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;
}

.groups_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;
}

.groups_page .errorlist {
    display: none;
}

