body {
     font-family: 'Arial Narrow', Arial, sans-serif;
     background-color: #EEE2DC;
     margin: 0;
     padding: 0;
 }
 .table-container {
     max-height: 2000px; /* Set the maximum height for the container */
     overflow-y: auto; /* Add a vertical scroll for overflow content */
     border: 1px solid #ddd; /* Add a border for better visibility */
 }

 .container {
     display: flex;
     justify-content: space-between;
     flex-direction: column;
 }

 .container1 {
     width: 100%;
     margin: 10px;
     max-height: 2000px; /* Set the maximum height for the container */
     overflow-y: auto; /* Add a vertical scroll for overflow content */
     border: 1px solid #ddd; /* Add a border for better visibility hidden-column*/
     padding:20px;
     }
 

 .container2 {
     width: 100%; /* Adjust the width as needed */
     margin: 10px;
     padding:20px;
 }

 h1{
     color: #123C69;
 }


 h2 {
     color: #AC3B61;
     
 }
 label {
     color: #123C69;
     
 }
 h3{
    color: #123C69;
    
}
 input{
     color: #000000;
     font-family: 'Book-Antiqua', Times-New-Roman, sans-serif;
     border: 1px solid #AC3B61;
     max-width: 12cm;
     width: 98%;
     box-sizing: border-box; /* Includes padding and border in the width */
 }

 select{
    color: #000000;
    font-family: 'Book-Antiqua', Times-New-Roman, sans-serif;
    border: 1px solid #AC3B61;
    max-width: 10cm;
    width: 98%;
    box-sizing: border-box; /* Includes padding and border in the width */
 }
 table { 
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;

}

 form {
     width: 98%; /* Adjust the width as needed */
     padding: 20px;
     background-color: #EEE2DC;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     border-radius: 20px;
     border: 3px solid #AC3B61;
     padding: 0px;
     text-align: left;

 }

 th, td {
     padding: 2px;
     text-align: left;
     border: 1px solid #ddd;
     font-size: 16px;
 }

 th {
     background-color: #123C69;
     color: #fff;
 }

 tr:nth-child(even) {
     background-color: #f2f2f2;
 }

 .edit-link {
     display: inline-block;
     text-decoration: none;
     color: #fff;
     padding: 1px 3px;
     border-radius:4px;
     background-color: #AC3B61;
     transition: background-color 0.3s;
 }

 .edit-link:hover {
     background-color: #123C69;
 }

 .edit-icon {
     width: 20px;
     height: 20px;
     margin-right: 3px;
     /* Adjust the path to your IconsFolder and the specific icon file */
     background: url('IconsFolder/EditIcon5.png') center/cover;
     display: inline-block;
     vertical-align: middle;
 }
section{
    margin-left :5%;
}

 input.search-box {
     padding: 8px;
     border: 1px solid #AC3B61;
     border-radius: 4px;
     margin-bottom: 5px;
     font-family: 'Arial Narrow', Arial, sans-serif;
     font-size: 16px;
     width: 40%;
 }

    /* Responsive Styles */

form section {
 grid-column: span 1; 
 margin-bottom: 10px;
 padding: 2px;
}

section{
    margin :2%;
}


 label {
 display: block;
 margin-bottom: 5px;
 font-weight: bold;
}

form input,
form select,
form textarea {
 width: 100%;
 padding: 8px;
 margin-bottom: 8px;
 border: 1px solid #ddd;
 border-radius: 4px;
 width: 100%;

}

form input[type="submit"] {
 background-color: #3498db;
 color: #fff;
 padding: 12px;
 border: none;
 border-radius: 4px;
 cursor: pointer;
 font-size: 16px;
 transition: background-color 0.3s ease;
 width: 80%;
}

.submit-btn:hover {
    background-color: #AC3B61;
    color:#FFFFFF;
   }
   .submit-btn {
    /* Add any other styles you want for the button */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    color: #123C69;
    padding: 12px;
    border:solid #123C69; ;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 110px;
    height: auto;
           
   }
   
