/*================================================================================
  @copyright www.relicsoftware.com //RELIC Software
  Author Azizul Hasan Raihan
==================================================================================*/
@import url("colors.css");
/*-============ 1. Global Styles & Resets ============*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", Sans-Serif;
    background: var(--body-color);
}

body.dark {
    --d-white: #2f2f2f;
    --d-black: #cbcbcb;
    --theme3: #333;
    --d-light-gray: #222222;
}

h1,
h2,
h3,
h4 {
    color: var(--d-black);
}

/*-============ 2. Layout & Container ============*/
.main-content-container {
    min-height: calc(100vh - 40px);
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container,
.container-fluid {
    display: table;
    content: " ";
}

.section {
    padding: 20px 0;
}

.d-flex {
    display: flex;
}

.d-inline-block {
    display: inline-block;
}

.f-column {
    flex-direction: column;
}

.f-start {
    align-items: flex-start;
}

.space-between {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
}

.ai-center {
    align-items: center;
}
.alert {
    background-color: #ffd0d0;
    padding: 4px 1rem;
    margin-bottom: .5rem;
    border-radius: 4px;
}
.swal2-container {
  z-index: 1111111 !important;
}

/* Loading animation start */
.loading {
    position: relative;
    pointer-events: none;
    user-select: none;
    opacity: 0.6;
}

.loading::after {
    content: "\A\A\A\A\ALoading...";
    white-space: pre;
    position: absolute;
    inset: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    /* justify-content: center; */
    flex-direction: column;
    font-weight: 600;
    font-size: 0.95rem;
    color: #111;
    z-index: 9999;
    pointer-events: all;
    background-image: url(/images/logo-mini.png);
    background-size: 2.5rem;
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: 40px;
}
.loading::before {
    content: "";
    position: absolute;
    top: 55px;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 0, 0, 0.15);
    border-top-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
    z-index: 10000;
}
.loading.btn::after {
    content: "";
    pointer-events: none;
}
.loading.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 4px solid rgba(0, 0, 0, 0.15);
    border-top-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
    z-index: 10000;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
/* loading animation end  */
/* Error Something is wrong start */
.error-wrong {
    position: relative;
    pointer-events: none;
    user-select: none;
    opacity: 0.8;
}
.error-wrong::after {
    content: "Something is wrong!";
    white-space: pre;
    position: absolute;
    inset: 0;
    top: 0%;
    background: rgb(255 255 255 / 84%);
    color: #ff2c2c !important;
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: 600;
    color: #111;
    z-index: 9999;
    pointer-events: all;
}
/* something is wrong end  */

