/*html {
  font-size: 14px;
}

body{
    margin:0;
    padding:0;

}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #f8f9fa;
}



table th, table td {
    vertical-align: middle !important;
}

/* Custom styles for table striping and hover */
.table tbody tr:nth-child(odd) {
    background-color: #ffffff; /* White color for odd rows */
}

.table tbody tr:nth-child(even) {
    background-color: #f5f3ff; /* Light color for even rows */
}

.table tbody tr:hover {
    background-color: #ffffff; /* Light blue color on hover */
    cursor: pointer;
}

.table thead tr:nth-child(odd) {
    /* background-color: #69659E;  Dark blue header background color */
    background-color: dimgray; /* Dark blue header background color */
    color: white; /* White text color */
    vertical-align: middle; /* Ensure vertical alignment */
}

.table thead tr:nth-child(even) {
    background-color: white;
}

table > :not(:last-child) > :last-child > * {
    border-bottom-color: #dee2e6 !important;
}

.custom-form .form-group {
    position: relative;
}

.custom-form .form-input,
.custom-form .form-select-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.2s;
    background: #fff;
}

    .custom-form .form-input:focus,
    .custom-form .form-select-input:focus {
        border-color: #1E3A5F;
        outline: none;
    }

.custom-form .form-label {
    position: absolute;
    top: -1.5rem;
    left: 1rem;
    font-size: 0.875rem;
    color: #495057;
    transition: all 0.2s;
}

fieldset {
    border: 1px solid #000 !important;
    margin-inline-start: 2px;
    margin-inline-end: 2px;
    padding-block-start: 0.35em;
    padding-inline-start: 0.75em;
    padding-inline-end: 0.75em;
    padding-block-end: 0.625em;
}

    fieldset legend {
        width: auto !important;
        float: none !important;
        margin-bottom: .1rem;
    }

.custom-form .form-input:not(:placeholder-shown) + .form-label,
.custom-form .form-input:focus + .form-label,
.custom-form .form-select-input:focus + .form-label,
.custom-form .form-select-input:not([value=""]) + .form-label {
    top: -1.5rem;
    left: 1rem;
    font-size: 0.875rem;
    color: #1E3A5F;
}

.custom-form .form-input::placeholder {
    color: transparent;
}

.custom-form .form-group .form-input:disabled {
    border: 1px solid #299B51;
    color: gray;
    background-color: #f8f9fa; /* Optional: to make the disabled input field background distinguishable */
}

.custom-btn {
    min-width: 150px;
    margin-right: 0.5rem;
}

.custom-form .text-danger {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.custom-form .form-group {
    position: relative;
    width: 100%;
    height: 50px;
    margin-bottom: 5px;
}

    .custom-form .form-group .form-input:focus,
    .custom-form .form-group .form-select-input:focus {
        outline: none;
        border: 1px solid #299B51;
    }

        .custom-form .form-group .form-input:focus ~ .form-label,
        .custom-form .form-group .form-input:not(:placeholder-shown):not(:focus) ~ .form-label,
        .custom-form .form-group .form-select-input:focus ~ .form-label,
        .custom-form .form-group .form-select-input:not([value=""]):not(:focus) ~ .form-label {
            top: -7px;
            left: 1rem;
            z-index: 9;
            font-size: 12px;
            font-weight: 400;
            color: #299B51;
            transition: all 0.2s ease-in-out;
        }

    /*.custom-form .form-group .form-input:focus ~ .form-label-d,
        .custom-form .form-group .form-input:not(:placeholder-shown):not(:focus) ~ .form-label-d,
        .custom-form .form-group .form-select-input:focus ~ .form-label-d,
        .custom-form .form-group .form-select-input:not([value=""]):not(:focus) ~ .form-label-d {
            top: -7px;
            left: 1rem;
            z-index: 9;
            font-size: 12px;
            font-weight: 400;
            color: #728090;
            background-color: #728090;
            transition: all 0.2s ease-in-out;
        }*/

    .custom-form .form-group .form-label {
        position: absolute;
        font-weight: 400;
        font-size: 15px;
        line-height: 15px;
        left: 1rem;
        top: 16px;
        padding: 0 0.25rem;
        color: #728090;
        background: #fff;
        transition: all 0.3s ease;
    }

    .custom-form .form-group .form-input,
    .custom-form .form-group .form-select-input {
        position: absolute;
        font-family: inherit;
        font-size: 15px;
        font-weight: 400;
        line-height: inherit;
        top: 0;
        left: 0;
        z-index: 1;
        resize: none;
        width: 100%;
        height: auto;
        padding: 12.5px 15px 13px 20px;
        border-radius: 8px;
        border: 1px solid #E0E1E1;
        color: #000;
        background: transparent;
        transition: all 0.2s ease-in-out;
    }

        .custom-form .form-group .form-input:read-only,
        .custom-form .form-group .form-select-input:disabled {
            background-color: #E8F0FE;
        }

        .custom-form .form-group .form-input::-moz-placeholder,
        .custom-form .form-group .form-select-input::-moz-placeholder {
            opacity: 0;
            visibility: hidden;
            color: transparent;
        }

        .custom-form .form-group .form-input:-ms-input-placeholder,
        .custom-form .form-group .form-select-input:-ms-input-placeholder {
            opacity: 0;
            visibility: hidden;
            color: transparent;
        }

        .custom-form .form-group .form-input::placeholder,
        .custom-form .form-group .form-select-input::placeholder {
            opacity: 0;
            visibility: hidden;
            color: transparent;
        }

.custom-form .form-select-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="none" stroke="currentColor" stroke-width=".7" d="M2 0L0 2.5 2 5l2-2.5z"/></svg>') no-repeat right 0.75rem center;
    background-size: 8px 10px;
    background-color: #fff;
    padding-right: 2rem; /* Adjust to ensure the arrow is not overlapping text */
}

