:root {
    --primary-color: #2a2a2a; /* Dark Gray */
    --light-primary: #4a4a4a; /* Dark Gray */
    --secondary-color: #f4f4f4; /* White */
    --accent-color: #3c7bb7; /* Apple Blue */
    --tuition-green: #8fc98c ;
    --background-color: #f5f5f7; /* Light Gray Background */
    --font-family:"Poppins", sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --spacing-unit: 16px; /* Base spacing unit */
}


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body p, h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family) !important;
}

body {
    font-family: var(--font-family) !important;
    font-size: var(--font-size-base);
    color: var(--primary-color);
    background-color: var(--background-color);
    line-height: var(--line-height);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Change the color of all links */
a {
    color: #000; /* Replace with your desired color */
    text-decoration: none; /* Optional: Remove underline from links */
}

/* Change the color of links on hover */
a:hover {
    color: #333; /* Replace with your desired hover color */
}

/* Change the color of visited links */
a:visited {
    color: #666; /* Replace with your desired visited color */
}

/* Change the color of active links */
a:active {
    color: #999; /* Replace with your desired active color */
}

p {
    margin:0;
}


.text-bold {
    font-weight: bold !important;
    letter-spacing: 0.6px;
}
.text-small {
    font-size: 12px;
    letter-spacing: 0.6px;
}

.text-normal {
    font-size: 16px;
}

.text-medium {
    font-size:20px;
    letter-spacing: 0.6px;
}

.text-large {
    font-size: 28px;
    letter-spacing: 0.6px;
}

.color-gray {
    color: #919191;
}

.color-green {
    color:var(--tuition-green) !important;
}
.color-dark {
    color: #333333;
}

.line-height-1{
    line-height:1;
}

/* Layout for the agency dashboard */
#dashboard {
    padding: 0;
    display: flex;
    gap: 15px;
    background-color: transparent;
    background-image: linear-gradient(44deg, #FFFFFF 0%, #c0c8d5 100%);
}

.add-btn {
    background-color: #3cb771;
    color: white !important;
    padding: 9px 25px;
    border-radius: 25px;
    font-weight: 600;
}

.add-btn:hover {
    color: white;
    background-color: #55cf8a;
}

#content {
    width: 88%;
    background-color: white;
    flex: 1;
    border-radius: 15px;
    padding: 55px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    height: 100%;
    color: gray;
    margin-right: 15px;
    margin-top: 15px;
    min-height: calc(100vh-30px);
}


#sidebar {
    margin-left: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    height: calc(100vh - 30px); /* Set height to 100vh minus 20px */
    color: gray;
    padding: 10px;
    position: sticky; /* Make the sidebar sticky */
    z-index: 1000; /* Ensure the sidebar is above other content */
}

@media (min-width: 768px) {
    #sidebar {
        top: 15px; /* Position it 10px from the top of the viewport */
    }
    .notification {
        position: relative;
    }
    
}


.logo-site {
    width: 100%;
    padding: 20px;
}

#sidebar ul li {
    list-style-type: none;
}
.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
/* Container for the sidebar menu */
.sidebar-menu {
    padding: 0;
    margin: 0;
    width: 100%; /* Adjust the width as needed */
    background-color: #ffffff; /* Background color for the sidebar */
    font-family: var(--font-family) !important;
}

.sidebar-menu ul {
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
    padding: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    width: 100%; 
    text-decoration: none;
    color: #333; /* Default text color */
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px; /* Rounded corners for the menu items */
    transition: background-color 0.3s, color 0.3s;
    margin: 2px 0; /* Spacing between items */
}

.sidebar-menu a i {
    margin-right: 15px;
    font-size: 18px; /* Size of the icons */
    color: var(--accent-color); /* Default icon color */
}

.sidebar-menu li.active a i {
    color: #ffffff; /* Active icon color */
}

.sidebar-menu a:hover i {
    color: var(--accent-color); /* Icon color on hover */
}

.sidebar-menu a span {
    flex: 1; /* Flex-grow to take remaining space */
}

.sidebar-menu li.active a {
    background-color: var(--accent-color); /* Active item background */
    color: #ffffff; /* Active item text color */
}

.sidebar-menu a:hover {
    background-color: #f1f1f3; /* Background color on hover */
    color: var(--accent-color); /* Text color on hover */
}

.sidebar-menu a.logout-button {
    margin-top: auto; /* Push logout button to the bottom */
    color: #dc3545; /* Logout button text color */
}

.sidebar-menu a.logout-button i {
    color: #dc3545; /* Logout button icon color */
}

hr {
    border-bottom: 1px solid var(--global-gray-400) !important;
    margin: 0 auto;
    margin-bottom: 2px;
    width: 85%;
}
/* Sidebar default state */
.dashboard-sidebar {
    min-width: 80px !important;
    width: 210px;
    transition: width 0.3s ease;
}

/* Sidebar collapsed state */
.dashboard-sidebar.collapsed {
    width: 80px;
}

.dashboard-sidebar.collapsed  {
    .dash-icon {
        margin-right: 0px;
    }
}

/* Hide the text when collapsed */
.dashboard-sidebar.collapsed .menu-text {
    display: none;
}

/* Adjust the logo when collapsed */
.dashboard-sidebar.collapsed .logo-site {
    opacity: 0;

}

.sidebar-bottom{
    display: flex;
    flex-direction: column;
}
/* Adjust the profile image when collapsed */
.dashboard-sidebar.collapsed .profile-details {
    display: none;
}

.dashboard-sidebar.collapsed .profile-image {
    opacity: 0;
    display: none;
}

