@import url("https://fonts.googleapis.com/css?family=Rubik:300,400,500,700,900");
@import url(icons/font-awesome/css/fontawesome-all.css);
@import url(icons/simple-line-icons/css/simple-line-icons.css);
@import url(icons/weather-icons/css/weather-icons.min.css);
@import url(icons/themify-icons/themify-icons.css);
@import url(icons/material-design-iconic-font/css/materialdesignicons.min.css);
@import url(icons/fontawesome6.5.1/css/all.css);

.power{
    color: #6573c3;
    /*font-size: 50px;*/
    stroke-width: 20;
    stroke: #6573c3;
}

.card {
    font-size: 0.90em;
    --cui-card-border-color: #fff;
}

.card-header{
    background-color:transparent;
    color: #6573c3;
    font-weight: bolder;
}

.card-footer{
    background-color:transparent;
    color: #6573c3;
    font-weight: bolder;
}

.center-screen {
    display: flex;
    align-items: center;
}

.row{
    padding: 0px 5px 0px 5px;
}

.col-form-label {
    font-size: 0.875em;
}

a {
    text-decoration: none;
}

.form-group label.required:after {content:" *";color:red;font-size:0.7rem;}

.sidebar{
    --cui-sidebar-width: auto;
    /*position: absolute !important;*/
    --cui-sidebar-bg: #6573c3;
    /*--cui-sidebar-brand-height: 4.4rem;*/
    border-radius: 5px;
    /*width: 21% !important;*/
    height: 350px;
}

.sidebar .nav-title {
    font-size: 0.85em;
    padding: 0.5em 1.5em 0.5em 1.5em !important;
}

.side-title{
    font-size: 0.95em;
    padding: 0.5em 1.5em 0.5em 1.5em !important;
    background-color: #49569b;
    font-weight: bolder;
    border-radius: 5px;
    max-width: 270px;
}

.sidebar .nav-item{
    /*border-radius: 5px;*/

}

.sidebar-nav .nav-link {
    font-size: 0.85em;
    /*white-space: normal;*/
    padding: 0.5em 2em 0.5em 2em !important;
}

/* Shared by the applicant, admin and student views — the applicant "New Application"
   button relies on this fixed width to wrap its label and icon into a card, so widen
   buttons under .student-main rather than relaxing this rule. */
.btn {
    width: 100px;
    font-size: 0.85em;
    box-shadow: 0 0.5px 2px rgba(0,0,0,.15);
}

.btn-primary {
    --cui-btn-color: rgba(255, 255, 255, 0.87);
    --cui-btn-bg: #5262bc;
    --cui-btn-border-color: #5262bc;
    --cui-btn-hover-color: rgba(255, 255, 255, 0.87);
    --cui-btn-hover-bg: #6573c3;
    --cui-btn-hover-border-color: #5262bc;
    --cui-btn-focus-shadow-rgb: 75, 68, 66;
    --cui-btn-active-color: rgba(255, 255, 255, 0.87);
    --cui-btn-active-bg: #5262bc;
    --cui-btn-active-border-color: #4735df;
    --cui-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 21, 0.125);
    --cui-btn-disabled-color: rgba(255, 255, 255, 0.87);
    --cui-btn-disabled-bg: #6573c3;
    --cui-btn-disabled-border-color: #321fdb;
}

.btn-secondary {
    --cui-btn-color: #5262bc;
    --cui-btn-bg: white;
    --cui-btn-border-color: #5262bc;
    --cui-btn-hover-color: rgba(255, 255, 255, 0.87);
    --cui-btn-hover-bg: #6573c3;
    --cui-btn-hover-border-color: #5262bc;
    --cui-btn-focus-shadow-rgb: 75, 68, 66;
    --cui-btn-active-color: rgba(255, 255, 255, 0.87);
    --cui-btn-active-bg: #5262bc;
    --cui-btn-active-border-color: #4735df;
    --cui-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 21, 0.125);
    --cui-btn-disabled-color: rgba(255, 255, 255, 0.87);
    --cui-btn-disabled-bg: #6573c3;
    --cui-btn-disabled-border-color: #321fdb;
    width: auto;
}

.page-link.active, .active > .page-link {
    z-index: 3;
    color: var(--cui-pagination-active-color);
    background-color: #3f51b5;
    border-color: var(--cui-pagination-active-border-color);
}

.pagination {
    --cui-pagination-font-size: 0.75rem;
}

.fa-plus-square{
    color: #3f51b5;
    font-size: 2em;
    text-align: center;
    width: 1.25em;
    background: none;
    border: none;
    outline: none;
}

.fa-pen-square{
    color: #3f51b5;
    font-size: 2em;
    text-align: center;
    width: 1.25em;
    background: none;
    border: none;
    outline: none;
}

.fa-trash{
    top: 0px;
    color: #3f51b5;
    font-size: 1.7em;
    text-align: center;
    width: 1.25em;
    background: none;
    border: none;
    outline: none;
}

