@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap);

:root {
    --color1: #e5408e;
    --color2: #c8387d;
    --color3: #6b7280;
    --color4: #fff7f9;
    --color5: #1a1a1a;
    --gradient: linear-gradient(238deg, #e5408e -8%, #c8387d 112%);
    --p-color: #333333;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.5 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.required-lbl {
    color: #ff0000 !important;
}

#togglePassword {
    transition: color 0.3s ease;
    cursor: pointer;
}

.modal-header {
    background: #e5408e !important;
    color: #fff !important;
}

/* modify font-family of all text related html elements including the value of the textarea, inputs and selects  to Poppins */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
textarea,
input,
select {
    font-family: "Poppins", sans-serif !important;
}

.form-check-input:disabled {
    opacity: 0.6 !important;
}

.form-check-input:disabled ~ .form-check-label,
.form-check-input[disabled] ~ .form-check-label {
    opacity: 0.7 !important;
}

/* SCREEN LOADER */

#loader-wrapper {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: fit-content;
    font-weight: bold;
    font-family: monospace;
    font-size: 25px;
    background: linear-gradient(90deg, #e5408e 50%, transparent 0) right/200%
        100%;
    animation: l21 2s infinite linear;
}

.loader::before {
    content: "Loading...";
    color: #0000;
    padding: 0 5px;
    background: inherit;
    background-image: linear-gradient(90deg, #fff 50%, #e5408e 0);
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes l21 {
    100% {
        background-position: left;
    }
}

.sp-nav-dd.dropdown-toggle::after {
    top: 9px !important;
    position: absolute !important;
    right: -2px !important;
}

/* Start Overrides for Tailwind CSS */

/*Form fields*/
.dataTables_wrapper select,
.dataTables_wrapper .dataTables_filter input {
    color: #4a5568;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 1.25;
    border-width: 2px;
    border-radius: 0.25rem;
    border-color: #edf2f7;
    background-color: #edf2f7;
}

.dataTables_wrapper select {
    width: 84px;
    border-color: #e4e4e4 !important;
    background-color: #fff !important;
    border-width: 1px !important;
}
.dataTables_wrapper .dataTables_filter input {
    border-color: #e4e4e4 !important;
    background-color: #fff !important;
    border-width: 1px !important;
}

/*Row*/
table.dataTable tbody th,
table.dataTable tbody td {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}
/*Row Hover*/
/* table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover {
    background-color: #ebf4ff !important;
} */

/*Pagination Buttons*/
.dataTables_wrapper .dataTables_paginate .paginate_button {
    font-weight: 700;
    border-radius: 0.25rem;
    border: 1px solid transparent;
}

/*Pagination Buttons - Current selected */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: #fff !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    font-weight: 700;
    border-radius: 0.25rem;
    background: #466490 !important;
    border: 1px solid transparent !important;
}

/*Pagination Buttons - Hover */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    /* color: #fff !important; */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    font-weight: 700;
    border-radius: 0.25rem;
    /* background: #d4d9f3 !important; */
    /* background: #466490 !important; */
}

/*Add padding to bottom border */
table.dataTable.no-footer {
    border-bottom: 1px solid #e2e8f0 !important;
    margin-top: 0.75em;
    margin-bottom: 0.75em;
}

/*Change colour of responsive icon*/
table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
    background-color: #466490 !important;
}

table.dataTable thead th {
    border: none !important;
}

.center-item,
.dtr-data {
    display: flex;
    justify-content: center;
    align-items: center;
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1rem;
    word-break: break-word;
}

@media (max-width: 640px) {
    .dataTables_wrapper .dataTables_filter input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .dataTables_wrapper .dataTables_filter {
        width: 100%;
        display: block;
    }
}
/* Start Overrides for Tailwind CSS */