.button-center a{
    padding: 10px 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Toggle button position and styling */
.toggle-btn {
    width: 100%;
    background-color: none;
    border: none;
    border-radius: 13px;
    font-size: 24px;
    cursor: pointer;
    color: #c5c5c5;
}

.toggle-btn:hover {
    background: none !important;
    border: none !important;
    font-size: 24px;
    cursor: pointer;
    color: #a8a8a8;
    box-shadow: none !important;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}
.card-middle-container {
    padding-inline: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;  
}

.apply-button{
    font-size: 16px;
    /* width: 100%; */
    padding: 10px 15px;
    border-radius: 8px;
    background-color: #8fc98c;
    text-align: center;
    margin-inline: 25px;
    margin-bottom: 25px;
}
.apply-button a {
    color: white;
    font-weight: 600 !important;
}

.apply-button:hover a {
    color: rgb(55, 100, 49);
}
 .filter-wrap {
        display: flex;
        flex-direction: column;
        position: relative;
        flex: 1;
        width: calc(33.333% - 11px);
      }


@media(max-width: 768px) {
    .apply-button {
        font-size: 13px;
    }

    .card-middle-container {
        margin-bottom: 10px;
    }

    .program-card {
        border-radius: 12px !important;
        margin-bottom: 15px !important;
    }

    #program-cards-container {
        gap: 10px !important;
        padding: 0 !important;
    }

    .university-logo {
        display: flex;
        gap: 8px;
    }
    .program-details h3{
        font-size: 15px !important;
    }

    .height150 {
        height: 150px !important;
    }

    .university-logo p{
        font-size: 10px !important;
    }
    .university-logo img {
        width: 32px !important; 
        height: 32px !important;
    }
    .degree-icon {
        font-size: 11px !important;
    }

    .degree-text{
        font-size: 11px !important;
    }
    span.tuition {
        font-size: 20px !important;
        font-weight: 700 !important;
    }

    .degree-label {
        display: flex;
        flex-direction: row;
        gap: 7px;
        align-items: center;
        padding: 3px 6px !important;
        margin-block: 5px;
    }
    .card-text-item {
        gap: 12px !important;
    }

    .card-text-item i {
        font-size: 17px !important;
    }
    .text-item-group {
        line-height: 1.2 !important;
    }
    .text-item-group p{
        font-size: 11px !important;
        font-weight: 500;
    }
    .text-item-group small {
        font-size: 7px !important;
    }


    hr {
        display: none;
    }

    .add-btn {
        flex: 1;
    }

    .application-list {
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
        gap: 10px !important;
    }

    .profile-image img {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        object-fit: cover;
    }
    #filters {
        display: flex;
        flex-direction: column;
    }
    #dashboard {
        padding: 5px !important;
        gap: 5px !important;
        height: auto !important;
        max-height: none !important;
        height: auto !important;
    }

    .file-upload {
        width: 100% !important;
    }

    .main-form {
        min-width: 200px !important;
        width: 100% !important;
        padding: 25px !important;
        margin-bottom: 70px;
        min-height: 100vh;
    }
    #second-form {
        display: none !important;
    }

   

      .width-30perc {
        width: calc(33.33% - 11px);
      }
      
      .width-35perc {
        width: calc(33.33% - 11px);
      }

    .dashboard-stats {
        max-height: none !important;
    }
    .stat-card {
        max-width: none !important;
        
    }
    #content {
        position: relative;
        padding: 15px !important;
        margin-right: 0px;
        margin-top: 0px;
        margin-bottom: 70px;
    }
    .notification-popup {
        top: 75px !important;
        right: 0 !important;
        width: 100% !important;
    }
    .dashboard-sidebar.collapsed .menu-text {
        display: block;
    }

    
    .hide-mobile {
        display: none;
    }
    .popup-body {
        max-height: 400px !important;
    }
    .university-card {
        min-width: 140px !important;
    }

    #university-cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr))  !important;
    }
    /* Sidebar positioning for mobile */
    #sidebar {
        position: fixed ;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 70px !important; /* Adjust height as needed */
        padding: 10px ;
        border-radius: 0;
        z-index: 1000; /* Ensure the sidebar is above other elements */
        margin: 0 !important;
    }

    /* Hide the logo and profile section on mobile */
    .sidebar-header, .header-profile, .button-center {
        display: none !important;
    }
    .sidebar-menu a i {
        margin: 0px !important;
    }
    #program-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    }
    .dashboard-sidebar {
        max-width: none !important;
    }
    /* Sidebar menu styling for mobile */
    .sidebar-menu ul {
        display: flex !important;
        justify-content: space-around; /* Space the icons evenly */
        align-items: center;
        height: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .sidebar-menu li {
        flex: 1;
        text-align: center;
    }

    .sidebar-menu a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        font-size: 12px; /* Adjust icon size */
    }

    /* Hide menu text on mobile */
    .sidebar-menu a .menu-text {
        display: none;
    }

    /* Adjust icon size */
    .sidebar-menu a i {
        font-size: 24px;
    }

    .sidebar-menu a.logout-button {
        border: none;
    }
}

.avatar {
    display: flex;
    justify-content: center;
}
.avatar img {
    width: 65px;
    height: auto;
    border-radius:50%;
}

/*Agent Profile Styles*/ 
/* Initially hide the tooltip */
.header-profile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px); /* Start slightly above */
    position: absolute;
    top: 80px;
    right: 0;
    background-color: white;
    border: 1px solid #f3f3f3;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0px 13px 60px 30px rgb(0 0 0 / 4%);
    z-index: 1000;
    width: 250px;
    /* Animation properties for fade and transform */
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* When hovering over the profile container */
.profile-container:hover .header-profile {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px); /* Move down by 10px */
}

/* Override all <a> styles inside .header-profile */
.header-profile a {
    text-decoration: none;
    background-color: #ebebeb;
    color: rgb(132 116 255);
    font-weight: 500;
    border: none;
    padding: 9px 25px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    /* text-align: center; */
    font-size: 15px;
    border-radius: 7px;
  }
  
  /* Override hover styles specifically inside .header-profile */
  .header-profile a:hover {
    color: rgb(132 116 255);
    background-color: rgb(241, 241, 241); /* Slight background on hover */
    text-decoration: none; /* Remove underline */
  }
  
.profile-container{
    position: relative;
}


/* Optional styling for the profile details */
.agent-profile .profile-details {
    margin-top: 10px;
}

.agent-profile .profile-image img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-profile {
    padding-inline: 10px;
    padding-block: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inner-container-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;

}

.profile-image {
    display: flex;
    justify-content: center;
    cursor: pointer;
}
.profile-image img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-details {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.middle-container {
    flex: 1;
}
/* Styles for the university cards */
#university-cards-container {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px; /* Space between items */
}

.university-card {
    position: relative;
    min-width: 170px;
    min-height: 160px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "header"
        "body"
        "footer";
    padding: 23px 19px;
    gap: 2px;
    background-color: var(--secondary-color);
    border-radius: 21px;
    place-items: center; 
    text-align: center;
}


.card-content {
    position: relative;
}

.university-card img {
    width: 50px;
    height:auto ;
}

.university-card h3 {
    padding: 0 10px;
    color: var(--light-primary);
    font-size: 13px;
    font-weight: 500;
}

.university-card a {
    text-decoration: none;
    color: inherit;
}

.university-card:hover {
    background: #e8e8e8;
}

.head-title {
    display: flex;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    color: #414347;
    font-size: 30px;
    align-items: center;
}


/*Table Style*/ 
.table-container {
    border: 1px solid #ddd; /* Optional: Add border to the container */
    border-radius: 20px 20px 8px 8px; /* Add rounded corners to the container */
    position: relative; /* To position the sticky header correctly */
    margin: 0 auto; /* Center the container if needed */
    background: #fff; /* Ensure background color matches table */
    margin-top: 15px;
    margin-bottom: 15px;
}

.apple-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-family) !important;
    background-color: #fff; /* Background color changed to white */
    margin: 0;
    border-radius:0 0 8px 8px; /* Slightly reduced border-radius */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* Added box-shadow for subtle elevation */
    overflow: hidden;
    display: block; /* Ensure table behaves like a block element for responsiveness */
}

.apple-table thead {
    background-color: #f7f7f8; /* Light gray for the header */
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
    display: table;
    width: 100%;
    table-layout: fixed;
}

.apple-table thead th {
    padding: 20px 5px; /* Adjusted padding */
    color: #4a4a4a; /* Darker text color */
    font-size: 14px;
    text-transform: uppercase;
    border-block: 2px solid #e0e0e1; /* Thicker border for separation */
}

