*:focus {
    box-shadow: none !important;
}

* {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-size: 14px;
}

body {
    background-color: rgba(242, 245, 249, 1);
}

.btn.btn-outline-primary.dropdown-toggle {
    border-radius: 6px;
}

.background-silver {
    background-color: rgba(242, 245, 249, 1) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

td {
    vertical-align: middle;
}

.toast-container {
    position: fixed;
    transition: transform 0.3s ease-in-out; /* Add a transition for smooth animation */
}

    .toast-container .toast.show {
        transform: translateX(0); /* When .show is present, bring the container into view */
    }

    .toast-container .toast {
        transform: translateX(100%); /* When .hide is present, move the container off-screen to the right */
    }

        .toast-container .toast.hide {
            transform: translateX(100%); /* When .hide is present, move the container off-screen to the right */
        }

.form-floating {
    position: relative;
    padding: 0;
}

    .form-floating > .form-control {
        height: calc(2.2rem + 2px);
        line-height: 1;
        border: 1px solid darkgray;
    }

    .form-floating > .form-select {
        height: calc(2.2rem + 6px);
        line-height: 1.2;
        border: 1px solid darkgray;
    }

    .form-floating > textarea.form-control {
        height: auto;
        line-height: 1.25;
        resize: none;
    }

    .form-floating > label {
        position: absolute;
        height: 100%;
        padding-top: 0.35rem;
        padding-left: 0.65rem;
        pointer-events: none;
        border: 1px solid transparent;
        opacity: 0.4;
        font-weight: 600;
        transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out, padding 0.1s ease-in-out;
    }

@media (prefers-reduced-motion: reduce) {
    .form-floating > label {
        transition: none;
    }
}

.form-floating > .form-control {
    padding: 0.65rem 0.75rem;
}

    .form-floating > .form-control::-moz-placeholder {
        color: transparent;
    }

    .form-floating > .form-control::placeholder {
        color: transparent;
    }

    .form-floating > .form-control:not(:-moz-placeholder-shown) {
        padding: 0.65rem 0.75rem;
    }

    .form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
        padding: 0.65rem 0.75rem;
    }

    .form-floating > .form-control:-webkit-autofill {
        padding: 0.65rem 0.75rem;
    }

.form-floating > .form-select {
    padding: 0.65rem 0.75rem;
}

.form-floating.show > select {
    border: 2px solid rgba(52, 127, 215, 1) !important;
    padding: calc(0.65rem - 1px) calc(0.75rem - 1px) !important;
}

.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label {
    background-color: white;
    padding: 0;
    opacity: 1;
    font-weight: 600;
    color: gray;
    height: 1.25rem;
    transform: scale(0.7) translateY(-0.75rem) translateX(1rem);
}

.input-group .form-floating > .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > button {
    padding-bottom: 0;
    padding-top: 0;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    background-color: white;
    padding: 0;
    opacity: 1;
    font-weight: 600;
    color: gray;
    height: 1.25rem;
    transform: scale(0.7) translateY(-0.75rem) translateX(1rem);
}

.form-floating > .form-control:-webkit-autofill ~ label {
    background-color: white;
    padding: 0;
    font-weight: 600;
    color: gray;
    height: 1.25rem;
    opacity: 1;
    transform: scale(0.7) translateY(-0.75rem) translateX(1rem);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border: 2px solid rgba(52, 127, 215, 1);
    padding: calc(0.65rem - 1px) calc(0.75rem - 1px);
}

.table-hover > tbody > tr:hover .form-floating > .form-control:focus ~ label,
.table-hover > tbody > tr:hover .form-floating > .form-control:not(:placeholder-shown) ~ label,
.table-hover > tbody > tr:hover .form-floating > .form-select ~ label {
    background-color: #ececec;
}