.custom-card {
    border-radius: 0.25rem;
    /*         border: 1px solid #dee2e6;
 */ margin-top: 1rem;
}

.custom-card-header {
    background-color: #1E3A5F;
    color: white;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0.25rem 0.25rem 0 0;
}

.custom-card-body {
    padding: 1.25rem;
}

.custom-card-footer {
    background-color: #f8f9fa;
    padding: 0.75rem 1.25rem;
    /*         border-top: 1px solid #dee2e6;
 */ border-radius: 0 0 0.25rem 0.25rem;
    text-align: right;
}

.custom-card-body strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.custom-btn {
    min-width: 150px;
    margin-right: 0.5rem;
}

.custom-card p {
    margin: 0;
}

@media (max-width: 576px) {
    .pagination,
    .pagination-pageSize.form-select {
        display: block;
        width: 100%;
    }

    .pagination-pageSize.form-select {
        margin-top: 1rem;
        height: 38px;
    }
}

.pagination .page-item.active .page-link {
    background-color: #757ea8;
    border-color: #69659E;
    color: #fff;
}

.pagination .page-link {
    color: #69659E;
}

/* Apply gradient background and styles to modal header and footer (lighter shades of purple) */
.modal-dialog .modal-content .modal-header,
.modal-dialog .modal-content .modal-footer {
    background: linear-gradient(to right, #f0f0f7, /* lighter gray */
    #ebebef, /* light gray */
    #e6e5f7, /* light grayish purple */
    #e1dcff /* light purple shade */
    ); /* Gradient background */
    color: #333; /* Dark text color for better readability against the gradient */
    padding: 15px; /* Ensure adequate padding for the content */
    border: none; /* Remove borders for a cleaner look */
}

/* General modal body styles */
.modal-dialog .modal-content .modal-body {
    min-height: 200px;
    padding: 20px; /* Add padding for better content spacing */
}

/* Specific modal size adjustments */
.modal-dialog.modal-lg .modal-content .modal-body {
    min-height: 300px;
}

modal-dialog.modal-xl .modal-content .modal-body {
    min-height: 400px;
}

/* Optional: Adding some responsive behavior for smaller screens */
@media (max-width: 576px) {
    .modal-dialog .modal-content .modal-body {
        min-height: 150px; /* Adjust for smaller screens */
    }

    .modal-dialog.modal-lg .modal-content .modal-body {
        min-height: 250px;
    }

    modal-dialog.modal-xl .modal-content .modal-body {
        min-height: 300px;
    }
}

.report-title {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

    .report-title span.small {
        font-size: 1rem;
    }

.blink {
    animation: blink-animation 1s steps(2, start) infinite;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

.custom-modal {
    max-width: 90% !important;
    width: 90%;
}