﻿/*base class styles for card*/
.sds-card {
    border-radius: 6px;
    background: var(--sds-grey-000);
    box-shadow: 0px 0px 1px 0px rgba(2, 3, 3, 0.25), 0px 2px 1px 0px rgba(2, 3, 3, 0.05);
    margin-bottom: 16px !important;
}

.sds-card-header-base-cls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
    border-bottom: 1px solid var(--sds-grey-400);
    padding: 16px !important;
}

.sds-card-header-base-cls > .dropdown > .btn{
    padding-top: 0;
}

.sds-card-header-title-base-cls {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--sds-grey-900);
}

.sds-card-header-sub-title-base-cls {
    color: var(--sds-grey-700);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}


.sds-card-body-base-cls {
    font-size: 14px;
    border-bottom: 0;
    /* max-height: 144px !important; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
    padding: 12px 16px !important;
}

.sds-card-header-subtitle-container-base-cls > .sds-badge-text{
    font-size: 12px;
}
.sds-card-header-title-container-base-cls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sds-card-header-subtitle-container-base-cls {
    display: flex;
    align-items: center;

}

.sds-card-footer-base-cls {
    display: flex;
    border-top: 1px solid var(--sds-grey-400);
    height: 76px;
    padding: 16px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.sds-card .btn:focus {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

/*card element styles*/
.sds-card-view-details-btn {
    display: flex;
    height: 36px;
    padding: 8px 14px;
    justify-content: center;
    align-items: center;
    font-weight: 600;

}

.sds-card-options-dropdown {
    min-width: unset !important;
}

.sds-card-options-dropdown .dropdown-item-option:hover,
.sds-card-options-dropdown a:hover {
    background: var(--sds-primary-100);
    box-shadow: 3px 0px 0px 0px var(--sds-primary-500) inset;
}

.sds-card-nodata-container {
    display: flex;
    padding: 24px 140px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 6px;
    background: var(--sds-white);
    /* Shadow/Card */
    box-shadow: 0px 0px 1px 0px rgba(2, 3, 3, 0.25), 0px 2px 1px 0px rgba(2, 3, 3, 0.05);
}

.sds-card-nodata {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    /*width:704px;*/
    height: 194px;
    text-align: center;
    justify-content: center;
}

.sds-card-nodata-heading {
    color: var(--sds-black);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.sds-card-nodata-content {
    color: var(--sds-grey-700);
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    /* 150% */
    width: 247px;
}

.sds-card-nodata-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    flex-shrink: 0;
    background: var(--sds-grey-300);
    fill: var(--sds-grey-300);
}

.sds-card-nodata-icon span {
    display: inline-block;
}

.sds-card.no-desc-card .sds-card-header-base-cls {
    border-bottom: none;
}