.main-box {
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 40px;
}

.main-box-link,
.main-box-link:hover,
.main-box-link:focus {
    display: block;
    color: #fff;
    text-decoration: none;
}

.mb-dull {
    background-color: #8F8F2C;
}

.mb-red {
    background-color: #d36f2e;
}

.mb-pink {
    background-color: #FF2F71;
}



.main-box h5 {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

/*==============================================
    CHAT WINDOW  STYLES    
    =============================================*/

.chat-widget-main {
    max-height: 500px;
    padding: 20px;
    overflow: auto;
}

.chat-widget-left:after {
    top: 100%;
    left: 10%;
    border: solid transparent;
    content: " ";
    position: absolute;
    border-top-color: #6792d5;
    border-width: 15px;
    margin-left: -15px;

}

.chat-widget-left {
    width: 100%;
    height: auto;
    padding: 15px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    border: 1px solid #6792d5;
    font-size: 14px;

}

.chat-widget-right:after {
    top: 100%;
    right: 10%;
    border: solid transparent;
    content: " ";
    position: absolute;
    border-top-color: #d51111;
    border-width: 15px;
    margin-left: -15px;
}

.chat-widget-right {
    width: 100%;
    height: auto;
    padding: 15px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    border: 1px solid #d51111;
    font-size: 14px;

}

.chat-widget-name-left {
    color: #6792d5;
    margin-top: 30px;
    margin-left: 60px;
    text-align: left;
    font-weight: 900;
    padding-bottom: 20px;
    font-size: 16px;
}

.chat-widget-name-right {
    color: #d51111;
    margin-top: 30px;
    margin-right: 60px;
    font-size: 16px;
    text-align: right;
    font-weight: 900;
    padding-bottom: 20px;


}

/*==============================================
        Reviews Styles
    =============================================*/
#reviews {
    min-height: 180px;
    background-color: #64A2DB;
    padding: 15px;
}

#reviews h4 {
    color: #fff;
    line-height: 30px;
    font-size: 16px;
}

#reviews .user-img {
    border: 2px solid #fff;
    overflow: hidden;
    border-radius: 50%;
    display: inline-block;
}

#reviews .img-u {
    max-height: 90px;
    max-width: 90px;
}

#reviews .c-black {
    color: #fff;
    font-style: italic;
    font-size: 20px;
    padding: 5px;
}

/*==============================================
        NOTICE BOX STYLES
    =============================================*/

.noti-box {
    min-height: 100px;
    color: #fff;
    padding: 20px;
}

.noti-box .icon-box {
    display: block;
    float: left;
    margin: 0 15px 10px 0;
    width: 70px;
    height: 70px;
    line-height: 75px;
    vertical-align: middle;
    text-align: center;
    font-size: 40px;
}

.bg-color-black {
    background-color: #424242;
    color: #fff;
}

.main-text {
    font-size: 25px;
    font-weight: 600;
}

.color-bottom-txt {
    font-size: 16px;
    line-height: 30px;
}

.panel-back {
    background-color: #929292;
}

/*==========================================
   GALLERY/ PORTFOLIO STYLES
    =====================================================*/

#port-folio {
    padding-top: 10px;
    padding-bottom: 100px;
}

.portfolio-item {
    border: 1px solid #000;
    margin: 3px;
}

.portfolio-item p {
    padding: 12px;
    color: #fff;
    line-height: 25px;
}

.portfolio-item .overlay {

    background-color: #000;
    text-align: center;
    padding-bottom: 30px;

}

/*==========================================
   GALLERY/ PORTFOLIO FILTER STYLES
    =====================================================*/
ul#filters {
    padding: 0px;
}

#filters {
    margin: 3% 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

#filters li {
    display: -webkit-inline-box;
}

#filters li span {
    display: block;
    padding: 5px 4px;
    text-decoration: none;
    color: #d51111;
    cursor: pointer;
    font-size: 18px;
}

#port-folio .portfolio-item {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    width: 100%;
    opacity: .2;
    float: left;
    overflow: hidden;
}

/****my css*******/

.rowmargin {
    margin-bottom: 100px !important;
}

fieldset.scheduler-border {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}

legend.scheduler-border {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
}

/*****end of my css******/


body .table-sorting .dataTables_filter {
    width: auto;
}

body .table-sorting .dataTables_filter label input[type="text"] {
    min-width: 170px;
}

.id-card-stage {
    display: flex;
    justify-content: center;
}