.icon {
 width: 50px; /* Adjust the width as needed */
 height: 50px; /* Adjust the height as needed */
 margin-bottom: 5px; /* Optional: Add some spacing between the icon and text */



}
h1 {
     text-align: center; /* Center the text horizontally */
     margin-top: 2px; /* Adjust the top margin as needed */
     font-size: 2em; /* Adjust the font size as needed */
     padding: 2px; /* Padding for better visibility */
     font-size: 2em; /* Adjust the font size as needed */
    color:#123C69; /* Text color */
     font-family: 'Arial Black', Arial, sans-serif;
 }


h3 {
    display: block;
    margin-right: 2px;
    padding: 1px; 
}

br + * {
    margin-top: 10px; /* Adjust the value as needed */
}






.info-field {
    margin-bottom: 5px;
}


.search-options {
    border: 3px solid #123C69;
    padding:0px;
    border-radius: 0px;
    background-color: #EEE2DC;
    text-align: center;
    width: 25%;
    height: auto; 
    font-size:14px;  
}

.radio-group {
    display: block;
    flex-direction: row;
    align-items: center;
}

.radio-option {
    margin-bottom: 2px;
  
    align-items: center;
}

.testline {
    display: flex;
}
.searchdiv{
    width: 100%;
}
.button-container {
    display: flex;
    gap: 20px;/* Adjust this property to change the spacing */
  }
  .sameline-container {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    
}
.table-container {
    width: 95%; /* Adjust the width as needed */
    margin: 1px;
    max-height: 1000px; /* Set the maximum height for the container */
    overflow-y: auto; /* Add a vertical scroll for overflow content */
}

.studenttable-container {
    width: 100%; /* Adjust the width as needed */
    margin: 1px;
   
}
.bigger-width{
    width: 80%; 
}
    
@media (max-width: 768px) {
    .search-options {
        border: 3px solid#123C69;
        padding: 0px;
        border-radius: 0px;
        background-color: #EEE2DC;
        text-align: center;
        width: 20%;
        height: auto; 
        font-size:11px;  
    }

    .print-icon {
        width: 50%;
        height: 50%;
         }

         .receipt-icon {
            width: 50%;
            height: 50%;
             }

    .receipt-link {
        font-size: 11px;
        width: 20%;       
    }

    .print-link{
        font-size: 11px;
        width: 20%;       
    }

    .receipt-link2 {
        font-size: 11px;
        width: 20%;       
    }

    .icon {
        width: 50%; /* Adjust the width as needed */
        height: 50%; /* Adjust the height as needed */
        margin-bottom: 5px; /* Optional: Add some spacing between the icon and text */
       }

       .submit-btn {
        /* Add any other styles you want for the button */
    
        width: 10%;
        height:auto;
       font-size: 11px;
               
       }
       .delete-btn {
        /* Add any other styles you want for the button */
    
        width: 10%;
        height:auto;
       font-size: 11px;
               
       }


 table {
     font-size: 11px;
 }
.container {
 flex-direction: column; /* Change to a one-column layout for narrow devices */
}

.container2,
.container1,.container3,.container4
  {
 width: 100%; /* Adjust the width for full-width on narrow devices */
}


.make-space{
    padding: 5px;
    width: 100%;
}
.parent-sections {
 grid-template-columns: 1fr; /* Change to a one-column grid layout for narrow devices */
}

table th,
table td {
font-size: 12px;
}


 table {
     font-size: 12px;
 }
 .studentdetails
 {
     background-color: #123C69;
     padding: 10px;
     width:100%;
     
 }

 .student-info{
    width: 100%;
 }
 
 h1 {
    text-align: center; /* Center the text horizontally */
    margin-top: 2px; /* Adjust the top margin as needed */
    font-size: 0.5em; /* Adjust the font size as needed */
    padding: 2px; /* Padding for better visibility */
    color:#123C69; /* Text color */
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 20px;
}

 h2 {

    font-size: 18px;  
 }

 input.search-box {
    padding: 10px;
    border: 1px solid #AC3B61;
    border-radius: 2px;
    margin-bottom: 2px;
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 14px;
    width: 90%;
}
.searchdiv{
    flex-direction: column;
}

.studenttable-container {
    width: 100%; /* Adjust the width as needed */ 
}

.statement-date {
    width: 100%;
    padding: 5px;
    height: 20%;
}

.statement-date2 {
    width: 100%;
    padding: 5px;
    height: 20%;
}
.formpad{
    padding: 10px;
    width: 90%;

}
.formpad2{
    padding: 10px;
      width: 90%;

}
.table-container{
    width: 100%;
}

section{
    margin :1%;
}
}


