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;
 }

 .container1 {
     width: 40%;
     margin: 1px;
     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 */
     padding: 10px;
     }
 

 .container2 {
     width: 58%; /* Adjust the width as needed */
     margin: 1px;
 }


 .container3 {
    width: 58%;
    margin: 1px;
    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 */
    padding: 15px;
    }


.container4 {
    width: 38%; /* Adjust the width as needed */
    margin: 1px;
}








 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: 80%;
     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: 80%;
    box-sizing: border-box; /* Includes padding and border in the width */
 }
 table {
     width: 99%;
     border-collapse: collapse;
     margin-top: 10px;
     background-color: #fff;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     border-radius: 8px;
     overflow: hidden;
  }

 form {
     width: 95%; /* Adjust the width as needed */
     padding: 10px;
     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;
     width: auto;
 }

 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 :2%;
}

 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%;
 }

   
form section {
 grid-column: span 1; /* Make the Student's Details section span two columns */
 margin-bottom: 10px;
 padding: 2px;
}



 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: auto;
}

.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;
           
   }

   .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; 
   }

   .delete-btn:hover {
    background-color: #123C69;
   }
   
.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; 
}
.studentdetails
{
    background-color: #123C69;
    padding: 10px;
    width:80%;
    flex-grow: 1;
}

br + * {
    margin-top: 0.5em; /* Adjust the value as needed */
}
.student-info {
    margin: 5px;
    display: flex; /* Use flex display for the container */
    align-items: center; /* Align items vertically in the center */
    width: 90%;
}
.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;   
}

.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: 100%; /* 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 */
    padding: 5px;
}

.studenttable-container {
    width: 95%; /* Adjust the width as needed */
    margin: 1px;
   
}
.bigger-width{
    width: 80%; 
}

.shorterlisttable {
    max-height: 10px; /* Set the maximum height for the container */
    overflow-y: auto; /* Add a vertical scroll for overflow content */
    padding: 20px;
 }

 .studenttable-container {
    max-height: 600px; /* 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 */
   
}

.table-container {
    width: 100%; /* Adjust the width as needed */
    margin: 1px;
    max-height: 500px; /* Set the maximum height for the container */
    overflow-y: auto; /* Add a vertical scroll for overflow content */
}
.center-align-payment{
    padding-left:20px;
    align-self: center;   

}

.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: 14px;
    transition: background-color 0.3s ease;
    width: 90px;
    height: auto; 
    font-weight: bold;
    text-decoration: none;
}


.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;
}

.make-space{
    padding: 30px;
}

.statement-date{
    display: none;
    width: 40%;
    padding: 10px;
    height: 20%;
}
.formpad{
    padding: 30px;
    width: 90%;

}

.formpad2{
    padding: 30px;
      width: 90%;

}

.payment-list-region{
    width: 90%; /* Adjust the width as needed */
    background-color: #EEE2DC;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
   border: 2px solid #123C69;
   padding:10px;
    text-align: left;

}
.statement-date2 {
    width: 100%;
    padding: 10px;
    height: 20%;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.switch-label {
    margin-left: 2px;
    vertical-align: middle;
    font-size: 14px;
    font-weight: bold;
    color: #123C69;
}
    
@media (max-width: 768px) {
    
    
.student-info{
    width:100%;
    margin: 2px;
}

    .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: 80%; /* Adjust the width as needed */
        height: 80%; /* 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%;
}
.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:90%;
     flex-grow: 1;
 }
 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%;
}
}