.searchbar {
    display: flex;
    align-items: center; /* Center vertically */
}

/* Optional: Add some spacing between the select and the button */
.searchbar select {
    margin-right: 0px;
    border-radius: 7px 0px 0px 7px !important;
}
.searchbar button, .searchbar .btn {
    margin-left: 0px;
    border-radius: 0px 7px 7px 0px !important;
}

.hidden{
    display: none !important;
}

.bottom-border{
    border-bottom:1px solid #ccc;
}

.help-btn {
    cursor: pointer;
    color: #fff; /* White color */
    background-color: #7a7c7d; /* gray color */
    border-radius: 50%;
    padding: 2px 8px;
    /* font-size: 14px; */
    font-weight:bold;
    margin-right: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #6c757d;
    color: white;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.help-btn:hover{
    background: #495057;
    transform: scale(1.1);
}

/* .description {
    display: none;
    margin-top: 5px;
}

.description.active {
    display: block;
} */



.description {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.description.active {
    display: block;
}

.focus {
    color: #495057;
    text-decoration: none;
    background-color: #f8f8ff;
}

/* a.nav-link{
    color: #222 !important;
} */
a.nav-link.nav-tab{
    color:white !important;
}

a.nav-link.active{
    color: #2b9fac !important;
}

a.nav-link.hover {
    color: #2b9fac !important;
}

a.nav-link.focus {
    color: #2b9fac !important;
}

/* Style for each individual news card */
.dash-card {
    border: 1px solid #ccc;
    border-radius: 16px;
    padding: 0px;
    margin: 20px 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: white;
}

.dash-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Style for the news title */
.dash-title {
    /* font-size: 1.25rem; */
    font-weight: 600;
    margin: 0px;
    margin-bottom: 10px;
    /* color: #fff !important; */
    /* background-color: #30656b; */
    padding: 5px 10px;
    border-radius: 10px 10px 0px 0px;
/* }


.dash-title{ */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color:white;
}

/* Style for the news description */
.dash-desc {
    /* font-size: 1rem; */
    margin: 0px;
    color: #555;
    padding: 5px 10px;
    border-radius: 0px 0px 10px 10px;
    line-height: 1.6;
}

/* Style for the news picture */
.dash-pic {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}



.pull-right{
    float:right !important;
}

.okay-sign::after {
    content: '\2713'; /* Unicode character for checkmark */
    color: green; /* Color of the checkmark */
    margin-left: 5px; /* Adjust spacing as needed */
}

.cardname{
    /* font-size:16px; */
    font-weight:bold;
    margin-top:8px;
    background-color:rgb(64, 64, 64);
    color:white;
    padding:3px 5px;
}

.nopad{
    padding:0px !important;
}

.pointy{
    cursor: pointer !important;
}

.req{
    color:red;
    /* font-size:16px; */
}

.centered{
    text-align:center !important;
    vertical-align: middle !important;
}

.pad5{
    padding:5px;
}

.nomarge{
    margin:0px;
}

.countnotif{
    background-color:red;
    color:white;
    border-radius:50%;
    padding:0px 5px;
    /* font-size:10px; */
}

.fa-reddot{
    color:red;
    /* font-size:10px; */
}

.nodecoration{
    text-decoration: none !important;
    color:#555;
}

.pad10{
    padding:10px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.day-table {
    overflow-x: auto;
}

/* #gradesTable1 th:first-child, */
#gradesTable1 td:first-child,
/* #gradesTable2 th:first-child, */
#gradesTable2 td:first-child,
/* #gradesTable3 th:first-child, */
#gradesTable3 td:first-child,
/* .day-table th:first-child, */
.day-table td:first-child{
    position: -webkit-sticky;
    position: sticky;
    left: -10px;

    z-index: 2;
    background-color: #fff;
}

.whiteback{
    background-color: #fff;
}

.bordered{
    border:1px solid #ccc;
}

.round{
    border-radius: 5px;
}

.deletenotes{
    border-radius:10px;
    padding:1px 7px;
    padding-bottom:0px;
    margin:1px;
}

@media(min-width:768px){
    .hideifbig{
        display: none;
    }
    .hideifsmall{
        display: block;
    }
}

@media(max-width:768px){
    .hideifbig{
        display: block;
    }
    .hideifsmall{
        display: none;
    }
}

.pull-left{
    float: left;
}

.a{
    color:dodgerblue;
    cursor: pointer;
}
.a:hover{
    color: royalblue;
    text-decoration: underline;
}

.old-agenda{
    background-color: rgb(255, 224, 168) !important;
}

.alert-agenda{
    background-color: rgb(227, 255, 197);
    /* color:white; */
}

.deleted-agenda{
    color: rgb(207, 5, 5);
    display: none;
}

.right-0{
    right:0px;
}
.top-0{
    top:0px;
}
.position-absolute{
    position:absolute;
}

.table-responsive,
.save-button {
    display: none;
}

.marge5{
    margin:5px;
}

.marge05{
    margin:0px 5px;
}

.formy{
    border-radius: 5px;
    border:1px solid #ccc;
    margin-top:5px;
    background-color:#fdfdfd;
    padding:5px;
}

.white-space{
    white-space: pre-line;
}

.toright{
    text-align: right;
}

.pretty{
    border-radius: 25px;
}

.hoverwhite:hover{
    background-color: white;
}

.busy{
    background-color: red;
    color:white;
}

.exceeded{
    background-color: black;
    color: white;
}

.selects{
    min-width:100px;
}

.chosen{
    background-color:rgb(255, 255, 150) !important;
}

.busytext{
    color:red;
}

.close{
    outline:none;
}

.problem{
    color:red;
    background-color: #fff0f0;
}
.answer{
    display: none;
    border:1px solid #ccc;
    border-radius:8px;
    padding:10px 5px;
    margin:0px;
    /* font-size:18px; */
    border-bottom:3px solid #999;
    border-right:3px solid #999;
}
.question{
    background-color:#fefefe;
    border:1px solid #ccc;
    cursor: pointer;
    color:#555;
    border-radius:7px;
    margin:5px 0px;
    padding:5px 7px;
}
.question:hover{
    background-color: #f5f5f5;
    color:#333;
}
.infobox{
    color:white;
    padding:5px 10px;
    border-radius:5px;
    display:inline-block;
    text-align:center;
}

.filter-reports {
    margin-bottom: 20px;
}

.filter-reports label {
    margin-right: 15px;
}

.filter-reports input[type="radio"] {
    margin-right: 5px;
}

.toNext{
    display: none;
}

.fixwidth{
    width:200px;
}

.floating{
    padding:5px;
    margin:5px;
    margin-top:-1px;
    position:absolute;
    border:1px solid #eee;
    border-bottom:2px solid #999;
    border-right:2px solid #999;
    border-radius:0px 10px 10px 10px;
    z-index:9999999;
}

.grayback{
    background-color: #fafafa;
}

.btn-circle{
    border-radius:50%;
    padding-top:1px;
    padding-left:7px;
    padding-bottom:0px;
    padding-right:7px;
}

.noborder{
    border:none;
}

#imageModal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

/* Style for the modal content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px;
}

/* Close button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* .image-contained{
    width:100%;
    border:1px solid #ccc;
    border-radius:5px;
}

.image-container{
    padding:5px;
} */

#gallery {
    display: flex;
    flex-wrap: wrap;
}

.image-container {
    flex: 1; /* Distribute remaining space equally */
    margin: 5px;
    display: flex;
    flex-basis: calc(50% - 10px); /* Display two images per row */
}

@media (min-width: 576px) {
    .image-container {
        flex-basis: calc(33.3333% - 10px); /* Display three images per row on small devices */
    }
}

.image-contained {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    object-fit: cover; /* Ensure images maintain aspect ratio */
}

.previewImage {
    width: 100px; /* Adjust the width as needed */
    height: 100px; /* Adjust the height as needed */
    margin: 5px; /* Add margin for spacing between images */
    border: 1px solid #ddd; /* Add a border to the image */
    border-radius: 5px; /* Add rounded corners */
    object-fit: cover; /* Ensure the image fills the container without stretching */
}


.removeButton {
    background-color: #ff5252; /* Red color for the button */
    color: white; /* White text color */
    border: none; /* No border */
    padding: 3px 10px; /* Padding for better visual appearance */
    padding-top:2px;
    margin-left: -25px; /* Add some space between the button and the image */
    margin-top:5px;
    vertical-align: top;
    border-right:1px solid #777;
    border-bottom:1px solid #777;
    font-weight: bold;
    cursor: pointer; /* Cursor style on hover */
    border-radius: 5px; /* Rounded corners */
}

.removeButton:hover {
    background-color: #ff0000; /* Darker red color on hover */
}

.upload-area{
    padding:10px;
    border:2px solid #ccc;
    border-radius:5px;
    background-color:#fefefe
}

.file-upload-btn {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #007bff;
    color: #007bff;
    background-color: white;
    border-radius: 5px;
    cursor: pointer;
}

.file-upload-btn:hover {
    background-color: #0056b3;
    color:white
}

.fa-upload {
    margin-right: 5px;
}

.removePic{
    background-color: #ff5252; /* Red color for the button */
    color: white; /* White text color */
    border: none; /* No border */
    padding: 3px 10px; /* Padding for better visual appearance */
    padding-top:2px;
    margin-left: -25px; /* Add some space between the button and the image */
    margin-top:5px;
    vertical-align: top;
    border-right:1px solid #777;
    border-bottom:1px solid #777;
    font-weight: bold;
    cursor: pointer; /* Cursor style on hover */
    border-radius: 5px;
    height:30px;
    display: none;
}

.removePic:hover {
    background-color: #ff0000; /* Darker red color on hover */
}

.intropic{
    width:100%;
    border-radius:16px 0px 16px 0px;
}

.top5{
    margin-top:5px;
}

.glow {
    border: 2px solid #459dfb;
    border-radius: 5px;
    box-shadow: 0 0 5px #b0d6ff, 0 0 10px #ecf5ff;
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 10px #007bff, 0 0 15px #007bff;
}

.bitglow:hover{
    box-shadow: 0 0 10px #89c2ff, 0 0 15px #a4d0ff;
    border-radius:5px;
}

.loggedin-title{
    /* font-size:18px; */
    margin:5px;
}

.textlength{
    border:1px solid #ccc;
    border-radius:5px;
    padding: 0px 4px;
    background-color: #fafafa;
    color:#333;
    display: none;
}


#myProgress {
    width: 80%; /* Adjust the width as desired */
    margin: 0 auto; /* Center the progress bar horizontally */
    background-color: rgba(255, 255, 255, 0.9);
    position: fixed;
    top: 8%; /* Center the progress bar vertically */
    transform: translateY(-50%); /* Center the progress bar vertically */
    z-index: 1111110;
    display: none;
    border-radius: 25px;
    padding: 10px; /* Add padding for better appearance */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
}

.progress-bar {
    border-radius: 25px;
    width: 0; /* Initial width set to 0 */
    transition: width 0.5s ease; /* Smooth transition effect */
    background-color: #007bff; /* Change the color of the progress bar */
    color: #fff; /* Change the text color */
    text-align: center;
    font-weight: bold;
    padding: 5px; /* Add padding for better appearance */
}

.alert-block {
    color: #444;
    background-color: rgba(255, 255, 255, 0.7);
    /* font-size: 13px; */
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    padding: 5px; /* Add padding for better appearance */
    margin-top: 10px; /* Adjust the margin as needed */
}


#progress{
    height:1px;
    background:#fff;
    position:absolute;
    width:0px;
    top:70px;
}