.fa-window-close{
    color: ghostwhite;
    font-size: 1.25em;
    float: right;
    width: 1.25em;
    background: none;
    padding: 0px;
    border: none;
    outline: none;
}

.fs-7 {
    font-size: 0.5rem !important;
}

.fs-8 {
    font-size: 0.75rem !important;
}

.fs-9 {
    font-size: 0.25rem !important;
}

.ss-main .ss-multi-selected .ss-add{
    display:none !important;
}

.ss-main .ss-arrow {
    display:none !important;
}

.placeholder {
    cursor: pointer;
    background-color: unset;
    opacity: unset;
}

.ss-main .ss-single-selected {
    height: 35px !important;
}

.ss-main .ss-multi-selected {
    height: 35px !important;
}

/*.ss-disabled{*/
/*    color:#666 !important;*/
/*}*/

.alert {
    --cui-alert-padding-x: 0.5rem;
    --cui-alert-padding-y: 0.5rem;
    /*margin-bottom: 0.5rem;*/
    /*margin-right: 0.25rem !important;*/
    /*margin-left: 0.15rem !important;*/
}

.modal-header{
    background-color:transparent;
    color: #6573c3;
    font-weight: bolder;
}

.modal{
    font-size: 0.85rem !important;
}

.modal-reg-det{
    --cui-modal-width: 1000px !important;
}

.btn-secondary{
    --cui-btn-hover-bg: #7381cf;
    --cui-btn-hover-color: #d5d7e1;
    --cui-btn-active-bg: #d5d7e1;
    --cui-btn-focus-shadow-rgb: 156, 179, 217;
}

.img-fluid {
    /*max-width: 30%;*/
    /*min-height: 20px;
    max-height: 30px;*/
    min-width: 100px;
    /*width: 300px;*/
    min-height: 50px;
    max-height: 40px;
}

.px-logo {
    position: absolute;
    top: 0.55rem !important;
    left: 2rem;
    /*padding-left: 3.5rem !important;*/
}

.px-home {
    margin-top: 0.75rem;
    font-size: 0.75rem;
}

a {
    color: #6573c3;
}

.px-home .btn-secondary:hover a {
    color: #d5d7e1;
}

.px-credit {
    font-size: 0.75rem;
}

.px-credit .btn-secondary:hover a {
    color: #d5d7e1;
}

.px-lang{
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6573c3 !important;
}

.px-user a{
    margin-top: 0.8rem;
    font-size: 0.75rem;
    color: #6573c3 !important;
}

.px-logout {
    position: absolute;
    top: 0.75rem !important;
    right: 2rem !important;
}
.select2-container {
    font-size: 0.75rem;
}

/*.select2-dropdown {*/
/*    font-size: 0.75rem;*/
/*}*/

.select-validation-error ~ .select2 .select2-selection {
    border: 1px solid #e55353;
}

.input-validation-error {
    border: 1px solid #e55353 !important;
}

.validation-message {
    text-align: right;
    color: #e55353;
    font-size: 0.60rem
}

.input-validation-msg{
    display: none;
}

/*.form-text {*/
/*    margin-top: 0.5rem;*/
/*    color: var(--cui-form-text-color, rgba(44, 56, 74, 1));*/
/*}*/

.form-control {
    padding: 0.275rem 0.5rem;
    font-size: 0.75rem;
    height: 35px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    focus-border-color:unset;
}

.form-control[type=file] {
    height: unset;
}

