.pupil_detail-page {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 30px;
    padding: 20px;
}

/* .pupil_detail-page .close-button {
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    height: 60px;
    padding: 20px;
} */

.pupil_detail-page .close-button i {
    margin-top: 20px;
    margin-left: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

.pupil_detail-page .profile-data {
    border-radius: 20px;
    width: 25%;
    background-color: #0c6543;
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, .2);
    padding: 40px 15px;
    font-size: 20px ;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.profile-data .avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

.profile-data .avatar img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: #000000;
    border-radius: 50%;
}

.pupil_detail-page .profile-data h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pupil_detail-page .fields {
    display: flex;
}

.pupil_detail-page .fields .right {
    padding-left: 10px;
}

.pupil_detail-page .fields p {
    padding: 5px;
}

.pupil_detail-page .editors {
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.pupil_detail-page .editors i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
}

.pupil_detail-page .editors i:hover {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .4);
}

.profile-data .about-profile {
    display: none;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, .4);
}

.profile-data .about-profile p {
    font-size: 16px;
}

/* -----------WIDGETS--------------- */

.pupil_detail-page .widgets {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
}

.pupil_detail-page .widgets .h1 {
    padding: 10px;
}

/* -----------WIDGETS--------------- */

/* -----------GROUPS---------------- */

.pupil_detail-page .widgets .groups {
    padding: 10px;
}

.pupil_detail-page .widgets .groups .box {
    width: 550px;
}

.pupil_detail-page .widgets .groups table {
    background-color: #ffffff;
    width: 500px;
    text-align: left;
    font-size: 18px;
    border: 0;
}

.pupil_detail-page .widgets .groups table th {
    font-size: 20px;
    background-color: #0c6543;
    color: #ffffff;
}

.pupil_detail-page .widgets .groups table th, td {
    padding: 10px;
}

/* -----------GROUPS---------------- */

/* -------------ATTENDANCE------------ */

.pupil_detail-page .widgets .attendance {
    padding: 10px;
}

.pupil_detail-page .widgets .attendance .box {
    width: 300px;
}

.pupil_detail-page .widgets .attendance table {
    background-color: #ffffff;
    width: 500px;
    text-align: left;
    font-size: 18px;
    border: 0;
}

.pupil_detail-page .widgets .attendance table th {
    font-size: 20px;
    background-color: #0c6543;
    color: #ffffff;
}

.pupil_detail-page .widgets .attendance table .fa-message {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all .5s ease;
}

.pupil_detail-page .widgets .attendance table .fa-message:hover {
    background-color: #000000;
    color: #ffffff;
}

/* -------------ATTENDANCE------------ */

/* ----------PAYMENT HISTORY---------- */

.pupil_detail-page .widgets .history {
    padding: 10px;
}

.pupil_detail-page .widgets .history .box {
    width: 610px;
}

.pupil_detail-page table {
    border-radius: 20px;
}

.pupil_detail-page .widgets .history table {
    background-color: #ffffff;
    width: 650px;
    text-align: left;
    font-size: 18px;
    border: 0;
}

.pupil_detail-page .widgets .history table th {
    font-size: 20px;
    background-color: #0c6543;
    color: #ffffff;
}

.pupil_detail-page .widgets .history table th, td {
    padding: 10px;
}

.pupil_detail-page .widgets .history table .fa-message {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all .5s ease;
}

.pupil_detail-page .widgets .history table .fa-message:hover {
    background-color: #000000;
    color: #ffffff;
}

/* ----------PAYMENT HISTORY---------- */

/* ------------WORKING BOX----------- */

.pupil_detail-page .working-box {
    transition: all .3s ease;
    width: 430px;
    position: fixed;
    top: 15%;
    right: 1.5%;
    background-color: #0c6543;
    border-radius: 20px;
}

.pupil_detail-page .working-box form {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 20px;
    color: #ffffff;
}

.pupil_detail-page .working-box h2 {
    padding: 10px;
    font-size: 20px;
    text-align: center;
}

.pupil_detail-page .working-box p {
    padding: 8px;
    font-size: 17px;
}

.pupil_detail-page .working-box form input {
    font-weight: 700;
    width: 370px;
    padding: 10px;
    font-size: 15px;
    border: none;
    outline: none;
    border-radius: 9px;
}

.pupil_detail-page .working-box select {
    font-weight: 700;
    border-radius: 9px;
    width: 370px;
    padding: 10px;
    font-size: 15px;
    border: none;
    outline: none;
    border-bottom: 2px solid #000000;
}

.pupil_detail-page .working-box textarea {
    width: 370px;
    outline: none;
    font-weight: 700;
    border-radius: 9px;
    padding: 10px;
    font-size: 15px;
}

.pupil_detail-page .working-box button {
    width: 370px;
    padding: 10px;
    font-size: 20px;
    outline: none;
    border-radius: 9px;
    border: none;
    transition: all .2s ease;
}

.pupil_detail-page .working-box button:hover {
    background-color: #c4c4c4;
    border: none;
    cursor: pointer;
}

.errorlist {
    display: none;
}

/* ------------WORKING BOX----------- */

/* ------------DELETE PROFILE--------- */

.pupil_detail-page .delete-profile {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .7);
}

.pupil_detail-page .delete-profile .delete-box {
    width: 450px;
    max-width: 500px;
    background-color: #ffffff;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.pupil_detail-page .delete-box > div {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    width: 100%;
}

.pupil_detail-page .delete-box > div p, .delete-box > div a {
    width: 140px;
    text-align: center;
    display: block;
    text-decoration: none;
    padding: 15px;
    background-color: #0c6543;
    color: #ffffff;
    cursor: pointer;
}

.pupil_detail-page .delete-box > div p:hover, .delete-box > div a:hover {
    background-color: #164ba8;
}

/* ------------DELETE PROFILE--------- */
