
.hidden {
    display: none !important;
}

.table td,
.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding: 2px !important;
}

.term-fees-box {
    display: none;
}

@media(max-width:768px) {
    .term-fees-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .term-fees-table {
        width: 100%;
        min-width: 500px;
        /* apne columns ke hisab se */
        border-collapse: collapse;
    }

    .term-fees-wrapper {
        overflow-x: auto;
    }

    .term-fees-table {
        min-width: 500px;
    }
}

@media(max-width:768px) {

    .fee-pill {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .term-top {
        display: flex;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
    }

    .term-top-left {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .fee-meta {
        display: flex;
        gap: 10px;
        white-space: nowrap;
        margin-top: 0;
    }

    .fee-name {
        font-size: 16px;
        white-space: nowrap;
    }

    .fee-amount {
        font-size: 16px;
        white-space: nowrap;
    }
}

@media (max-width: 600px) {
    .fee-pill input:checked~.fee-text {

        padding: 2px 3px !important;

    }

    .fee-text {

        gap: 4px !important;
    }

    .fee-name {
        font-size: 20px;
        font-weight: 700;
        color: #0f2b52;
        min-width: 100%;
        text-align: center;
        text-wrap-mode: nowrap;
    }

    /* Header */
    .fee-header h1 {
        font-size: 20px;
    }

    /* Student Top */
    .student-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .student-left {
        width: 100%;
    }

    .student-left img {
        width: 60px;
        height: 60px;
    }

    .session-badge {
        align-self: flex-end;
        font-size: 11px;
        padding: 5px 10px;
    }

    /* TABLE FIX */
    .student-table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    .student-table th,
    .student-table td {
        font-size: 12px;
        padding: 6px;
        white-space: nowrap;
    }

    /* ===== FEES FIX ===== */
    .fee-pill {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px;
    }

    .fee-left {
        width: 100%;
        justify-content: space-between;
        gap: 10px !important;
    }

    .fee-name {
        font-size: 14px !important;
    }

    .fee-meta {
        flex-wrap: wrap;
        /* IMPORTANT */
        white-space: normal;
        gap: 6px;
        font-size: 12px;
        line-height: 10px;
    }

    .fee-amount {
        font-size: 15px;
        align-self: flex-end;
    }

    /* Paid button fix */
    .btn-bubble {
        font-size: 11px !important;
        padding: 6px 10px !important;
        text-align: center;
    }

    /* Selected box */
    .selected-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .selected-pill {
        font-size: 11px !important;
        padding: 4px 8px;
    }

    /* TOTAL BAR */
    .total-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .total-amount {
        font-size: 20px;
    }

    .pay-btn {
        width: 100%;
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 767px) {
    .btn-bubble {
        font-size: 8px !important;
        /* bigger font for readability on mobile */
        padding: 6px 20px;
        /* adjust padding too */
    }
}

@media(max-width:768px) {
    .search-card {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }

    .search-card button {
        width: 100%;
        padding: 14px;
        margin-top: 6px;
    }
}

@media(max-width:700px) {
    .student-table th {
        font-size: 13px;
        color: #0f2b52;
    }

    .student-table td {
        font-size: 14px;
        padding-bottom: 8px;
    }

    .student-head {
        flex-direction: row;
        align-items: center;
    }
}

@media(max-width:900px) {
    .fees-strip {
        gap: 12px;
    }
}

@media(max-width:600px) {
    .fee-pill {
        padding: 10px 14px !important;

    }

    .fee-name {
        font-size: 14px !important;
    }

    .fee-amount {
        font-size: 15px !important;
    }
}

.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
    font-size: 0.9em;
    color: #000000;
}

@media(max-width:600px) {
    .selected-box {
        padding: 10px;
    }

    .selected-pill {
        font-size: 8px !important;

        padding: 4px 10px;
    }
}

@media(max-width:600px) {
    .total-amount {
        font-size: 22px;
    }

    .fee-name {
        font-size: 14px !important;
    }

    .pay-btn {
        font-size: 15px;
        padding: 14px;
    }
}

body {
    background: #f4f6f9;
    font-family: Poppins, Segoe UI, Arial;
    color: #111
}

/* ===== Header ===== */
.fee-header {
    background: #0f2b52;
    padding: 22px;
    text-align: center;
    color: #fff;
}

.fee-header h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
}

/* ===== Wrapper ===== */
.fees-wrap {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 15px;
}

.search-card {
    max-width: 100%;
    margin: 0 auto 5px;
    background: #ffffff;
    padding: 8px 20px;
    border-radius: 14px;
    display: flex;
    align-items: end;
    gap: 14px;
    border: 1.8px solid #0f2b52;
    box-shadow: 0 10px 25px rgba(15, 43, 82, .25);
    place-items: anchor-center;
}

/* Input Group */
.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 16px;
    font-weight: 700;
    color: #0f2b52;
    margin-bottom: 0px;
}