.form-control:focus {
    color: var(--cui-input-focus-color, rgba(44, 56, 74, 0.95));
    background-color: var(--cui-input-focus-bg, #fff);
    border-color: var(--cui-input-focus-border-color, #998fed);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(50, 31, 219, 0.25);
}

.form-select {
    padding: 0.275rem 0.75rem;
    font-size: 0.75rem;
}

.form-control:disabled {
    background-color: #eee;
    border-color: #ced4da;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #6573c3;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #6573c3;
    opacity: 50%;
    color: white;
}

.select2-selection__clear{
    display: none;
    /*color: #6573c3;*/
}

.select2-selection__arrow{
    display: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 8px;
}

.select2-container *:focus {
    outline: none;
}

.select2-search__field{
    color: var(--cui-input-focus-color, rgba(44, 56, 74, 0.95));
    background-color: var(--cui-input-focus-bg, #fff);
    border-color: var(--cui-input-focus-border-color, #998fed);
    box-shadow: 0 0 0 0.25rem rgba(50, 31, 219, 0.25);
}

pre {
    margin-bottom: 0rem;
}

.tr-req:after  {content:" *";color:red;font-size:0.7rem;}

.del-x{
    background-color: #6573c3;
    color:whitesmoke;
    border-radius: 4px;
    font-size: 0.5rem;
    font-weight: 40;
    padding: 0em .1em 0em .1em;
    /*margin-bottom: 0.5rem;*/
    border: 3px solid #6573c3;
}
.form-check-label{
    font-size: 0.75rem;
}
.form-check-input:disabled ~ .form-check-label {
     opacity: unset;
}

.profile-att{
    padding-top: 0.5rem !important;
    padding-right: 4rem !important;
    /*font-size: 0.75rem !important;*/
    font-size: 0.75rem !important;
    color:#6573c3 !important;
}

.doc-notice{
    border-style: solid;
    border-color: indianred;
    color: indianred;
    border-radius: 10px;
}

.doc-notice2{
    border-style: solid;
    border-color: #6573c3;
    color: #6573c3;
    border-radius: 10px;
}

.doc-notice3{
    border-style: solid;
    border-color: mediumseagreen;
    color: mediumseagreen;
    border-radius: 10px;
}

.spinner-grow{
    display: block;
    position: fixed;
    z-index: 1031;
    top: 40%;
    left: 45%;
    color: ghostwhite;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    z-index: 999; /* ensure the overlay is on top of other elements */
    display: none; /* initially hidden */
}

.overlay.show {
    display: block; /* show the overlay */
}

.header-toggler:hover{
    color:whitesmoke !important;
    border-radius: 5px;
}

.swal2-styled.swal2-confirm {
    background-color: #6573c3;
    font-size: 0.75em;
}

.swal2-styled.swal2-cancel {
    font-size: 0.75em;
}

.w-80{
    width: 79% !important;
}
.breadcrumb{
    --cui-breadcrumb-divider: ' ';
}

.breadcrumb-item.active{
    color: #6573c3 !important;
    font-weight: bold;
}

.breadcrumb-item{
    color: #6573c3 !important;
    border: solid #6573c3 !important;
    border-radius: 10px;
}

.appname{
    font-weight: bolder;
    font-size: 1.4rem !important;
    color:#6573c3 !important;
    max-width: 1320px;
    width: 100%;
    text-align: right;
}

ol.progress-track {
    display: table;
    list-style-type: none;
    margin: 0;
    padding: 2em 1em;
    table-layout: fixed;
    width: 100%;
    padding-bottom: 3em;
}
ol.progress-track li {
    display: table-cell;
    /*line-height: 3em;*/
    position: relative;
    text-align: center;
}
ol.progress-track li .icon-wrapp {
    border-radius: 50%;
    top: -1em;
    color: #fff;
    display: block;
    height: 2em;
    margin: 0 auto -1.5em;
    left: 0;
    right: 0;
    position: relative;
    width: 2em;
}
ol.progress-track li .progress-text {
    position: relative;
    top: 10px;
}
ol.progress-track li.progress-done {
    border-top: 2px solid #676765;
    transition: border-color 1s ease-in-out;
    -webkit-transition: border-color 1s ease-in-out;
    -moz-transition: border-color 1s ease-in-out;
}
ol.progress-track li.progress-done.progress-current .icon-wrapp {
    background-color: #90c6ff;
    color:#fff;
}

ol.progress-track li.progress-done .icon-wrapp {
    background-color: #004D9E;
    border: 3px solid #8c8c8c;
}
ol.progress-track li.progress-todo {
    border-top: 2px solid #dddddd;
    color: black;
}
ol.progress-track li.progress-todo .icon-wrapp {
    background-color: #FFF;
    border: 3px solid #dddddd;

    color: #ccc;

}
ol.progress-track li .icon-wrapp .icon { font-size:1.3em;  margin-top:0px; display:block; }

.frontcanvas {
    /*top: 100px;*/
    position: relative;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.65);
    -moz-box-shadow: 0 1px 10px rgba(0,0,0,.65);
    /*box-shadow: 0 1px 10px rgba(0,0,0,.65);
    border-radius: 8px;*/
    box-shadow: 15px 22px 25px rgba(0,0,0,.65);
    border-radius: 20px;
}
.btnlogin:hover {
    color: #C3CCFAFF;
}
.btnlogin {
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 700;
    height: 36px;
    padding: 0 8px;
    /*border: 1px solid #535FA6FF;*/
    border: 0px;
    color: #fff;
    text-shadow: 0 1px rgba(11, 13, 16, 0.52);
    background-color: #7381cf;
    background: -moz-linear-gradient(top, #c3ccfa 0%, #7381cf 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #A0ABE5FF), color-stop(100%, #7381cf));
    background: -webkit-linear-gradient(top, #A0ABE5FF 0%, #7381cf 100%);
    background: -o-linear-gradient(top, #A0ABE5FF 0%, #7381cf 100%);
    background: -ms-linear-gradient(top, #A0ABE5FF 0%, #7381cf 100%);
    background: linear-gradient(to bottom, #A0ABE5FF 0%, #7381cf 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#A0ABE5FF', endColorstr='#7381cf', GradientType=0 );
}

/*success login page css*/
#cardsuccess {
    position: relative;
    width: auto;
    display: block;
    margin: 30px -30px -30px;
    text-align: center;
    /*font-family: 'Source Sans Pro', sans-serif;*/
    border-style: solid;
    /*border-color: #8BC34A;*/
    color: #387C30;
    border-radius: 13px;
}

#upper-side {
    padding: 1em;
    /*background-color: #8BC34A;*/
    background-color: #387C30;
    display: block;
    color: #fff;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

#checkmark {
    font-weight: lighter;
    fill: #fff;
    margin: -3.5em auto auto 20px;
}

#status {
    /*font-weight: lighter;*/
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1em;
    margin-top: -.2em;
    margin-bottom: 0;
}

#lower-side {
    padding: 2em 2em 5em 2em;
    background: #fff;
    display: block;
    border-bottom-right-radius: 13px;
    border-bottom-left-radius: 13px;
}

#message {
    margin-top: -.5em;
    color: #757575;
    /*letter-spacing: 1px;*/
}

#contBtn {
    position: relative;
    top: 2.5em;
    text-decoration: none;
    background: #387C30;
    color: #fff;
    margin: auto;
    padding: .8em 3em;
    -webkit-box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.21);
    -moz-box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.21);
    box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.21);
    border-radius: 25px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

