body {
     font-family: 'Arial Narrow', Arial, sans-serif;
     background-color: #EEE2DC;
     margin: 0;
     padding: 0;
 }


 .container {
     display: flex;
     justify-content: space-between;
 }

 .container1 {
     width: 49%;
     margin: 1px;
     max-height: 1500px; /* 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 */
     }
 

 .container2 {
     width: 49%; /* Adjust the width as needed */
     margin: 1px;
     max-height: 1500px; /* Set the maximum height for the container */
     overflow-y: auto; /* Add a vertical scroll for overflow content */
 }

 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;
     max-height: 100px; /* Set the maximum height for the container */
     overflow-y: auto; /* Add a vertical scroll for overflow content */
  }

 form {
     width: 95%; /* Adjust the width as needed */
     background-color: #EEE2DC;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     border-radius: 30px;
    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;
 }



 .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;
}

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%;
 }
 .table-container {
    width: 100%; /* Adjust the width as needed */
    margin: 0.5px;
    max-height: 1000px; /* Set the maximum height for the container */
    overflow-y: auto; /* Add a vertical scroll for overflow content */
}
    /* Responsive Styles */
    .make-space{
        padding: 20px;
    }

    .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: 14px;
        transition: background-color 0.3s ease;
        width: 15%;
        height:auto;
        font-weight: bold;
               
       }
       
       .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: 14px;
           transition: background-color 0.3s ease;
           width: 15%;
           height: auto;   
           font-weight: bold;    
          }
          
       
       .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 */
       }


       .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;
        text-align: center;
    }
    
    
    .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: 70%; /* Adjust the width according to your icon size */
        height: 70%; /* 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;
        text-align: center;
    }
    
    
    
    .receipt-link2:hover {
        background-color: #AC3B61;
         color:#FFFFFF;
    }



form section {
 grid-column: span 1; /* Make the Student's Details section span two columns */
 margin-bottom: 20px;
 padding: 2px;
}



 label {
 display: block;
 margin-bottom: 5px;
 font-weight: bold;
}

form input,
form select,
form textarea {
 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%;
}



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:95%;
    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 */
 }

.info-field {
    margin-bottom: 5px;
}


.search-options {
    border: 2px 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;
    display: block;
    align-items: center;
    gap: 2px;
}

.testline {
    display: flex;
}
.searchdiv{
    width: 100%;
}
.button-container {
    display: flex;
    gap: 20px;/* Adjust this property to change the spacing */
  }
.stream-container {
    display: flex;
    gap: 20px;/* Adjust this property to change the spacing */
  }
  .balance-container {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center; 
}

.sameline-container {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    
}

.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 */
    width: 98%;
   
}


.statement-date{
    display: none;
    width: 45%;
    padding: 10px;
    height: 20%;
}

.formpad{
    padding: 10px;
    width: 95%;

}

.formpad2{
    padding: 10px;
      width: 95%;

}

.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: 40%;
    padding: 10px;
    height: 20%;
}

.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('IconsFolder/PrintIcon5.png') center/cover;
    display: inline-block;
    vertical-align: middle;
}
    

.upload-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
}
.upload-container h2 {
    text-align: center;
    margin-bottom: 20px;
}
.upload-container input[type="file"],
.upload-container input[type="text"],
.upload-container textarea {
    width: 90%;
    padding: 10px;
    margin-bottom: 10px;
}
.upload-container input[type="submit"],
.upload-container button {
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}
.upload-container input[type="submit"]:hover,
.upload-container button:hover {
    background-color: #4cae4c;
}

.table-container {
    max-width: 100%;
    overflow-x: auto;
}

#fileTable {
    width: 100%;
    border-collapse: collapse;
}

#fileTable th, #fileTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

#fileTable th {
    background-color: #1F4E79;
    color: white;
}

#fileTable td button {
    margin: 0 5px;
    padding: 6px 12px;
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#fileTable td button:hover {
    background-color: #218838;
}
@media (max-width: 768px) {         

    .receipt-icon {
            width: 50%;
            height: 50%;
             }
 

    .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
  {
 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%;
}

.student-info{
    width:100%;
    margin: 2px;
}

}

#addDocumentForm {
    border: none;
    width: 95%;
    margin: 0 auto; /* Centers the form horizontally */
    background-color: #EEE2DC;
}

#documentsTable {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
}


#documentsTable td {
    padding: 12px;
    vertical-align: middle;
}

#documentsTable td input.form-control {
    width: 90%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#documentsTable td a {
    color: #007bff;
    text-decoration: none;
}

#documentsTable td a:hover {
    text-decoration: underline;
}

#documentsTable td .btn {
    padding: 8px 12px;
    border-radius: 4px;
    border: none;
}

#documentsTable td .btn-danger {
    background-color: #dc3545;
    color: #fff;
}

#documentsTable td .btn-danger:hover {
    background-color: #c82333;
}

#documentsTable td .remove-document {
    transition: background-color 0.3s ease;
}

.upload-container{
    background-color: #EEE2DC;
}