/*-============ 3. Utility Classes ============*/
/* Spacing */
.p-3 {
    padding: 3px;
}
.p-5 {
    padding: 5px;
}
.p-8 {
    padding: 8px;
}
.p-10 {
    padding: 10px;
}
.pb-10 {
    padding-bottom: 10px;
}
.px-10 {
    padding-left: 10px;
    padding-right: 10px;
}
.py-10 {
    padding-top: 10px;
    padding-bottom: 10px;
}
.m-3 {
    margin: 3px;
}
.m-8 {
    margin: 8px;
}
.m-10 {
    margin: 10px;
}
.mx-5 {
    margin-left: 5px;
    margin-right: 5px;
}
.my-5 {
    margin-top: 5px;
    margin-bottom: 5px;
}
.my-10 {
    margin-top: 10px;
    margin-bottom: 10px;
}
.my-20 {
    margin-top: 20px;
    margin-bottom: 20px;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Sizing */
.w20 {
    width: 20% !important;
}
.w25 {
    width: 25% !important;
}
.w50 {
    width: 50% !important;
}
.w60 {
    width: 60% !important;
}
.w75 {
    width: 75% !important;
}
.w100 {
    width: 100% !important;
}
.wauto {
    width: auto;
}

/* Borders */
.border {
    border: 1px solid #ddd;
}
.br-3 {
    border-radius: 3px;
}
.br-5 {
    border-radius: 5px;
}
.br-8 {
    border-radius: 8px;
}
.br-10 {
    border-radius: 10px;
}

/* Text */
.text-u {
    text-transform: capitalize;
}
.text-center {
    text-align: center;
}
.no-wrap {
    white-space: nowrap;
}

/* Visibility */
.hide {
    display: none;
}

/*-============ 4. Theme & Status Colors ============*/
/* Status Badges */
.success,
.danger,
.danger2,
.info,
.warning,
.secondary,
.black,
.purple {
    padding: 3px 4px;
    border-radius: 4px;
    white-space: nowrap;
    display: inline-block;
}
.success {
    background: var(--succes2) !important;
    color: var(--succes3) !important;
    border: 1px solid var(--succes);
}
.danger {
    background: var(--danger2) !important;
    color: var(--danger3) !important;
    border: 1px solid var(--danger);
}
.danger2 {
    background: #171717 !important;
    color: var(--danger) !important;
    border: 1px solid var(--danger);
}
.info {
    background: var(--info2) !important;
    color: var(--info3) !important;
    border: 1px solid var(--info);
}
.warning {
    background: var(--warning2) !important;
    color: var(--warning3) !important;
    border: 1px solid var(--warning);
}
.secondary {
    background: var(--secondary2) !important;
    color: var(--secondary3) !important;
    border: 1px solid var(--secondary);
}
.black {
    background: var(--d-black) !important;
    color: var(--secondary2) !important;
    border: 1px solid var(--secondary2);
}
.purple {
    background: var(--purple2) !important;
    color: var(--purple3) !important;
    border: 1px solid var(--purple);
}

/* Payment Status */
.status-colors {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.paid {
    background: var(--succes) !important;
    color: #fff;
    cursor: pointer;
}
.due {
    background: var(--danger) !important;
    color: #fff;
}
.pending {
    background: var(--warning) !important;
    color: #111;
    cursor: pointer;
}
.mute {
    background: var(#eee9) !important;
    color: #fff;
}
.cancelled {
    background: var(--secondary) !important;
    color: #fff;
}

/* Text Colors */
.success-color {
    color: var(--succes) !important;
}
.danger-color {
    color: var(--danger) !important;
}
.info-color {
    color: var(--info) !important;
}
.warning-color {
    color: var(--warning) !important;
}
.secondary-color {
    color: var(--secondary) !important;
}
.black-color {
    color: var(--secondary) !important;
}

/* Background Colors */
.success-bg {
    background: var(--succes) !important;
    color: white;
}
.danger-bg {
    background: var(--danger) !important;
    color: white;
}
.info-bg {
    background: var(--info) !important;
    color: white;
}
.warning-bg {
    background: var(--warning) !important;
    color: white;
}
.secondary-bg {
    background: var(--secondary) !important;
    color: white;
}
.theme1-bg {
    background: var(--theme1) !important;
    color: white;
}
.lin-theme1-bg {
    background: var(--lin-theme1) !important;
    color: white;
}
.theme2-bg {
    background: var(--theme2) !important;
    color: white;
}
.lin-theme2-bg {
    background: var(--lin-theme2) !important;
    color: white;
}
.white-bg {
    background: var(--d-white) !important;
    color: var(--d-black);
}
.black-bg {
    background: var(--d-black) !important;
    color: var(--d-white);
}
.section-bg {
    background: #efefef;
}

/*-============ 5. Core Components ============*/
/* Buttons */
button,
.btn {
    border: none;
    padding: 8px 10px;
    border-radius: 4px;
    outline: none;
    background: var(--d-black);
    color: var(--d-white);
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 2px;
    display: inline-block;
}
.btn-sm{
    padding: 4px 6px;
    font-size: 0.9rem;
}
button:disabled,
button[disabled] {
    border: 1px solid #999999;
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed;
}
.btn-print {
    background: var(--theme1);
}
button:active,
.btn:active {
    background: #656565;
}
.btn-primary {
    background: var(--main-color);
}

/* Forms & Inputs */
input[type="text"]:not(.default),
input[type="number"]:not(.default),
input[type="password"]:not(.default),
input[type="date"]:not(.default),
input[type="datetime-local"]:not(.default),
input[type="time"]:not(.default),
select:not(.default),
textarea:not(.default) {
    padding: 8px 6px;
    border: 0.7px solid #d9d9d9;
    outline: none;
    border-radius: 4px;
    appearance: none;
    --webkit-appearance: none;
    line-height: initial;
    height: 34px;
    margin-top: 0.2rem;
}
input:focus {
    outline: none;
    border: 0.01px solid var(--theme1) !important;
    filter: drop-shadow(0px 0px 0.7px var(--theme1));
    border-radius: 4px;
}
input[type="submit"] {
    cursor: pointer;
}

/* Select Dropdowns */
select,
input[type="select-one"] {
    background: #f9fafb;
    background-image: linear-gradient(45deg, #00000000 50%, gray 50%),
        linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: calc(100% - 12px) calc(1em + 2px),
        calc(100% - 8px) calc(1em + 2px), calc(100% - 1.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    padding-right: 25px !important;
}
label.required::after {
    content: " *";
    color: rgb(255, 77, 77);
}
select:focus {
    background-image: linear-gradient(45deg, gray 50%, transparent 50%),
        linear-gradient(135deg, transparent 50%, gray 50%);
    background-position: calc(100% - 8px) 1em, calc(100% - 12px) 1em,
        calc(100% - 1.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    border-color: var(--theme2);
    outline: 0;
}
.selectize-input {
    padding-right: 30px !important;
}
.ck-editor__editable_inline {
    height: 450px;
    width: 100%;
}
.ck.ck-powered-by {
    display: none !important;
}

/* Form Layout Groups */
.buttons-group {
    display: flex;
    gap: 5px;
    width: 100%;
    align-items: end;
    margin: 10px auto;
    margin-bottom: 1.5rem;
    background: var(--d-white);
    padding: 1.5rem;
    border-radius: 8px;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--d-light-gray);
}
.buttons-group > input,
.buttons-group > button,
.buttons-group > select {
    margin-bottom: 6px !important;
}
.buttons-group h4 {
    color: var(--d-black);
}
.buttons-group label {
    display: flex;
    flex-direction: column;
    margin: 5px 0;
    color: var(--d-black);
}
.buttons-group input {
    background: #f9fafb;
}

.section-buttons {
    background: var(--d-light-gray);
    padding: 8px 5px;
    border-radius: 4px;
    border-bottom: 2px solid #ccc;
    margin-bottom: 3px;
}
.section-buttons h3 {
    text-align: center;
    color: var(--d-black);
}
.section-buttons-box {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
}
.section-buttons-box label {
    display: flex;
    flex-direction: column;
    margin: 5px;
    color: var(--d-black);
}

/* Tables */
.table {
    width: calc(100% - 10px);
    margin: 8px auto;
    border-collapse: collapse;
    border-radius: 8px;
}
.table thead {
    background: #f8f9f9;
}
.table thead th:nth-child(1) {
    border-radius: 4px 0 0 0;
}
.table thead th:nth-last-child(1) {
    border-radius: 0 4px 0 0;
}
.table tbody tr:nth-last-child(1) td:nth-child(1) {
    border-radius: 0 0 0 4px;
}
.table tbody tr:nth-last-child(1) td:nth-last-child(1) {
    border-radius: 0 0 4px 0;
}
.table.sticky thead tr th {
    position: sticky !important;
    top: 0;
    background: var(--d-white);
}
.table td,
.table th {
    padding: 8px 4px;
}
.table tr:hover > td {
    background: #ddd;
}
.table.sep tr:nth-child(2n + 2) {
    background: #eee;
}
.table.sep tr:nth-child(2n + 1) {
    background: #fff;
}
.dark .table td,
.dark .table th {
    background: #282828;
    color: #f2f2f2;
}
.dark .table tr:hover > td {
    background: #282828;
    color: white;
}
.responsive-table:has(table) {
    width: 100%;
    overflow-x: auto;
    background: var(--d-white);
    border-radius: 8px;
    padding: 1rem;
    border: 0.6px solid var(--d-light-gray);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -2px rgba(0, 0, 0, 0.05);
}
.responsive-table table,
.responsive-datatable-table table {
    width: 100%;
}
.responsive-datatable-table:has(table) {
    width: 100%;
    overflow-x: auto;
    background: var(--d-white);
    border-radius: 4px;
}
table.text-center th,
table.text-center td {
    text-align: center;
}

/* DataTables */
.dataTables_paginate,
.dataTables_filter,
.dataTables_length {
    margin-top: 10px;
    margin-bottom: 10px;
}
.dataTables_length .dropdown,
.dataTables_filter input {
    min-height: 2em !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
div.dt-buttons > .dt-button,
div.dt-buttons > div.dt-button-split .dt-button {
    background: var(--d-white);
    color: var(--d-black);
    margin: 10px 2px 10px;
    border-radius: 4px;
}
.dt-print-view {
    text-align: center;
    margin: 4px auto;
}
.dt-table > .column {
    overflow-x: auto;
    width: 100%;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: #0009;
    width: 100%;
    height: 100%;
    z-index: 11111;
}
.modal.show {
    display: block;
}
.m-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    width: 80%;
    max-width: 100%;
    max-height: max(calc(100vh - 80px), 100%);
    padding: 10px;
    border-radius: 6px;
    margin: 10px auto;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.m-content.no-scroll {
    max-height: calc(100%);
}
.m-content.no-scroll .m-body {
    overflow-y: auto !important;
}
.m-content.small {
    width: 300px !important;
}
.m-content.medium {
    width: 600px !important;
}
.m-content.a4 {
    width: 8.27in !important;
}
.m-content.large {
    width: calc(100% - 20px) !important;
}
.m-content.receipt {
    width: 6in;
    max-height: calc(100%);
}
.m-content.receipt .m-body {
    overflow-y: auto;
}
.m-header {
    padding: 8px;
    border-bottom: 1px solid #888;
    margin-bottom: 12px;
}
.m-body {
    padding: 10px 0;
    overflow-y: auto;
}
.m-footer {
    margin-top: 12px;
    padding: 8px 0;
    text-align: right;
    border-top: 1px solid #888;
}
.modal label:not(:has(input[type="checkbox"])) {
    display: flex;
    flex-direction: column;
    font-weight: 500;
}
/* Form */
.form-input-group {
    margin-top: 5px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Minimal reset-style form design */
.form-group {
    margin-bottom: 8px;
}
.form-group label {
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
    color: #222;
}

/* Custom form control */
.form-control {
    border: 1px solid #888;
    border-radius: 0;
    padding: 6px 10px;
    background-color: #fff;
    box-shadow: none;
    font-size: 15px;
    color: #111;
    width: 100%;
}

/* Card */
.card {
    background-color: var(--d-white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -2px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    border: 1px solid var(--d-light-gray);
}
.card .content h3 {
    text-align: center;
}
.card-header {
    border-bottom: 1px solid #aaa;
    font-weight: 600;
    font-size: 15px;
    color: #111;
    padding: 8px 0px;
    margin-bottom: 15px;
}

/* Loader Animation */
.loader-alt {
    display: inline-block;
    position: relative;
    width: 15px;
    height: 15px;
}
.loader-alt::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    display: inline-block;
    border: 2px solid #111;
    border-left: 2px solid #f2f2f2;
    border-radius: 50%;
    transform-origin: center;
    animation: loading 1s linear infinite;
}
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
#loading-anim {
    display: none;
    margin: 10px auto;
    text-align: center;
}

/*-============ 6. Page-Specific Sections ============*/
/* Login Form */
.login-form-div {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 100px auto;
    background: #f6f6f6;
    text-align: center;
    border-radius: 13px;
}
.login-form-div .form-logo {
    width: 100px;
    height: 100px;
    margin: auto;
    text-align: center;
    border: 2px solid #eee;
    border-radius: 100px;
    overflow: hidden;
    object-fit: center;
}
.login-form-div .form-logo img {
    width: 100%;
}
.login-form-div form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.login-form-div input {
    border: 1px solid var(--theme2);
    border-radius: 30px;
}
.showPassCheck {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 5px;
}
.login-form-div h3 {
    color: var(--theme1);
    margin: 8px auto;
}
.login-form-div input[type="submit"] {
    background: var(--theme2);
    color: white;
    padding: 10px;
}
.loginType {
    border-radius: 30px;
}
/* Notice Board== */
.notice-heading-hero {
    background-color: var(--theme1);
    border-radius: 8px;
    position: relative;
    height: 52px;
    margin-bottom: 45px;
}
.notice-heading-hero::before {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 15px;
    width: 33px;
    height: 31px;
    clip-path: polygon(11% 0, 0% 100%, 100% 0);
    background-color: var(--theme1);
}
.notice-heading-hero img {
    position: absolute;
    left: -26px;
    top: -44px;
    width: 135px;
}
.notice-heading-hero span {
    position: absolute;
    left: 91px;
    top: 9px;
    color: white;
}
.listDesign {
    list-style: none;
    padding: 3px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
}
.listDesign .noticeBox {
    cursor: pointer;
}
.listDesign .homep {
    /* background: #ffffff9e; */
    height: 65px;
    margin-bottom: 5px;
    border-radius: 8px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    cursor: pointer;
    border: 1px solid #000000;
    overflow: hidden;
}
.listDesign div.homep {
    cursor: initial;
}
.listDesign div.homep p {
    padding: 4px;
}
.noticeBoard {
    overflow-y: auto;
}
.dateBox {
    box-sizing: border-box;
    background: #fff;
    text-align: center !important;
    border-radius: 5px;
    display: inline-block;
    min-width: 41px !important;
    min-height: 64px !important;
    position: relative;
    overflow: hidden;
    margin-right: 5px;
    border: 1px solid #222;
}
.dateBox span {
    display: block;
    text-align: center;
    font-size: 20px !important;
    margin-top: 5px;
}
.dateBox span:nth-child(2) {
    position: absolute;
    background: var(--theme1);
    color: white;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 17px;
    padding: 4px 0;
}
.noticeBoard {
    overflow-y: auto;
}
.dateBox {
    box-sizing: border-box;
    background: #fff;
    text-align: center !important;
    border-radius: 5px;
    display: inline-block;
    min-width: 41px !important;
    min-height: 64px !important;
    position: relative;
    overflow: hidden;
    margin-right: 5px;
    border: 1px solid #222;
}
.dateBox span {
    display: block;
    text-align: center;
    font-size: 20px !important;
    margin-top: 5px;
}
.dateBox span:nth-child(2) {
    position: absolute;
    background: var(--theme1);
    color: white;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 17px;
    padding: 4px 0;
}
/* Admission Form */
.admission-form-container {
    width: 8.5in;
}
.classSection {
    padding: 3px;
}
.classRadio {
    display: inline-block;
    vertical-align: middle;
    padding: 3px;
    font-size: 13px;
    letter-spacing: 1px;
    background: var(--form-bg1);
    color: white;
    margin: 2px auto;
    border-radius: 30px;
}
.formImage {
    width: 130px;
    aspect-ratio: 3/4;
    border: 2px solid #aaa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.formImage input,
.formImage img {
    width: 100%;
}
table.previousStudy {
    background: white;
}
table.previousStudy input {
    width: 100%;
    border: none;
}
.signatureBox {
    margin-top: 50px;
    border-top: 2px solid #222;
    display: inline-block;
    text-align: center;
}
.formLastAddr p {
    display: inline-block;
}

/* Money Receipt */
.money-receipt-container {
    display: flex;
    flex-direction: column;
    margin: 0px auto;
    width: min(100%, 5.5in);
    padding: 10px;
}
.money-receipt-container .receipt-header {
    padding: 10px 0;
    margin-bottom: 6px;
    border-bottom: 1px solid #222;
    align-items: flex-end;
}
.money-receipt-container .logo-box {
    height: 38px;
    margin-right: 6px;
    margin-top: 17px;
}
.money-receipt-container .logo-box img {
    height: 100%;
}
.money-receipt-container .hero-box {
    font-size: 20px;
    text-align: right;
}
.money-receipt-container .address-box p {
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
}
.money-receipt-container .date-box table td {
    padding: 4px;
}
/* .money-receipt-container tbody tr > td:nth-child(1) { text-align: center; } */
.money-receipt-container td:nth-last-child(3) {
    text-align: left;
}
.money-receipt-container .receipt-details {
    display: flex;
    flex-direction: column;
}
.money-receipt-container .receipt-details h3 {
    text-align: center;
    display: inline-block;
    margin: 10px auto;
    padding: 5px;
    border-radius: 0px;
    border: 1px solid var(--theme1);
}
.money-receipt-container .receipt-details > div {
    margin-bottom: 5px;
    font-weight: 400;
}
.money-receipt-container .receipt-datas table {
    width: 100%;
}
.money-receipt-container .receipt-datas table td {
    padding: 2px;
}
input[name="receiptData[]"],
input[name="receiptDataDeduction[]"],
#calTotal,
#calPaid,
#calSubTotal,
#calSubPaid,
#subTotalPay,
#totalDeduction,
#calSubTotalPay,
#calTotalDeduction,
#totalPay,
#calDue {
    width: 85px;
}

/* Watermark */
.water-mark-box {
    position: relative;
}
.water-mark-box .water-mark {
    position: absolute;
    top: 4px;
    left: 5px;
    color: #ccc;
    font-size: 26px;
    font-weight: 900;
    transform: rotate(-10deg);
}
.water-mark-box .content {
    position: relative;
    z-index: 1;
}

/* Developer Info Footer */
.devinfo {
    bottom: 0;
    display: block;
    width: 100%;
    padding: 4px;
    background: #e3e3e3ba;
    font-size: 12px;
    color: #3c3c3c;
    height: 25px;
    margin-top: 15px;
}
.devinfo a {
    text-decoration: none;
    color: #000000;
}

/*-============ 7. Exam Management Styles ============*/
.mark-entry table tr td {
    padding: 3px 5px;
}
.mark-entry table tr td input {
    width: 61px;
    max-width: 100%;
}
.mark-entry table tr td input[type="button"] {
    background: var(--theme1);
    color: white;
    padding: 8px;
    border: none;
    border-radius: 3px;
    width: 80px;
}
.mark-entry table tr td input[type="button"]:active {
    background: #282888;
}
.mark-entry table tr td input[type="button"]:disabled {
    background: #343434;
}
.is_adding{
    display: none;
}
.mark-sheet-table thead th:nth-last-child(1) {
    font-size: 12px;
}
.mark-sheet-view .header .logo-box img {
    width: calc(100% - 80px);
    margin: auto;
}
.mark-sheet-table td {
    text-align: center;
}
.mark-sheet-table tr th:nth-child(1) {
    width: 50px;
}
.grading table th,
.grading table td {
    padding: 3px 5px;
    font-size: 12px;
    text-align: center;
}

/*-============ 8. Responsive & Media Queries ============*/
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
    .card-con-employee {
        grid-template-columns: 1fr 1fr;
    }
    .filter-buttons {
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
    .card-con-employee {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/* Tooltip on touch devices */
@media (pointer: coarse), (hover: none) {
    [title] {
        position: relative;
        display: inline-flex;
        justify-content: center;
    }
    [title]:focus::after {
        content: attr(title);
        position: absolute;
        top: 90%;
        color: #000;
        background-color: #fff;
        border: 1px solid;
        width: fit-content;
        padding: 3px;
        font-size: 10px;
        z-index: 10;
    }
}

/*-============ 9. Print Styles ============*/
.print-only {
    display: none;
}

@media print {
    body {
        background: white;
    }
    .sidebar,
    .m-header,
    .m-footer,
    .btn-print,
    .print-none {
        display: none !important;
    }
    .modal {
        height: auto !important;
        z-index: 111111;
        background: #fff;
        display: block !important;
        position: static !important;
    }
    .m-content {
        width: 100% !important;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }
    .main-content-container {
        padding: 0 !important;
    }
    input,
    textarea,
    label,
    h1,
    h2,
    h3,
    h4,
    p,
    span,
    div {
        color: var(--d-black) !important;
    }
    .admission-form-container {
        width: 100%;
    }
    #mark-sheet-view {
        page-break-after: always;
        break-after: page;
    }
    .mark-sheet-table {
        table-layout: fixed;
    }
    .mark-sheet-table tr th:nth-child(2) {
        width: 150px;
    }
    .print-only {
        display: block;
    }
}