#contBtn:hover {
    -webkit-box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.41);
    -moz-box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.41);
    box-shadow: 0px 15px 30px rgba(50, 50, 50, 0.41);
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}
/*ends success login page css*/

.popover {
    --cui-popover-max-width: 600px;
}

.dropdown-menu {
    --cui-dropdown-min-width: auto !important;
    --cui-dropdown-border-color: #6573c3 !important;
}

.dropdown-menu2 {
    box-shadow: 0 1px 10px rgba(0,0,0,.15);
    border-color: #fff !important;
    font-size: 14px;
}

.dropdown-item {
    color:#6573c3 !important;
}

.titlelogin {
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1.5px;
    font-size: 1.1em;
    font-weight: bold;
    color: #03559d;
}

.accpt-body {
    text-align: center;
    width: 50%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;

}

.accpt {
    display: block;
    margin: 0 auto;
    /*border: 1px #03559d;*/
    /*padding: 10px;*/
    background-color: whitesmoke;
    border-top-right-radius: 30px;
}

.accpt img {
    border-top-right-radius: 30px;
    max-width: 100%;
    height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 33px !important;
}

/*.d-flex a:hover i,*/
/*.d-flex a:hover span {*/
/*    transform: scale(1.1); !* Increase the scale factor for the "pop" effect *!*/
/*    opacity: 75%;*/
/*}*/

.icon-group a {
    font-size: 0.85rem;
    display: flex; /* Use flexbox */
    flex-direction: column; /* Stack icon and text vertically */
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
    width: 100px; /* Set a fixed width for all anchor tags */
    height: 100px; /* Set a fixed height for all anchor tags */
    padding: 5px; /* Adjust padding to resize hover effect area */
}

.icon-group i {
    font-size: 1.5rem;
}

.icon-group a:hover {
    /*padding: 10px; !* Increase padding on hover to resize hover effect area *!*/
    background-color: #6573c3; /* Apply background color on hover */
    border-radius: 10px;
}

.icon-group a:hover i,
.icon-group a:hover span {
    /*transform: scale(1.1); !* Increase the scale factor for the "pop" effect *!*/
    opacity: 75%;
    color: white;
}

.form-control[type=file]::-webkit-file-upload-button {
    height: 35px; /* Set the height of the button to match the height of the input */
    /*padding: 3; !* Remove any padding *!*/
    /*background-color: #yourColor; !* Set your desired background color *!*/
    /*color: #yourTextColor; !* Set your desired text color *!*/
    /*border: none; !* Remove border *!*/
    /*border-radius: 5px; !* Optional: Add border radius for rounded corners *!*/
    /* Add any other styles as needed */
}

.smaller-swal {
    font-size: 0.75em;
    width: 300px; /* Adjust the width as needed */
}

.btn-custom {
    position: relative; /* Ensure relative positioning for absolute child */
    /*padding-right: 20px; !* Add padding on the right to accommodate the dot *!*/
    font-size: 0.65em; /* Match this with the h1 font size if needed */
    padding: 0.1em 0.5em; /* Adjust padding as needed */
    line-height: 1.5; /* Adjust line height to align with h1 */
    margin-top: -0.5em;
}

.icon.h1-icon {
    margin-top: 0;
    margin-bottom: 0.2rem;
    font-weight: 500;
    line-height: 1.2;
    width: 1.5em !important;
    height: 1.5em !important;
    vertical-align: middle;
}

.flicker {
    animation: flickerAnimation 1s infinite;
    background-color: #2CD21F;
    color:white;
}

@keyframes flickerAnimation {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    padding-right: 30px; /* Adjust the padding to prevent text from overlapping with the icon */
}

.password-container .toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
}

.bg-student {
    background-color: #0d4c80;
}

.bg-student2 {
    background-color: #0a3a61;
}

/* ============================================
   STUDENT PORTAL - Dashboard Revamp
   ============================================ */

/* Top Navbar */
.student-topnav {
    background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 8px 20px;
    padding-left: 240px;
    font-size: 14px;
}
.student-topnav .nav-link {
    color: #555;
    padding: 6px 14px;
    font-weight: 500;
}
.student-topnav .nav-link:hover,
.student-topnav .nav-link.active {
    color: #0a3a61;
}
.student-topnav .dropdown-toggle::after {
    display: none;
}