.container{
    padding:5px;
}

@media (max-width: 768px) {
    .container {
        padding: 0px;
        margin: 0px;
    }
    .py-4{
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
}

.block{
    display: block;
}

.fa-home{
    color:rgb(115, 115, 238);
}

.fa-calendar-check{
    color:rgb(91, 185, 91);
}

.fa-calendar-alt{
    color:rgb(124, 124, 227);
}

.fa-chart-line{
    color: rgb(244, 100, 100);
}

.fa-bell{
    color:rgb(206, 182, 73);
}

.fa-newspaper{
    color: rgb(53, 196, 136);
}

.fa-university{
    color:rgb(222, 140, 109);
}

.bi-robot{
    color:rgb(167, 80, 142);
}

.fa-book{
    color:rgb(155, 131, 177);
}

.fa-user-tie{
    color:rgb(227, 162, 77);
}

.fa-user-graduate{
    color:rgb(156, 200, 86);
}

.fa-info-circle{
    color:rgb(100, 144, 180);
}

.fa-usd{
    color:green;
}

.fa-tasks{
    color:rgb(20, 38, 53);
}

.fa-square-check{
    color:rgb(10, 140, 34);
}

.fa-calendar-times{
    color:rgb(245, 102, 0);
}

.fa-heart-pulse{
    color:rgb(200, 52, 29);
}

.fa-warehouse{
    color:rgb(38, 10, 140);
}

.menubar{
    cursor: pointer;
    background-color: rgb(255, 255, 245);
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size:25px;
    display: inline;
    padding: 0px 8px;
    margin-top:5px
}

.menubar:hover{
    background-color: #ffffd1;
    color:rgb(0, 0, 0);

}

.homecontainer{
    width:100%;
    padding-right:0px;
    padding-left:0px;
    margin-right:auto;
    margin-left:auto
}
.farx{
    font-size:30px;
}
@media (min-width:576px){
    .homecontainer{
        max-width:576px
    }
}
@media (min-width:768px){
    .homecontainer{
        max-width:740px
    }
    .farx{
        font-size:33px;
    }
}@media (min-width:992px){
    .homecontainer{
        max-width:940px;
        padding-right:15px;
        padding-left:15px;
    }
    .farx{
        font-size:36px;
    }
}@media (min-width:1200px){
    .homecontainer{
        max-width:940px;
        padding-right:15px;
        padding-left:15px;
    }
    .farx{
        font-size:39px;
    }
}

.searchbox {
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    /* transition: box-shadow 0.3s ease-in-out; */
}

/* Glowing effect when focused */
.searchbox:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.7); /* Blue glow */
    border-color: rgba(0, 123, 255, 0.7); /* Border color matches glow */
}