.apple-table tbody {
    display: block;
    overflow-y: auto;
}

.apple-table tbody tr {
    border-bottom: 1px solid #ececec; /* Lighter border */
    transition: background-color 0.2s ease;
    display: table;
    width: 100%;
    table-layout: fixed;
}

.apple-table tbody tr:hover {
    background-color: #f9f9fa; /* Slight hover effect */
}

.apple-table tbody td {
    padding: 8px 5px; /* Adjusted padding */
    color: #626262; /* Slightly lighter text color */
    font-size: 14px;
}

.apple-table tbody tr:last-child td {
    border-bottom: none !important;
}

.apple-table tbody tr td:first-child {
    padding-left: 16px !important;
}

.upper-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* Action buttons (eye, edit, delete) */
.apple-table tbody td .action-icon {
    margin-right: 12px; /* Space between icons */
    cursor: pointer;
    color: #999; /* Gray color for the icons */
    transition: color 0.2s ease;
}

.apple-table tbody td .action-icon:hover {
    color: #4a4a4a; /* Darker on hover */
}

/* Checkbox styling */
.apple-table tbody td .custom-checkbox {
    appearance: none; /* Removes the default checkbox styling */
    -webkit-appearance: none; /* For Safari */
    width: 20px; /* Set width */
    height: 20px; /* Set height */
    border: 2px solid #d1d1d1; /* Gray border */
    border-radius: 4px; /* Rounded corners */
    position: relative; /* For positioning checkmark */
    cursor: pointer; /* Pointer cursor on hover */
    margin-right: 8px; /* Space between checkbox and text */
    outline: none; /* Removes outline on focus */
    display: inline-block; /* Ensures checkbox stays inline with text */
}

.apple-table tbody td .custom-checkbox:checked {
    background-color: #0070f3; /* Custom check color */
    border-color: #0070f3;
}

.apple-table tbody td .custom-checkbox:checked::before {
    content: ''; /* Empty content for checkmark */
    position: absolute; /* Positioning relative to checkbox */
    top: 1px; /* Position from top */
    left: 5px; /* Position from left */
    width: 6px; /* Width of checkmark */
    height: 12px; /* Height of checkmark */
    border: solid white; /* Checkmark color */
    border-width: 0 2px 2px 0; /* Width of checkmark arms */
    transform: rotate(45deg); /* Rotate to form a checkmark */
}

/* Ensure that the container and the table fit within rounded corners */
.table-container::-webkit-scrollbar {
    width: 8px;
}

.table-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.sort-icon {
    color: rgb(160, 160, 160);
}
.sortable {
    cursor: pointer;
}

th::after {
    content: '';
    margin-left: 5px;
    display: inline-block;
}

th.asc::after {
    content: '▲'; /* Up arrow for ascending */
}

th.desc::after {
    content: '▼'; /* Down arrow for descending */
}

@media(max-width: 768px){
    .apple-table {
        border-collapse: separate;
    }
    .apple-table tbody tr {
        padding: 15px;
    }
    .apple-table tbody tr td:first-child {
        padding-left: 5px !important;
    }

    .apple-table tbody td {
        width: 100% !important;
    }
    .apple-table tbody tr:nth-last-child(even){
        background-color: #f3f3f3 !important;
    }
    .bottom-container {
        margin-top: -60px !important;
    }
    th {
        display: none;
    }
    td {
        display: grid;
        grid-template-columns: 15ch auto;
        padding: 0.5rem, 1rem;

    }
    td:first-child {
        padding-top: 1rem;
    }
    td:last-child {
        padding-bottom: 1rem;
    }
    td::before {
        content: attr(data-cell) ': ';
        font-weight: 700;
        text-transform: capitalize;
    }
}


#apple-table th:nth-child(1) {
    padding-left: 16px;
}
/* Table column widths */
#apple-table th:nth-child(1),
#apple-table td:nth-child(1) {
    width: 6%;
}
p.header-text-table { 
    margin-bottom: -16px;
    transition: color 0.3s ease-in-out;
}

p.header-text-table:hover {
    color: #797979;
}


#apple-table th:nth-child(2),
#apple-table td:nth-child(2), 
#apple-table th:nth-child(6),
#apple-table td:nth-child(6),
#apple-table th:nth-child(8),
#apple-table td:nth-child(8),
#apple-table th:nth-child(9),
#apple-table td:nth-child(9),
#apple-table th:nth-child(10),
#apple-table td:nth-child(10),
#apple-table th:nth-child(11),
#apple-table td:nth-child(11),
#apple-table th:nth-child(4),
#apple-table td:nth-child(4),
#apple-table th:nth-child(3),
#apple-table td:nth-child(3),
#apple-table th:nth-child(5),
#apple-table td:nth-child(5),
#apple-table th:nth-child(7),
#apple-table td:nth-child(7)  {
    width: 9.4%;
}

/* Style for custom checkbox */
.custom-checkbox {
    appearance: none; /* Removes the default checkbox styling */
    -webkit-appearance: none; /* For Safari */
    width: 20px; /* Set width */
    height: 20px; /* Set height */
    border: 2px solid #d1d1d1; /* Gray border */
    border-radius: 4px; /* Rounded corners */
    position: relative; /* For positioning checkmark */
    cursor: pointer; /* Pointer cursor on hover */
    margin-right: 8px; /* Space between checkbox and text */
    outline: none; /* Removes outline on focus */
    display: inline-block; /* Ensures checkbox stays inline with text */
}

/* Checked state styling */
.custom-checkbox:checked {
    background-color: #0070f3; /* Custom check color (blue) */
    border-color: #0070f3; /* Border color changes to match background */
}

/* Checkmark styling */
.custom-checkbox:checked::before {
    content: ''; /* Empty content for checkmark */
    position: absolute; /* Positioning relative to checkbox */
    top: 1px; /* Position from top */
    left: 5px; /* Position from left */
    width: 6px; /* Width of checkmark */
    height: 12px; /* Height of checkmark */
    border: solid white; /* Checkmark color */
    border-width: 0 2px 2px 0; /* Width of checkmark arms */
    transform: rotate(45deg); /* Rotate to form a checkmark */
}

/* Hover effect for checkbox */
.custom-checkbox:hover {
    border-color: #0070f3; /* Border color changes on hover */
}

.table-filters {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px;
    flex-wrap: wrap;
}
#delete-selected {
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 8px;
}

#delete-selected:hover {
    box-shadow: none;
}

#search-input{
    width: 300px;

}

/* Dashboard Statistics Section */

.wrap {
    display: flex;
    flex-direction: column;
}

.dashboard-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
    justify-content: start;
  }
  
  
  .stat-card {
    min-width:100px;
    background-color: white;
    max-width: 220px;
    flex: 1;
    border-radius: 20px;
    padding: 15px 15px 5px 15px;
    text-align: start;
    transition: box-shadow var(--transition-speed);
    cursor: pointer;
    box-shadow: -1px 1px 10px 0px rgb(0 0 0 / 6%);
  }
  
  .bottom-container {
    display: none;
    margin-top: -70px;
    margin-bottom: 25px;
    max-height: 60px;
  }