/* Sidebar */
.student-sidebar {
    background-color: #fff;
    height: 100vh;
    padding: 0 !important;
    margin: 0;
    width: 220px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 1px 0 0 #e8e8e8;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.student-sidebar::-webkit-scrollbar {
    display: none;
}
.student-sidebar .sidebar-logo {
    text-align: center;
    padding: 18px 15px 0;
    background-color: #fff;
}
.student-sidebar .sidebar-logo img {
    max-width: 120px;
    height: auto;
}
.student-sidebar .sidebar-student-info {
    text-align: center;
    padding: 20px 15px;
    background-color: #0d4c80;
    margin: 0 0 10px 0;
    width: 100%;
}
.student-sidebar .sidebar-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
    margin-bottom: 10px;
}
.student-sidebar .sidebar-avatar-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 3px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}
.student-sidebar .sidebar-student-name {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}
.student-sidebar .sidebar-student-id {
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    font-weight: 500;
}
.student-sidebar .nav-link {
    color: #333;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}
.student-sidebar .nav-link i {
    color: #888;
    width: 20px;
    text-align: center;
}
.student-sidebar .nav-link:hover {
    background-color: #f0f4f8;
    color: #0d4c80;
}
.student-sidebar .nav-link:hover i,
.student-sidebar .nav-link.active i {
    color: #0d4c80;
}
.student-sidebar .nav-link.active {
    background-color: #e8f0fe;
    color: #0d4c80;
    font-weight: 600;
}
.student-sidebar .nav-sub {
    overflow: hidden;
}
.student-sidebar .nav-sub:not(.show) {
    display: none;
}
.student-sidebar .nav-link[aria-expanded="true"] .sidebar-chevron {
    transform: rotate(90deg);
}
.student-sidebar .nav-sub .nav-link {
    padding-left: 45px;
    font-size: 13px;
    color: #555;
}
.student-sidebar .nav-sub .nav-link:hover {
    color: #0d4c80;
}
.student-sidebar .nav-sub .nav-link.active {
    color: #0d4c80;
    font-weight: 600;
}
.student-sidebar .sidebar-logout {
    margin-top: auto;
    padding: 15px 20px;
    border-top: 1px solid #e8e8e8;
}
.student-sidebar .sidebar-logout a {
    color: #0d4c80;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    border: 1px solid #0d4c80;
    border-radius: 8px;
    padding: 8px 15px;
    text-align: center;
    transition: all 0.2s;
}
.student-sidebar .sidebar-logout a:hover {
    background-color: #0d4c80;
    color: #fff;
}

/* Main Content Area */
.student-main {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
    margin-left: 220px;
}

.student-main .btn {
    width: auto;
    min-width: 100px;
}


.student-main .btn-primary {
    background: linear-gradient(135deg, #0a6ec4 0%, #03559d 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(3, 85, 157, .28);
}
.student-main .btn-primary:hover,
.student-main .btn-primary:focus {
    background: linear-gradient(135deg, #0b7ad8 0%, #04619b 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(3, 85, 157, .38);
}
.student-main .btn-primary:active {
    background: linear-gradient(135deg, #0a6ec4 0%, #03559d 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(3, 85, 157, .3);
}
.student-main .btn-primary:disabled,
.student-main .btn-primary.disabled {
    background: linear-gradient(135deg, #0a6ec4 0%, #03559d 100%);
    color: #fff;
    opacity: .65;
}

/* Welcome Banner */
.student-welcome {
    background: linear-gradient(135deg, #0d4c80 0%, #0a3a61 100%);
    border-radius: 12px;
    padding: 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}
.student-welcome .welcome-date {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 5px;
}
.student-welcome h3 {
    font-weight: 700;
    margin-bottom: 5px;
}
.student-welcome .welcome-sub {
    font-size: 14px;
    opacity: 0.85;
}
.student-welcome .welcome-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.4);
}
.student-welcome .welcome-avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border: 3px solid rgba(255,255,255,0.4);
}

/* Dashboard Banner */
.dashboard-banner {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border-radius: 12px;
    padding: 25px 30px;
    border: 1px solid #d6e8f7;
}

/* Micro Credential banner CTA — EMTECH blue gradient so it lifts off the pale
   banner instead of sinking into it. Arrow slides on hover. */
.btn-apply-now {
    background: linear-gradient(135deg, #0a6ec4 0%, #03559d 100%);
    color: #fff;
    border: none;
    font-weight: 600;
    letter-spacing: .2px;
    padding: 9px 26px;
    box-shadow: 0 4px 12px rgba(3, 85, 157, .28);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-apply-now:hover,
.btn-apply-now:focus {
    background: linear-gradient(135deg, #0b7ad8 0%, #04619b 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(3, 85, 157, .38);
}
.btn-apply-now:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(3, 85, 157, .3);
}
.btn-apply-now:focus-visible {
    outline: 2px solid #03559d;
    outline-offset: 3px;
}
.btn-apply-now .cta-arrow {
    display: inline-block;
    transition: transform .18s ease;
}
.btn-apply-now:hover .cta-arrow {
    transform: translateX(4px);
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
    .btn-apply-now,
    .btn-apply-now .cta-arrow {
        transition: none;
    }
    .btn-apply-now:hover {
        transform: none;
    }
}

/* Course Cards */
.enrolled-courses-row {
    display: flex;
    flex-wrap: wrap;
}
.enrolled-courses-row > [class*="col-"] {
    display: flex;
}
.dashboard-course-card {
    border-radius: 16px;
    padding: 22px;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.dashboard-course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0,0,0,0.08);
    border-radius: 16px 16px 0 0;
}
.dashboard-course-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.dashboard-course-card h6 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.4;
    min-height: 40px;
}
.dashboard-course-card .course-details {
    flex: 1;
}
.dashboard-course-card .course-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #444;
}
.dashboard-course-card .course-detail-item i {
    width: 18px;
    text-align: center;
    margin-right: 8px;
    font-size: 12px;
    opacity: 0.6;
}

/* Student Profile */
.student-profile-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #eee;
}
.student-profile-tabs .nav-link {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    border: none;
    padding: 8px 16px;
}
.student-profile-tabs .nav-link.active {
    color: #0d4c80;
    border-bottom: 2px solid #0d4c80;
    background: transparent;
}
.student-profile-card .form-control:disabled,
.student-profile-card .form-select:disabled {
    background-color: #f5f5f5;
    color: #999;
}
.student-profile-card .form-label {
    margin-bottom: 4px;
}

/* Announcement List (learner portal) — date gutter + divider rows */
.announcement-list {
    display: flex;
    flex-direction: column;
}
.announcement-item {
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    padding: 22px 12px 22px 20px;
    border-bottom: 1px solid #f2f4f6;
    cursor: pointer;
    transition: background-color 0.15s;
}
.announcement-item:last-child {
    border-bottom: none;
}
.announcement-item:hover {
    background: #fafbfc;
}
.announcement-item:focus-visible {
    outline: 2px solid #0d4c80;
    outline-offset: -2px;
}
/* Left accent bar — the unread cue that survives colour-blindness */
.announcement-item-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
}
.announcement-item.is-unread .announcement-item-bar {
    background: #0d4c80;
}
/* Read rows keep the bold title, just a touch softer than unread ones */
.announcement-item.is-read .announcement-title {
    color: #3d4753;
}

