.remove-elective-subject {
    position: absolute;
    right: 20px;
    margin-top: 3px;
}

#external-events {
    z-index: 2;
    width: 150px;
    padding: 0 10px;
    border: 1px solid #ccc;
    background: #eee;
}

#external-events .fc-event {
    cursor: move;
    margin: 3px 0;
    height: 45px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.fc-customButton-button {
    font-size: 13px !important;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateY(-50%);
}


.form-group {
    margin-bottom: 1rem;
}

.form-group > label {
    margin-bottom: 10px;
}

#delete-modal .modal-footer > .btn {

    border-radius: 3px !important;
    padding: 0 8px !important;
    font-size: 15px;
}

.fc-scroller {
    overflow-y: hidden !important;
}

.context-menu {
    position: absolute;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    padding: 5px;
}

.context-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.context-menu ul > li {
    display: block;;
    padding: 5px 15px;
    list-style-type: none;
    color: #333;
    cursor: pointer;
    margin: 0 auto;
    transition: 0.10s;
    font-size: 13px;
}

.context-menu ul > li:hover {
    color: #fff;
    background-color: #007bff;
    border-radius: 2px;
}

/*.fa, .fas {*/
/*    font-size: 13px;*/
/*    margin-right: 4px;*/
/*}*/

.no-header-toolbar .fc-header-toolbar.fc-toolbar {
    margin-top: 0;
    margin-bottom: 0;
}

.fc-h-event {
    border: none;
}

.remove-timetable {
    padding: 2px 3px;
}

.remove-timetable:hover {
    background: white;
    color: black;
    border-radius: 10px;
}

label.filter-menu {
    font-size: 13px;
    color: #7c7c7c;
    font-weight: 500;
    position: absolute;
    top: -8px;
    /*left: 27px;*/
    /*left: 1%;*/
    background: #fff;
    /*margin-bottom: 0;*/
    margin-left: 5px;
    padding: 0 5px;
    z-index: 99;
    border-radius: 20px;
}

/*.select2-container--default.select2-container--focus .select2-selection--multiple {*/
/*    height: 45px;*/
/*}*/

/*.select2-container .select2-selection--multiple {*/
/*    min-height: 45px;*/
/*}*/

.w-fit-content {
    width: fit-content;
}

.select2-container--default .select2-selection--single {
    padding: 0.94rem 0.6rem !important;
}

.select2-container--default .select2-selection--multiple {
    padding: 0.34rem 0.6rem !important;
}

.select2-search__field::placeholder {
    color: #444;
    font-size: 0.8125rem;
}

.asColorPicker-alpha {
    display: none;
}

.remove-number-increment::-webkit-inner-spin-button,
.remove-number-increment::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.total_paidable_amount {
    background-color: lightgray;
}
.dashboard-description {
    font-size: 13px;
}
.v-scroll {
    height: 385px;
    overflow-y: scroll;
}
.custom-card-body {
    padding: 1.25rem !important;
}
.image-tile img {
    height: 200px;
    object-fit: cover;
}
.text-wrap div {
    white-space: normal !important;
}