.status{
    display: flex;
    background-color: #f1f1f1;
    color: #959997;
    align-items: center;
    justify-content: center;
    padding-inline: 15px;
    border-radius: 10px;
    font-weight: 500;
    flex: 1;
    gap: 15px;
}

.status p{
    text-transform: capitalize;
}


  #back-to-list-btn {
    color: #55569d;
    box-shadow: none;
    padding: 8px 15px;
    font-weight: 500;
    background-color: #ffffff;
    border-radius: 6px;
  }


  .search-input-icon {
    position: relative;
    display: inline-block;
}

.search-input-icon i {
    position: absolute;
    right: 10px; /* Distance from the right of the input */
    top: 50%;
    transform: translateY(-50%); /* Center vertically */
    font-size: 18px; /* Adjust icon size */
    color: #888; /* Icon color */
    pointer-events: none; /* Make sure the icon doesn't interfere with text input */
}

.no-content {
    width: 100%;
    height: 600px;
    display: flex;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    background-color: #f1f1f1;
    padding: 35px;
    text-align: center;
    margin-top: 15px;
}

#back-to-list-btn:hover {
    background-color: #efefef;
}

  .stat-card:hover {
    box-shadow: -3px 12px 10px 0px rgb(0 0 0 / 6%);
  }

  .stat-card i {
    display: flex;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    align-content: center;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 15px;
  }
  
  .stat-card p {
    margin-bottom: -10px;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .application-list {
    flex: 1;
    margin-top: 30px;
    background-color: #f6f6f6;
    display: flex;
    padding: 16px 26px;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    border-radius: 18px;
  }
  
  .application-list-header {
    display: flex;
    flex-direction: column;
    gap: 0;
}
  .stat-card span {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
  }

  .normal {
    border: 1px solid #3c7cb730;
    color: #3c7bb7!important;
  }


  .normal i {
    background-color: #edf6ff;
  }

  .successful {
    border: 1px solid #949f8250 ; 
    color: #949f82 !important;
  }

  .stat-card.pending {
    border: 1px solid #949f8250 ; 
    color: #949f82 !important;
  }
  .pending i {
    background-color: #959f8021;
}
.estimate-income i {
    background-color: #8b82a033;
}
.actual-income i {
    background-color: #9982a038;
}
  .stat-card.estimate-income {
    border: 1px solid #828e9f50 ; 
    color: #8c829f !important;
  }

  .stat-card.actual-income {
    border: 1px solid #9f829950 ; 
    color: #9c829f !important;
  }

  .successful i {
    background-color: #eaefe7;
  }

/* --------------Multistepform---------------*/
.hidden { display: none; }
.form-section { 
    margin-bottom: 20px; 
}
.form-flex {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}



.badge {
    color: white!important;
    border-radius: 50%!important;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: medium;
    position: absolute;
    top: 5px;
    right: 5px;
}

.badge.new {
    background-color: red; /* New applications badge color */
}

.badge.read {
    background-color: gray; /* Read applications badge color */
}

.badge.changed {
    background-color: #6666ff;
    font-size: 12px;
    position: absolute;
    right: 25px;
}

.toggle-notification {
    position: relative;
}


.notification-count {
    background-color: red; /* New applications badge color */
    color: white!important;
    border-radius: 50%!important;
    text-align: center;
    font-size: 10px;
    width: 15px;
    height: 15px;
    font-weight: medium;
    position: absolute;
    top: 0px;
    right: 8px;
}

.notification-count.hidden {
   display: none;
}

/* ---------Loading Circle ---------*/
/* Style for the loading spinner */
#loading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* Ensure it appears on top */
}

#loading-animation {
    text-align: center;
    display: inline;
    z-index: 10; /* Ensure it's above the content */
    display: none; /* Initially hidden */
}

/* Spinner styles */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1); /* Light grey */
    border-left: 4px solid #3498db; /* Blue color */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Loader styles */
.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin: 0px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hidden class */
.hidden {
    display: none !important;
}

p#no-notifications {
    text-align: center;
    padding: 30px;
    padding-top: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
}
.program-card {
    background-color: #f2feff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #3E59A847;
}

.program-card:hover {
    transform: translateY(-4px); /* Slight lift on hover */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.card-text-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.card-text-item i {
    font-size: 17px !important;
}
.text-item-group {
    line-height: 1.2 !important;
}
.text-item-group p{
    font-size: 15px !important;
    font-weight: 500;
}
.text-item-group small {
    font-size: 9px !important;
}

.text-item-group{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.university-logo {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    padding: 15px 25px;
    gap: 15px;
}

.university-logo img {
    width: auto;
    height: 42px;
}
.university-logo p {
    font-size: 12px;
    text-transform: uppercase;
}

.program-details h3 {
    width: 100%;
    margin-top: 15px;
    padding-bottom: 15px;
    font-size: 17px;
    font-weight: 600;
    color: #1f1f1f;
    border-bottom: 1px solid #3E59A847;
    padding-inline: 25px;
    margin-bottom: 10px;
}


.parent-container {
    position: relative; /* Needed if you're positioning child elements */
    overflow: hidden; /* Hide the overflow of child elements */
}

/* Style for the program cards container */
#program-cards-container {
    padding: 15px;
    padding-bottom: 20px;
    position: relative; /* Establishes a positioning context for the spinner */
    width: 100%;    
    overflow: auto; /* Enables vertical scrolling */
    height: auto;
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px; /* Space between items */
}


/*-----pagiation styles --------------*/
/* Container Styles */
#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}

.pagination-link {
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #333;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.pagination-link:hover {
    background-color: #f0f0f0;
}

.pagination-link.active {
    font-weight: bold;
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.ellipsis {
    padding: 8px 15px;
    border: 1px solid transparent;
    background-color: #ffffff;
    color: #666;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    cursor: default;
}

@media (max-width: 768px) {
    #pagination {
        flex-wrap: wrap;
    }

    .pagination-link {
        padding: 6px 12px;
        font-size: 12px;
    }

    .ellipsis {
        padding: 6px 12px;
        font-size: 12px;
    }
}


#filter-form {
    width: 100%;
  }

.form-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 90%;
}

.form-row {
    display: flex;
    gap: 15px;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.form-row input {
    width: 100%;
    flex: 1;
}

#second-form {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1px solid #999;
    padding: 20px;
    border-radius: 15px;
    width: 20%;
    height: 100%;
}

.main-form {
    background-color: var(--secondary-color);
    border-radius: 15px;
    min-width: 600px;
    width: 78%;
    padding: 50px;

}

.form-head {
    width: 100%;
    margin-bottom: 25px;
    border-bottom: 1px solid gray;
}

.form-group {
    flex: 1;
    min-width: 200px;
    margin-right: 15px;
    position: relative;
}

.form-group.success input {
    border-color: #2ecc71 !important;
}

.form-group.success i.fa-circle-check {
    color:#2ecc71 !important;
    visibility: visible;
}