/*Extra CSS after change in how students data is fetched in the tables*/
/* Styling for DataTables Pagination Buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color:#123C69;/* Bootstrap primary color */
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    margin: 2px;
    cursor: pointer;
    text-decoration: none; /* Ensure no text decoration */
}

/* Remove underline from anchor links within pagination buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button a {
    text-decoration: none; /* Remove underline */
    color:#FFFFFF;
}





/* Make table responsive on small screens */
@media screen and (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    /* Make pagination buttons stack on smaller screens */
    .dataTables_wrapper .dataTables_paginate {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 15px;
    }
}






@media screen and (max-width: 768px) {


   
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        font-size: 12px; /* Smaller font size */
        padding: 6px 12px; /* Smaller padding */
    }

    /* Reduce size of the pagination buttons for smaller screens */
    .dataTables_wrapper .dataTables_paginate {
        font-size: 12px; /* Make the whole pagination section more compact */
    }

    /* Make sure buttons stay within the page by handling overflow */
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        white-space: nowrap; /* Prevent text from wrapping */
    }
    
    /* Adjust button sizes on small screens */
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 5px 10px; /* Smaller padding for smaller buttons */
    }

    /* Stack pagination controls if necessary */
    .dataTables_wrapper .dataTables_paginate {
        display: flex;
        flex-direction: row; /* Arrange buttons in a row for larger screens */
        justify-content: center; /* Center pagination buttons */
        margin-top: 10px; /* Add some spacing from the table */
    }
}

/* ADDING ADJUSTMENT TO VIEW AND HIDE STUDENT LIST FOR SMALL SCREENS */
/* Student List container */
/* For small screens */

#showStudentsList {
    display: none;
}
#hideStudentsList{
    display: none;
}
    
#studentList {
    display: block;  
}


@media (max-width: 768px) {
    #showStudentsList {
        display: flex;
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 10px;
        margin: 10px;
        z-index: 8px;
    }

    #viewListBtn {
        display: inline-flex; /* Use inline-flex for potential icon alignment */
        align-items: center; /* Align icon and text vertically */
        justify-content: center; /* Center content horizontally */
        background: linear-gradient(135deg, #194A7C, #123C69); /* Gradient background */
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
        padding: 12px 20px; /* Slightly increased padding */
        font-size: 15px; /* Slightly increased font size */
        font-weight: 500; /* Slightly bolder font */
        border-radius: 8px; /* Slightly softer corners */
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15); /* Softer shadow */
    }
    
    #viewListBtn:hover {
        background: linear-gradient(135deg, #143B63, #0F2A4D); /* Slightly darker gradient */
        transform: translateY(-2px); /* Slightly reduced lift */
        box-shadow: 0px 5px 10px rgba(18, 60, 105, 0.4); /* Refined hover shadow */
    }
    
    #viewListBtn:active {
        transform: translateY(1px);
        background: linear-gradient(135deg, #0F2A4D, #0C1F3A); /* Darker active gradient */
        box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
    }
    
    #viewListBtn:focus {
        outline: none;
        box-shadow: 0px 0px 6px rgba(18, 60, 105, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.3); /* Added a subtle white outline to the focus style */
    }
    
    /* Optional: Add an icon */
    #viewListBtn i { /* If using Font Awesome or similar */
        margin-right: 8px; /* Space between icon and text */
    }
    
#studentList {
    display: none;  /* Initially hidden */
    position: fixed;
    top: 20;
    left: 0;
    right: 0;
    bottom: 0;
    background-color:  #EEE2DC;
     z-index: 10;
    overflow: auto;
    padding: 20px;
    width: 100%;
    height: 87%;
}