.package-type-badge {
    position: absolute;
    left: auto;
    right: -10px;
    clip-path: polygon(50% 0%,100% 0%,100% 100%,0% 100%,14% 52%,0% 0%);
    width: 130px;
    height: 38px;
    top: 8px;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.package-type-badge{
    right: -2px;
}

.postpaid-color {
    background: var(--primary-color);
}
.prepaid-color {
    background: var(--secondary-color);
}

.addon-border-primary {
    overflow: hidden;
}
.addon-ribbon {
    font: bold 15px sans-serif;
    color: #333;
    text-align: center;
    -webkit-transform: rotate(-45deg);
    -moz-transform:    rotate(-45deg);
    -ms-transform:     rotate(-45deg);
    -o-transform:      rotate(-45deg);
    position: absolute;
    padding: 7px 0;
    top: 15px;
    left: -30px;
    width: 120px;
    background-color: #ff0000;
    color: #fff;
}
.sidebar .nav .nav-item .nav-link i.menu-icon {
    margin-left: 5px !important;
    width: 30px;
}
.sidebar .nav .nav-item {
    padding: 0 1.25rem !important;
}
@media (min-width: 992px) {
    .sidebar-icon-only .sidebar .nav .nav-item {
        position: relative;
        padding: 0 !important;
    }
}
.sidebar .nav .nav-item .nav-link i.menu-arrow {
    font-size: 1.5rem !important;
}
.student-id-card-demo {
    position: fixed;
    width: -webkit-fill-available;
    margin-right: 20px;
}

.action-column-dropdown-menu {
    left: -2rem !important;
}
.action-column-menu {

    /* position: absolute; */
    /* transform: translate(-50%, -50%); */

    /* position: absolute;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 1000; */

    /* top: 50%;
    left: 50%; */
}

.action-td-cell {
    /* position: absolute; */
    /* border: 0px !important; */
    /* top: 40px; */
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background-color: #007bff !important;
    color: #fff !important;
}
/* --- MODERN UI & BRAND LOGO COLOR SYSTEM OVERRIDES --- */
:root {
    --primary: #133d69 !important;
    --theme-color: #133d69 !important;
    --secondary: #61b83b !important;
    --success: #61b83b !important;
    --info: #174a7f !important;
    --blue: #133d69 !important;
    --green: #61b83b !important;
    --accent: #f59e0b !important;
    --gradient-primary: linear-gradient(135deg, #133d69 0%, #1e4a7a 100%) !important;
    --gradient-success: linear-gradient(135deg, #61b83b 0%, #4b8f2d 100%) !important;
}

/* --- Brand Primary (#133d69 Navy) --- */
.bg-primary, .badge-primary, .btn-theme { 
    background: linear-gradient(135deg, #133d69 0%, #1e4a7a 100%) !important; 
    color: #ffffff !important;
}
.text-primary, .sidebar .nav .nav-item.active > .nav-link, .sidebar .nav .nav-item.active > .nav-link i { 
    color: #133d69 !important; 
}
.btn-primary, .btn-theme { 
    background: linear-gradient(135deg, #133d69 0%, #1a497b 100%) !important; 
    border-color: #133d69 !important; 
    color: #fff !important; 
    box-shadow: 0 4px 12px rgba(19, 61, 105, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 8px !important;
}
.btn-primary:hover, .btn-theme:hover { 
    background: linear-gradient(135deg, #0d2a4a 0%, #133d69 100%) !important; 
    border-color: #0d2a4a !important; 
    color: #fff !important; 
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(19, 61, 105, 0.35) !important;
}
.btn-primary:active, .btn-theme:active {
    transform: scale(0.98);
}

/* --- Brand Success (#61b83b Bright Green) --- */
.bg-success, .badge-success { 
    background: linear-gradient(135deg, #61b83b 0%, #4b8f2d 100%) !important; 
    color: #ffffff !important;
}
.text-success { 
    color: #61b83b !important; 
}
.btn-success { 
    background: linear-gradient(135deg, #61b83b 0%, #4f9630 100%) !important; 
    border-color: #61b83b !important; 
    color: #fff !important; 
    box-shadow: 0 4px 12px rgba(97, 184, 59, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 8px !important;
}
.btn-success:hover { 
    background: linear-gradient(135deg, #4b8f2d 0%, #3e7824 100%) !important; 
    border-color: #4b8f2d !important; 
    color: #fff !important; 
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(97, 184, 59, 0.35) !important;
}

/* --- Brand Info (#174a7f Deep Blue) --- */
.bg-info, .badge-info { 
    background-color: #174a7f !important; 
    color: #ffffff !important;
}
.btn-info { 
    background: linear-gradient(135deg, #174a7f 0%, #133d69 100%) !important; 
    border-color: #174a7f !important; 
    color: #fff !important; 
    box-shadow: 0 4px 12px rgba(23, 74, 127, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 8px !important;
}
.btn-info:hover { 
    background: linear-gradient(135deg, #133d69 0%, #0d2a4a 100%) !important; 
    border-color: #133d69 !important; 
    color: #fff !important; 
    transform: translateY(-2px);
}

/* --- Sleek Cards & Smooth Elevation --- */
.card {
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important;
    animation: fadeInUp 0.4s ease-out forwards;
}
.card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08) !important;
}
.card .card-body { 
    border-radius: 16px !important; 
}

/* --- Inputs & Select2 Smooth Focus --- */
.form-control, .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple { 
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.form-control:focus, .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #133d69 !important;
    box-shadow: 0 0 0 3px rgba(19, 61, 105, 0.15) !important;
}

/* --- Modern Table Styling & Row Hover --- */
.table {
    border-collapse: separate !important;
    border-spacing: 0 4px !important;
}
.table thead th {
    background: linear-gradient(135deg, #133d69 0%, #1e4a7a 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border: none !important;
    padding: 12px 16px !important;
}
.table thead th:first-child {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}
.table thead th:last-child {
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}
.table tbody tr {
    transition: background-color 0.2s ease, transform 0.15s ease !important;
    border-radius: 8px !important;
}
.table tbody tr:hover {
    background-color: #f1f5f9 !important;
    transform: scale(1.002);
}

/* --- Sidebar Smooth Hover & Active Accent --- */
.sidebar .nav .nav-item {
    transition: transform 0.2s ease !important;
}
.sidebar .nav .nav-item:hover {
    transform: translateX(4px);
}
.sidebar .nav .nav-item.active {
    border-left: 4px solid #61b83b !important;
    background: rgba(97, 184, 59, 0.08) !important;
    border-radius: 0 8px 8px 0 !important;
}

/* --- Smooth Keyframe Animations --- */
@keyframes fadeInUp { 
    from { 
        opacity: 0; 
        transform: translateY(16px); 
    } 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}
@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.dropdown-menu {
    animation: dropdownSlide 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}