.form-group.error input {
    border-color: #e74c3c !important;
}

.form-group.error select {
    border-color: #e74c3c !important;
}

.form-group.error i.fa-circle-exclamation {
    color:#e74c3c  !important;
    visibility: visible;
}

.form-group i {
    position: absolute;
    top: 42px;
    right: 13px;
    visibility: hidden;
}

.form-group small {
    visibility: hidden;
}

.form-group.error small {
    color: #e74c3c  !important;
    visibility: visible;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.profile-pic {
    padding: 30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: rgb(236, 236, 236);
    object-fit: cover; /* Ensures the image fits within the circle */
}


.filter-wrap-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Filters Container */
#filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 15px;
  }

/* Label Styles */
label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 500;
  }

  select, input[type="text"], input[type="number"], input[type="date"], input[type="textarea"],input[type="email"] {
    width: 100% !important;
    height: 48px;
    padding:10px 35px 10px 15px !important;
    border: 1px solid #e9ecef;
    border-radius: 8px !important;
    background-color: white;
    color: #495057;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
  }

  input[type="text"] {
    background-image: none;
  }


  select, input[type="text"]::placeholder {
    color: #a2abb3 !important;
    font-family: var(--font-family) !important;
    font-weight: 500;
  }

  select:focus, input[type="text"]:focus {
    outline: none;
    border-color: #4dabf7;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.1);
  }

  span.report-button-text {
    font-size: medium;
    font-weight: 500;
    margin-right: 10px;
    font-family:var(--font-family) !important;
}
/*
select, input[type="text"], input[type="number"], input[type="date"], input[type="textarea"],input[type="email"]    {
    width: 100%;
    padding:10px 35px 10px 15px !important;
    border: 1px solid #d0d0d5; 
    border-radius: 8px !important; 
    font-size: 17px;
    color: #333;
    background-color: #f9f9f9; 
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s; 
}*/

.width-small {
    width: 100px;
}

.width-medium {
    width: 225px;
}

.width-large {
    width: 385px;
}
/*
select:focus, input[type="text"]:focus, input[type="number"]:focus {
    border-color: var(--accent-color); 
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
    outline: none;
}*/

.input-container {
    position: relative;
  }

  .clear-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .clear-icon:hover {
    color: #495057;
  }

/* Button Styles */
button {
    height: 48px;
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }

button:hover, button:focus {
    background-color: #44678c; /* Darker blue on hover */
}


/* Clear Filters Button Specific Styles */
#clear-filters-button {
    background-color: #ffffff;
    color: #495057;
    box-shadow: none;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}
  

#filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
  }

  #clear-filters-button:hover {
    background-color: #dee2e6;
  }

  #screenshot-button {
    background-color: #4dabf7;
    color: white;
  }
  
  #screenshot-button:hover {
    background-color: #3b9ae2;
  }
  
  #screenshot-button i {
    margin-right: 4px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    #filters {
      flex-direction: column;
    }
    
    .width-30perc, .width-35perc {
      width: 100%;
    }
  }

.middle-functions {
    display: flex;
    background-color: #f1f1f1;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
}


.degree-label {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 15px;
    background-color: white;
    padding: 12px 15px;
    border-radius: 8px;
    margin-inline: 25px;
}
.degree-label p {
    font-size: 15px;
    font-weight: 500;
}
.degree-label i {
    font-size: 19px;
}

.tuition {
    color:var(--tuition-green) !important;
    font-size: 24px !important;
    font-weight: 700;
}


/* Styling for the autocomplete container */
.autocomplete {
    position: relative;
    border-radius: 15px;
}

/* Autocomplete Dropdown - Modern Dashboard Style */
.autocomplete-items {
    position: absolute;
    border-radius: 8px;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 4px;
    background-color: white;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    scrollbar-width: thin;
  }
  
  .autocomplete-items::-webkit-scrollbar {
    width: 6px;
  }
  
  .autocomplete-items::-webkit-scrollbar-thumb {
    background-color: #dfe3e8;
    border-radius: 10px;
  }
  
  .autocomplete-items::-webkit-scrollbar-track {
    background-color: #f8f9fa;
  }
  
  .autocomplete-items div {
    padding: 12px 16px;
    cursor: pointer;
    color: #495057;
    font-size: 14px;
    transition: background-color 0.2s ease;
  }
  
  .autocomplete-items div:not(:last-child) {
    border-bottom: 1px solid #f1f3f5;
  }
  
  .autocomplete-items div:hover,
  .autocomplete-items div[aria-selected="true"] {
    background-color: #f1f9ff;
  }
  
  .autocomplete-items div strong {
    font-weight: 600;
    color: #3b9ae2;
  }
  
  /* Hide the hidden input */
  .autocomplete-items div input[type="hidden"] {
    display: none;
  }
  
  /* Accessibility focus styles */
  .autocomplete-items div:focus,
  .autocomplete-items div:focus-visible {
    outline: 2px solid #4dabf7;
    outline-offset: -2px;
  }
  
  /* Animation for dropdown appearance */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .autocomplete-items {
    animation: fadeIn 0.2s ease-out forwards;
  }




/* Highlighted item when navigating using arrow keys */
.autocomplete-active {
    background-color: #007bff !important; /* Blue background for active item */
    color: #ffffff; /* White text color for active item */
}


.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container input {
    width: 100%;
    padding-right: 25px; /* Ensure there's space for the X icon */
}

.clear-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .clear-icon:hover {
    color: #495057;
  }

  .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

.program-search {
    min-height: 150px;
    max-height: 20%;
}

.subheader {
    margin-block: 0px;
    font-weight: 600;
}


.notification {
    height: 35px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 5px;
    margin-right: 10px;
}

.notification a {
    border-radius: 10px;
    padding: 6px 12px;
}

.notification-popup {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px); /* Start slightly above */
    position: absolute;
    top: 65px; /* Adjust as needed */
    right: -75px;
    border-radius: 18px;
    background-color: white;
    border: 1px solid #f3f3f3;
    padding: 0px;
    width: 400px;
    min-height: 200px;
    max-height: 750px;
    box-shadow: 0px 13px 60px 30px rgb(0 0 0 / 4%);
    z-index: 100;
    overflow: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.4s ease-in-out;
}
.notification:hover .notification-popup {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px); /* Move down by 10px */
}

#close-notifications {
    cursor: pointer;
    margin-top: 3px;
}


/* Scrollbar styling for WebKit browsers (Chrome, Safari, etc.) */
.popup-scroll-body::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.popup-scroll-body::-webkit-scrollbar-track {
    background: #f1f1f1; /* Background of the scrollbar track */
    border-radius: 10px; /* Rounded corners for the scrollbar track */
}

.popup-scroll-body::-webkit-scrollbar-thumb {
    background-color: #c5c5c5; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the scrollbar thumb */
    border: 2px solid #f1f1f1; /* Add a border to create space between thumb and track */
}

.popup-scroll-body::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8; /* Darker shade on hover for better visibility */
}