.student-id-card {
    width: 380px;
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #fff;
    overflow: hidden;
    position: relative;
    font-family: Arial, sans-serif;
    color: #000;
}

.student-id-card-fold {
    width: 7.5in;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.id-card-header-full {
    border-bottom: 1px solid #000;
    padding: 4px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
}

.id-card-fold-halves {
    display: flex;
    flex-direction: row;
    flex: 1;
    width: 100%;
    position: relative;
}

.id-card-fold-halves:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 1px dashed #666;
    z-index: 10;
    pointer-events: none;
}

.student-id-card-fold .id-card-half {
    width: 50%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: 15px;
}

.id-card-left-body {
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.id-card-left-body .id-card-photo {
    margin: 0 auto;
}

.id-card-left-body .id-card-details {
    width: 100%;
}

.id-card-left-body .id-card-name {
    text-align: center;
}

.id-card-half-right {
    position: relative;
    padding-bottom: 28px;
}

.id-card-printed-at {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 10px;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 24px);
    text-align: right;
}

.student-id-card-fold .id-card-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    word-break: break-word;
}

.id-card-fee-table-wrap {
    width: 100%;
}

.id-card-fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    border: 1px solid #000;
}

.id-card-fee-table th,
.id-card-fee-table td {
    padding: 5px 6px;
    border-bottom: 1px solid #000;
    text-align: left;
}

.id-card-fee-table tr:last-child th,
.id-card-fee-table tr:last-child td {
    border-bottom: none;
}

.id-card-fee-table th {
    background: #f8f8f8;
    font-weight: bold;
    color: #000;
    width: 40%;
    font-size: 10px;
}

.id-card-fee-table td {
    color: #000;
    text-align: right;
}

.id-card-due-date {
    margin-top: 6px;
    font-size: 11px;
    color: #000;
}

.id-card-due-date span {
    font-weight: bold;
}

.id-card-signature {
    margin-top: auto;
    text-align: center;
    padding-top: 40px;
}

.id-card-signature-line {
    width: 150px;
    border-bottom: 1px solid #000;
    margin: 0 auto 5px auto;
}

.id-card-signature-text {
    font-size: 10px;
    color: #000;
}

.student-id-card:before,
.student-id-card:after {
    display: none;
}

.id-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    background: #f8f8f8;
    color: #000;
    border-bottom: 1px dashed #000;
}

.id-card-brand {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    line-height: 100%;
    padding-top: 5px;
}