.danger{
    color:rgb(166, 1, 1);
}

.std-name{
    background-color:#f1f1f1;
    color:rgb(39, 39, 39);
    border-radius:5px;
    border:1px solid black;
    padding:3px 9px;
    margin:5px;
    display: inline-block;
    cursor: pointer;
}

.std-name:hover{
    background-color: rgb(46, 113, 206);
    color:white;
    border: 1px solid rgb(1, 51, 105);
}

.present{
    border:1px solid rgb(98, 128, 98);
    background-color:rgb(245, 255, 245);
    color:black;
    /* font-size:14px; */
    border-radius:5px;
    padding: 2px 5px;
    display: inline-block;
}

.absent{
    border:1px solid rgb(128, 98, 98);
    background-color:rgb(255, 245, 245);
    color:black;
    /* font-size:14px; */
    border-radius:5px;
    padding: 2px 5px;
    display: inline-block;
}

/*  */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 28px;
  }

  .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
  }

  .switch:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
  }

  input:checked + .switch {
    background-color: #4CAF50;
  }

  input:checked + .switch:before {
    transform: translateX(38px);
  }


.hidden {
    display: none !important;
}

.bottom-border {
    border-bottom: 1px solid #ccc;
}

.description {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.description.active {
    display: block;
}

.focus {
    color: #495057;
    text-decoration: none;
    background-color: #f8f8ff;
}



/* ... (rest of the CSS code) ... */

.danger {
    color: rgb(166, 1, 1);
}

.std-name {
    background-color: #f1f1f1;
    color: rgb(39, 39, 39);
    border-radius: 5px;
    border: 1px solid black;
    padding: 3px 9px;
    margin: 5px;
    display: inline-block;
    cursor: pointer;
}

.std-name:hover {
    background-color: rgb(46, 113, 206);
    color: white;
    border: 1px solid rgb(1, 51, 105);
}



.switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #6085ff;
    transition: 0.4s;
    border-radius: 34px;
}