.nav-tabs {
    border-bottom: 1px solid rgba(199, 205, 207, 1);
}


    .nav-tabs .nav-link {
        background: none;
        color: #212426;
        font-weight: 500;
        border: none;
        border-top-left-radius: 0.25rem;
        border-top-right-radius: 0.25rem;
    }

        .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
            isolation: isolate;
        }

        .nav-tabs .nav-link.disabled {
            color: #6c757d;
            background-color: transparent;
            border-color: transparent;
        }

        .nav-tabs .nav-link.active,
        .nav-tabs .nav-item.show .nav-link {
            font-weight: 700;
            border: none;
            border-bottom: 4px solid rgba(52, 127, 215, 1);
            background-color: transparent;
        }

    .nav-tabs .dropdown-menu {
        margin-top: -1px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }


.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(221, 225, 228, 1);
    border-radius: 10px;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: transparent;
    border: none;
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 0rem;
}

.card-body {
    flex: 1 1 auto;
    padding: 1.5rem;
}


.table {
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: #212529;
    --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
    --bs-table-active-color: #212529;
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: #212529;
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6;
}

    .table > :not(caption) > * > * {
        padding: 0.5rem 0.5rem;
        background-color: var(--bs-table-bg);
        border-bottom-width: 1px;
        box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
    }

    .table > tbody {
        vertical-align: inherit;
    }

    .table > thead {
        vertical-align: bottom;
    }

    .table > :not(:last-child) > :last-child > * {
        border-bottom: 1px solid rgba(221, 225, 228, 1);
    }

.caption-top {
    caption-side: top;
}

.table-sm > :not(caption) > * > * {
    padding: 0.25rem 0.25rem;
}

.table-bordered > :not(caption) > * {
    border-width: 1px 0;
}

    .table-bordered > :not(caption) > * > * {
        border-width: 0 1px;
    }

.table-borderless > :not(caption) > * > * {
    border-bottom-width: 0;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}

.table-active {
    --bs-table-accent-bg: var(--bs-table-active-bg);
    color: var(--bs-table-active-color);
}

.table-hover > tbody > tr:hover {
    --bs-table-accent-bg: var(--bs-table-hover-bg);
    color: var(--bs-table-hover-color);
}

.table-primary {
    --bs-table-bg: #cfe2ff;
    --bs-table-striped-bg: #c5d7f2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bacbe6;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #bfd1ec;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #bacbe6;
}

.table-secondary {
    --bs-table-bg: #e2e3e5;
    --bs-table-striped-bg: #d7d8da;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #cbccce;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #d1d2d4;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #cbccce;
}

.table-success {
    --bs-table-bg: #d1e7dd;
    --bs-table-striped-bg: #c7dbd2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bcd0c7;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #c1d6cc;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #bcd0c7;
}

.table-info {
    --bs-table-bg: #cff4fc;
    --bs-table-striped-bg: #c5e8ef;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #badce3;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #bfe2e9;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #badce3;
}

.table-warning {
    --bs-table-bg: #fff3cd;
    --bs-table-striped-bg: #f2e7c3;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #e6dbb9;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #ece1be;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #e6dbb9;
}

.table-danger {
    --bs-table-bg: #f8d7da;
    --bs-table-striped-bg: #eccccf;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfc2c4;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #e5c7ca;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #dfc2c4;
}

.table-light {
    --bs-table-bg: #f8f9fa;
    --bs-table-striped-bg: #ecedee;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfe0e1;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #e5e6e7;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #dfe0e1;
}

.table-dark {
    --bs-table-bg: #212529;
    --bs-table-striped-bg: #2c3034;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #323539;
    --bs-table-hover-color: #fff;
    color: #fff;
    border-color: #373b3e;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 230px;
}