.input-group input {
    padding: 11px 14px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    font-size: 15px;
    transition: .2s;
}

.input-group input:focus {
    outline: none;
    border-color: #0f2b52;
    box-shadow: 0 0 0 3px rgba(15, 43, 82, .15);
}

/* Button */
.search-card button {
    background: #0f2b52;
    color: #fff;
    border: none;
    padding: 12px 61px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s ease;
    white-space: nowrap;
    font-size: 17px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #000, #1f2937);
    margin-top: 9px;

}

.search-card button:hover {
    background: #091c38;
}

/* Mobile */
@media(max-width:600px) {
    .search-card {
        flex-direction: column;
        align-items: stretch;
    }

    .search-card button {
        width: 100%;
    }
}

/* ===== Student Card ===== */
.student-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    padding: 20px;
    margin-top: 25px;
}

.student-top {
    display: flex;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 15px;
}

.student-top img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0f2b52;
}

.student-top h3 {
    margin: 0;
    font-size: 22px;
}

.student-top p {
    margin: 4px 0 0;
    color: #555;
}

/* ===== Meta Grid ===== */
.student-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.meta-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
}

.meta-box strong {
    color: #0f2b52;
    font-size: 13px;
}

/* ===== Fees ===== */
.fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 25px;
}

.fee-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    transition: .25s;
}

.fee-card:hover {
    border-color: #0f2b52;
}

.fee-card input {
    transform: scale(1.2)
}

.fee-title {
    margin-top: 10px;
    font-weight: 700;
}

.fee-amount {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0px;
}

.pay-btn {
    padding: 12px 34px;
    border: none;
    background: #0f2b52;
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
}

.btn-download {
    display: inline-block;
    background: #0f2b52;
    /* Deep blue background */
    color: #fff;
    /* White text */
    font-weight: 600;
    font-size: 15px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(15, 43, 82, 0.25);
}

.btn-download:hover {
    background: #133d82;
    /* Slightly lighter on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(15, 43, 82, 0.3);
}

.btn-download:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(15, 43, 82, 0.2);
}

/* Utility */
.hidden {
    display: none
}

/* Mobile */
@media(max-width:600px) {
    .search-card {
        flex-direction: column
    }

    .search-card input {
        width: 100%
    }
}

.student-table-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;

    padding: 14px;
    margin-bottom: 10px;
    margin-top: 10px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
}

/* Header */
.student-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 10px;
}

.student-head img {
    width: 70px;
    height: 70px;
    border-radius: 10px;

    border: 1px solid #e5e7eb;
}

.student-head h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.student-head span {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
}

/* Table */
.student-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.student-table th {
    text-align: left;
    background: #f8fafc;
    padding: 3px 10px;
    font-weight: 700;
    color: #000;
    width: 15%;
}

.student-table td {
    padding: 3px 10px;
    font-weight: 600;
    color: #111;
    width: 35%;
}

.student-table tr:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

/* FORCE ONE FEE PER ROW */
.fees-strip {
    display: flex;
    flex-direction: column;
    /* ?? one below another */
    gap: 12px;
}

/* Full width row like table */
.fee-pill {
    width: 100%;
}

@media(max-width:600px) {
    .student-table {
        font-size: 13px;
    }

    .student-table th {
        width: 25%;
        padding: 6px 6px;
        font-size: 12px;
        white-space: nowrap;
    }

    .student-table td {
        width: 25%;
        padding: 6px 6px;
        font-size: 13px;
        word-break: break-word;
    }
}

/* Mobile */
@media(max-width:700px) {

    .student-table th {
        margin-top: 8px;
    }
}

/* Fees one-line strip */
.fees-strip {
    display: flex;
    gap: 1px;
}

.fee-pill {
    width: 100%;
    background: #fff;
    border: 1.5px solid #dbe4f0;
    border-radius: 18px;
    padding: 10px 18px;
    margin-bottom: 6px;
    box-shadow: 0 8px 25px rgba(15, 43, 82, .08);
    transition: .25s ease;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Hide checkbox */
.fee-pill input {
    position: absolute;
    opacity: 0;
}

/* Content */
.fee-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fee-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f2b52;
    min-width: 90px;
}

.fee-amount {
    font-size: 17px;
    font-weight: 800;
    color: #000;
}

