
body, html {
    margin: 0;
    padding: 0;
    /* overflow-x: hidden; */
    background: #F4F2FC;
}

* {
    box-sizing: border-box !important;
    font-family: 'SF Pro Display', sans-serif !important;
    color: #000000;
}
 
:root {
    --primary-color: #692EEB;
    --primary-dark-color: #1A1A1A;
    --placeholder-color: #5D5D5D;
}


/* webkit-scrollbar */

/* width */
::-webkit-scrollbar {
    width: 4px;
    height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-color); 
    border-radius: 10px;
}

/* Handle on hover */
/* ::-webkit-scrollbar-thumb:hover {
    background: ; 
} */


main{
    position: relative;
    max-height: calc(100% - 100px);
    height: unset;
    min-height: unset;
    /* border: 1px solid red; */
    overflow-y: auto;
    top: 60px;
    width: 100%;
}

header{
    padding: 15px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .sub-header {
    width: 100%;
    padding: 0px 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

main .sub-header h2{
    margin: unset;
    font-size: 20px;
    font-weight: 700;
    /* line-height: 38.19px;
    text-align: left; */
}


header h1 {
    font-size: 40px;
    font-weight: 700px;
    color: var(--primary-dark-color);
}

header p {
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    max-width: 680px;
}

main > .body {
    padding: 0px 30px;
    display: flex;
    gap: 20px;
    min-width: 1200px;
    overflow-y: auto;
    /* padding-bottom: 43px; */
    
    height: unset;
    max-height: unset;
    min-height: unset;
    height: calc(100vh - 260px);
    /* border: 1px solid; */
}

.main-content {
    width: 100%;
    min-height: calc(100vh - 260px) !important;
    overflow-y: auto;
    border-radius: 10px;
}

/* .main-content table{
    width: 100%;
    table-layout: fixed;
    text-align: center;
    border-radius: 10px;
    overflow: auto;
}

.main-content table thead th,
.main-content table td{
    height: 50px;
}

.main-content table thead {
    background-color: #E3D9F9;
    position: sticky;
    top: -1px;
    z-index: 20;
}

.main-content table thead th {
    font-family: Poppins !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 27px;
}

.main-content table thead th:first-of-type {
    border-radius: 10px 0px 0px 0px
}

.main-content table thead th:last-of-type {
    border-radius: 0px 10px 0px 0px
}

.main-content table tbody tr:last-of-type td:first-of-type{
    border-radius: 0px 0px 0px 10px;
}

.main-content table tbody tr:last-of-type td:last-of-type{
    border-radius: 0px 0px 10px 0px;
}



.main-content table tbody {
    background-color: #ffffff;
}

/* .main-content table tbody tr td:first-child,
.main-content table tbody tr td:last-child {
    border-radius: 10px;
} 


.main-content table tbody tr:not(:last-child){
    border-bottom: 1px solid #DCDCDC;
} */

.table-container {
    width: 100%;
    /* border-collapse: collapse; */
}

.domain-table {
    width: 100%;
    /* border-collapse: collapse; */
    text-align: center;
    table-layout: fixed;
}

.domain-table thead th {
    background-color: #E3D9F9;
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: left;
    padding: 10px;
    text-align: center;
}

.table-body-container {
    max-height: calc(100vh - 305px); 
    overflow-y: auto;
    background-color: #ffffff;
}

.domain-table tbody td {
    padding: 10px;
}

.domain-table tbody tr:not(:last-of-type) td{
    border-bottom: 1px solid #DCDCDC;
}

nav:first-of-type{
    background-color: #ffffff !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 21;
    min-height: 60px;
}

nav:first-of-type .container-fluid {
    padding: 0px 30px;
}

nav:first-of-type form button {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav:first-of-type form .search-container {
    display: flex;
    align-items: center;

    min-width: 400px;
    width: 100%;
    height: 45px;
    position: relative;
    background-color: #ffffff !important;
    box-shadow: 0px 0px 5px 0px #C7BEFF4D;
    padding: 5px 10px;
    border-radius: 8px;
}

nav:first-of-type form .search-container svg {
    flex-shrink: 0;
}

nav:first-of-type form .search-container input, 
nav:first-of-type form .search-container button {
    height: 35px;
} 

nav:first-of-type form .search-container input {
    border: unset;
    box-shadow: unset;
}

nav:first-of-type form .search-container input::placeholder{
    color: var(--placeholder-color);
}

nav:first-of-type form .search-container .form-control:focus {
    color: unset;
    background-color: unset;
    border-color: unset;
    outline: unset;
    box-shadow:unset;
}

nav:first-of-type form .search-container:focus-within {
    outline: 1px solid var(--primary-color);
}

nav:first-of-type ul li a {
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 21.48px !important;
    text-align: left !important;
    color: #000000 !important;
}


.sidebar {
    max-width: 400px ;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
}

.inputs-container {
    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 10px;
    border-radius: 10px;
    background-color: #ffffff;
    width: 100%;
}


.sidebar .input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.sidebar .input-wrapper label {
    font-size: 16px;
    color: #000000;
    font-weight: 600;
}

.sidebar .input-wrapper .input-content {
    width: 100%;
    position: relative;
}

.sidebar .input-wrapper .input-content svg {
    position: absolute;
    top: 8px;
}

.sidebar .input-wrapper .input-content svg:first-of-type{
    left: 10px;
}

.sidebar .input-wrapper .input-content svg:last-of-type{
    right: 10px;
}

.sidebar .input-wrapper .input-content[aria-expanded='true'] svg.arrow {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

.sidebar .input-wrapper .input-content svg.arrow {
    transition: transform 0.3s ease-in-out; /* Ensure it applies even when not expanded */
}

.sidebar .input-wrapper input {
    width: 100%;
    border: none;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0px 0px 5px 0px #692EEB1F;
    width: 100%;
    height: 40px;
    padding-left: 40px;
    padding-right: 35px;
}

.sidebar .input-wrapper input::placeholder {
    color: var(--placeholder-color);
}

.sidebar .input-wrapper input:focus-visible {
    outline: 1px solid var(--primary-color);
}

.multi-selection-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;

    padding: 8px 10px 8px 10px;
    border-radius: 10px;
    background-color: #ffffff;
    width: 100%;
    min-height: 161px;
    overflow: auto;
}

.multi-selection-container .header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
}


.multi-selection-container .header h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 21.48px;
    text-align: left;
    margin: unset;
}

.multi-selection-container .header button {
    background-color: var(--primary-color);
    border: unset;
    border-radius: 6px;
    color: #ffffff;
    padding: 5px 20px;
}

.multi-selection-container .header label {
    font-size: 16px;
    font-weight: 500;
    line-height: 19.09px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.multi-selection-container .header label span.selected {
    color: var(--primary-color);
}


.multi-selection-container .header label input {
    width: 18px;
    height: 18px;
    appearance: none;
    border: 1px solid #919191;
    content: none;
    outline: none;
    margin: 0;
    border-radius: 4px;
    padding: unset;
}


.multi-selection-container .header label input[type="checkbox"]:checked {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.multi-selection-container .body {
    padding: unset;
}

.multi-selection-container .body{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    overflow: auto;
    /* max-height: 156px; */
    padding-right: 10px;
}

.multi-selection-container .body span{
    /* padding: 5px 12px; */
    border-radius: 10px;
    background-color: #F8F0FF;

    font-size: 16px;
    font-weight: 400;
    line-height: 19.09px;
    text-align: left;
    cursor: pointer;

    width: 35px;
    height: 33px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.multi-selection-container .body span.active {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}


.sidebar .dropdown .dropdown-menu {
    width: 100%;
    padding: unset;
    overflow: hidden;
}

.sidebar .dropdown .dropdown-menu .dropdown-item {
    padding: unset;
}

.sidebar .dropdown .dropdown-menu .dropdown-item span {
    display: flex;
    width: 100%;
    height: 35px;
    justify-content: flex-start;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    font-weight: 500;
    line-height: 19.09px;
    color: inherit;
}

.sidebar .dropdown .dropdown-menu .dropdown-item:active {
    background-color: var(--primary-color);
    color: #ffffff;
}

.pagination-container {
    position: fixed;
    z-index: unset !important;
    width: 100%;
    background-color: #F4F2FC;
    bottom: 0px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


.pagination-container > span {
    color: #333333;
    font-size: 13px;
    font-weight: 600;
}

.pagination-container > ul.pagination{
    justify-content: flex-end;
    padding: 5px 30px 5px 10px;
    margin: unset;
    column-gap: 7px;
}

.pagination-container > ul.pagination li a{
    border-radius: 6px !important;
    background-color: #ffffff;
    box-shadow: 0px 0px 5px 0px #692EEB1F;

    color: #333333;
    font-size: 13px;
    font-weight: 600;
}

.pagination-container > ul.pagination li.active a{
    background-color: var(--primary-color);
    border: var(--primary-color);
    color: #ffffff;
}

.pagination-container > ul.pagination li a:hover {
    color: var(--primary-color);
}

.pagination-container > ul.pagination li.disabled a{
    color: #CCCCCC;
    background-color: #ffffff;
}

.pagination-container > ul.pagination li.dropdown a{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.pagination-container > ul.pagination li:not(:nth-child(1)):not(:nth-child(2)):not(:last-child) a {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: unset;
}

