.app-body{
    background-color: var(--bg-color1);
}
.auth-page{
    width: 100%;
    height: 100dvh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 30px 20px;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}
.logo{
    padding: 20px;
    border-bottom: 1px solid #1D009E1F;
    position: relative;
}
.auth-page .logo {
    padding: 30px;
    border-bottom: 0;
}
.logo img{
    max-width: 100px;
    margin: auto;
}
.auth-page .logo img{
    max-width: 250px;
}
.menuToggle{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    margin: auto;
    width: 40px;
    height: 40px;
    cursor: pointer;
}
.auth-page .menuToggle{
    display: none;
}
.menuToggle img{
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    background-color: var(--white);
}
.menuToggle img.toggleImg2{
    position: absolute;
    width: 20px;
    height: 20px;
    padding: 5px;
    bottom: -4px;
    left: -10px;
    box-shadow: 2px 2px 10px rgb(0 0 0 / 25%);
}
.menuDrawer{
    position: fixed;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 30%);
    left: -100%;
    width: 100%;
    z-index: 99999;
    transition: all ease-in-out 0.5s;
}
.menuDrawerInner{
    background: #fff;
    width: 80%;
    padding: 15px;
    box-shadow: 2px 2px 10px rgb(0 0 0 / 25%);
    height: 100vh;
}
.menuDrawer.active{
    left: 0;
}
.menuDrawerH {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bg-color2);
}
.menuDrawerH h4{
    font-size: 20px;
    line-height: 40px;
    color: var(--primary);
}
.menuDrawerH .langFig label{
    display: none;
}
.lang-switch{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--bg-color1);
    padding: 5px 10px;
    border-radius: 10px;
}
.lang-switch button{
    font-size: 12px;
    padding: 0 10px;
    line-height: 20px;
    border-radius: 10px;
    color: var(--text);
    background-color: transparent;
}
.lang-switch button.active-lang{
    background-color: var(--primary);
    color: var(--white);
}
.menuDrawerB{
    height: calc(100vh - 130px);
    padding-top: 25px;

}
.menuDrawerB ul{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.menuDrawerB ul li{
    font-size: 16px;
    line-height: 25px;
    padding: 10px;
    width: 100%;
}
.menuDrawerB ul li a{
    display: block;
    width: 100%;
    color: var(--primary);
}
.menuDrawerB ul li a span{
    color: var(--primary);
    display: block;
    width: 100%;
}
.menuDrawerB ul li a:hover span{
    font-weight: 700;
}
.menuDrawerB ul li button.logout-btn{
    background-color: transparent;
    color: var(--danger);
    transition: all ease-in-out 0.5s;
}
.menuDrawerB ul li button.logout-btn:hover{
    background-color: var(--danger);
    color: var(--white);
}
.v-text{
    font-size: 14px;
    color: var(--primary);
    text-align: center;
}
.authForm{
    padding-top: 30px;
    max-width: 380px;
    width: 100%;
}
.form-items input,
.form-items select{
    border: 0;
    border-bottom: 1px solid var(--secondary);
    padding: 0;
    line-height: 40px;
}
.authForm input,
.authForm select{
    background: transparent;
}
/* Show / hide password */
.password-field{
    position: relative;
}
.password-field input{
    padding-right: 36px;
}
.password-toggle{
    position: absolute;
    right: 0;
    top: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
[x-cloak]{
    display: none !important;
}
.form-items {
    padding-bottom: 20px;
}
.form-btn {
    padding-top: 30px;
}
button span{
    color: var(--white);
}
.search-form button span{
    color: var(--primary);
    font-weight: 700;
}
.form-check input{
    width: auto;
    transform: scale(1);
}
.form-check label{
    font-size: 14px;
}
a.forget{
    font-size: 14px;
}
.authLink{
    text-align: center;
    padding: 15px;
}
.authLink a{
    font-size: 14px;
    line-height: 20px;
    display: inline-block;
}
.authSelect{
    height: 60dvh;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 50px 0;
}
.authItem{
    width: 150px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(0 0 0 / 20%);
}
.authItem:hover{
    box-shadow: 0 0 10px rgb(0 0 0 / 40%);
}
.authItem a{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    width: 100%;
}
.authItem a img{
    width: 80px;
    height: 80px;
    object-fit: fill;
    border-radius: 50%;
}
.authItem a span{
    font-size: 14px;
    line-height: 20px;
    color: var(--primary);
    font-weight: 600;
    font-family: var(--fonts-bangla);
}
.drawer{
    width: 100%;
    background-color: var(--primary);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 10px 20px;
    z-index: 99999;
}
.drawer-content{
    justify-content: space-between;
    display: flex;
    align-items: center;
    max-width: 800px;
    gap: 30px;
    margin: auto;
}
.drawer-content a{
    display: block;
    border-radius: 50%;
    transition: all ease-in-out 0.5s;
}
.drawer-content a:hover,
.drawer-content a.active{
    transform: translateY(-20px);
    box-shadow: 0 0 10px rgb(0 0 0 / 40%);
}
.drawer-content img{
    width: 40px;
    height: 40px;
    object-fit: fill;
}
.schoolName{
    padding: 10px 30px;
    justify-content: center;
    border-bottom: 1px solid #1D009E1F;
}
.schoolName img{
    width: 40px;
    height: 40px;
    object-fit: fill;
    border-radius: 50%;
}
.schoolName h3{
    font-size: 16px;
    line-height: 20px;
    color: var(--primary);
}
.dashMain{
    padding: 20px;
}
.studentInfo{
    justify-content: center;
    gap: 10px;
    padding-bottom: 20px;
}
.studentInfo img{
    width: 50px;
    height: 50px;
    object-fit: fill;
    border-radius: 50%;
}
.studentInfo h3{
    font-size: 18px;
    line-height: 25px;
    color: var(--secondary);
    color: var(--text);
}
.studentInfo h5{
    font-size: 16px;
    line-height: 20px;
    color: var(--text);
}
.scrollNotice{
    background-color: var(--bg-color1);
    padding: 10px;
    border-radius: 10px;
}
.scrollNotice p{
    font-size: 14px;
    line-height: 18px;
    color: var(--text);
    text-align: center;
}
.dashlinks{
    padding: 20px 0;
    flex-wrap: wrap;
}
.dashlinks a{
    display: block;
    width: 45%;
    padding: 15px 10px;
    text-align: center;
    background-color: var(--white);
    box-shadow: 2px 2px 10px rgb(0 0 0 / 25%);
    border-radius: 10px;
    aspect-ratio: 1;
    max-height: 135px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dashlinks img{
    display: block;
    margin: auto;
    width: 50px;
    margin-bottom: 15px;
}
.dashlinks h6{
    font-size: 16px;
    line-height: 20px;
    color: var(--text);
    text-align: center;
}
.container{
    max-height: calc(100vh - 150px);
    overflow: hidden;
    overflow-y: auto;
}
.page-home .container,
.page-register .container,
.page-login .container,
.page-payment .container{
    max-height: 100dvh;
}
.search-form{
    background-color: var(--primary);
    padding: 10px 20px;
    border-radius: 15px;
}
.search-form h3{
    font-size: 22px;
    line-height: 30px;
    color: var(--white);
    padding-bottom: 15px;
    text-align: center;
}
.search-form .form-items{
    padding-bottom: 0;
}
.search-form .form-btn{
    padding-top: 0;
}
.search-form label{
    font-size: 18px;
    line-height: 25px;
    color: var(--white);
}
.search-form .form-items{
    width: 70%; 
}
.search-form select,
.search-form input{
    padding: 12px 15px;
    border-radius: 10px;
}
.search-form .form-btn{
    width: 30%;
}
.search-form .form-btn button{
    background-color: var(--white);
    color: var(--primary);
    font-size: 16px;
}
form.flex{
    align-items: end;
    gap: 10px;
}
.attend-summary{
    padding: 15px 0 10px;
    gap: 10px;
}
.attent-list{
    border: 2px solid var(--primary);
    padding: 15px;
    border-radius: 10px;
    width: 100%;
}
.attent-list span{
    width: 100%;
    display: block;
}
.attent-list span.number{
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    text-align: center;
    color: var(--white);
    font-size: 20px;
    margin: auto;
}
.attent-list span.text{
    text-align: center;
    color: var(--primary);
    font-size: 14px;
}
.single-day{
    padding: 10px 0;
    gap: 10px;
}
.single-day .left{
    width: 40%;
    border-radius: 10px;
    overflow: hidden;
}
.single-day .left .days{
    background-color: var(--primary);
    padding: 5px;
    text-align: center;
    color: var(--white);
    display: block;
    font-size: 14px;
}
.single-day.absent .days{
    background-color: var(--danger);
}
.single-day .daysDetails{
    background-color: var(--white);
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.single-day .daysNum,
.single-day .daysMon{
    display: block;
    color: var(--text);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
.single-day .right{
    width: 60%;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
    padding: 6px 15px;
}
.single-day .right .attend-result{
    font-size: 25px;
    line-height: 50px;
    display: block;
    font-weight: 700;
    color: var(--primary);
}
.single-day.absent .attend-result{
    color: var(--danger);
}
.single-day .right .attend-time{
    font-size: 16px;
    line-height: 20px;
    display: block;
    color: var(--primary);
}
.payslip-list{
    background-color: var(--white);
    box-shadow: 2px 2px 10px rgb(0 0 0 / 25%);
    margin-bottom: 30px;
}
.payslip-list th{
    font-size: 14px;
    color: var(--primary);
}
.payslip-list .payId{
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 20px;
}
.payslip-list .payInfo{
    display: block;
    font-size: 14px;
    color: var(--text);
    line-height: 18px;
}
.payslip-list .paySubInfo{
    display: block;
    font-size: 12px;
    color: var(--text);
    line-height: 16px;
}
.payslip-list #totalDisplay{
    font-weight: 600;
}
.tableblock{
    height: 62dvh;
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
}
.result-summary{
    margin: 20px 0;
    background-color: var(--bg-color2);
    padding: 20px;
    border-radius: 15px;
}
.result-summary h4{
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: var(--text);
    padding-bottom: 10px;
}
.result-summary-info{
    gap: 10px;
}
.result-items{
    border: 1px solid var(--white);
    background-color: var(--white);
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    width: 100%;
}
.result-items span{
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: var(--text);
}
.result-items span.bottom{
    font-weight: 600;
}
.tableInfo{
    background-color: var(--bg-color2);
    padding: 10px;
    border-radius: 5px;
}
.tableInfo th{
    background-color: var(--primary);
    color: var(--white);
}
.tableInfo th,
.tableInfo td{
    font-size: 14px;
}
.routine.tableInfo{
    margin-top: 20px;
}
.emptyblock{
    border: 2px solid var(--danger);
    border-radius: 10px;
    padding: 15px;
    background-color: var(--bg-color2);
    text-align: center;
    font-size: 18px;
    line-height: 25px;
    color: var(--danger);
    font-weight: 600;
}
.basicinfo{
    background-color: #f6f6f6;
    padding: 15px;
    border-radius: 10px;
}
.basicInfoDetails{
    flex-wrap: wrap;
    gap: 10px;
}
.basicinfo h3{
    font-size: 25px;
    line-height: 30px;
    padding-bottom: 20px;
    color: var(--primary);
    font-weight: 500;
}
.basicinfo h6{
    font-size: 16px;
    line-height: 25px;
    color: var(--text);
}
.basicinfo h4{
    font-size: 16px;
    line-height: 25px;
    color: var(--text);
    background-color: var(--bg-color1);
    padding: 10px;
    border-radius: 10px;
    font-weight: 400;
    height: 45px;
}
.langFig label{
    font-size: 14px;
    text-align: center;
    display: block;
}
.langFig .switcherbox{
    font-size: 14px;
}
.tagline{
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}
.paymentInfo{
    background-color: var(--primary);
    padding: 20px;
    border-radius: 15px;
}
.paymentInfo h5{
    text-align: center;
    font-size: 18px;
    color: var(--white);
}
.paymentInfo h5 span{
    color: var(--white);
}
.payment-list{
    margin-top: 40px;
}
.payment-list th,
.payment-list td{
    border: 0;
}
.payment-list tr:last-child td, 
.payment-list tr:last-child th {
  border-bottom: 0;
}
.payment-list .border th,
.payment-list .border td{
    border: 1px solid var(--primary);
}
.back_btn{
    padding: 12px 25px;
    font-size: 16px;
    line-height: 25px;
    background-color: var(--danger);
    color: var(--white);
    display: block;
    width: 50%;
    margin: auto;
    border-radius: 12px;
}
.custom-modal-overlay{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
}
.custom-modal-box{
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    position: relative;
}
.modal-header h4{
    font-size: 22px;
    line-height: 40px;
    text-align: center;
    padding-bottom: 20px;
    color: var(--primary);
}
.modal-header .close-btn{
    position: absolute;
    top: -15px;
    background: var(--danger);
    color: var(--white);
    line-height: 40px;
    width: 40px;
    text-align: center;
    padding: 0;
    right: -15px;
    font-size: 20px;
}
.tableHeading h4{
    font-size: 20px;
    line-height: 30px;
    padding-bottom: 10px;
    text-align: center;
    color: var(--primary);
}
.page-routine .search-form .form-items {
  width: 100%;
}
.imageCol img{
    max-width: 20px;
    margin: auto; 
}

/* Teacher Block*/
.tablearea2{
    margin-top: 30px;
}

/* Responsive Works */
@media(max-width: 500px){
    .page-attendance form.flex,
    .page-take-attendance form.flex,
    .page-result form.flex,
    .page-test form.flex,
    .page-mark-input form.flex,
    .page-view-marks form.flex,
    .page-update-attendance form.flex,
    .page-mark-input form.flex,
    .page-view-attendance form.flex{
        flex-wrap: wrap;
    }
    .page-attendance .search-form .form-items,
    .page-take-attendance .search-form .form-items,
    .page-result .search-form .form-items,
    .page-view-attendance .search-form .form-items,
    .page-update-attendance .search-form .form-items,
    .page-mark-input .search-form .form-items,
    .page-view-marks .search-form .form-items,
    .page-test .search-form .form-items {
        width: 48%;
    }
    .page-attendance .search-form select,
    .page-take-attendance .search-form select,
    .page-result .search-form select,
    .page-view-attendance .search-form select,
    .page-update-attendance .search-form select,
    .page-mark-input .search-form select,
    .page-view-marks .search-form select,
    .page-test .search-form select,
    .search-form input{
        padding: 5px 15px;
    }
    .page-attendance .search-form .form-btn,
    .page-take-attendance .search-form .form-btn,
    .page-result .search-form .form-btn,
    .page-view-attendance .search-form .form-btn,
    .page-update-attendance .search-form .form-btn,
    .page-mark-input .search-form .form-btn,
    .page-view-marks .search-form .form-btn,
    .page-test .search-form .form-btn {
        width: 100%;
    }
    .page-attendance .search-form .form-btn button,
    .page-take-attendance .search-form .form-btn button,
    .page-result .search-form .form-btn button,
    .page-view-attendance .search-form .form-btn button,
    .page-update-attendance .search-form .form-btn button,
    .page-mark-input .search-form .form-btn button,
    .page-view-marks .search-form .form-btn button,
    .page-test .search-form .form-btn button{
        line-height: 37px;
    }
    .menuDrawerH h4{
        font-size: 18px;
    }
    .container{
        max-height: calc(100vh - 100px);
    }
    .result-summary-info{
        flex-wrap: wrap;
    }
    .result-items{
        width: 48%;
    }
}

/* Take Attendance */
/* .page-take-attendance .search-form form.flex,
.page-view-attendance .search-form form.flex,
.page-update-attendance .search-form form.flex,
.page-mark-input .search-form form.flex{
    flex-wrap: wrap;
    gap: 10px;
}
.page-take-attendance .search-form .form-items,
.page-take-attendance .search-form .form-btn,
.page-view-attendance .search-form .form-items,
.page-view-attendance .search-form .form-btn,
.page-update-attendance .search-form .form-items,
.page-update-attendance .search-form .form-btn,
.page-mark-input .search-form .form-items,
.page-mark-input .search-form .form-btn{
    width: 100%;
} */
.page-take-attendance .search-form .today{
    color: var(--white);
    text-align: center;
    padding-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}
/* .page-update-attendance .search-form input[type="date"]{
    padding: 0 15px;
    border-radius: 10px;
    background-color: var(--white);
    line-height: 36px;
} */
.search-form input{
    line-height: 26px;
}
.page-take-attendance .student-list input[type="checkbox"],
.page-update-attendance .student-list input[type="checkbox"]{
    width: 18px;
    height: 18px;
}
.page-take-attendance .student-list small,
.page-update-attendance .student-list small{
    opacity: .7;
}
.infoMessages{
    text-align: center;
}

/* Mark Input */
.mi-scroll{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.mi-sheet input[type="number"]{
    width: 64px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-align: center;
}
.mi-sheet small{
    opacity: .7;
}

/* View Attendance */
.va-legend{
    font-size: 14px;
    padding-bottom: 10px;
}
.va-scroll{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.va-sheet{
    border-collapse: collapse;
    min-width: 100%;
    background-color: var(--white);
}
.va-sheet th,
.va-sheet td{
    padding: 6px 8px;
    text-align: center;
    white-space: nowrap;
    font-size: 13px;
    border-bottom: 1px solid var(--disabled);
}
.va-sheet .va-student{
    position: sticky;
    left: 0;
    z-index: 1;
    text-align: left;
    background-color: var(--white);
    box-shadow: 1px 0 0 var(--disabled);
}
.va-sheet .va-student small{
    opacity: .7;
}
.va-sheet .va-present{
    color: var(--succeess);
}
.va-sheet .va-absent{
    color: var(--danger);
}
.va-sheet .va-other{
    opacity: .5;
}
.backtohome img{
    max-width: 65px;
    margin-top: 100px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

/* Alerts shown in a popup (public/js/alert-popup.js) */
.alerts-popup .alert{
    display: none !important;
}
.alerts-popup .custom-modal-box .alert{
    display: block !important;
}
.site-alert-overlay{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    z-index: 9999;
}
.site-alert-box{
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px 20px 20px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.site-alert-box p{
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 12px;
    word-break: break-word;
}
.site-alert-box p.is-error{
    color: var(--danger);
}
.site-alert-box p.is-success{
    color: #1a8f3a;
}
.site-alert-box button{
    background-color: var(--primary);
    color: var(--white);
    border: 0;
    border-radius: 8px;
    padding: 8px 35px;
    font-size: 16px;
    cursor: pointer;
}

/* Subscription page */
.page-subscription .container{
    max-height: none;
}
.subscription-page{
    height: auto;
    min-height: 100dvh;
    padding: 20px 16px 150px;
}
.subscription-page .logo{
    padding: 10px 30px 20px;
}
.subForm{
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}
.subForm h2{
    font-size: 24px;
    line-height: 32px;
    color: var(--primary);
}
.sub-hello{
    margin-top: -12px;
    font-size: 16px;
    line-height: 22px;
}
.sub-intro,
.sub-ended{
    font-size: 15px;
    line-height: 22px;
}
.sub-ended{
    color: var(--danger);
}
/* Cards */
.sub-status,
.sub-option,
.sub-history{
    background-color: var(--white);
    border: 1px solid rgba(29, 0, 158, 0.08);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 14px rgba(29, 0, 158, 0.06);
}
.sub-status{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.sub-status > p{
    font-size: 15px;
    line-height: 20px;
}
.sub-options{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.sub-option{
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.sub-option.is-paid{
    border: 2px solid var(--secondary);
}
.sub-option h3,
.sub-history h3{
    font-size: 17px;
    line-height: 24px;
    color: var(--primary);
}
.sub-price{
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    color: var(--secondary);
}
.sub-note{
    font-size: 13px;
    line-height: 19px;
    color: #555;
}
/* Buttons: same size everywhere on this page */
.sub-btn,
.sub-option .sub-btn{
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 0 15px;
    font-size: 16px;
    line-height: 44px;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    background-color: var(--primary);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}
.sub-option.is-paid .sub-btn{
    background-color: var(--secondary);
}
.sub-btn:hover,
.sub-option.is-paid .sub-btn:hover{
    background-color: var(--primary);
    opacity: 0.9;
}
.sub-option .sub-btn{
    margin-top: 6px;
}
.sub-badge{
    display: inline-block;
    border-radius: 20px;
    padding: 3px 14px;
    font-size: 13px;
    line-height: 20px;
    color: var(--white);
    background-color: var(--succeess);
}
.sub-badge.is-paid{
    background-color: var(--secondary);
}
/* Tables without the site-wide cell borders */
.subForm table{
    width: 100%;
    z-index: auto;
}
.subForm td,
.subForm th{
    border: 0;
    border-bottom: 1px solid #eee;
    padding: 9px 4px;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
}
.subForm tr:last-child td,
.subForm tr:last-child th{
    border-bottom: 0;
}
.sub-details td{
    text-align: left;
    color: #555;
}
.sub-details th{
    text-align: right;
    font-weight: 600;
}
.sub-history{
    text-align: center;
}
.sub-history h3{
    padding-bottom: 6px;
}
.sub-history table th{
    font-weight: 600;
    color: var(--primary);
    border-bottom: 1px solid var(--bg-color2);
}
.sub-history small{
    font-size: 11px;
    color: #777;
}
.sub-history .st-success{
    color: var(--succeess);
}
.sub-history .st-failed,
.sub-history .st-cancelled{
    color: var(--danger);
}
.sub-logout button{
    width: auto;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    line-height: 24px;
    font-size: 15px;
    color: var(--danger);
    text-decoration: underline;
    cursor: pointer;
}
.sub-logout button:hover{
    background: transparent;
    color: var(--danger);
}
/* Small "days left" badge under the student name */
.sub-days{
    display: inline-block;
    margin-top: 3px;
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 11px;
    line-height: 16px;
    color: var(--white);
    background-color: var(--succeess);
    text-decoration: none;
}
.sub-days.is-paid{
    background-color: var(--primary);
}
.sub-days.is-ending{
    background-color: var(--danger);
}