.switch:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .switch {
    background-color: #4CAF50;
}

input:checked + .switch:before {
    transform: translateX(38px);
}

/* Add these new styles */

/* Calendar container styles */
.calendar-container {
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Day header styles */
.day-header {
    background-color: #f8f9fa;
    padding: 10px 15px;
    margin-bottom: 5px;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.day-header:hover {
    background-color: #e9ecef;
    cursor: pointer;
}

.day-header .btn {
    margin-right: 10px;
}

/* Table container styles */
.day-table {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
    border-radius: 0 0 8px 8px;
}

/* Fixed header styles */
.table-responsive {
    position: relative;
}

.table thead th {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    border-bottom: 2px solid #dee2e6;
}

/* Select styles */
.form-control.selects {
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-control.selects:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Status indicators */
.busytext {
    background-color: rgba(255, 0, 0, 0.1) !important;
    border-color: rgba(255, 0, 0, 0.2) !important;
}

.exceededtext {
    color:white !important;
    background-color: rgba(0, 0, 0) !important;
    /* border-color: rgba(0, 0, 0, 0.2) !important; */
}

/* Scroll buttons */
.scroll-buttons {
    position: sticky;
    top: 0;
    z-index: 1060;
    padding-top:0px;
    padding: 30px;
    background-color: white;
    border-bottom: 5px solid #dee2e6;
}

.scroll-buttons button {
    padding: 5px 15px;
    margin: 0 5px;
    margin-top:-10px;
}

/* Info box styles */
.infobox {
    padding: 5px 15px;
    border-radius: 4px;
    margin-right: 15px;
    color: white;
    font-size: 0.9rem;
}

/* Enhanced Navigation Menu */
#homenav .list-group-item {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    margin: 4px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#homenav .list-group-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #f8f9fa;
}

#homenav .list-group-item.focus {
    background: #f0f7ff;
    border-color: #90caf9;
}

#homenav .farx {
    font-size: 24px;
    margin-bottom: 8px;
    /* color: #2b9fac; */
}



/* Enhanced Header */
.card-header {
    /* background: linear-gradient(to right, #2b9fac, #3ca1ac); */
    /* color: white; - removed, now controlled by dynamic color system */
    border-radius: 12px !important;
    margin-bottom: 20px;
    padding: 15px 20px;
}

.card-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

/* Enhanced Notifications */
.countnotif {
    background-color: #dc3545;
    color: white;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 11px;
    position: absolute;
    top: 5px;
    right: 5px;
    box-shadow: 0 2px 4px rgba(220,53,69,0.3);
}

/* Enhanced Buttons */

.create-btn {
    /* background: linear-gradient(to right, #2b9fac, #3ca1ac); */
    margin-bottom:5px;
    background-color:#2b9fac;
    color:white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(43,159,172,0.3);
    transition: all 0.3s ease;
}

.create-btn:hover {
    background-color:#16717b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(43,159,172,0.4);
}