/* For Firefox and other browsers that support scrollbar-width */
.popup-scroll-body {
    scrollbar-width: thin; /* Use a thin scrollbar width */
    scrollbar-color: #c5c5c5 #f1f1f1; /* Thumb color and track color */
}

/* Modern button styles */
.notification-popup .clear-btn,
.notification-popup .mark-read {
  border: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-weight: 500;
  cursor: pointer;
}

/* Clear All button */
.notification-popup .clear-btn {
  background-color: #f0f0f0;
  color: #606060;
  padding: 6px 12px;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.notification-popup .clear-btn:hover {
  background-color: #e0e0e0;
  color: #404040;
}

/* Mark read button */
.notification-popup .mark-read {
  background-color: #e8f0fe;
  color: #4285f4;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.notification-popup .mark-read:hover {
  background-color: #d2e3fc;
}

/* Additional styles to enhance the modern dashboard look */
.notification-popup {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.notification-popup .header-popup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.notification-popup .header-popup h5 {
  margin: 0;
  font-weight: 600;
  color: #333;
}

.notification-popup .notification-body {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-popup .notification-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.notification-popup .notification-details {
  flex: 1;
}

.notification-popup .notification-details p {
  margin: 0 0 4px 0;
  color: #333;
}

.notification-popup .notification-details small {
  color: #888;
  font-size: 12px;
}

.notification-popup.visible {
    display: block; /* Make it visible */
}
.header-popup {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 30px 10px 25px !important;
    border-bottom: 1px solid #cacaca;
    align-items: center;
}

.header-popup h5 {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    color: var(--global-palette4);
}

/*.popup-body {
    padding: 25px; 
    overflow: hidden;
    height: 600px; 
}

.popup-scroll-body {
    overflow-y: auto;
    max-height: 100%; 
}*/

/* Popup body */
.popup-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 700px;
    overflow-y: auto;
}

.popup-scroll-body {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Notification item */
.notification-body {
    display: flex;
    align-items: flex-start;
    padding: 10px 25px;
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.3s ease;
}

.notification-body:hover {
    background-color: #f1f9ff;
}

.notification-avatar {
    margin-right: 15px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
}

.notification-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Notification details */
.notification-details {
    flex: 1;
}

.notification-details p {
    margin: 5px 0 0px;
    font-size: 0.9em;
    color: #333;
}

.notification-details small {
    font-size: 0.65em;
    color: #777;
}

/* No notifications message */
.popup-body p {
    color: #353535;
    font-size: 0.8em;
    font-weight: 500;
    line-height: 1.4;
}

    /* Toast Container */
    #toast-container {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 350px;
      }
  
      /* Toast Element */
      .toast {
        display: flex;
        align-items: center;
        padding: 14px 16px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        font-size: 14px;
        font-weight: 500;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        color: #374151;
        background-color: white;
        border-left: 4px solid transparent;
      }
  
      /* Animation */
      .toast.show {
        opacity: 1;
        transform: translateY(0);
      }
  
      /* Toast Types */
      .toast.success {
        border-left-color: #10b981;
      }
  
      .toast.error {
        border-left-color: #ef4444;
      }
  
      .toast.warning {
        border-left-color: #f59e0b;
      }
  
      .toast.info {
        border-left-color: #3b82f6;
      }
  
      /* Icons for Toast */
      .toast::before {
        content: '';
        width: 20px;
        height: 20px;
        margin-right: 12px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        flex-shrink: 0;
      }
  
      .toast.success::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z'/%3E%3C/svg%3E");
      }
  
      .toast.error::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ef4444'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z'/%3E%3C/svg%3E");
      }
  
      .toast.warning::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13v6h2V7h-2zm0 8v2h2v-2h-2z'/%3E%3C/svg%3E");
      }
  
      .toast.info::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b82f6'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v2h-2zm0 4h2v6h-2z'/%3E%3C/svg%3E");
      }
.status-badge {
    background-color: rgb(204 230 255);
    padding: 2px 10px;
    border-radius: 5px;
    color: #4f409d;
    text-transform: capitalize;
    font-size: 12px;
    font-weight: 500;
}


/*-----------upload buttons custom ------------*/
.upload-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: center;
}

.upload-container h2 {
    margin: 0;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #333;
}

.drop-zone {
    background-color: #f0f0f5;
    border: 2px dashed #d1d1d6;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.drop-zone:hover {
    background-color: #e0e0e5;
}

.drop-zone p {
    color: #6e6e73;
    margin: 0;
    font-size: 14px;
}

.file-input {
    display: none;
}

.submit-button {
    margin-top: 1rem;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.file-list {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.file-upload {
    width: 45%;
    flex: 1;
}

.file-list li {
    background-color: #f9f9fb;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-list li span {
    font-size: 14px;
    color: #333;
}

.file-list li .remove-file {
    background: none;
    border: none;
    color: #ff3b30;
    cursor: pointer;
    font-size: 14px;
}

.notification-item {
    padding: 10px;
    background-color: rgb(235, 235, 235);
    border-radius: 5px;
    margin-bottom: 4px;
}

#program-search {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px;
    background-color: #f8f9fa;
    border-radius: 12px;
  }

#program-search-loading-container {
    display: none; /* Hide spinner by default */
    position: absolute; /* Or relative to the container */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999; /* Ensure it's above other content */
}

.program-search-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: program-search-spin 1s ease infinite;
}

@keyframes program-search-spin {
    to {
        transform: rotate(360deg);
    }
}

.custom-select {
    width: 60px;
    font-size: 14px;
    padding: 8px 15px !important;
    border-radius: 6px !important;
}

.truncate-text {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: max-width 0.5s ease, padding 0.5s ease;
    position: relative;
    cursor: pointer;
    padding-inline: 25px !important;
}
.fixed-text {
    display: block;
    height: 110px;
    cursor: pointer;
    padding-inline: 25px !important;
}

.truncate-text:hover {
    white-space: normal; /* Allow text to wrap */
    max-width: 1000px; /* Expand width on hover; adjust as needed */
    overflow: visible; /* Ensure full text is visible */
    padding: 10px 0; /* Optional padding to give some space */
}

/* Basic styles for the button */
.download-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;

}

#download-pdf {
    padding: 10px 20px;
    background-color: #f1f1f1 !important;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: none !important;
    color: var(--light-primary) !important;
}

#download-pdf:hover {
    background-color: var(--secondary-color) !important;
    box-shadow: none !important;
    color:#6e6e73!important;
}

.download-button i {
    color: var(--accent-color) !important;
}
/* Focus effect */
.download-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.4); /* Light blue outline */
}

/* Main container styles */
.profile-settings {
    max-width: 100%;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
  }
  
  /* Section headers */
  .profile-settings h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
  }
  

input:disabled {
    background-color: #ededed !important; /* Light gray background */
    color: #6c757d; /* Medium gray text color */
    border-color: #ccc; /* Lighter border color */
    cursor: not-allowed; /* Change cursor to indicate disabled state */
    opacity: 1; /* Ensure text is fully opaque */
    /* Optional styles for better accessibility */
    box-shadow: none; /* Remove any shadow */
}