.id-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    /* margin-bottom: 1px; */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.id-card-subtitle {
    font-size: 11px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.id-card-badge {
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

.id-card-body {
    display: flex;
    gap: 15px;
    padding: 5px;
}

.id-card-photo {
    width: 80px;
    height: 100px;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    background: #fff;
}

.id-card-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.id-card-photo-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eee;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.student-details-photo-wrap {
    text-align: center;
    margin-bottom: 16px;
}

.student-details-photo {
    width: 140px;
    height: 160px;
    object-fit: cover;
    border: 1px solid #ddd;
    background: #fff;
    display: inline-block;
}

.student-details-photo--placeholder {
    line-height: 160px;
    font-size: 36px;
    font-weight: bold;
    color: #777;
    background: #f5f5f5;
}

.id-card-details {
    flex: 1;
    overflow: hidden;
}

.id-card-name {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    margin-bottom: 8px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    word-break: break-word;
}

.id-card-row {
    display: flex;
    margin-bottom: 5px;
    font-size: 12px;
}

.id-card-k {
    width: 60px;
    font-weight: bold;
    color: #000;
}

.id-card-v {
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.id-card-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-top: 1px solid #000;
    background: #f8f8f8;
}

.id-card-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.id-card-meta-item {
    font-size: 11px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.id-card-meta-item span {
    font-weight: bold;
    margin-right: 5px;
}

.id-card-fee {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
}

.id-card-fee-item {
    font-size: 11px;
    color: #000;
}

.id-card-fee-item span {
    font-weight: bold;
    margin-right: 5px;
}

@media print {
    .student-id-card {
        box-shadow: none;
        border: 1px solid #000;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .student-id-card-fold {
        width: 5.5in;
        height: 3.3in;
        max-width: none;
    }

    .student-id-card-fold .id-card-half {
        width: 50%;
        overflow: hidden;
        padding: 6px;
    }

    .id-card-header-full {
        padding: 2px 6px;
    }

    .id-card-title {
        font-size: 11px;
        margin-bottom: 0;
    }

    .id-card-subtitle {
        font-size: 7px;
    }

    .id-card-badge {
        font-size: 11px;
    }

    .id-card-fold-halves:before {
        top: 5px;
        bottom: 5px;
    }

    .student-id-card-fold .id-card-name {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .id-card-fee-table-wrap {
        padding: 0;
    }

    .id-card-fee-table {
        font-size: 9px;
    }

    .id-card-fee-table th,
    .id-card-fee-table td {
        padding: 2px 3px;
    }

    .id-card-due-date {
        margin-top: 4px;
        font-size: 9px;
    }

    .id-card-signature {
        padding-top: 25px;
        margin-top: 20px;
    }

    .id-card-signature-line {
        width: 120px;
    }

    .id-card-signature-text {
        font-size: 9px;
    }

    .id-card-left-body {
        gap: 6px;
    }

    .id-card-half-right {
        padding-bottom: 18px;
    }

    .id-card-printed-at {
        right: 6px;
        bottom: 6px;
        font-size: 8px;
    }
}

/* ========== Search Student page ========== */
.ss-page .ss-page__title {
    margin-bottom: 16px;
}

.ss-search-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 16px;
}

.ss-search-form__input {
    flex: 1;
    min-width: 0;
    height: 40px;
}

.ss-search-form__btn {
    flex: 0 0 auto;
    min-width: 88px;
    height: 40px;
    padding-left: 16px;
    padding-right: 16px;
}

.ss-status {
    margin: 12px 0 16px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.ss-status--hit {
    color: #27ae60;
}

.ss-status--miss {
    color: #c0392b;
}

/* Compact Search Student ID card */
.ss-id-card {
    max-width: 460px;
    margin: 0 auto 18px;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ss-id-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 14px;
    background: #2e4053;
    color: #fff;
}

.ss-id-card__badge {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ss-id-card__head .ss-id-card__name {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ss-id-card__body {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
}

.ss-id-card__content {
    flex: 1;
    min-width: 0;
}

.ss-id-card__photo {
    flex: 0 0 84px;
    width: 84px;
    height: 102px;
    border: 1px solid #d0d0d0;
    background: #f3f3f3;
    overflow: hidden;
}

.ss-id-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ss-id-card__photo-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 24px;
    font-weight: 700;
    color: #888;
}

.ss-id-card__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}

.ss-id-card__field {
    min-width: 0;
    font-size: 13px;
    line-height: 1.35;
}

.ss-id-card__field span {
    display: block;
    margin-bottom: 1px;
    color: #777;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ss-id-card__field b {
    display: block;
    font-weight: 600;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ss-id-card__foot {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.ss-id-card__line {
    font-size: 12px;
    color: #333;
    line-height: 1.45;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ss-id-card__line:last-child {
    margin-bottom: 0;
}

.ss-id-card__line span {
    color: #777;
    font-weight: 600;
    margin-right: 4px;
}

/* Tablet / phone */
@media (max-width: 767px) {
    #page-wrapper.ss-page {
        padding: 8px;
    }

    #page-wrapper.ss-page #page-inner {
        margin: 8px 0 0;
        padding: 14px 12px;
        min-height: 0;
    }

    .ss-page .ss-page__title {
        margin-top: 0;
        margin-bottom: 12px;
        padding-bottom: 10px;
        font-size: 20px;
    }

    .ss-search-form {
        gap: 8px;
        margin-bottom: 14px;
    }

    /* 16px prevents iOS zoom-on-focus */
    .ss-search-form__input {
        height: 44px;
        font-size: 16px;
    }

    .ss-search-form__btn {
        min-width: 84px;
        height: 44px;
        font-size: 15px;
    }

    .ss-status {
        margin: 8px 0 14px;
        font-size: 16px;
    }

    .ss-id-card {
        max-width: none;
        margin-bottom: 14px;
    }

    .ss-id-card__head {
        align-items: flex-start;
        padding: 10px 12px;
    }

    .ss-id-card__badge {
        font-size: 13px;
        padding-top: 1px;
    }

    .ss-id-card__head .ss-id-card__name {
        font-size: 14px;
        white-space: normal;
        word-break: break-word;
        text-align: right;
    }

    .ss-id-card__body {
        gap: 10px;
        padding: 12px;
    }

    .ss-id-card__photo {
        flex-basis: 72px;
        width: 72px;
        height: 88px;
    }

    .ss-id-card__photo-ph {
        font-size: 20px;
    }

    .ss-id-card__grid {
        gap: 8px 10px;
    }

    .ss-id-card__field {
        font-size: 13px;
    }

    .ss-id-card__field span {
        font-size: 10px;
    }

    .ss-id-card__foot {
        margin-top: 10px;
        padding-top: 8px;
    }

    .ss-id-card__line {
        font-size: 12px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

/* Narrow phones */
@media (max-width: 400px) {
    .ss-search-form {
        flex-direction: column;
    }

    .ss-search-form__btn {
        width: 100%;
        min-width: 0;
    }

    .ss-id-card__body {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .ss-id-card__photo {
        align-self: flex-end;
        flex-basis: 76px;
        width: 76px;
        height: 92px;
        margin-bottom: 2px;
    }

    .ss-id-card__grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ss-id-card__head .ss-id-card__name {
        font-size: 13px;
    }
}

/*==============================================
    SHARED MOBILE / PAGE TOOLBAR
    =============================================*/

.page-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #5340ff;
}

.page-toolbar .page-head-line {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    border-bottom: none;
    min-width: 0;
}

.page-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
}

.page-toolbar__actions .btn {
    margin: 0 !important;
    float: none !important;
}

.page-toolbar__actions .btn-sm {
    min-height: 36px;
    padding: 8px 12px;
}

.sidebar-mobile-meta {
    display: none;
}

.form-actions-sticky {
    margin-top: 16px;
}

@media (max-width: 767px) {
    .page-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .page-toolbar .page-head-line {
        font-size: 20px;
        word-break: break-word;
    }

    .page-toolbar__actions {
        width: 100%;
    }

    .page-toolbar__actions .btn {
        flex: 1 1 auto;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .page-toolbar__actions .btn-primary {
        order: -1;
        flex: 1 1 100%;
    }

    input.form-control,
    select.form-control,
    textarea.form-control,
    .input-group-addon,
    .dataTables_filter input[type="text"] {
        font-size: 16px !important;
    }

    .btn-xs {
        min-height: 36px;
        min-width: 36px;
        padding: 8px 10px;
        font-size: 13px;
        line-height: 1.2;
    }

    body .table-sorting .dataTables_length,
    body .table-sorting .dataTables_filter {
        float: none !important;
        width: 100% !important;
        text-align: left;
        margin-bottom: 10px;
    }

    body .table-sorting .dataTables_filter label,
    body .table-sorting .dataTables_length label {
        display: block;
        width: 100%;
    }

    body .table-sorting .dataTables_filter label input[type="text"] {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100%;
        height: 44px;
        margin-left: 0 !important;
        margin-top: 6px;
    }

    body .table-sorting .dataTables_length select {
        height: 40px;
        font-size: 16px;
    }

    .dataTables_paginate .paginate_button,
    .dataTables_paginate a {
        min-height: 40px;
        min-width: 40px;
        padding: 8px 12px !important;
        display: inline-block;
        line-height: 24px;
    }

    .dataTables_info {
        float: none !important;
        text-align: left;
        margin-bottom: 8px;
    }

    .dataTables_paginate {
        float: none !important;
        text-align: left;
    }

    .modal-dialog,
    .modal-lg {
        width: auto !important;
        margin: 8px;
    }

    .modal {
        padding-right: 0 !important;
    }

    .modal-body {
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-fullscreen-xs .modal-dialog {
        width: 100% !important;
        margin: 0;
        height: 100%;
    }

    .modal-fullscreen-xs .modal-content {
        height: 100%;
        border-radius: 0;
        border: 0;
        display: flex;
        flex-direction: column;
    }

    .modal-fullscreen-xs .modal-header,
    .modal-fullscreen-xs .modal-footer {
        flex-shrink: 0;
    }

    .modal-fullscreen-xs .modal-body {
        flex: 1 1 auto;
        max-height: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-fullscreen-xs .modal-footer {
        position: sticky;
        bottom: 0;
        background: #fff;
        border-top: 1px solid #e5e5e5;
        z-index: 2;
    }

    .form-actions-sticky {
        position: sticky;
        bottom: 0;
        z-index: 5;
        background: #fff;
        padding: 12px 0;
        margin: 16px -14px 0;
        padding-left: 14px;
        padding-right: 14px;
        border-top: 1px solid #e5e5e5;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
    }

    .form-actions-sticky .btn {
        min-height: 44px;
    }

    .filter-date-row > [class*="col-"] + [class*="col-"] {
        margin-top: 8px;
    }

    .student-list-table-wrap > table {
        display: none;
    }

    .student-list-table-wrap .dataTables_wrapper > table {
        display: none;
    }

    #tSortable22_wrapper #tSortable22 {
        display: none !important;
    }

    .student-mobile-cards {
        display: block !important;
    }

    .fee-take-form__row {
        display: flex;
        flex-direction: column;
    }

    .fee-take-form__payment {
        order: 1;
        width: 100%;
        float: none;
    }

    .fee-take-form__info {
        order: 2;
        width: 100%;
        float: none;
    }

    .fee-take-form__save .btn {
        min-height: 44px;
        margin-top: 4px;
    }

    .fee-take-form__info-toggle {
        display: block;
        color: inherit;
        text-decoration: none;
    }
}

.student-totals-strip {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 12px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
}

.student-totals-strip__label {
    color: #777;
}

.student-mobile-cards {
    display: none;
}

.student-mobile-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    padding: 12px;
    margin-bottom: 10px;
}

.student-mobile-card--pending {
    border-color: #ebccd1;
    background: #fdf7f7;
}

.student-mobile-card__id {
    font-size: 12px;
    color: #777;
    margin-bottom: 2px;
}

.student-mobile-card__name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.student-mobile-card__meta {
    font-size: 13px;
    color: #555;
    margin-top: 4px;
}

.student-mobile-card__stats {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.student-mobile-card__stats > div {
    flex: 1;
    background: #f7f7f7;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
}

.student-mobile-card__stats span {
    display: block;
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
}

.student-mobile-card__stats strong {
    display: block;
    font-size: 14px;
    margin-top: 2px;
}

.student-mobile-card__fee {
    min-height: 44px;
    margin-bottom: 8px;
}

.student-mobile-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.student-mobile-card__actions .btn {
    flex: 1 1 auto;
    min-height: 44px;
}

@media (max-width: 767px) {
    .student-totals-strip {
        gap: 10px 16px;
        position: sticky;
        top: 0;
        z-index: 4;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    }
}

@media (min-width: 768px) {
    .student-mobile-cards {
        display: none !important;
    }

    .fee-take-form__info-toggle {
        pointer-events: none;
    }

    .fee-take-form__info-toggle .fa {
        display: none;
    }
}

@media (max-width: 767px) {
    .col-hide-xs {
        display: none !important;
    }

    .student-id-card-fold {
        width: 100% !important;
        max-width: 100%;
    }

    .id-card-fold-halves {
        flex-direction: column;
    }

    .student-id-card-fold .id-card-half {
        width: 100% !important;
    }

    .id-card-fold-halves:before {
        display: none;
    }

    .student-id-card-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: wrap;
    }

    .student-fee-metrics .panel {
        margin-bottom: 10px;
    }

    .student-fee-metrics .panel-heading {
        font-size: 11px;
        padding: 6px 8px;
    }

    .student-fee-metrics__value {
        font-size: 16px !important;
        font-weight: 600;
        padding: 8px !important;
    }

    .fee-history-table-wrap {
        display: none;
    }

    .fee-history-cards {
        display: block !important;
    }

    .student-form-optional__toggle {
        color: inherit;
        text-decoration: none;
        display: inline-block;
        min-height: 44px;
        line-height: 44px;
    }

    .student-details-photo-wrap {
        text-align: center;
    }

    .student-details-photo {
        max-width: 100%;
        height: auto;
    }
}

.fee-history-cards {
    display: none;
}

.fee-history-card {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    background: #fff;
}

.fee-history-card--empty {
    color: #777;
    text-align: center;
}

.fee-history-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.fee-history-card__paid {
    font-weight: 700;
    color: #0d9488;
}

.fee-history-card__meta {
    font-size: 13px;
    color: #555;
}

.fee-history-card__remark {
    margin-top: 8px;
    font-size: 13px;
    color: #333;
}

.student-fee-metrics__value {
    font-size: 28px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .student-form-optional__toggle {
        pointer-events: none;
        color: inherit;
        text-decoration: none;
    }

    .student-form-optional__toggle .fa {
        display: none;
    }
}

@media print {
    .id-card-fold-halves {
        flex-direction: row !important;
    }

    .student-id-card-fold .id-card-half {
        width: 50% !important;
    }
}