/* Enhanced Search Bar */
.searchbar {
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.searchbox {
    border: none;
    padding: 8px;
    width: 100%;
}

.searchbox:focus {
    outline: none;
}

/* Enhanced School Info Section */
.school-info {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.school-info img {
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Enhanced Status Indicators */
.alert-agenda {
    background-color: #e3ffc5 !important;
    border-left: 4px solid #68b90f;
    /* border-radius: 8px; */
    /* padding: 12px; */
}

.problem {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 12px;
}

/* Enhanced Toggle Menu */
.menubar {
    background: white;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.menubar:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Add these new utility classes */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    background-color: white;
}

.shadow-md {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    background-color: white;
}

.rounded-lg {
    border-radius: 12px !important;
}

.gradient-bg {
    background: linear-gradient(to right, #2b9fac, #3ca1ac);
}

/* Enhanced Navigation Menu Layout */
#homenav .row {
    display: flex;
    flex-wrap: wrap;
    margin: -8px; /* Negative margin to counteract padding */
}

#homenav .list-group-item {
    height: 120px; /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    margin: 8px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 15px 10px;
    position: relative;
}

#homenav .list-group-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #f8f9fa;
    text-decoration: none;
}

#homenav .list-group-item.focus {
    background: #f0f7ff;
    border-color: #90caf9;
}

/* Enhanced Icon Styling */
#homenav .farx {
    font-size: 32px; /* Larger icons */
    margin-bottom: 12px;
    /* color: #2b9fac; */
    transition: all 0.3s ease;
}

#homenav .list-group-item:hover .farx {
    transform: scale(1.1);
    color: #248d9d;
}

/* Text styling under icons */
#homenav .list-group-item {
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
}

/* Notification badge positioning */
#homenav .countnotif {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3545;
    color: white;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 11px;
    box-shadow: 0 2px 4px rgba(220,53,69,0.3);
}

/* Red dot indicator positioning */
#homenav .fa-reddot {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #homenav .list-group-item {
        height: 100px;
        padding: 10px 5px;
        font-size: 0.8rem;

    }

    #homenav .farx {
        font-size: 24px;
        margin-bottom: 8px;
    }

}

/* Content area styling */
.content-section {
    padding: 0px;
    background: white;
    border-radius: 12px;
    margin-top: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin:0px;
}

/* Menu toggle enhancement */
.menubar {
    background: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 5px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menubar:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.menubar .fa-caret-down {
    transition: transform 0.3s ease;
}

.menubar.active .fa-caret-down {
    transform: rotate(180deg);
}

.card{
    border-radius: 12px;
}

/* Enhanced Role Selection Area */
#setForm {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Enhanced Role Checkboxes */
.role-check {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
}

.role-check .form-check {
    position: relative;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.role-check .form-check:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.role-check .form-check-input:checked + .form-check-label {
    color: #2b9fac;
    font-weight: 500;
}

/* Enhanced User Selection Dropdown */
.select2-container--default .select2-selection--single {
    height: 45px !important;
    border-radius: 12px !important;
    border: 1px solid #e0e0e0 !important;
    padding: 8px 15px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 45px !important;
}

/* Enhanced Basic Info Section */
#selBasicInfo {
    background: white;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#selBasicInfo .card-header {
    /* background: linear-gradient(to right, #2b9fac, #3ca1ac); */
    /* color: white; - removed, now controlled by dynamic color system */
    border-radius: 12px 12px 0 0;
    padding: 15px 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #2b9fac;
    box-shadow: 0 0 0 3px rgba(43,159,172,0.2);
}

/* Enhanced Student Section */
.bordered.round.pad5.grayback {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    position: relative;
    transition: all 0.3s ease;
}

.bordered.round.pad5.grayback:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Enhanced Delete Button */
.btn-delete {
    position: absolute;
    top: 100px;
    right: 10px;
    border-radius: 8px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}



/* Enhanced Permission Section */
#selPermission .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

#selPermission .card-header {
    /* background: linear-gradient(to right, #2b9fac, #3ca1ac); */
    /* color: white; - removed, now controlled by dynamic color system */
    border-radius: 12px 12px 0 0;
    padding: 15px 20px;
}

.bottom-border {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}


/* Enhanced Description Tooltip */
.description {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 8px;
    border-left: 4px solid #2b9fac;
}

/* Enhanced Save Button */
#saveChanges {
    background: linear-gradient(to right, #2b9fac, #3ca1ac);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(43,159,172,0.3);
    transition: all 0.3s ease;
}

#saveChanges:hover {
    background: linear-gradient(to right, #248d9d, #2b9fac);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(43,159,172,0.4);
}

#saveChanges:disabled {
    background: #e9ecef;
    transform: none;
    box-shadow: none;
}

/* Enhanced Radio Buttons */
.form-check-input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.form-check-label {
    padding-left: 8px;
    color: #495057;
}