@media (max-width: 575.98px) {
    .table-responsive-sm {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 767.98px) {
    .table-responsive-md {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991.98px) {
    .table-responsive-lg {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1199.98px) {
    .table-responsive-xl {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1399.98px) {
    .table-responsive-xxl {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.flat {
    border: none;
    background-color: transparent;
}

.btn {
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    border-width: 2px;
    font-weight: 600;
}

.btn-link {
    text-decoration: none;
}

.border-bottom-dashed {
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    border-bottom-color: rgb(199, 205, 207);
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

    .dropdown-item:hover, .dropdown-item:focus {
        color: black;
        background-color: rgb(229, 234, 241);
    }

  /*      .dropdown-item:hover svg path,
        .dropdown-item:focus svg path,
        .dropdown-item:active svg path {
            fill: rgba(52, 127, 215, 1);
        }

        .dropdown-item:hover button svg path,
        .dropdown-item:focus button svg path,
        .dropdown-item:active button svg path {
            fill: rgba(52, 127, 215, 1);
        }

        .dropdown-item:hover button span svg path,
        .dropdown-item:focus button span path,
        .dropdown-item:active button span path {
            fill: rgba(52, 127, 215, 1);
        }

        .dropdown-item:hover a span svg path,
        .dropdown-item:focus a span path,
        .dropdown-item:active a span path {
            fill: rgba(52, 127, 215, 1);
        }

        .dropdown-item:hover button span,
        .dropdown-item:focus button span,
        .dropdown-item:active button span {
            color: rgba(52, 127, 215, 1);
        }*/

.dropdown-item-text {
    display: block;
    padding: 0.25rem;
    color: currentColor;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    text-align: left;
    list-style: none;
    border: 1px solid rgba(199, 205, 207, 1);
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
}

.form-switch.form-switch-lg {
    display: flex;
    align-items: center;
}

    .form-switch.form-switch-lg .form-check-input {
        height: 1.75rem;
        width: 3.25rem;
        background-size: 2rem;
        border-radius: 1.75rem;
        background-position: -2.5px center;
        cursor: pointer;
    }

        .form-switch.form-switch-lg .form-check-input:checked {
            background-position: calc(100% + 2.5px) center;
            cursor: pointer;
        }

    .form-switch.form-switch-lg .form-check-label {
        margin-left: 0.75rem;
        cursor: pointer;
    }

.file-input {
    transition: all 0.3s ease;
}

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

.file-label {
    /* uploader */

    box-sizing: border-box;
    /* Auto layout */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 24px;
    gap: 4px;
    /* Primary @ 4% */
    background: rgba(52, 127, 215, 0.04);
    /* Light Gray */
    border: 1px dashed #808084;
    border-radius: 8px;
    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .file-label.drag-over {
        border: 1px dashed #0d6efd !important;
    }

    .file-label i {
        margin-right: 0.5rem;
    }


.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: none;
    border-radius: 8px;
    outline: 0;
    box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.2);
}


.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: none;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: none;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}


table th,
table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rounded-3 {
    border-radius: 10px !important;
}

/* Remove spinner for Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove spinner for Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Members Radio Button Styles */
.radio-group {
    display: block;
}

.radio-group-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.radio-group-horizontal .members-radio-option {
    margin-bottom: 0;
    margin-right: 2rem;
}

.radio-group-horizontal .members-radio-option:last-child {
    margin-right: 0;
}

.members-radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
    position: relative;
}

.members-radio-option:last-child {
    margin-bottom: 0;
}

.members-radio-option:hover .members-radio-custom {
    border-color: var(--bs-primary);
}

.members-radio-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.members-radio-input:checked + .members-radio-custom {
    border-color: var(--bs-primary);
}

.members-radio-input:checked + .members-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: var(--bs-primary);
    border-radius: 50%;
}

.members-radio-custom {
    display: inline-block;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border: 2px solid rgba(128, 128, 132, 1);
    border-radius: 50%;
    margin-right: 16px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}

.members-radio-label {
    font-size: 16px;
    color: #1a1a1a;
    cursor: pointer;
    user-select: none;
}

.members-tag-radio-group label {
    color: transparent;
    font-weight: 600;
    position: relative;
}

.members-tag-radio-group label::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: var(--charcoal-color);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.members-tag-radio-group label.fw-semibold::before {
    font-weight: 600;
}
