.page-wrapper {
    flex: initial;
}

.page-header {
    margin: 10px 0 0 !important;
}

.page-pretitle {
    font-size: 0.875rem;
    opacity: 0.8;
}

.page-title {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.btn {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
    border: 1px solid #ced4da;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.modal-content {
    border-radius: 1rem;
    overflow: hidden;
}

.modal-header,
.modal-footer {
    background: #f8f9fa;
}

/* LOWP Users Styling */
.dropdown-menu {
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.badge {
    padding: 0.4em 0.8em;
    font-size: 0.75rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card.bg-light {
    border: none;
}

.sound-wave {
    margin-top: 1rem;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.5);
    }
}

.attachment-preview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

/* Table Styling */
.table th,
.table td {
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

.badge-primary,
.btn-primary {
    background-color: #cfe2ff;
    /* Lightened version of primary */
    border-color: #0d6efd;
    color: #0d6efd;
}

.badge-success,
.btn-success {
    background-color: #d1e7dd;
    /* Lightened version of success */
    border-color: #198754;
    color: #198754;
}

.badge-danger,
.btn-danger {
    background-color: #f8d7da;
    /* Lightened version of danger */
    border-color: #dc3545;
    color: #dc3545;
}

.badge-warning,
.btn-warning {
    background-color: #fff3cd;
    /* Lightened version of warning */
    border-color: #ffc107;
    color: #ffc107;
}

.badge-info,
.btn-info {
    background-color: #cff4fc;
    /* Lightened version of info */
    border-color: #0dcaf0;
    color: #0dcaf0;
}

.badge-white,
.btn-white {
    background-color: #f8f9fa;
    /* Soft white */
    border-color: #dbdbdb;
    color: #444;
}

.btn,
.badge {
    border-radius: 20px;
    display: inline-flex;
    gap: 10px;
}

figure {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

figure img {
    max-height: 100%;
}

.circleImg {
    min-height: 50px;
    min-width: 50px;
    height: 50px;
    width: 50px;
    overflow: hidden;
    border-radius: 50px;
    background: #000;
}

.smallCircleImg {
    min-height: 30px;
    min-width: 30px;
    height: 30px;
    width: 30px;
}

.customer-card {
    position: relative;
}

.actionButtonsWrap {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    right: 10px;
    top: 10px;
}

.roundBtn {
    min-width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: flex;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: #444;
}

.roundBtn:hover {
    color: #fff;
}

.edit-btn:hover {
    background: #0054a6;
}

.delete-btn:hover {
    background: #ef4444;
}

.horizontalBtnWrap {
    display: flex;
    gap: 10px;
}

.card-header {
    display: flex;
    justify-content: space-between;
}

.formSearch {
    position: relative;
}

.formSearch input {
    height: 33px;
    border-radius: 3px;
    width: 200px;
    padding: 0 38px 0 10px;
}

.formSearch .searchIcon {
    position: absolute;
    height: 17px;
    right: 11px;
    top: 7px;
}

.taskWrap {
    display: flex;
    gap: 20px;
}

.taskRow {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.taskName {
    font-size: 20px;
    font-weight: 600;
    text-overflow: ellipsis;
    max-width: 600px;
    white-space: nowrap;
    overflow: hidden;
    text-transform: capitalize;
}

.taskThumb {
    color: #444;
    padding: 20px 50px 10px 20px;
}

.taskThumb .firstRow {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 20px;
}

.taskThumb figure {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0;
}

.taskThumb figure img {
    height: 100%;
}

.taskThumb .assignRow {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin: 0 0 0 auto;
}

.taskThumb p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 12px 20px 0;
}

.taskThumb .name {
    text-overflow: ellipsis;
    width: 50px;
    white-space: nowrap;
    overflow: hidden;
}

.dnt {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #f6f8fb;
    padding: 3px 10px;
    border-radius: 5px 0 0 0;
    font-size: 12px;
}

.page-body {
    margin: 0 !important;
}

.breadcrumb {
    font-size: 12px;
    align-items: center;
    margin: 0;
}

.breadcrumb svg {
    width: 15px;
}

.headingRow {
    display: flex;
    align-items: center;
}

.headingRow h1 {
    margin: 0 10px 0 0;
    font-size: 20px;
}

.taskDesc {
    margin: 40px 0 0;
}

.taskDescCard {
    position: relative;
    padding: 20px 20px 30px 20px;
    border-radius: 10px;
    background: #f3f3f3;
}

.attachmentSec {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(#fff, #F1F6FF);
    border-top: #c7b8b8 1px dashed;
    border-left: #c7b8b8 1px dashed;
    border-radius: 10px 0;
    padding: 3px 5px 3px;
    font-size: 12px;
}

.attachmentSec svg {
    width: 16px;
}

.taskSec {
    margin: 0 0 20px;
}

.timelineWrap {
    padding: 0 20px 0 0;
}

.commentTimelineWrap {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}

.commentSecWrap {
    margin: 0 0 40px;
}

textarea.form-control {
    margin: 0 0 10px;
    border-radius: 10px;
}

.dashedThumbWrap {
    display: flex;
    justify-content: space-between;
    margin: 0 0 10px;
}

.dashedThumb {
    border-radius: 10px;
    border: 1px dashed #999;
    background: linear-gradient(0deg, #F1F6FF -8.54%, #FFF 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 32%;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    transition: all ease .5s;
    text-align: center;
}

.dashedThumb input,
.dashedThumb button {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
}

.dashedThumb label {
    margin: 0;
    color: #999;
}

.dashedThumb.recording {
    background: #fff;
}

.dashedThumb:hover {
    background: linear-gradient(0deg, rgb(0 84 166 / 17%), #FFF 100%);
    border: solid 1px #000;
}

.timelineCommentThumb {
    display: flex;
    border-radius: 10px;
    background: #FAFAFA;
    padding: 10px 20px;
    flex-direction: column;
}

.timelineCommentThumb:not(:last-child) {
    margin: 0 0 20px;
}

.timelineCommentThumb figure {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px 0 0;
}

.timelineCommentThumb .nameRow {
    display: flex;
    margin: 0 0 10px;
    align-items: center;
    width: 100%;
}

.timelineCommentThumb .rightSec {
    margin: 0 0 0 auto;
    text-align: right;
}

.timelineContent {
    width: 100%;
}

.timelineContent .well {
    background: #eeeeee;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
}

.timelineCommentThumb .name {
    margin: 0 10px 0 0;
    font-weight: 600;
}

.timelineContent .rightSec {
    margin: 0 0 0 auto;
    text-align: right;
}

.timelineCommentThumb .time {
    padding: 0 0 0 20px;
}

.timelineCommentThumb label {
    color: #999;
}

.basicInfoCard {
    border-radius: 10px;
    background: #513870;
    padding: 20px;
    color: #fff;
}

.basicInfoCard .assignRow {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #755997;
    padding: 0 0 20px;
    flex-wrap: wrap;
}

.basicInfoCard .badge {
    margin: 0 0 0 auto;
}

.assignNameColumn .name {
    font-size: 18px;
    font-weight: 600;
}

.assignNameColumn .deg {
    font-size: 12px;
}

.loopUserRow {
    padding: 20px 0 20px !important;
}

.loopUserRow figure {
    margin: 0 0 0 auto;
}

.createdRow {
    padding: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.createdRow svg {
    stroke: #fff;
}

.btnGap {
    margin: 20px 0 0;
    display: flex;
    justify-content: space-between;
}

.btnGap a {
    flex: 1;
}

.headingWrap {
    border-top: 1px solid #DBDBDB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0 0 0;
    padding: 30px 0 10px 0;
}

.headingWrap a {
    color: #1880E8;
}

.headingWrap h3 {
    margin: 0;
}

.downloadThumb {
    border-radius: 10px;
    border: 1px solid rgba(6, 7, 8, 0.10);
    background: #FFF;
    position: relative;
    margin: 0 0 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    transition: all ease .2s;
    cursor: pointer;
}

.downloadThumb .name {
    color: #120D3D;
}

.downloadThumb .kb {
    color: #999;
}

.downloadThumb .downloadIcon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translate(0, -50%);
    stroke: #1880E8;
    width: 18px;
}

.downloadThumb .record {
    margin: 0 10px 0 0;
}

.downloadThumb:hover {
    background: linear-gradient(0deg, rgb(0 84 166 / 17%), #FFF 100%);
}

.lowp-users-list .form-check .form-check-input {
    margin: 0 10px 0 0;
}

@media (max-width: 991px) {

    .container,
    .container-md,
    .container-sm {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .taskRow {
        gap: 10px;
    }

    .taskName {
        width: 100%;
    }

    .taskThumb .assignRow {
        margin: 0;
    }

    .taskThumb p {
        margin: 0 12px 30px 0;
    }

    .dashedThumbWrap {
        flex-direction: column;
        gap: 10px;
    }

    .dashedThumb {
        width: 100%;
    }

    .commentTimelineWrap {
        margin: 0 0 20px;
    }

    .timelineWrap {
        padding: 0;
    }
}