.close-btn2 {
    position: absolute;
    top: 15px; /* Adjusted for better visual placement */
    right: 15px; /* Adjusted for better visual placement */
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent white background */
    color: #d32f2f; /* Darker red for better contrast */
    border: none;
    font-size: 30px; /* Reduced font size if using an icon */
    cursor: pointer;
    z-index: 15;
    transition: color 0.3s ease, transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%; /* Circular button */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.close-btn2:hover {
    color: #b71c1c; /* Darker red on hover */
    transform: scale(1.1) rotate(90deg); /* Slight scale and rotation */
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.close-btn2:focus {
    outline: 2px solid #b71c1c;
    outline-offset: 3px;
}

.close-btn2:active {
    transform: scale(0.95); /* Slight shrink on click */
    background-color: rgba(255, 255, 255, 0.6);
}


#hideStudentsList {
    display: block;
    padding: 10px;
    margin: 10px;
    }

}

#student_list {
padding-left: 20px;
}

.studenttable-container {
    overflow-x: auto; /* Enable horizontal scrolling */
    margin:0px;
    padding:0px;
}



/* Control the breakpoint where columns start to hide */
.hidden-column {
    display: none;
}
/*
.adm_no-column {
    width: 20%; 
}

.name-column {
    width: 30%;
}

.class-column {
    width: 10%;
}

.stream-column {
    width: 10%;
}

.house-column {
    width: 10%;
}

.select-column {
    width: 10%; 
}


.adm_no-column3 {
    width: 20%; 
}

.name-column3 {
    width: 25%;
}

.class-column3 {
    width: 20%;
}

.stream-column3 {
    width: 10%;
}

.house-column3 {
    width: 20%;
}

.select-column3 {
    width: 10%; 
}*/

@media (max-width: 768px) { 
    /* Adjust the max-width value as needed */
    #student_list {
        padding-left: 10px;
        width : 100%;
        }

        #studentTable {
            width: 100%;
        }
        .studenttable-container {
            width : 100%;
        }
/* Set column widths 
#studentTable th:nth-child(1),

#studentTable td:nth-child(1) {
  width: 10%; 
}

#studentTable th:nth-child(2), 
#studentTable td:nth-child(2) {
  width: 30%; 
}

#studentTable th:nth-child(3), 
#studentTable td:nth-child(3) {
  width: 15%; 
}

#studentTable th:nth-child(4), 
#studentTable td:nth-child(4) {
  width: 15%; 
}

#studentTable th:nth-child(5), 
#studentTable td:nth-child(5) {
  width: 10%; 
}

#studentTable th:nth-child(6), 
#studentTable td:nth-child(6) {
  width: 10%; 
}
*/


  }
  



  #student_allocation {
    display: none;
    position: fixed;
    top: 90px;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for the element's width */
    background-color: #FFFFFF;
    z-index: 15;
    overflow: auto;
    padding: 20px;
    width: 90%; /* Cover 80% of the screen horizontally */
    max-width: 1200px; /* Limit width for better readability */
    height: 95%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



.inner-form {
    background-color: #EEE2DC;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin: 10px;
}

#student_allocation form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center form elements horizontally */
    width:100%;
}

#center-info{
display: flex;
align-items: center;
width:100%;
justify-content: center;

}
.student-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 80%;
    justify-content: center;
}

.studentdetails
{
    background-color: #123C69;
    padding: 10px;
    width:100%;
}


#photoPreview {
    border-radius: 20%; /* Make photo circular */
    border: 2px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


#student_detail_section {
    width :90%;
    justify-content:center;
}
#hideStudentsList{
    display: block;
    padding: 10px;
    margin: 10px;
    }

.close-btn2 {
    position: absolute;
    top: 30px; /* Adjusted for better visual placement */
    right: 30px; /* Adjusted for better visual placement */
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent white background */
    color: #d32f2f; /* Darker red for better contrast */
    border: none;
    font-size: 40px; /* Reduced font size if using an icon */
    cursor: pointer;
    z-index: 15;
    transition: color 0.3s ease, transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50%; /* Circular button */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin:10px;
}