/* ===== SHOW CHECKBOX CLEARLY ===== */
.fee-pill {
    display: flex;
    align-items: center;
    gap: 12px;

}

.fee-left {

    align-items: center;
    gap: 31px;
}

/* Checkbox visible */
.fee-pill input[type="checkbox"] {
    position: static;
    margin-right: 10px;
    opacity: 1;
    width: 18px;
    height: 18px;
    accent-color: #0f2b52;
    cursor: pointer;
}

/* Content alignment */
.fee-text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Selected visual highlight */
.fee-pill input:checked~.fee-text {
    background: #f0f6ff;
    padding: 2px 10px;
    border-radius: 8px;
}

/* Mobile */
@media(max-width:800px) {
    .fees-strip {
        flex-direction: column;
    }
}

.total-bar {
    background: #ffffff;
    border: 2px solid #0f2b52;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 12px 30px rgba(15, 43, 82, .25);
}

/* Left side */
.total-left {
    display: flex;
    flex-direction: column;
}

.total-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.total-amount {
    font-size: 26px;
    font-weight: 800;
    color: #0f2b52;
}



/* Mobile */
@media(max-width:700px) {
    .total-bar {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .pay-btn {
        width: 100%;
    }
}

.payment-note {
    margin: 1px 0 5px;
    padding: 10px 14px;
    background: #0f2b52;
    border-left: 4px solid #0f2b52;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.selected-box {
    margin: 0px 0;
    padding: 5px 14px;
    background: #f8fafc;
    border: 1.5px solid #0f2b52;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.selected-label {
    font-size: 14px;
    font-weight: 700;
    color: #0f2b52;
    white-space: nowrap;
}

.selected-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.selected-pill {
    background: #0f2b52;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.fee-text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.fee-meta {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    display: flex;
    gap: 14px;
    white-space: nowrap;
    /* ?? SAME LINE */
}

.fee-amount {
    font-size: 17px;
    font-weight: 800;
    color: #000;
    white-space: nowrap;
}

.session-badge {
    background: linear-gradient(135deg, #0f2b52, #0f2b52);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    padding: 9px 31px;
    border-radius: 20px;
    box-shadow: 0 6px 14px rgba(34, 197, 94, .35);
    white-space: nowrap;
}

@media(max-width:600px) {
    .session-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
}

.student-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.student-left {
    display: flex;
    align-items: center;
    gap: 14px;
}


/* Left: Amount Styling */
.total-section-left {
    display: flex;
    flex-direction: column;
}

.total-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.total-amount {
    font-size: 24px;
    font-weight: 800;
    color: #0f2b52;
}

.total-section-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    flex: 1;
}

.view-charges-btn {
    background: transparent;
    border: none;
    color: #0f2b52;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    background: white;
    border: 2px solid #0f2b52;
    padding: 2px 12px;
    font-size: 17px;
}

.form-check {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-check-label {
    font-size: 13px;
    margin-left: 8px;
    color: #000;
}

.modal-header {
    position: relative;
}

/* Close button positioning */
.modal-header .close {
    position: absolute;
    right: 15px;
    top: 12px;
    background: #f1f1f1;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    opacity: 1;
    cursor: pointer;
    transition: 0.3s ease;
}

.modal-header .close {
    padding: 0rem;
    margin: -1rem -1rem -1rem auto;
    font-size: 26px !important;
}

/* Hover effect */
.modal-header .close:hover {
    background: #dc3545;
    color: #fff;
    transform: rotate(90deg);
}

/* Remove default Bootstrap close style */
.modal-header .close span {
    display: block;
    line-height: 32px;
}

.modal-header {
    padding: 0px !important;
    border-bottom: 1px solid #e5e5e5;
    background: #0f2b52;
    color: white;
}

.fade,
.slide {
    background: none;
    color: #000000;
    font-size: 15px;
    padding: 9px;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
    color: white;
    font-size: 20px;
}

/* Right: Main Button */
.pay-btn {
    background-color: #0f2b52;
    /* Dark Green theme */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.pay-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.pay-btn:hover:not(:disabled) {
    background-color: #22673e;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .total-bar {
        flex-direction: column;
        text-align: center;
    }

    .total-section-center {
        order: 3;
    }

    .total-section-right {
        width: 100%;
    }

    .pay-btn {
        width: 100%;
    }
}

.agree-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border: 1.5px solid #0f2b52;
    padding: 12px 14px;
    border-radius: 10px;
    margin-top: 10px;
}

/* Toggle Switch */
.agree-toggle {
    position: relative;
    width: 48px;
    height: 26px;
}

.agree-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 50px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}

