.card-header h4 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
    color: #101828;
}

.card-body.nid-card-body, .card-body.basicinfo-card-body{
    height: 240px;
}

.card-body .row .col-4,
.card-body .row .col-4 p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #667085;
    margin-bottom: 6px;
}

.col-lg-6 .card {
    border: none;
    border-radius: 8px;
}
.col-lg-6 .card-header {
    background-color: #ede6fd;
    border: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-body .row .col-lg-8,
.card-body .row .col-lg-8 p {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #101828;
    margin-bottom: 5px;
}

.table-card .dashboard-card-header {
    padding: 0;
    border-bottom: 2px solid #eaecf0;
}

.dashboard-card .dashboard-card-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #eaecf0;
}

.add-employee-progress ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.add-employee-progress li.active {
    color: #292be9;
}
.add-employee-progress li.active p {
    background-color: #292be9;
}

.add-employee-progress li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-transform: capitalize;
    color: #101828;
    /* position: relative; */
    font-weight: 500;
    letter-spacing: 1px;
    /* padding: 8px 35px 8px 20px; */
    padding-right: 16px;
    padding-bottom: 5px;
    /* clip-path: polygon(95% 0, 100% 50%, 95% 100%, 0% 100%, 5% 50%, 0% 0%); */
}
.add-employee-progress li p {
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-color: #98a2b3;
    margin-right: 8px;
    font-size: 16px;
    font-weight: 600;
}

.add-employee-progress li span {
    margin-left: 8px;
}

.add-employee-progress li.active::before {
    width: 100%;
}

.add-employee-progress ul li {
    margin-bottom: 10px;
}

.info-right button {
    padding: 10px 16px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid #292be9;
    color: #292be9;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.idcard-btn {
    padding: 10px 16px;
    border: 1px solid #0d9aff;
    color: #0d9aff;
    border-radius: 8px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.py-13 {
    padding-top: 13px !important;
    padding-bottom: 13px !important;
}
.mb-20 {
    margin-bottom: 20px !important;
}
.custom-pb-4 {
    padding-bottom: 4px !important;
}

.custom-percent-border {
    border: 1px solid #b7b7b7;
}
.custom-percent-input {
    border: 0px !important;
}

.custom-percent-btn,
.custom-percent-btn:hover {
    background-color: #f4f5f7;
}

.custom-percent-select {
    background-color: transparent;
    color: #475467;
}

.custom-percent-select:focus-visible {
    border: none !important;
    box-shadow: none;
}

/* id card */
.col-lg-5 .card .card-header {
    height: 62px;
    display: flex;
    align-items: center;
}
.nid-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}
.id-card {
    border: 2px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    overflow: hidden;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.id-card .shape-one {
    position: relative;
}
.id-card .shape-one .title {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.id-card .title {
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    color: #fff;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
}

.id-card .info .card-subtitle {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding-top: 5px;
}
.id-card .info .designation {
    font-size: 8px;
    font-weight: 400;
    line-height: 16px;
}

.id-card h4 {
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.id-card p {
    font-size: 10px;
    font-weight: 600;
    line-height: 12px;
}

.nid-card .id-card .address {
    padding: 0 10px;
    text-align: center;
}
.nid-card .id-card .address h4 {
    margin-top: -10px !important;
    color: #101828;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
}
.nid-card .id-card .address p {
    font-size: 5px;
    line-height: 9px;
    font-weight: 700;
}
.nid-card .id-card .address p:last-child {
    font-weight: 400;
    margin: 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 45px;
}

.id-card .details-info {
    display: grid;
    grid-template-columns: 23px auto;
    padding: 0 10px;
}
.id-card .details-info.date {
    display: grid;
    grid-template-columns: 35px auto;
    padding: 0 10px;
    margin-bottom: -1px;
}
.id-card .details-info p:first-child {
    /* width: 32px; */
    font-size: 6px;
    line-height: 10px;
    color: #7c8593;
}
.id-card .details-info p:last-child {
    font-size: 6px;
    font-weight: 600;
}

.id-card .profile-imgs {
    width: 37px;
    height: 37px;
    line-height: 37px;
    border: 1px solid #0d9aff;
}
.col-md-2.mb-3 .user-image {
    position: relative;
    border-radius: 5px;
}
.col-md-2.mb-3 .user-image .profile-img {
    max-height: 300px;
    width: 100%;
    object-fit: contain;
}
.col-md-2.mb-3 .user-image .camera-img {
    position: absolute;
    top: 10px;
    right: 10px;
}
.nid-card .user-signature {
    width: 30px !important;
    border-bottom: 1px dashed #686868;
}

@media (min-width: 1335px) and (max-width: 1400px) {
    .nid-card .id-card .address p {
        font-size: 5px;
        line-height: 10px !important;
        font-weight: 700;
    }
    .card-body .row .col-4,
    .card-body .row .col-4 p {
        font-size: 12px;
        margin-bottom: 6px !important;
    }
}
@media (min-width: 1200px) and (max-width: 1400px) {
    .nid-card {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    .card-body .row .col-4,
    .card-body .row .col-4 p {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .nid-card .id-card .address p {
        font-size: 5px;
        line-height: 7px;
        font-weight: 700;
    }
    .nid-card .id-card .address p:last-child {
        height: 40px;
    }
    .id-card .details-info p:last-child {
        font-size: 5px;
        font-weight: 600;
    }
}
@media (min-width: 1400px) and (max-width: 1650px) {
    .nid-card .id-card .address p:last-child {
        height: 35px;
    }

    .id-card .details-info.date {
        display: grid;
        grid-template-columns: 30px auto;
    }
    .id-card .details-info.date p {
        font-size: 5px;
    }
}
@media (min-width: 1400px) and (max-width: 1600px) {
    .custom-pb-4 {
        padding-bottom: 3.1px !important;
    }

    .id-card .details-info {
        padding: 0 7px;
    }
    .card-body .row .col-4,
    .card-body .row .col-4 p {
        margin-bottom: 5.1px;
    }
}
@media (max-width: 550px) {
    .nid-card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
}
@media (min-width: 992px) {
    .min-h-lg-618 {
        min-height: 618px;
    }
    .min-h-lg-450 {
        min-height: 450px;
    }
    .min-h-lg-392 {
        min-height: 392px;
    }
}