/* Enhanced File Input */
.form-control-file {
    padding: 8px 0;
}

/* Enhanced Image Preview */
img[id^="previewPic"] {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

img[id^="previewPic"]:hover {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .role-check {
        flex-direction: column;
        gap: 10px;
    }

    .bordered.round.pad5.grayback {
        padding: 15px;
    }

    .btn-delete {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 15px;
    }
}
/* new */

body{
    background-color: #f5f7f9;
}

/* Enhanced Navbar Styling */
.navbar {
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 12px 20px;
    margin-bottom: 20px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2b9fac !important;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
}

.navbar-brand:hover {
    color: #248d9d !important;
    transform: translateY(-1px);
}

/* Enhanced Nav Links */
.navbar .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 4px;
}

.navbar .nav-link:hover {
    color: #2b9fac !important;
    background-color: rgba(43, 159, 172, 0.05);
}

/* Icon in Nav Links */
.navbar .nav-link .fa,
.navbar .nav-link .far,
.navbar .nav-link .fas {
    margin-right: 8px;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

/* Language Dropdown */
#langDropdown {
    display: flex;
    align-items: center;
    gap: 6px;
}

.floating {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: none;
    padding: 8px 0;
    min-width: 160px;
}

.dropdown-item {
    padding: 8px 16px;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.dropdown-item:hover {
    background-color: rgba(43, 159, 172, 0.05);
    color: #2b9fac;
    transform: translateX(5px);
}

/* Notification Indicators */
/* .fa-reddot {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 8px !important;
} */

/* Enhanced Mobile Toggle */
.navbar-toggler {
    border: none;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(43, 159, 172, 0.2);
}

.navbar-toggler-icon {
    width: 1.3em;
    height: 1.3em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Logout Button Special Styling */
.navbar .nav-link[href*="logout"] {
    color: #dc3545 !important;
    border: 1px solid transparent;
}

.navbar .nav-link[href*="logout"]:hover {
    background-color: rgba(220, 53, 69, 0.05);
    border-color: rgba(220, 53, 69, 0.1);
}

/* Right-aligned items */
.ml-auto .nav-link {
    display: flex;
    align-items: center;
}

/* Active State */
.navbar .nav-link.active {
    color: #2b9fac !important;
    background-color: rgba(43, 159, 172, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 16px;
    }

    .navbar-collapse {
        background: white;
        border-radius: 12px;
        padding: 10px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .navbar .nav-link {
        padding: 12px 16px !important;
    }

    .ml-auto {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
}

/* Enhanced Search Bar in Navbar (if present) */
.navbar .form-control {
    border-radius: 20px;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.navbar .form-control:focus {
    border-color: #2b9fac;
    box-shadow: 0 0 0 3px rgba(43, 159, 172, 0.2);
}

/* User Profile Section (if present) */
.navbar .user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 25px;
    background: rgba(43, 159, 172, 0.05);
    transition: all 0.3s ease;
}

.navbar .user-profile:hover {
    background: rgba(43, 159, 172, 0.1);
}

.navbar .user-profile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.notification-dot {
    width: 8px;
    margin-right: 4px;
    height: 8px;
    background-color: #dc3545;
    border-radius: 50%;
    display: inline-block;
}

.language-nav {
    order: 3;
}

@media (max-width: 991px) {
    .language-nav {
        order: 0;
    }
}

/* fixes */
/* Fix container width issues */
.container {
    padding: 5px;
    width: 80%;
    max-width: 80%;
}

/* Update responsive breakpoints */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;  /* Prevent horizontal scrolling */
    }

    .container {
        padding: 5px;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .homecontainer {
        padding-right: 5px;
        padding-left: 5px;
        margin-right: 0;
        margin-left: 0;
        width: 100%;
    }

    .card {
        margin: 5px 0;  /* Reduce margins on mobile */
    }
}

/* Add viewport meta tag check */
@-ms-viewport {
    width: device-width;
}
@viewport {
    width: device-width;
}

.btn-close {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    padding: 0.25rem;
    background: transparent;
    border: 2px solid #6c757d;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    border-color: #dc3545;
    transform: rotate(90deg);
}

.btn-close::before,
.btn-close::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 2px;
    background-color: #6c757d;
    transition: background-color 0.3s ease;
}

.btn-close::before {
    transform: rotate(45deg);
}

.btn-close::after {
    transform: rotate(-45deg);
}

.btn-close:hover::before,
.btn-close:hover::after {
    background-color: #dc3545;
}

.color-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-btn:hover {
    transform: scale(1.1);
}

.gap-2 {
    gap: 0.5rem;
}

#selectedColorBtn {
    display: flex;
    align-items: center;
    gap: 5px;
    border:3px solid #555;
    border-radius:8px;
    background-color: white;
}

#paletteArrow {
    color: #000;
    transition: transform 0.3s;
    margin-right: 5px;
}

