
.col-md-6{
width: 50%;
margin: 20px;
 }

 .col-md-5{
    width: 50%;
    margin-top: 10px;
    margin-right: 20px;

     }

 #selectdiv{
    z-index: 999; 
    position: relative;
 }

.topic-title{
width: 80%;
background-color: #123C69;
border-radius: 10px;
justify-content: center;
padding: 3px;
align-items: center;
text-align: center;
margin: 3px;
}

.topic-title h2 {
    color: #FFFFFF;
    font-size: large;
}


 .back-link {
    position: fixed;
    right: 10px;
    margin: 10px;
    top:110px;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    background-color: #123C69;
    border-radius: 20px;
    padding:2px;
    max-width: 300px;
    font-size: 11px;
}
.back-link i {
    margin-right: 5px;
}
.back-link:hover {
    background-color:#AC3B61;
}



.btn-danger{
    background-color: red;
    color: white;
}

.btn-danger:hover{
    color: red;
    background-color: white;
}

.btn-success:hover{
    background-color:#AC3B61;
}
.btnlink{

    text-decoration: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    color:white;
    display: flex;
    align-items: center;
    cursor: pointer;
   
}

.btnlink i {
    margin-right: 5px;
}
.radio-group {
    display: flex;
    flex-direction: column;
    max-width: 150px;
    border: 2px solid #123C69; /* Added solid style and specified border width */
    border-radius: 14px;
    padding: 5px;
    margin: 5px;
    max-height: 150px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}
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;
 }

 .table td {
    padding: 10px; /* Adjust as needed */
}
th, td {

    text-align: left;
    border: 1px solid #ddd;
    font-size: 12px;
    width: auto;
}


.radio-label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
}

.radio-option label {
    font-size: 12px;
}

input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color:#AC3B61; /* Change color of the radio button */
}

.buttonmargin{
    margin-top: 20px;
}


 h2 {
     color: #AC3B61;
     text-align: center;
     
 }
 label {
     color: #123C69;
     
 }

 input{
     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 */
     font-size: 14px;
 }

 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 */
    font-size: 14px;
 }
 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: 95%; /* Adjust the width as needed */
     padding: 20px;
     background-color: #EEE2DC;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     border-radius: 8px;
 }

 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;
 }

/* a.edit-link {
     text-decoration: none;
     padding: 8px 12px;
     /*background-color: #AC3B61;
     color: #fff;
     border-radius: 4px;
     transition: background-color 0.3s ease;
 }

 a.edit-link:hover {
     background-color: #123C69;
 }*/

 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 {
 display: block;
 justify-content: center;
}

form section {
 grid-column: span 2; /* Make the Student's Details section span two columns */
 margin-bottom: 20px;
 padding: 8px;
}

section{
    margin :2%;
}

form .parent-sections {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 grid-gap: 15px;
}

form label {
 display: block;
 margin-bottom: 5px;
 font-weight: bold;
}


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: 50%;
}

.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;
 }
 .message {
    margin: 5px auto;
    padding: 5px;
    border-radius: 5px;
    color: black;
    background: lightgreen;
    border: 1px solid #3c763d;
    width: 20%;
    text-align: center;
}
.text-danger
{
	font-size: 25px;
    color: white;
    border-radius: 5px;
    background: #2E8B57;
}


.addnewentry
{
    font-size: 15px;
    color: black;
    border-radius: 18px;
    background: #f44336;
}

.radio-container {
    margin-bottom: 10px;
}

h3 {
    display: inline-block;
    margin-right: 10px;
}

input[type="radio"] {
    display: inline-block;
}
.button-container {

    display: flex;
    gap: 10px;/* Adjust this property to change the spacing */
  }

/* Style for Send New Message button */
.btn-primary {
    background-color: #123C69;
    border-color: #123C69;
}

.btn-primary:hover {
    background-color: #AC3B61;
    border-color: #AC3B61;
}

/* Style for Inbox and Sent Messages headings */
h2 {
    font-size: 24px;
    color:#AC3B61;
    margin-bottom: 20px;
}

/* Style for message list items */
.list-group-item {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #fff;
}
.message-container {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
}

.subject-info {
    margin-bottom: 10px;
}

.subject-info strong {
    font-weight: bold;
}

.date-info {
    margin-bottom: 10px;
}

.date-info strong {
    font-weight: bold;
}

/* Style for message sender and subject */
.list-group-item .row {
    align-items: center;
}

.list-group-item strong {
    margin-right: 10px;
    font-weight: bold;
}

/* Style for message date */
.list-group-item small {
    font-size: 12px;
    color: #999;
}

/* Style for View and Delete buttons */
.list-group-item .btn-primary,
.list-group-item .btn-danger {
    padding: 5px 10px;
    font-size: 14px;
    margin-top: 5px;
}

.list-group-item .btn-danger {
    margin-left: 10px;
}