/* Optional hover effect for disabled inputs (not generally needed, but included for completeness) */
input:disabled:hover {
    background-color: #f5f5f5; /* Maintain light gray background */
}
select[multiple] {
    width: 100%; /* Full width of the container */
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in width/height */
    font-size: 16px;
    background-color: #fff; /* White background */
    color: #333; /* Dark text color for readability */
}

.profile-photo {
    width: 130px;
    height: 130px;
    text-align: center;
    margin-bottom: 20px;
}

.profile-photo-img {
    border-radius: 50%;
    border: 2px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
}

/* Styling for the form */
.upload-photo-form {
    display: flex;
    flex-direction: column;
    align-items: start;
}
.btn-submit {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #0056b3;
}

.btn-submit:focus {
    outline: none;
}

.flex-row-start{
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 25px;
}

/* Profile photo section */
input[type="file"].form-input {
    position: relative;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
  }
  
  input[type="file"].form-input::file-selector-button {
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    background-color: #e2e8f0;
    color: #4a5568;
    font-weight: 500;
    margin-right: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  input[type="file"].form-input::file-selector-button:hover {
    background-color: #cbd5e0;
  }
  
  /* Button styling */
  .btn-submit, .button-secondary {
    background-color: #4a6cf7;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
  }
  
  .btn-submit:hover, .button-secondary:hover {
    background-color: #3a5de5;
    transform: translateY(-1px);
  }
  
  .btn-submit:active, .button-secondary:active {
    transform: translateY(0);
  }
  
  /* Form layout */
  .update-profile-form {
    margin-top: 1rem;
  }
  
  .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4a5568;
  }
  
  /* Disabled input styling to make them appear less editable */
  input:disabled {
    background-color: #f2f2f2;
    color: #6c757d;
    cursor: not-allowed;
  }
  
  /* About section - full width textarea */
  .form-row .form-group:only-child {
    grid-column: 1 / -1;
  }
  
  /* Success message styling */
  .notice-success {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    border-left: 4px solid #28a745;
  }
.flex-row-start-profile {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
  }
  .profile-photo {
    position: relative;
  }
  
  .profile-photo-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Custom file input styling */
  .upload-photo-form .form-group-profile {
    margin-bottom: 0.75rem;
  }
  
  .form-label-profile {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4a5568;
  }
  

@media (max-width: 767px) {
    a[data-tooltip]::before {
        display: none; /* Hide tooltip text */
    }
}
/* Target anchor tags with data-tooltip attribute */
a[data-tooltip] {
    position: relative;
    display: inline-block;
  }

  /* Tooltip Text */
  a[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    top: 50%;
    left: 100%; /* Positioned on the right */
    transform: translateY(-50%);
    white-space: nowrap;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-family:var(--font-family) !important;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Show Tooltip on Hover */
  a[data-tooltip]:hover::before,
  a[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(10px); /* Slight offset for animation */
  }
/*modal styles */
:root {
    --primary-color: #3a3a3a;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --pending-color: #2196f3;
    --text-primary: #333333;
    --text-secondary: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --border-radius: 6px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#edit-university_id,
#edit-degree {
    background-color: white !important;
    color: inherit;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: text !important;
    font: inherit;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    opacity: 1;
    /* Maintains full opacity despite being disabled */
}

#edit-university_id:disabled,
#edit-degree:disabled,
input[disabled],
select[disabled] {
    background-color: #f5f5f5;
    color: #888;
    opacity: 1;
    /* Override default reduced opacity for disabled elements */
    cursor: not-allowed;
}

/* Skeleton loader effect */
.skeleton-loader {
    margin-top:15px !important;
    display: inline-block;
    width: 100px; /* Adjust width as needed */
    height: 35px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite ease-in-out;
    border-radius: 6px;
}

/* Shimmer animation */
@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

#edit-univeristy_id:hover,
#edit-univeristy_id:focus,
#edit-univeristy_id:active,
#edit-degree:hover,
#edit-degree:focus,
#edit-degree:active {
    background-color: white !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

#display-status {
    display: block !important;
}