#paletteArrow-ar {
    color: #000;
    transition: transform 0.3s;
    margin-left: 5px;
}

.roundplus{
    border-radius:16px;
}


/* sizes */
/* body{
    font-size:1.5rem !important;
}

input{
    font-size: 1.5rem !important;
    min-height: 50px !important;
    border: 1px solid #555 !important;
}

select{
    font-size: 1.5rem !important;
    min-height: 50px !important;
    border: 1px solid #555 !important;
} */

:root {
    --font-size-body: 16px;
    --font-size-input: 16px;
    --font-size-button: 16px;
    --font-size-heading: 20px;
    --font-size-span: 14px;
    --font-size-dash-title: 18px;  /* default size */
    --font-size-dash-desc: 14px;   /* default size */
    --min-height-select: 40px;
}

body {
    font-size: var(--font-size-body);
}

input, select, textarea {
    font-size: var(--font-size-input) !important;
}

button, .btn {
    font-size: var(--font-size-button) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-size: var(--font-size-heading) !important;
}

span {
    font-size: var(--font-size-span) !important;
}

select{
    min-height: var(--min-height-select) !important;
}

.dash-title {
    font-size: var(--font-size-dash-title);
}

.dash-desc {
    font-size: var(--font-size-dash-desc);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    :root {
        --font-size-body: calc(var(--font-size-body) * 0.95);
        --font-size-input: calc(var(--font-size-input) * 0.95);
        --font-size-button: calc(var(--font-size-button) * 0.95);
        --font-size-heading: calc(var(--font-size-heading) * 0.95);
        --font-size-span: calc(var(--font-size-span) * 0.95);
        --min-height-select: calc(var(--min-height-select) * 0.95);
    }
}

.softwhite{
    background-color: #fafafa;
}


/* agenda */

.homework-container {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
}

.homework-container.alert-agenda {
    background-color: #e3ffc5;
}

.homework-container.old-agenda {
    background-color: rgb(255, 224, 168);
}

.action-buttons {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.homework-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.homework-label {
    font-weight: 600;
    color: #495057;
}

.homework-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #e9ecef;
}

.homework-label span {
    margin-right: 5px;
    width: 16px;
    display: inline-block;
}

.homework-value {
    color: #212529;
}

.due-date {
    color: #1e7e34;
    font-weight: 600;
}

.file-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}

.file-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.homework-value.homework-text {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid #007bff;
    padding: 8px 12px;
    margin: 0;
    border-radius: 4px;
    font-weight: 500;
    word-break: break-word;
    white-space: pre-wrap;
    width: 100%;
}

.homework-value.homework-text span {
    display: inline;
    margin-right: 8px;
    color: #495057;
    font-weight: 600;
}

@media (max-width: 768px) {
    .homework-text {
        width: 100%;
        display: block;
    }
}

.completed-task {
    position: relative;
    background-color: rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease;
}

.completed-task::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.5) !important;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.completed-task.strike::after {
    transform: scaleX(1);
}

.payment-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 15px;
}