/* Date gutter — left-aligned, stacked, muted, divided from the body by a rule */
.announcement-gutter {
    flex: 0 0 74px;
    text-align: left;
    padding-right: 16px;
    padding-top: 2px;
    line-height: 1.4;
    border-right: 1px solid #eef0f3;
}
.announcement-gutter-primary,
.announcement-gutter-secondary {
    font-size: 12px;
    color: #9aa3ad;
    font-weight: 400;
    white-space: nowrap;
}

.announcement-body {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 20px;
}
.announcement-title {
    font-size: 17px;
    font-weight: 700;
    color: #1b2431;
    margin-bottom: 6px;
    line-height: 1.35;
}
.announcement-excerpt {
    font-size: 13px;
    color: #8a94a0;
    line-height: 1.7;
    /* Two lines, like the reference — the excerpt is already truncated server-side */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.announcement-meta {
    font-size: 12px;
    color: #aab2bb;
    margin-top: 6px;
}
.announcement-type {
    font-size: 11px;
    font-weight: 600;
    color: #0d4c80;
    background: #eaf2f9;
    border-radius: 20px;
    padding: 2px 10px;
}
.announcement-new-badge {
    font-size: 10px;
    vertical-align: middle;
}
/* Tab unread pills sit inline with the tab label */
.student-profile-tabs .nav-link .badge {
    font-size: 10px;
    padding: 3px 6px;
    vertical-align: middle;
}

body.dark-mode .announcement-item {
    border-bottom-color: #2a2a4a !important;
}
body.dark-mode .announcement-gutter {
    border-right-color: #2a2a4a !important;
}
body.dark-mode .announcement-item:hover {
    background: #1b2a4a !important;
}
body.dark-mode .announcement-title {
    color: #e0e0e0 !important;
}
body.dark-mode .announcement-item.is-read .announcement-title {
    color: #b8bfc7 !important;
}
body.dark-mode .announcement-type {
    background: #22304f !important;
    color: #8ab4de !important;
}

/* Programme Cards */
.student-programme-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}
.student-programme-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.student-programme-card .programme-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}
.student-programme-card .programme-detail {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}
.student-programme-card .programme-detail strong {
    color: #444;
}
.student-programme-card .badge-active {
    background-color: #28a745;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
}
.student-programme-card .badge-deferred {
    background-color: #ffc107;
    color: #333;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
}
.btn-view-programme {
    display: block;
    width: 100%;
    background-color: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    transition: background-color 0.2s;
    text-decoration: none;
}
.btn-view-programme:hover {
    background-color: #1a252f;
    color: #fff;
}

