/*
************************ Algolia Global Custom Styles ************************
*/
.ais-SearchBox-input {
    padding-left: 2.5rem !important;
}
.ais-CurrentRefinements-categoryLabel {
    white-space: normal !important;
}
/*
************************ Custom Accordion ************************
*/
.accordion-button {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
}

.accordion-header {
    position: relative;
    overflow: visible;
}

.accordion-header-divider {
    position: absolute;
    padding-left: inherit;
    padding-right: inherit;
    bottom: -1px;
    left: 0;
    right: 0;
}
.accordion-header-divider div {
    background-color: var(--color-dimgray-200);
    width: 100%;
    height: 1px;
    position: relative;
}

/*
************************ Custom Tag ************************
*/

.custom-tag {
    background-color: var(--color-gray-table);
    padding: 2px 10px;
    border-radius: 10px;
}

.custom-tag-purple {
    background-color: var(--color-lightpuple);
    color: var(--color-puple);
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 12px;
}

/*
************************ Custom Dashboard ************************
*/
.custom-dashboard-table {
    table-layout: auto;
}
.custom-dashboard-table th {
    height: 45px;
    background-color: var(--color-darkslateblue-200) !important;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--color-dimgray-200);
}
.custom-dashboard-table tr {
    border-bottom: 1px solid var(--color-dimgray-200);
}
.custom-dashboard-table td {
    color: var(--color-dimgray-100);
    border-bottom: none;
}
.custom-dashboard-table tr:nth-child(even) td {
    background-color: var(--color-whitesmoke) !important;
}

.custom-dashboard-table .action-icon {
    width: 20px;
    height: 20px;
}

/*
************************ Custom Tables ************************
*/

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.equal-width-table {
    table-layout: fixed;
    width: 100%;
}

@media screen and (max-width: 1000px) {
    table {
        table-layout: auto !important;
    }
}

.custom-table-head {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--color-dimgray-200);
    display: table-cell;
    vertical-align: middle;
}

.custom-table-head-blue {
    background-color: #003D7C !important;
    color: white !important;
}
.custom-table-head-gray {
    background-color: var(--color-gray-table) !important;
}

.custom-table-row td {
    border: 1px solid var(--color-dimgray-200);
    color: var(--color-dimgray-100);
    min-width: fit-content;
}

.custom-table-gray-cell {
    background-color: var(--color-gray-table) !important;
    font-weight: 600;
    color: var(--color-darkslategray) !important;
}

/*
************************ Custom Button ************************
*/

#custom-btn-icon {
    fill: var(--color-darkslateblue);
    vertical-align: middle;
    display: inline-block;
}

.custom-btn {
    border-radius: 4px;
    padding: 12px 24px;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    font-weight: 600;
    font-size: 14px;
}

.btn-search-filter {
    border-radius: 4px !important;
}

@media screen and (max-width: 800px) {
    .custom-btn {
        padding: 8px 12px;
    }
}

.custom-btn span, #custom-btn-icon {
    vertical-align: middle;
    display: inline-block;
}

.hide-text-in-mobile span {
    @media screen and (max-width: 800px) {
        display: none;
    }
}

.icon_action {
    cursor: pointer;
    display: flex;
    align-self: center;
    color: var(--color-darkslateblue);
}

/*
************************ Custom Link ************************
*/

.custom-link {
    padding: 12px 0;
    display: flex;
    border: none;
    justify-content: center;
}

.custom-link span {
    border-bottom: 1px solid var(--color-darkslateblue);
    font-weight: 600;
    font-size: 14px;
}

/*
************************ Custom Card ************************
*/

.custom-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--color-dimgray-200);
    overflow: hidden;
    position: relative;
}

.custom-card:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
    transition: transform .2s;
}

.custom-card-body {
    width: 100%;
    padding: 24px;
    gap: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
}

.custom-card-title {
    font-size: 18px;
    font-weight: 600;
}

.custom-card-subtitle {
    font-size: 14px;
    font-weight: 600;
}
/*
************************ Custom Status Tags ************************
*/

.status-tag-container {
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    max-width: 200px;
    padding: 4px 10px;
    display: flex;
    border-radius: 5px;
    gap: 12px;
}

.status-tag-blue {
    border-left: 2px solid var(--color-dodgerblue);
    background-color: #DFF0FF;
    color: var(--color-dodgerblue);
}

.status-tag-yellow {
    border-left: 2px solid var(--color-chocolate);
    background-color: #FDEFB0;
    color: var(--color-chocolate);
}

.status-tag-green {
    border-left: 2px solid var(--color-limegreen);
    background-color: var(--color-lightgoldenrodyellow);
    color: var(--color-limegreen);
}

.status-tag-red {
    border-left: 2px solid var(--color-crimson);
    background-color: #FEEAED;
    color: var(--color-crimson);
}

.status-tag-neutral {
    border-left: 2px solid var(--color-darkslategray);
    background-color: var(--color-gray-table);
    color: var(--color-darkslategray);
}

.status-tag-purple {
    border-left: 2px solid #4B0076; /* a vibrant purple */
    background-color: #BEC6ED; /* light purple background */
    color: #4B007C; /* darker purple text */
}

