.detail-card .title span {
    font-weight: bold;
}

.detail-card .title span,
.detail-card .text span {
    font-size: 15px;
}

.errormsg {
    color: red !important;
    font-size: 14px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    display: block;
}

.btn-danger:disabled {
    background: none !important;
    border-color: none !important;
    cursor: not-allowed;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.blink-bold {
    font-weight: 600 !important;
}

.text-dark-green {
    color: #0fb609;
}

.form-input {
    padding: 10px 15px;
    border: 1px solid #b9bcc1;
    border-radius: 5px;
    font-size: 14px;
}

.form-input:focus-visible {
    outline: none;
}

.form-group .form-input {
    padding: 15px 20px;
}

.theading {
    background-color: #1a2035 !important;
    color: #f5f7fd !important;
}

.text-dark-green {
    color: #0a7207 !important;
}

.text-dark-red {
    color: #a50609 !important;
}

.required-star {
    color: red;
    font-weight: 800;
    font-size: 17px;
}

/* sec-filter */

.sec-filter,
.sec-close {
    display: none;
}

.search-toggle,
.close-toggle {
    display: flex;
    position: relative;
    padding-right: 25px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.search-toggle::after,
.close-toggle::after {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%) rotate(0deg);
    content: url(../img/down-arrow-white.svg);
    transition: transform 0.5s ease, content 0s;
}

.search-toggle.expend::after,
.close-toggle.expend::after {
    transform: translateY(-50%) rotate(180deg);
    content: url(../img/down-arrow-white.svg);
}

.sec-filter .filter-item-list,
.sec-close .filter-item-list {
    display: flex;
    /* width: 100%; */
    justify-content: start;
    gap: 20px;
    flex-wrap: wrap;
    word-break: break-all;
}

.sec-filter .filter-item-list input[type="search"]::before {
    width: 17px;
    height: 10px;
    background: url(../img/sort.svg) no-repeat;
    content: "";
}

.input-container {
    display: inline-block;
    position: relative;
}

.input-container.search-container::before {
    position: absolute;
    top: 55%;
    left: 22.5px;
    transform: translateY(-50%);
    content: url(../img/search.svg);
    pointer-events: none;
    /* Ensures the SVG does not interfere with input interactions */
}

.input-container.datetime-container::before {
    position: absolute;
    top: 55%;
    left: 22.5px;
    transform: translateY(-50%);
    content: url(../img/calendar.png);
    pointer-events: none;
    /* Ensures the SVG does not interfere with input interactions */
}

/* Modal Backdrop */
.dialog {
    width: 600px;
}

.modal::backdrop {
    background-color: rgba(61, 61, 61, 0.3);
}

.modal {
    min-height: 300px;
    height: fit-content;
    overflow: scroll;
    margin: auto;
    padding: 0;
    border: none;
    border-radius: 10px;
    outline: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.publish-modal .delete-modal .form-modal {
    width: 100% !important;
    max-width: 600px !important;
}

.modal .btn-grp {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.live-input-form {
    padding: 10px 30px;
}

.live-input-form .input-container {
    display: block;
}

.form-modal {
    min-height: fit-content !important;
}

.form-modal .btn-grp {
    justify-content: end;
}

.modal .inner {
    position: relative;
    width: 100%;
    padding: 20px 30px;
}

.publish-modal .delete-modal .inner,
.invalid-modal .inner {
    padding: 40px;
}

.publish-modal .delete-modal .inner,
.invalid-modal .inner {
    gap: 20px;
}

.modal[open] {
    display: block;
    opacity: 1;
}

.hidden {
    display: none;
}

.fs-sm {
    font-size: small !important;
}

body:has(.modal[open]) {
    overflow: hidden;
}

@starting-style {
    .modal[open] {
        opacity: 0;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal .closeModal {
    cursor: pointer;
}

.modal .btn-close {
    position: absolute;
    top: 12px;
    right: 10px;
    cursor: pointer;
}

.modal .no-focus,
.modal .no-focus:focus {
    border: none;
    background-color: transparent;
    outline: 0;
}

.invalid-modal .no-focus:focus {
    background-color: var(--clr-primary);
    outline: 0;
}

.publish-modal .delete-modal .no-focus:focus {
    outline: 0;
}

.publish-modal .delete-modal .no-focus:focus:hover {
    background-color: var(--clr-hover);
}

.publish-modal .delete-modal .btn-close.no-focus:focus:hover {
    background-color: transparent;
}

.form-modal .inner {
    padding: 20px 40px;
}

/* Button */
.clear-btn,
.delete-btn {
    padding: 10px 20px;
}

.clear-btn {
    background-color: gainsboro;
    border: 1px solid #0a0b11;
}

.delete-btn {
    background-color: #d83131;
    color: white;
}

.delete-btn:hover {
    border: 1px solid #d83131;
    color: #d83131;
}

.clear-btn:hover {
    background-color: transparent;
    color: #0a0b11;
    border: 1px solid #0a0b11;
}

/* Notification */
.notification {
    background-color: #0a0b11 !important;
    width: 460px;
    padding: 15px;
    background-color: white;
    border-radius: 16px;
    position: fixed;
    top: 15px;
    right: 15px;
    transform: translateY(-100%);
    animation: noti 1s 1 forwards alternate ease-in;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    background-color: #0a0b11;
}

.notification-close {
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f5;
    font-size: 14px;
}

.notification-container {
    display: flex;
    align-items: flex-start;
    background-color: #0a0b11;
}

.notification-content {
    width: calc(100% - 60px);
    padding-left: 20px;
    line-height: 1.2;
}

.notification-text {
    color: #fff;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 50px;
}

@keyframes noti {
    50% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0);
    }
}

/* Date time picker */
#end-datetime-picker[readonly],
#action_date[readonly],
#start-datetime-picker[readonly],
#date_of_birth {
    background-color: transparent !important;
    font-size: 1rem !important;
    border-color: #ebedf2 !important;
    opacity: 1 !important;
    padding: 0.6rem 1rem !important;
    height: inherit !important;
    border-width: 2px !important;
}

#end-datetime-picker::placeholder,
#action_date::placeholder,
#date_of_birth::placeholder,
#start-datetime-picker::placeholder {
    color: #2b2c2e;
}

.font16 {
    font-size: 16px;
}

.trans-table th.w30,
.trans-table td.w30 {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w50,
.trans-table td.w50 {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w60,
.trans-table td.w60 {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w70,
.trans-table td.w70 {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w80,
.trans-table td.w80 {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w85,
.trans-table td.w85 {
    width: 85px !important;
    min-width: 85px !important;
    max-width: 85px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w90,
.trans-table td.w90 {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w100,
.trans-table td.w100 {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w110,
.trans-table td.w110 {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w120,
.trans-table td.w120 {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w130,
.trans-table td.w130 {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w140,
.trans-table td.w140 {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w150,
.trans-table td.w150 {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w160,
.trans-table td.w160 {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w170,
.trans-table td.w170 {
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w200,
.trans-table td.w200 {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w220,
.trans-table td.w220 {
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w230,
.trans-table td.w230 {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w240,
.trans-table td.w240 {
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w280,
.trans-table td.w280 {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-table th.w430,
.trans-table td.w430 {
    width: 430px !important;
    min-width: 430px !important;
    max-width: 430px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theading {
    background-color: #1a2035 !important;
    color: #f5f7fd !important;
}

.table-img-container {
    width: 80px;
}

/* Checkbox */
.checkbox-gp {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    justify-content: space-between;
}

.checkbox-gp .flex-item {
    flex: 0 0 calc(50% - 15px);
    align-items: flex-start;
}

input[type="checkbox"] {
    position: relative;
    min-width: 20px;
    height: 20px;
    margin: 0;
    border: 1px solid grey;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    border: 1px solid #0a0b11;
    background-color: #1a2035;
}

input[type="checkbox"]:checked::before {
    position: absolute;
    top: -3px;
    left: 3px;
    content: url(../img/check.svg);
}

input[type="checkbox"][disabled].disabled {
    outline: #8d8d8d;
    background-color: var(--clr-placeholder);
    cursor: not-allowed;
}

input[disabled].disabled {
    cursor: not-allowed;
}

/* Select */
.select2 .selection {
    word-break: break-all;
}

.select2-selection--single {
    border: 2px solid #ebedf3 !important;
    height: 100%;
}

.select2-selection__rendered {
    word-wrap: break-word;
    text-overflow: inherit;
    white-space: normal !important;
}

.select2-container {
    width: 100% !important;
}

.select2-container--multi-select-theme .select2-selection--single {
    display: flex;
    width: 100%;
    height: 45px;
    padding: 15px 20px;
    border-radius: 5px;
    background-color: var(--clr-hover);
    align-items: center;
    justify-content: space-between;
}

.custom-select .select2-selection--single {
    height: 47px !important;
}

.select2-container--multi-select-theme .select2-selection--multiple {
    display: flex;
    width: 100%;
    border-radius: 5px;
    background-color: var(--clr-hover);
    align-items: center;
    justify-content: flex-start;
}

.select2-container--multi-select-theme .select2-search--inline {
    width: 100%;
}

.select2-container--multi-select-theme .select2-search--inline .select2-search__field {
    width: 100%;
    height: 45px;
    margin: 0;
    padding: 15px 20px;
    background: none;
}

.select2-container--multi-select-theme .select2-search--inline .select2-search__field:focus {
    width: 100% !important;
    outline: none;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #e9ecef !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.65;
}

.select2-selection__choice__remove {
    padding: 0 10px;
    border: none;
    border-radius: 0 5px 5px 0;
    background-color: var(--clr-primary);
}

.select2-selection__choice__remove span {
    color: var(--clr-neutral-100);
    font-size: 30px;
}

.select2-selection__choice__display {
    display: flex;
    padding: 0 15px;
    color: var(--clr-neutral-100);
    align-items: center;
}

.select2-container--multi-select-theme .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    gap: 15px;
}

.select2-selection__choice:first-child {
    margin-left: 30px;
}

.select2-container--multi-select-theme .select2-selection--multiple .select2-selection__rendered li {
    display: flex;
    height: 35px;
    border-radius: 5px;
    flex-direction: row-reverse;
    background-color: var(--clr-primary);
}

.select2-container--multi-select-theme .select2-selection--single .select2-selection__rendered {
    padding: 0;
}

.select2-container--custom-theme .select2-selection--single {
    display: flex;
    height: 45px;
    height: 45px;
    padding: 8px 20px;
    border-radius: 5px;
    color: var(--clr-neutral-100);
    background-color: var(--clr-primary);
    align-items: center;
}

.select2-container--custom-theme .select2-selection--single .select2-selection__rendered {
    display: flex;
    padding: 0;
    color: var(--clr-neutral-100);
    font-size: 14px;
    align-items: center;
    gap: 10px;
}

.select2-container--custom-theme .select2-selection--single .select2-selection__rendered::before {
    width: 17px;
    height: 10px;
    background: url(../img/sort.svg) no-repeat;
    content: "";
}

.select2-container--custom-theme .select2-selection--single .select2-selection__arrow {
    width: 30px;
    height: 100%;
    background: url(../img/down-arrow-white.svg) no-repeat center;
    background-position: right;
}

.select2-container--multi-select-theme .select2-selection--single .select2-selection__arrow {
    width: 30px;
    height: 100%;
    background: url(../img/down-arrow.svg) no-repeat center;
    background-position: right;
}

.select2-container--custom-theme .select2-selection--single .select2-selection__arrow b {
    border: none;
}

.select2-container--select-date .select2-selection--single,
.select2-container--select-no-img .select2-selection--single {
    display: flex;
    height: 57px;
    padding: 0px 50px;
    border-radius: 5px;
    color: var(--clr-neutral-800);
    background-color: var(--clr-hover);
    align-items: center;
    justify-content: space-between;
}

.select2-container--select-date .select2-selection--single .select2-selection__rendered,
.select2-container--select-no-img .select2-selection--single .select2-selection__rendered {
    display: flex;
    padding: 0;
    color: var(--clr-neutral-800);
    font-size: 14px;
    align-items: center;
    gap: 20px;
}

.select2-container--select-date .select2-selection--single .select2-selection__rendered.changed,
.select2-container--select-no-img .select2-selection--single .select2-selection__rendered.changed {
    color: var(--clr-neutral-900);
}

.select2-container--select-date .select2-selection--single .select2-selection__rendered::before {
    width: 20px;
    height: 20px;
    background: url(../img/calendar.png) no-repeat center;
    content: "";
}

.select2-container--select-date .select2-selection--single .select2-selection__arrow,
.select2-container--select-no-img .select2-selection--single .select2-selection__arrow {
    width: 30px;
    height: 100%;
    background: url(../img/down-arrow.svg) no-repeat center;
    background-position: right;
}

.select2-container--select-date .select2-selection--single .select2-selection__arrow b,
.select2-container--select-no-img .select2-selection--single .select2-selection__arrow b {
    border: none;
}

.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above {
    max-height: 205px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 2px 10px 0 rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.select2-container--open .select2-dropdown--below {
    margin-top: 8px;
}

.select2-container--open .select2-dropdown--above {
    top: -8px;
}

.select2-results__option {
    padding: 10px;
}

.select2-results__option:hover {
    color: var(--clr-neutral-100);
    background-color: var(--clr-primary);
    transition: all 0.1s ease;
}

.select2-results__option:first-child {
    border-radius: 5px 5px 0 0;
}

.select2-results__option:last-child {
    border-radius: 0 0 5px 5px;
}

.form-group .select2-container--select-date .select2-selection--single .select2-selection__rendered,
.select2-container--select-no-img .select2-selection--single .select2-selection__rendered {
    color: var(--clr-neutral-900);
}

th.w50,
td.w50 {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

th.w130,
td.w130 {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

th.w210,
td.w210 {
    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991px) {
    .profile-cont {
        margin-top: 30px !important;
    }
}