.payment-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.payment-header {
    background: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-header i {
    color: #6c757d;
}

.payment-body {
    padding: 15px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.payment-label {
    color: #6c757d;
    font-weight: 500;
}

.payment-amount {
    font-weight: 600;
    color: #495057;
}

.payment-success {
    color: #28a745;
}

.payment-danger {
    color: #dc3545;
}

.payment-details {
    border-top: 1px solid #e9ecef;
    margin-top: 10px;
}

.payment-details-header {
    padding: 10px 15px;
    background: #f8f9fa;
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-transaction {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1;
}

.transaction-date {
    font-size: 0.9em;
    color: #6c757d;
}

.transaction-amount {
    font-weight: 600;
    color: #28a745;
    margin: 5px 0;
}

.transaction-amount-danger {
    font-weight: 600;
    color: #dc3545;
    margin: 5px 0;
}

.transaction-description {
    font-size: 0.9em;
    color: #6c757d;
    font-style: italic;
}

@media (max-width: 768px) {
    .payment-summary {
        grid-template-columns: 1fr;
    }
}

.transaction-discount{
    font-size: 0.8em;
    color: #dc3545;
}

.kids-area{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 8px;
    margin-top: 3px;
}

.kid-card{
    color: #447065;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    background: #f1f1f1;
    font-weight: 600;
    font-size: 1rem;
    padding: 4px;
    margin-bottom: 4px;
}

.btn-outline-white{
    border-color: #fff;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.1);
}

.btn-outline-white:hover{
    background-color: #fff;
    color: #000;
}

.contact-area{
    background-color: #fafafa;
    border-radius: 0px 0px 8px 8px;
    padding: 10px;
}

.contact-item{
    padding: 5px 10px;
}

.calculated-grade{
    padding:5px;
    font-weight:600;
    font-size: 1rem;
    color:#1e7e34;
    background-color: #fafafa;
    border-radius:10px;
    border:1px solid #e1e1e1;
    display: block;
    min-width:100px;
    /* text-align:center; */
}

.examType{
    min-width: 150px;
}

input[type="number"] {
    margin: 0;
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;

}

input[type="number"] {
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;
}

input[type="number"]:focus {
    border-color: #2b9fac;
    box-shadow: 0 0 0 3px rgba(43, 159, 172, 0.2);
}

input[type="text"] {
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;
}

input[type="text"]:focus {
    border-color: #2b9fac;
    box-shadow: 0 0 0 3px rgba(43, 159, 172, 0.2);
}

textarea{
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;
}

textarea:focus {
    border-color: #2b9fac;
    box-shadow: 0 0 0 3px rgba(43, 159, 172, 0.2);
}

select{
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;
}

select:focus {
    border-color: #2b9fac;
    box-shadow: 0 0 0 3px rgba(43, 159, 172, 0.2);
}

.select2-selection{
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;
}

.select2-selection--single{
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;
}

.select2-selection--single .select2-selection__arrow{
    color: #888 !important;
}

.select2-selection--single .select2-selection__placeholder{
    color: #888 !important;
}

.select2-selection--multiple .select2-selection__choice{
    background-color: #888 !important;
    color: #fff !important;
}

.select2-selection--multiple .select2-selection__choice__remove{
    color: #fff !important;
}

.select2-selection--multiple .select2-selection__choice__display{
    color: #fff !important;
}

.select2-container{
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;
}

input[type="date"]{
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;
}

input[type="date"]:focus{
    border-color: #2b9fac;
    box-shadow: 0 0 0 3px rgba(43, 159, 172, 0.2);
}

input[type="file"]{
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;
    color: #333;
}

input[type="file"]:focus{
    border-color: #2b9fac;
    box-shadow: 0 0 0 3px rgba(43, 159, 172, 0.2);
}

input[type="file"]::-webkit-file-upload-button{
    background-color: #2b9fac;
    color: #fff;
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;
}

input[type="password"]{
    border-radius: 8px;
    border: 1px solid #888 !important;
    padding: 5px;
}

input[type="password"]:focus{
    border-color: #2b9fac;
    box-shadow: 0 0 0 3px rgba(43, 159, 172, 0.2);
}

.big-no-decoration{
    text-decoration:none;
    font-weight:600;
    font-size:1.1rem;
    color:#444;
}

.whiteback-logo{
    background-color:white;
    padding:5px;
    border-radius:10px;
}

.step-info{
    border:1px solid #ccc;
    padding:0px 8px;
    background-color:#333;
    color:#fff;
    position: absolute;
    top: 30px;
    right: 10px;
    border-radius:25px;
}

.fa-green{
    color: #1e7e34;
}

.reader-book{
    font-size: 4rem !important;
    color: #5b328d !important;
}

.library-item {
    transition: all 0.3s ease;
}

.library-item .card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #fff;
    border:1px solid #aaa;
}

.library-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.library-item .card-img-top {
    background: linear-gradient(to bottom right, #f8f9fa, #e9ecef);
    border-radius: 12px 12px 0 0;
}

.library-item .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.library-item .card-text {
    color: #6c757d;
}

.library-item .reader-book {
    font-size: 4rem;
    color: #6c757d;
    opacity: 0.5;
}

.library-item .badge {
    padding: 0.5em 1em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.library-item .card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1.25rem;
}

.library-item .btn-primary {
    background: #4361ee;
    border: none;
    padding: 0.375rem 1rem;
    transition: all 0.2s ease;
}

.library-item .btn-primary:hover {
    background: #3451d1;
    transform: translateY(-1px);
}

.library-item .btn-outline-secondary {
    border-color: #e9ecef;
}

.library-item .btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
}


.install-prompt {
    display: none; /* Hide by default */
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin: 10px 0;
}

.install-prompt .app-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.install-prompt span {
    flex-grow: 1;
}

.install-prompt button {
    margin-left: auto;
    white-space: nowrap;
}

/* Modify the homework-item class for the full-width homework */
.homework-item[style*="width: 100%"] {
    display: block;
    grid-template-columns: 1fr;
    padding: 0;
    border-bottom: none;
}

.homework-value.homework-text {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid #007bff;
    padding: 8px 12px;
    margin: 0;
    border-radius: 4px;
    font-weight: 500;
    word-break: break-word;
    white-space: pre-wrap;
    width: 100%;
}

.homework-value.homework-text span {
    display: inline;
    margin-right: 8px;
    color: #495057;
    font-weight: 600;
}
.whitebacklogo{
    /* background-color removed - now controlled by dynamic color system */
    padding:5px;
    border-radius:10px;
}