.student-profile-container {
    font-family: var(--font-family) !important;
    max-width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.student-info-header,
.student-documents-header,
.letters-header {
    gap: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.student-info-header {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.student-info-header h3,
.student-documents-header h3,
.letters-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


.upload-btn {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    transition: all 0.3sease;
    box-shadow: none !important;
}

.edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    
    background-color: #f0f4f8;
    color: #2c3e50;
    
    border: 1px solid #e1e8f0;
    border-radius: 6px;
    
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;

}

.edit-btn:hover {
    background-color: #e6eaf0;
    border-color: #cbd5e1;
}

.edit-btn:focus {
    outline: 2px solid rgba(54, 94, 154, 0.3);
}

.edit-btn i {
    color: #4a5568;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.edit-btn:hover i {
    color: #385074;
}

.edit-btn .btn-text {
    color: #436c95;
    transition: color 0.3s ease;
}

.edit-btn:hover .btn-text {
    color: #375075;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .edit-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .edit-btn i {
        font-size: 0.875rem;
    }
}

button.delete-file {
    background-color: #ffffff00 !important;
    color: red !important;
    box-shadow: none !important;
    padding: 5px;
}

button.delete-file:hover {
    color: #cd1818 !important;
}
  .modal-body ul {
  grid-template-columns: 1fr 1fr;
}

.save-btn, .cancel-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.save-btn {
    background-color: #E3F2FD; /* Light blue */
    color: #0D47A1; /* Deep blue */
    border: 1px solid #BBDEFB;
}

.save-btn:hover {
    background-color: #BBDEFB;
    box-shadow:none;
}

.cancel-btn {
    background-color: #FCE4EC; /* Light red/pink */
    color: #B71C1C; /* Deep red */
    border: 1px solid #F8BBD0;
}

.cancel-btn:hover {
    background-color: #F8BBD0;
    box-shadow:none;
}

.save-btn i, .cancel-btn i {
    font-size: 16px;
}


.upload-btn {
    background-color: #4b94de;
    color: white;
}


.upload-btn:hover {
    background-color: #3a83cd;
}


.upload-btn i {
    margin-right: 5px;
}

.student-info-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.student-photo {
    width: 200px;
    height: 260px;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.student-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-details {
    flex: 1;
    padding: 20px;
    border: 1px solid #d3d3d39c;
    border-radius: 10px;
    min-width: 280px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 5px;
}

.info-group {
    flex: 1;
    display: flex;
    gap: 10px;
    min-width: 200px;
}

.info-label {
    min-width: 120px;
    color: #888;
    font-size: 14px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    word-break: break-word;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
     color: white;
}

.status-badge.pending,
.status-badge.being-reviewed, .status-badge.processing {
    background-color: #fff7e6;
    color: #debe4b;
}

.status-badge.approved {
    background-color: #e6ffee;
    color: #2eb875;
}

.status-badge.rejected {
    background-color: #ffe6e6;
    color: #de4b4b;
}


.letters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

button.view-details-btn {
    background-color: #497cba;
    color: #ffffff;
    border-radius: 4px;
    padding: 7px 10px 7px 10px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

button.view-details-btn:hover{
    background-color: #3b6393 !important;
    box-shadow: none !important;
}


.letter-item {
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    transition: background-color 0.2s ease;
}


.letter-item:hover {
    background-color: #eaeaea;
}

.doc-name,
.letter-name {
    word-break: break-word;
    padding-right: 10px;
}

.add-document {
    border: 1px dashed #ccc;
    background-color: transparent;
    display: flex;
    justify-content: center;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-document:hover {
    background-color: #f5f5f5;
    border-color: #aaa;
}

.download-link {
    color: #4b94de;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.download-link:hover {
    background-color: rgba(75, 148, 222, 0.1);
}

.download-link i {
    font-size: 16px;
}


.application-details-modal {
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
}

.modal-content {
    width: 100%;
    margin: 0 auto;
}

button#close-application-details {
    display: flex
;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-direction: row;
    padding: 6px 7px;
    border-radius: 5px;
    transition: background-color 0.2sease;
}

button#close-application-details:hover {
    opacity: 1;
    box-shadow: none;
    background-color: #f08080b8;
}


.modal-header {
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: 12px 12px 0px 0px;
    border: 1px solid #E0E0E1;
}

.modal-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.close-modal {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.close-modal:hover {
    opacity: 1;
}

.modal-body {
    padding: 1.25rem;
    color: var(--text-primary);
    background-color: #f4f4f4;
    border-inline: 1px solid #E0E0E1;
    border-bottom: 1px solid #e0e0e1;
    border-radius: 0px 0px 30px 30px;
    background: #F7F7F8;
}

.modal-body h5 {
    font-size: 1rem;
    font-weight: 500;
    margin: 1.25rem 0 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.modal-body h5:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-body p strong {
    color: var(--text-primary);
    font-weight: 500;
    min-width: 140px;
    display: inline-block;
}



.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.modal-body ul li {
    padding: 0.6rem 0.75rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.modal-body ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    margin-right: 0.5rem;
    flex: 1;
}

.modal-body ul li a:hover {
    color: var(--pending-color);
}

.modal-body ul li .fa-download {
    color: var(--text-secondary) !important;
}

.student-profile-container input[readonly],
.student-profile-container select[readonly],
.student-profile-container textarea[readonly] {
    background-color: #f8f8f8;
    /* Light gray background */
    border: 1px solid #ddd;
    color: #888;
    /* Dim the text color */
    cursor: not-allowed;
    /* Indicate not editable */
}

/* Styles for the comment section */
.comments-container {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.comment {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
}

.comment p {
    margin: 0 0 5px;
}

.comment small {
    color: #888;
    font-size: 0.8em;
}

.comment-form {
    margin-top: 20px;
}

.comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    /* Include padding and border in the element's total width and height */
}

.comment-form button {
    background-color: #4CAF50;
    /* Or any color you prefer */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.comment-form button:hover {
    opacity: 0.8;
}

.modal-hidden {
    display: none !important;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .student-profile-container {
        padding: 15px;
    }

    .student-info-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .action-buttons {
        margin-top: 10px;
        width: 100%;
    }

  
    .upload-btn {
        flex: 1;
        justify-content: center;
    }

    .student-info-content {
        flex-direction: column;
        align-items: center;
    }

    .student-photo {
        width: 150px;
        height: 180px;
    }

    .student-details {
        width: 100%;
    }

  
    .letters-grid {
        grid-template-columns: 1fr;
    }

    .info-row {
        flex-direction: column;
        gap: 10px;
    }

    .info-group {
        width: 100%;
    }

}

/* Small mobile devices */
@media (max-width: 480px) {
    .btn-text {
        display: none;
    }


    .upload-btn i {
        margin-right: 0;
        font-size: 16px;
    }

  
    .upload-btn {
        padding: 8px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .student-info-header h3,
    .student-documents-header h3,
    .letters-header h3 {
        font-size: 16px;
    }


    .student-photo {
        width: 120px;
        height: 150px;
    }
     .modal-body ul {
      grid-template-columns: 1fr;
    }
}
.document-section {
    font-family:var(--font-family) !important;
  }
  
  .section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
  }
  
  .section-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
  }
  
  .documents-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  /*
  .document-item {
    background-color: #F8FAFC;
    border: 1px dashed #a4bfe0;
    border-radius: 8px;
    padding: 16px;
    width: 200px;
    box-sizing: border-box;
  }*/
  
  .document-item {
    position: relative;
    transition: all 0.3s ease;
    background-color: #F8FAFC;
    border: 1px dashed #a4bfe0;
    border-radius: 8px;
    padding: 16px;
    width: 200px;
    box-sizing: border-box;
}

label.file-upload-label:hover {
    background-color: white;
    cursor: pointer;
}

label.file-upload-label {
    padding: 10px;
    border-radius: 5px;
    transition: background-color 300msease-in-out;
    display: flex
;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 7px;
}

/* Hide upload input and delete buttons by default */
.document-item .upload-btn-wrapper,
.document-item .delete-file {
    display: none !important;
}

/* Show upload input and delete buttons only in edit mode */
.document-item.edit-mode .upload-btn-wrapper,
.document-item.edit-mode .delete-file {
    display: block !important;
}

.document-item .file-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}



.file-box .file-info {
    display: flex;
    flex-direction: column;
}

.file-box .file-name {
    font-size: 14px;
    color: #333;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-box .file-size {
    font-size: 12px;
    color: #888;
}

.file-box .file-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-box .delete-file {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    transition: color 0.2s;
}

.file-box .delete-file:hover {
    color: #d32f2f;
}

.file-box.new-upload {
    background-color: #e6f3ff;
    border-color: #90caf9;
}
  .doc-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    color: #a9c1e6;
  }
  
  .doc-icon {
    font-size: 24px;
    margin-bottom: 5px;
  }
  
  .doc-label {
    font-size: 14px;
    text-align: center;
    color: #a9c1e6;
  }
  
  .file-box {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    transition: background-color 305msease-in-out;
  }
  .document-section {
    margin-bottom: 30px;
}

/*
  .file-box:hover {
    background-color: #f2f2f2;
}
  
  .file-info {
    display: flex;
    flex-direction: column;
  }
  
  .file-name {
    font-size: 14px;
    color: #333;
  }
  
  .file-size {
    font-size: 12px;
    color: #888;
  }
  
  .file-actions {
    display: flex;
    gap: 8px;
  }
  */

  .download-link, .delete-file {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b6b6b;
  }
  
  .file-not-exists {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
  
  .upload-btn-wrapper {
    display: inline-block;
    cursor: pointer;
  }
  
  .upload-btn-wrapper input[type=file] {
    display: none;
  }


input.student-edit-input {
    padding: 4px 12px !important;
    height: 45px !important;
    border-radius: 8px !important;
    border: 1px solid #e9e9e9 !important;
    background-color: #d3d3d342 !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out !important;
}

input.student-edit-input:hover,
input.student-edit-input:focus {
    background-color: #ffffff80 !important; /* Slightly darker on hover */
    border-color: #c0c0c0 !important; /* Subtle border color change */
}