/* Daily Notice Panel */
.student-notice-panel .notice-header {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}
.student-notice-panel .notice-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
}
.student-notice-panel .notice-card .notice-title {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}
.student-notice-panel .notice-card .notice-text {
    font-size: 13px;
    color: #888;
    margin-bottom: 0;
}

/* Sidebar Toggle Button (mobile) */
.sidebar-toggle-btn {
    position: fixed;
    top: 8px;
    left: 10px;
    z-index: 200;
    background: #0d4c80;
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Sidebar Overlay (mobile) */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 149;
}
.sidebar-overlay.active {
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .student-sidebar {
        position: fixed;
        top: 0;
        left: -260px;
        width: 250px;
        min-width: 250px;
        min-height: 100vh;
        z-index: 150;
        transition: left 0.3s ease;
        box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    }
    .student-sidebar.open {
        left: 0;
    }
    .student-main {
        width: 100% !important;
        margin-left: 0 !important;
    }
    .student-main .p-4 {
        padding: 15px !important;
    }
    .student-topnav {
        padding-left: 55px !important;
        padding-right: 10px !important;
    }
    .student-topnav .nav-link {
        padding: 6px 6px;
        font-size: 12px;
    }
    .student-welcome {
        padding: 20px;
        border-radius: 10px;
    }
    .student-welcome h3 {
        font-size: 18px;
    }
    .student-programme-card {
        padding: 15px;
    }
    .col-lg-8, .col-lg-4 {
        padding-left: 5px;
        padding-right: 5px;
    }
    footer[style] {
        left: 0 !important;
    }
    .student-topnav .d-flex:first-child .nav-link {
        padding: 6px 8px;
        font-size: 13px;
    }
}

/* Breadcrumb Override */
.student-main .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.student-main .breadcrumb-item,
.student-main .breadcrumb-item a {
    font-size: 13px !important;
    color: #666 !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}
.student-main .breadcrumb-item a:hover {
    color: #0d4c80 !important;
}
.student-main .breadcrumb-item.active {
    color: #333 !important;
    font-weight: 600;
}
.student-main .breadcrumb-item + .breadcrumb-item {
    padding-left: 8px !important;
}
.student-main .breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
    color: #aaa !important;
    padding-right: 8px !important;
    border: none !important;
    background: none !important;
}

/* Programme Overview */
.programme-detail-section {
    background: #f9fafb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}
.programme-detail-section .form-label {
    margin-bottom: 2px;
    font-weight: 600;
}
.programme-detail-section p {
    margin-bottom: 8px;
    color: #333;
}

/* ============================================
   FONT RESIZE
   ============================================ */
body.font-sm { font-size: 13px; }
body.font-md { font-size: 15px; }
body.font-lg { font-size: 17px; }

.font-resize-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #555;
}
.font-resize-btn:hover {
    border-color: #0d4c80;
    color: #0d4c80;
}
.font-resize-btn.active {
    background: #0d4c80;
    color: #fff;
    border-color: #0d4c80;
}

/* Dark mode toggle */
.darkmode-toggle {
    cursor: pointer;
    font-size: 16px;
    color: #555;
    padding: 4px 8px;
    transition: color 0.2s;
}
.darkmode-toggle:hover {
    color: #0d4c80;
}

/* ============================================
   DARK MODE
   ============================================ */