.custom-link {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.custom-link:hover {
    opacity: 0.8;
}

/* Icon styles */
.custom-link .icon {
    margin-right: 5px;
    font-size: 1.2rem;
}

/* Primary button style */
.custom-link.primary {
    background-color: #123C69;
}

/* Danger button style */
.custom-link.danger {
    background-color: #FF0000;
}

.custom-btn {
    display: inline-block;
    padding: 0px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    background-color:#123C69; /* Primary color */
    transition: background-color 0.3s ease;
}

.custom-btn:hover {
    background-color: #AC3B61 /* Darker shade of primary color on hover */
}

/* Icon styles */
.custom-btn .icon {
    margin-right: 10px;
}

/* Larger button style */
.custom-btn.btn-lg {
    font-size: 1.5rem;
    padding: 10px;
    padding-bottom: 2px; /* Adjust padding-bottom as needed */
    display: inline-block;
    text-decoration: none;
}

/* Container styles */
.container3 {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Form input styles */
.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    box-sizing: border-box;

    color: #000000;
    font-family: 'Book-Antiqua', Times-New-Roman, sans-serif;
    border: 1px solid #AC3B61;
    max-width: 10cm;
    font-size: 14px;
}

textarea {
    resize: vertical;
}

/* Button styles */
.action-buttons {
    text-align: center;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #123C69;
    color: #fff;
    cursor: pointer;
}
.inbox-item {

    width: 85%;
}

.message-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 0px;
    font-weight: bold;
    width:90%;
}

.unread {
    background-color: #ffc107; /* Yellow */
    color: #333; /* Dark text color */
}

.read {
    background-color: #28a745; /* Green */
    color: #fff; /* White text color */
}


.select-stream{
    display: none;
}

.list-btn:hover {
    background-color: #AC3B61;
    color:#FFFFFF;
   }
.list-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: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 15%;
    height: auto;   
    font-weight: bold;
    text-decoration: none; 
       margin-top: 12px;   
   }


/* Responsive styles */
@media screen and (max-width: 768px) {
    .container3 {
        padding: 10px;
    }

    input[type="text"],
    select,
    textarea {
        padding: 8px;
        max-width: 500px;
    }

    button {
        padding: 8px 16px;
    }

    .row{
        flex-direction: column;

    }


}



/* Adjustments for small screens */
@media (max-width: 768px) {
    .list-group-item .row {
        flex-direction: column;
        text-align: center;
    }

    .list-group-item .btn-primary,
    .list-group-item .btn-danger {
        margin-top: 10px;
    }
}
      
@media (max-width: 768px) {

    .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%;
}
}


.info-container {
    width: 100%;
    max-width: 600px; /* Limit width on larger screens */
    margin: auto; /* Center horizontally */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styling for the main info card */
.info-card {
    background: linear-gradient(145deg, #FFFF, #FFFFFF); /* Subtle gradient background */
    padding: 30px;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 6px 6px rgba(0, 0, 0, 0.2); /* Deeper shadow */
    color: #e2e8f0; /* Light text color */
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transitions for hover */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

/* Hover effect for the card */
.info-card:hover {
    transform: translateY(-5px) scale(1.01); /* Lift and slightly enlarge */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 8px 8px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

/* Styling for each label-input field group */
.info-field {
    display: flex; /* Use flexbox for alignment */
    flex-direction: column; /* Stack label and input vertically by default */
    margin-bottom: 20px; /* Space between fields */
}

/* Styling for labels */
.info-label {
    color: #123C69; /* Slightly lighter white for labels */
    font-weight: 600; /* Bolder text */
    margin-bottom: 8px; /* Space between label and input */
    font-size: 0.95rem;
}

/* Styling for text input fields */
.info-input {
    background-color: rgba(45, 55, 72, 0.7); /* Slightly transparent dark background */
    border: 1px solid #4a5568; /* Subtle border */
    padding: 12px 15px;
    border-radius: 8px; /* Rounded input corners */
    color: #e2e8f0; /* Light text color */
    font-size: 1rem;
    width: 100%; /* Full width within its container */
    box-sizing: border-box; /* Include padding and border in width */
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;
    cursor: default; /* Indicate readonly */
}

/* Hover effect for input fields (even if readonly, still good for visual feedback) */
.info-input:hover {
    border-color: #63b3ed; /* Lighter blue border on hover */
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.3); /* Subtle glow */
    background-color: rgba(45, 55, 72, 0.9); /* Slightly less transparent */
}

/* Focus effect for input fields (on click/tab) */
.info-input:focus {
    outline: none; /* Remove default outline */
    border-color: #4299e1; /* Even brighter blue border on focus */
    box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.4); /* Stronger glow */
    background-color: rgba(45, 55, 72, 1); /* Fully opaque */
}

/* Responsive adjustments */
@media (min-width: 600px) {
    .info-field {
        flex-direction: row; /* Align label and input side-by-side on larger screens */
        align-items: center; /* Vertically align them */
    }

    .info-label {
        min-width: 120px; /* Give labels a fixed width for alignment */
        margin-right: 20px; /* Space between label and input */
        margin-bottom: 0; /* Remove bottom margin when side-by-side */
    }
}

@media (max-width: 480px) {
    .info-card {
        padding: 20px; /* Reduce padding on very small screens */
        border-radius: 10px;
    }

    .info-label {
        font-size: 0.9rem;
    }

    .info-input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}
