﻿#footer a {
    text-decoration: none !important;
    color: inherit !important;
    font-size: 16px !important; /* or your preferred size */
}
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 15px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 12px;
        width: 12px;
        left: 5px;
        bottom: 2px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #4caf50;
}

    input:checked + .slider:before {
        transform: translateX(14px);
    }

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.mdc-text-field--outlined {
    position: relative;
    margin-bottom: 14px; /* Add some space between fields */
    display: block;
}
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 20px;
    font-size: 14px;
    border: 1px solid #ddd;
    background-color: #ffffff;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    z-index: 1000; /* Ensure it's on top of other elements */
    transition: opacity 0.3s ease; /* Smooth fade-in */
    opacity: 0; /* Start hidden */
    visibility: hidden; /* Prevent interaction */
}

    .ui-autocomplete.show {
        opacity: 1; /* Show with fade-in */
        visibility: visible; /* Make visible for interaction */
    }

.ui-menu-item {
    padding: 12px 15px; /* Increased padding for better touch targets */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s; /* Smooth transition */
    border-radius: 8px; /* Rounded corners for menu items */
}

    .ui-menu-item:hover {
        background-color: #e6f7ff; /* Light blue background on hover */
        color: #333; /* Change text color on hover */
        transform: scale(1.02); /* Slight zoom effect on hover */
    }

.ui-state-highlight {
    background-color: #b0e0e6 !important; /* Highlighted text background */
    color: #333; /* Highlighted text color */
    font-weight: bold; /* Bold text */
}

/* Styles for input fields */
.e-float-input {
    border-radius: 8px; /* Rounded corners for input fields */
    border: 1px solid #ddd; /* Border for input fields */
}

    .e-float-input:focus {
        border-color: #007bff; /* Border color on focus */
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Shadow on focus */
    }



.card-header#excelimport {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.excel-upload-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
}

    .excel-upload-header .icon {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }

    .excel-upload-header img {
        width: 30px;
        height: 30px;
    }

.download-btn {
    font-size: 14px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    transition: background-color 0.3s, color 0.3s;
}

    .download-btn:hover {
        background: #007bff;
        color: #fff;
    }

.excel-upload-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.upload-btn-wrapper {
    position: relative;
}

    .upload-btn-wrapper button {
        background-color: #007bff;
        color: #fff;
        font-size: 10px;
        font-weight: bold;
        padding: 8px 15px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .upload-btn-wrapper button:hover {
            background-color: #0056b3;
        }

    .upload-btn-wrapper input[type="file"] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.btn-success {
    background-color: #28a745;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn-success:hover {
        background-color: #218838;
    }

.cancel-btn {
    background-color: #6c757d;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .cancel-btn:hover {
        background-color: #5a6268;
    }

.file-name {
    font-size: 14px;
    color: #333;
    margin-left: 10px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
select.form-control {
    -webkit-appearance: none; /* For Chrome, Safari, and Opera */
    -moz-appearance: none; /* For Firefox */
    appearance: none; /* For modern browsers */
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="black" d="M2 0L0 2h4z"/></svg>'); /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 10px center; /* Positioning the arrow */
    background-size: 10px 10px;
    padding-right: 30px; /* Space for the arrow */
}

    select.form-control:focus {
        outline: none; /* Remove focus outline */
        box-shadow: 0 0 5px rgba(81, 203, 238, 1);
        border: 1px solid rgba(81, 203, 238, 1);
    }

.e-control-wrapper select {
    height: auto !important;
}

#myTable th {
    background-color: rgb(0, 167, 111);; /* Header background color */
    color: white; /* Header text color */
    font-size: 10px; /* Adjust font size */
    border: 1px solid #dee2e6; /* Add border to table header */
}

/* Custom styles for table cells */
#myTable td {
    font-size: 12px; /* Adjust font size */
    border: 1px solid #dee2e6; /* Add border to table cells */
}

/* Custom styles for table rows */
#myTable tbody tr {
    padding-bottom: 5px; /* Adjust padding between rows */
}

#myTable {
    width: 100%; /* Set the width of the table */
    margin: auto; /* Center the table horizontally */
}

   
#myTable2 td {
    font-size: 12px; /* Adjust font size */
    border: 1px solid #dee2e6; /* Add border to table cells */
}

/* Custom styles for table rows */
#myTable2 tbody tr {
    padding-bottom: 5px; /* Adjust padding between rows */
}
element.style {
    height: 10px;
    width: 12px;
}
table.dataTable thead > tr > th {
    cursor: pointer;
    position: relative;
    padding: 12px;
    font-size: 12px;
    background-color:rgb(0, 167, 111); /* Header background color */
    color: #fff; /* Header text color */
    text-align: left;
    line-height:5px;
}

.select2-container .select2-selection--single {
    height: calc(1.7rem + 2px) !important; /* Same as Bootstrap form-control */
    border: 1px solid #ced4da !important; /* Match input border */
    border-radius: 5px !important; /* Smooth edges */
    padding: 5px !important;
    background-color: #fff !important;
}

    .select2-container .select2-selection--single .select2-selection__rendered {
        padding-left: 10px !important;
        color: #495057 !important;
        /*line-height: calc(2.25rem) !important;*/
        font-size:12px;
    }

    .select2-container .select2-selection--single .select2-selection__arrow {
        height: calc(2.25rem) !important;
    }
/* Remove button */
.remove-file-btn {
    margin-left: auto;
    color: red;
    cursor: pointer;
    font-size: 16px;
}

/* Color icons based on file type */
.file-preview-item .pdf-icon {
    color: #f44336;
    /* Red for PDF */
}

.file-preview-item .image-icon {
    color: #4caf50;
    /* Green for Image */
}

.file-preview-item .word-icon {
    color: #2196f3;
    /* Blue for Word */
}

.file-preview-item .excel-icon {
    color: #ff9800;
    /* Orange for Excel */
}

.file-preview-item .default-icon {
    color: #9e9e9e;
    /* Gray for other files */
}

/* Styling for download link */
.download-link {
    margin-left: 10px;
    color: #007bff;
    cursor: pointer;
}

.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.checkbox-item {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
    padding: 5px;
    display: flex;
    align-items: center;
    width: 48%;
    /* Adjusted to take up 50% width in the row */
}

    .checkbox-item input {
        margin-right: 8px;
    }

        /* Adjusts the label font style for a cleaner look */
        .checkbox-item input + span {
            font-weight: normal;
        }


#otherExpensesTable th {
    background-color: #00A76F;
    color: white;
    font-size: 12px;
    border: 1px solid #dee2e6;
}

.ms-options-wrap > button:focus,
.ms-options-wrap > button {
    height: 33px;
}



.select2-container--default .select2-selection--single .select2-selection__arrow b {
     border-color: none !important; 
     border-style: none !important; 
     border-width: 5px 4px 0 4px; 
     height: 0; 
     left: 50%; 
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 20px !important;
}
/* .modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    margin-right: 63px;
}
.modal-header {
    background: #ffffff;
    margin-right: 55px;
} */

/* .expenseTable th, .expenseTable td {
    padding: 0px 14px 0px 7px;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
} */
/* .expenseInput {
    margin-bottom: 10px !important;
    margin-top: -15px !important;
} */
.customTableWidth {
    margin-top: -10px !important;
    margin-bottom: -100px !important;
}

.simple-card {
    border: 1px solid #eee;
    transition: transform 0.2s ease;
    cursor: pointer;
    background-color: #fff;
}

    .simple-card:hover {
        transform: scale(1.03);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.alumni-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-left: 40px;
}