.slider:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.agree-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1.5px solid #0f2b52;
    padding: 12px 14px;
    border-radius: 10px;
    margin-top: 10px;
    transition: 0.2s;
}

/* Hover effect */
.agree-box:hover {
    background: #eef4ff;
}

/* Custom Checkbox */
.custom-check {
    position: relative;
    cursor: pointer;
}

.custom-check input {
    opacity: 0;
    position: absolute;
}

/* Box */
.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #0f2b52;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    transition: 0.2s;
}

/* Tick */
.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Checked state */
.custom-check input:checked+.checkmark {
    background: #0f2b52;
    border-color: #0f2b52;
}

.custom-check input:checked+.checkmark::after {
    display: block;
}

/* Text */
.agree-text {
    display: flex;
    flex-direction: column;
}

.agree-text strong {
    font-size: 14px;
    color: #0f2b52;
}

.agree-text small {
    font-size: 12px;
    color: #555;
}

.modal-body {
    position: relative;
    padding: 2px 15px;
}

/* =========================
TERM CARD NEW DESIGN
========================= */

.fee-pill {
    width: 100%;
    background: #fff;
    border: 1.5px solid #dbe4f0;
    border-radius: 18px;
    padding: 10px 18px;
    margin-bottom: 6px;
    box-shadow: 0 8px 25px rgba(15, 43, 82, .08);
    transition: .25s ease;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.fee-pill:hover {
    border-color: #0f2b52;
    transform: translateY(-2px);
}

/* checkbox */
.fee-pill input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 6px;
    accent-color: #0f2b52;
    flex-shrink: 0;
}

/* full content */
.fee-text {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

/* left area */
.fee-left {
    width: 100%;
}

/* top strip */
.term-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 0px;
    line-height: 1;
}

/* term title */
.fee-name {
    font-size: 22px;
    font-weight: 800;
    color: #0f2b52;
    line-height: 1.1;
}

/* due */
.fee-meta {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
}

/* right amount */
.fee-amount {
    font-size: 24px;
    font-weight: 800;
    color: #000;
    white-space: nowrap;
    text-align: right;
}

/* =========================
TABLE DESIGN
========================= */

.term-fees-box {
    width: 100%;
    overflow: hidden;
    border: 1px solid #dbe4f0;
    margin-top: 11px !important;
    background: #f8fbff;
}

/* table */
.term-fees-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #0f2b52;
}

/* rows */
.term-fees-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.term-fees-table tr:last-child {
    border-bottom: none;
}

.term-fees-table td {
    padding: 0px 9px;
    font-size: 15px;
    font-weight: 600;
}

/* left fee type */
.term-fees-table td:first-child {
    color: #000;

}



/* =========================
CHECKED STYLE
========================= */

.fee-pill input:checked~.fee-text {
    background: #f1f7ff;
    border-radius: 14px;
    padding: 10px;
}

/* =========================
MOBILE
========================= */

.term-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    /* important */
}

.term-top>div:first-child {
    min-width: 0;
    display: flex;
    gap: 26px;
}

.fee-meta {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
    /* date ek line mein */
}

.fee-amount {
    white-space: nowrap;
    flex-shrink: 0;
}

.term-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    /* important */
}

.term-top-left {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: nowrap;
}

.fee-name {
    white-space: nowrap;
}

.fee-meta {
    white-space: nowrap;
    margin-top: 0px !important;
}

/* mobile */
@media(max-width:768px) {

    .term-top {
        align-items: flex-start;
        gap: 5px !important;
    }

    .term-top-left {
        flex-direction: row !important;
        align-items: center;
        gap: 4px !important;
    }

    .fee-name {
        font-size: 17px;
    }

    .fee-meta {
        font-size: 13px;
        line-height: 8px !important;
    }
}

.table-bordered>:not(caption)>*>* {
    border-width: 2px 1px !important;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border-color: #14325e;
    border-style: solid;
    border-width: 0;
}

.student-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.student-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admno-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #efefef;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
}

.adm-label {
    font-size: 14px;
    font-weight: 600;
    color: #dbeafe;
}

.adm-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* MOBILE */
@media (max-width: 768px) {

    .student-head {
        flex-direction: column;
        text-align: center;
    }

    .student-left {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .admno-box {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .session-badge {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
        text-align: center;
    }

    #studentPic {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 50%;
    }

    #sName {
        font-size: 20px;
        margin-bottom: 4px;
    }

    #sClass {
        display: block;
        font-size: 14px;
    }
}