.close-btn2:hover {
    color: #b71c1c; /* Darker red on hover */
    transform: scale(1.1) rotate(90deg); /* Slight scale and rotation */
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.close-btn2:focus {
    outline: 2px solid #b71c1c;
    outline-offset: 3px;
}

.close-btn2:active {
    transform: scale(0.95); /* Slight shrink on click */
    background-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) { 

    #student_allocation {
        position: relative;
        top: 0; /* Changed to 0 to take full screen */
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Adjust for the element's width */   
        background-color: #EEE2DC;
        overflow: auto;
        padding: 1px;
        width: 100%;
        margin: 0px; /* changed margin to 0 */
        height: 100%; /* Changed to 100% to take full screen */
        border-radius: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;    
    }

    .inner-form {
        background-color: #EEE2DC;
        padding: 5px;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
       margin:10px;
        margin-top: 40px;
        
        overflow-y:auto;
    }

    #student_allocation form {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        padding-top: 20px;
    }
    
    #center-info{
    display: flex;
    align-items: center;
    width:100%;
    justify-content: center;
    
    }
    .student-info {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        width: 100%;
        justify-content: center;
    }
    
    .studentdetails
    {
        background-color: #123C69;
        padding: 10px;
        width:80%;
    }
    
    
    #photoPreview {
        border-radius: 20%; /* Make photo circular */
        border: 2px solid #ddd;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    #promoteStudents {
        width:50%;
    }
    #student_detail_section {
        width :90%;
        justify-content:center;
    }
    #hideStudentsList{
        display: block;
        padding: 10px;
        margin: 10px;
        }
    
    .close-btn2 {
        position: absolute;
        top: 0px; /* Adjusted for better visual placement */
        right: 0px; /* Adjusted for better visual placement */
        background: rgba(255, 255, 255, 0.2); /* Semi-transparent white background */
        color: #d32f2f; /* Darker red for better contrast */
        border: none;
        font-size: 40px; /* Reduced font size if using an icon */
        cursor: pointer;
        z-index: 15;
        transition: color 0.3s ease, transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
        border-radius: 50%; /* Circular button */
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        text-align: center;
        margin:2px;

    }



}

/* Clear Page Button Styling */
.clear-btn {
    background-color: #ff5f57; /* Red background */
    color: white;
    border: none;
    display: flex; /* Flexbox for centering */
    align-items: center;
    justify-content: center; /* Center content */
    gap: 8px; 
    padding: 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    width: 110px;
    cursor: pointer;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.clear-btn:hover {
    background-color: #e54c4c;
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Icon Styling */
.clear-btn .icon {
    font-size: 50px; /* Adjust size */
}
.icon2{
    font-size: 50px; /* Adjust size */
}
@media (max-width: 768px) {
    .clear-btn .icon {
        font-size: 30px; /* Adjust size */
    }
    .icon2 {
        font-size: 30px; /* Adjust size */
    }
    .clear-btn {

    width: 20%;   
       font-size: 11px;
height:auto;
padding: 1px;
gap: 2px; 
               
       }

}
.edit-link {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    padding: 1px 3px;
    border-radius:4px;
    background-color: #AC3B61;
    transition: background-color 0.3s;
}

.delete-link {
   display: inline-block;
   text-decoration: none;
   color: #fff;
   padding: 1px 3px;
   border-radius:4px;
   background-color: #FF0000;
   transition: background-color 0.3s;
}

.edit-link:hover {
    background-color: #123C69;
}

.delete-link:hover {
   background-color: #123C69;
}

.edit-icon {
    width: 20px;
    height: 20px;
    margin-right: 3px;
    /* Adjust the path to your IconsFolder and the specific icon file */
    background: url('IconsFolder/EditIcon5.png') center/cover;
    display: inline-block;
    vertical-align: middle;
}


.delete-icon {
   width: 20px;
   height: 20px;
   margin-right: 3px;
   /* Adjust the path to your IconsFolder and the specific icon file */
   background: url('IconsFolder/DeleteIcon3.png') center/cover;
   display: inline-block;
   vertical-align: middle;
}

.delete-btn:hover {
    background-color: #123C69;
   }
.delete-btn {
    /* Add any other styles you want for the button */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FF0000;
    color: #FFFFFF;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 110px;
    height: auto;
   }
   
   @media (max-width: 768px) {
       .delete-btn { 
         width: 20%;
        height:auto;
       font-size: 11px;
               
       }
    }

/*
    .name-column4 {
        width: 90%;
    }
    
   
    .select-column4 {
        width: 10%; 
    }
    .adm_no-column5 {
        width: 20%; 
    }
    
    .name-column5 {
        width: 30%;
    }
    
    .class-column5 {
        width: 20%;
    }
    
    .stream-column5 {
        width: 20%;
    }
    
    .select-column5 {
        width: 10%; 
    }
*/
    .student-info {
        margin-top:10px;
    }
    .center-info {
        margin-top: 10px;
        padding-top:10px;
    }
   /* .name-column6 {
        width:15%;
        padding:2px;
    }

    .date-column6{
        width:20%;
    }*/
    #student_detail_section {
    padding-top:2px;
    }


    .balance-container {
        display: flex;
        justify-content: space-evenly;
    }

    .sameline-container{
        width:100%;
    }

    .sameline-container-div {
        width:45%;
    }
    .sameline-container2 {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
        
    }


#textClassFilter {
    font-size:16px;
    margin-bottom:20px;

}