body.dark-mode {
    background-color: #1a1a2e !important;
    color: #e0e0e0 !important;
}
body.dark-mode .student-topnav {
    background-color: #16213e !important;
    border-bottom-color: #2a2a4a !important;
}
body.dark-mode .student-topnav .nav-link {
    color: #ccc !important;
}
body.dark-mode .student-main {
    background-color: #1a1a2e !important;
}
body.dark-mode .student-sidebar {
    background-color: #16213e !important;
    box-shadow: 1px 0 0 #2a2a4a !important;
}
body.dark-mode .student-sidebar .nav-link {
    color: #ccc !important;
}
body.dark-mode .student-sidebar .nav-link:hover {
    background-color: #2a2a4a !important;
}
body.dark-mode .student-sidebar .nav-link.active {
    background-color: #0f3460 !important;
    color: #fff !important;
}
body.dark-mode .student-sidebar .nav-link i {
    color: #888 !important;
}
body.dark-mode .student-sidebar .sidebar-logout {
    border-top-color: #2a2a4a !important;
}
body.dark-mode .student-sidebar .sidebar-logout a {
    color: #ccc !important;
    border-color: #555 !important;
}
body.dark-mode .student-profile-card,
body.dark-mode .student-programme-card,
body.dark-mode .notice-card,
body.dark-mode .dashboard-banner,
body.dark-mode .card {
    background-color: #16213e !important;
    border-color: #2a2a4a !important;
    color: #e0e0e0 !important;
}
body.dark-mode .programme-detail-section {
    background-color: #1a1a2e !important;
}
body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #2a2a4a !important;
    border-color: #3a3a5a !important;
    color: #e0e0e0 !important;
}
body.dark-mode .form-control:disabled {
    background-color: #1a1a2e !important;
    color: #888 !important;
}
body.dark-mode .table {
    color: #e0e0e0 !important;
}
body.dark-mode .table thead {
    background-color: #16213e !important;
}
body.dark-mode .table-hover tbody tr:hover {
    background-color: #2a2a4a !important;
}
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: #e0e0e0 !important;
}
body.dark-mode .text-muted {
    color: #999 !important;
}
body.dark-mode .form-label {
    color: #bbb !important;
}
body.dark-mode .programme-title {
    color: #e0e0e0 !important;
}
body.dark-mode .programme-detail {
    color: #bbb !important;
}
body.dark-mode .btn-view-programme {
    background-color: #0f3460 !important;
}
body.dark-mode .dropdown-menu {
    background-color: #16213e !important;
    border-color: #2a2a4a !important;
}
body.dark-mode .dropdown-item {
    color: #ccc !important;
}
body.dark-mode .dropdown-item:hover {
    background-color: #2a2a4a !important;
}
body.dark-mode .breadcrumb-item a {
    color: #6db3f2 !important;
}
body.dark-mode .breadcrumb-item {
    color: #999 !important;
}
body.dark-mode .breadcrumb-item.active {
    color: #e0e0e0 !important;
}
body.dark-mode .breadcrumb-item + .breadcrumb-item::before {
    color: #666 !important;
}
body.dark-mode .font-resize-btn {
    background: #2a2a4a;
    border-color: #3a3a5a;
    color: #ccc;
}
body.dark-mode .darkmode-toggle {
    color: #ffc107;
}
body.dark-mode .nav-tabs .nav-link {
    color: #ccc !important;
}
body.dark-mode .nav-tabs .nav-link.active {
    background-color: transparent !important;
    color: #6db3f2 !important;
    border-bottom-color: #6db3f2 !important;
}
body.dark-mode .alert-info {
    background-color: #0f3460 !important;
    border-color: #2a2a4a !important;
    color: #ccc !important;
}
body.dark-mode .dashboard-course-card {
    border-color: #3a3a5a !important;
}
body.dark-mode .dashboard-course-card h6 {
    color: #1a1a1a !important;
}
body.dark-mode .dashboard-course-card .course-detail-item {
    color: #333 !important;
}
body.dark-mode .dashboard-banner {
    background: linear-gradient(135deg, #1a2a4a 0%, #0f3460 100%) !important;
    border-color: #2a2a4a !important;
}
body.dark-mode .dashboard-banner h5 {
    color: #fff !important;
}
body.dark-mode .dashboard-banner p {
    color: #bbb !important;
}
body.dark-mode .notice-title {
    color: #e0e0e0 !important;
}
body.dark-mode .notice-text {
    color: #999 !important;
}
body.dark-mode .notice-header {
    color: #e0e0e0 !important;
}
body.dark-mode #miniCalendar {
    background: #16213e !important;
    border-radius: 10px;
    padding: 5px;
}
body.dark-mode #miniCalendar .fc-toolbar-title {
    color: #e0e0e0 !important;
}
body.dark-mode #miniCalendar .fc-button {
    background: #0f3460 !important;
    border-color: #2a2a4a !important;
    color: #ccc !important;
}
body.dark-mode #miniCalendar .fc-daygrid-day-number {
    color: #ccc !important;
}
body.dark-mode #miniCalendar .fc-col-header-cell-cushion {
    color: #999 !important;
}
body.dark-mode #miniCalendar .fc-day-today {
    background: #0f3460 !important;
}
body.dark-mode #miniCalendar .fc-theme-standard td,
body.dark-mode #miniCalendar .fc-theme-standard th {
    border-color: #2a2a4a !important;
}
body.dark-mode .table-light,
body.dark-mode .table-light th,
body.dark-mode .table-light td,
body.dark-mode thead,
body.dark-mode thead th,
body.dark-mode thead td {
    background-color: #1a2a4a !important;
    color: #e0e0e0 !important;
    border-color: #2a2a4a !important;
}
body.dark-mode .table,
body.dark-mode .table td,
body.dark-mode .table th {
    border-color: #2a2a4a !important;
}
body.dark-mode footer {
    color: #666 !important;
}
body.dark-mode .badge-active {
    background-color: #28a745 !important;
    color: #fff !important;
}
body.dark-mode .form-check-input {
    background-color: #2a2a4a !important;
    border-color: #3a3a5a !important;
}
body.dark-mode .text-primary {
    color: #6db3f2 !important;
}
body.dark-mode .programme-detail-section {
    background-color: #16213e !important;
    border: 1px solid #2a2a4a;
}
body.dark-mode .programme-detail-section p,
body.dark-mode .programme-detail-section .fw-500 {
    color: #ccc !important;
}
body.dark-mode .programme-detail-section .form-label {
    color: #e0e0e0 !important;
}
body.dark-mode .programme-detail-section h6 {
    color: #999 !important;
}