.selectdiv2 {
    width:90%;
}

    @media (max-width: 768px) {
        .balance-container {
      flex-direction:column;
        }

        .sameline-container{
            flex-direction: column;
            
        }

        .sameline-container-div {
            width:100%;
        }
        .selectdiv2{
            width:100%;
        }
        #textClassFilter {
            font-size:12px;
            margin-bottom:10px;
        
        }
     }


    h2, #center-info, .student-info {
        margin: 0;
    }
    .long-text {
        width:100%;
    }
    .selectdiv2{
        width:50%;
    }

    table.dataTable thead th {
        background-color: #123C69;
        color: white;
        padding: 2px;
        text-align: left;
        font-size:16px;
    }
    
    table.dataTable tbody td {
        padding: 2px;
        vertical-align: middle;
        font-size:16px;
    }
    
    table.dataTable {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        overflow: hidden;
    }
    
    table.dataTable tbody tr:nth-child(even) {
        background-color: #DFECFF;
    }
    
    table.dataTable tbody tr:hover {
        background-color: #ADD8E6;
    }
    
    div.dataTables_filter input {
        width: 300px;
        padding: 10px 15px;
        border: 1px solid #000000;
        border-radius: 5px;
        font-size: 16px;
        color: #000000;
        background-color: #FFFFFF;
    }
    
    div.dataTables_filter input:focus {
        outline: none;
        border-color: #123C69;
        box-shadow: 0 0 5px rgba(0, 128, 0, 0.5);
    }
    
    div.dataTables_filter input::placeholder {
        color: #000000;
    }

    .payment-list-region{
        width: 90%; /* Adjust the width as needed */
        background-color: #DFECFF;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 20px;
       border: 2px solid #123C69;
       padding:10px;
        text-align: left;
        }
    
        .receipt-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: #FFFFFF;
            color: #123C69;
            padding: 12px;
            border:solid #123C69; ;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s ease;
            width: 15%;
            text-decoration: none;
            font-weight: bold;
        }
        
        
        .receipt-link:hover {
            background-color: #AC3B61;
             color:#FFFFFF;
        }
        
         .receipt-icon {
             width: 70%;
             height: 70%;
                 /* Adjust the path to your IconsFolder and the specific icon file */
             background: url('IconsFolder/PrintIcon.png') center/cover;
             display: inline-block;
             vertical-align: middle;
         }
         .receipt-icon2 {
            /* Adjust the path to your IconsFolder and the specific icon file */
            background: url('IconsFolder/PrintIcon.png') center/cover;
            display: inline-block;
            width: 50px; /* Adjust the width according to your icon size */
            height: 50px; /* Adjust the height according to your icon size */
            vertical-align: middle;
          }
        
        
          .receipt-link2 {
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: #FFFFFF;
            color: #123C69;
            padding: 12px;
            border:solid #123C69; ;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s ease;
            width: 18%;
            text-decoration: none;
            font-weight: bold;
        }
        
        
        
        .receipt-link2:hover {
            background-color: #AC3B61;
             color:#FFFFFF;
        }
        
    @media (max-width: 768px) {


        .payment-list-region{
            width: 100%; 
       
        }
        
        table.dataTable thead th {
            background-color: #123C69;
            color: white;
            padding: 2px;
            text-align: left;
            font-size:12px;
        }
        
        table.dataTable tbody td {
            padding: 2px;
            vertical-align: middle;
            font-size:12px;
        }
        
        div.dataTables_filter input {
            width: 200px;
            padding: 5px 5px;
            border: 1px solid #000000;
            border-radius: 5px;
            font-size: 14px;
            color: #000000;
            background-color: #FFFFFF;
        }

        .print-icon {
            width: 50%;
            height: 50%;
             }
    
             .receipt-icon {
                width: 50%;
                height: 50%;
                 }
    
        .receipt-link {
            font-size: 11px;
            width: 20%;       
        }
    
        .print-link{
            font-size: 11px;
            width: 20%;       
        }
    
        .receipt-link2 {
            font-size: 11px;
            width: 10%;       
        }
    
        .icon {
            width: 50%; /* Adjust the width as needed */
            height: 50%; /* Adjust the height as needed */
            margin-bottom: 5px; /* Optional: Add some spacing between the icon and text */
           }
    
           .submit-btn {
            /* Add any other styles you want for the button */
        
            width: 20%;
            height:auto;
           font-size: 11px;
                   
           }
           .delete-btn {
            /* Add any other styles you want for the button */
        
            width: 20%;
            height:auto;
           font-size: 11px;
                   
           }
    
    
     table {
         font-size: 11px;
     }
    .container {
     flex-direction: column; /* Change to a one-column layout for narrow devices */
    }
    
    .container2,
    .container1,.container3,.container4
      {
     width: 100%; /* Adjust the width for full-width on narrow devices */
    }
    
    
    .make-space{
        padding: 5px;
        width: 100%;
    }

    }

    .print-link {
        display: inline-block;
        text-decoration: none;
        color: #fff;
        padding: 1px 3px;
        border-radius:4px;
        background-color: #AC3B61;
        transition: background-color 0.3s;
    }
    
    
    
    .print-link:hover {
       background-color: #123C69;
    }
    
    .print-icon {
        width: 20px;
        height: 20px;
        margin-right: 3px;
        /* Adjust the path to your IconsFolder and the specific icon file */
        background: url('../Procurement/IconsFolder/PrintIcon5.png') center/cover;
        display: inline-block;
        vertical-align: middle;
    }
       

    #viewListBtn2 {
        display: inline-flex; /* Use inline-flex for potential icon alignment */
        align-items: center; /* Align icon and text vertically */
        justify-content: center; /* Center content horizontally */
        background: linear-gradient(135deg, #194A7C, #123C69); /* Gradient background */
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
        padding: 12px 20px; /* Slightly increased padding */
        font-size: 15px; /* Slightly increased font size */
        font-weight: 500; /* Slightly bolder font */
        border-radius: 8px; /* Slightly softer corners */
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.15); /* Softer shadow */
    }
    
    #viewListBtn2:hover {
        background: linear-gradient(135deg, #143B63, #0F2A4D); /* Slightly darker gradient */
        transform: translateY(-2px); /* Slightly reduced lift */
        box-shadow: 0px 5px 10px rgba(18, 60, 105, 0.4); /* Refined hover shadow */
    }
    
    #viewListBtn2:active {
        transform: translateY(1px);
        background: linear-gradient(135deg, #0F2A4D, #0C1F3A); /* Darker active gradient */
        box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
    }
    
    #viewListBtn2:focus {
        outline: none;
        box-shadow: 0px 0px 6px rgba(18, 60, 105, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.3); /* Added a subtle white outline to the focus style */
    }
    
    /* Optional: Add an icon */
    #viewListBtn2 i { /* If using Font Awesome or similar */
        margin-right: 8px; /* Space between icon and text */
    }
