
.image_type{
    width:35px;
    height:35px;
    border-radius:8px;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-content-between {
    justify-content: space-between;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.custom-container {
    max-width: 100%;
    margin-inline: auto;
    min-width: 100%;
    margin-left: 40px;
    margin-right: 40px;
    background-color:#fff;
    border-radius: 10px;
    border: 1px solid #cecece;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.table-and-table-modal-wrapper {
    position: relative;
}

.table-modal {
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-40px);
    transition: 0.3s ease-in-out;
    z-index: 2;
}

.table-modal.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.table-overlay {
    position: absolute;
    height: 100%;
    width: 0;
    background-color: #fff;
    right: 0;
    top: 0;
    z-index: 1;
    transition: all 0.25s ease-in-out;
}

.table-overlay.active {
    width: 430px;
    background:#f7f9fd;
}

.transaction-table {
    min-width: 650px;
    overflow-x: auto;
}

.transaction-table td,
.transaction-table th {
    transition: 0.3s;
    transform-origin: left;
}

.transaction-table.active tr td:nth-last-child(1) {
    transform: scaleX(0);
}

.transaction-table.active tr td:nth-last-child(2) {
    transform: scaleX(0);
}

.transaction-table.active tr th:nth-last-child(1) {
    transform: scaleX(0);
}

.transaction-table.active tr th:nth-last-child(2) {
    transform: scaleX(0);
}

.custom-table {
    width: 100%;
    margin: 0;
    font-size: 14px;
    background-color: hsl(var(--white));
    box-shadow: 0 0 8px hsl(var(--base)/0.06);
    overflow: hidden;
    border-radius: 16px;}

.custom-table thead tr th {
    text-align: left;
    font-size: 13px;
    padding: 10px;
    font-weight: 400;
    color: #868686;
}

.custom-table thead tr th:first-child {
    text-align: left;
    border-radius: 5px 0 0 0;
}

.custom-table thead tr th select {
    color: inherit;
}

.custom-table tbody {
    border: 0 !important;
}

.custom-table tbody tr {
    border-top: 1px solid #ebebeb !important;
}

.custom-table tbody tr:hover, .custom-table tbody tr.active {
    background-color: #ebebeb;
}

.custom-table tbody tr td {
    text-align: left;
    vertical-align: middle;
    padding: 10px;
    border-width: 1px;
    font-family: var(--heading-font);
}

.custom-table tbody tr td::before {
    content: attr(data-label);
    font-family: var(--heading-font);
    font-size: 15px;
    color: hsl(var(--heading));
    font-weight: 500;
    display: none;
}

.custom-table tbody tr td:first-child {
    text-align: left;
    display:flex;
}

.custom-table .price.added {
    font-weight: 600;
    color: #0faa1c;
}

.custom-table .price.lessen {
    font-weight: 600;
    color: #aa140f;
}

.custom-table .user-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    background-color: #bce1fc;
    color: #222;
}

.process-indicator {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    gap: 8px;
}

.process-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d1d1d1;
}

.process-indicator .dot.done {
    background-color: #0faa1c;
}

.process-indicator .cprogress {
    margin-left: 3px;
    width: 2px;
    height: 50px;
    background-color: #0faa1c;
    border-radius: 15px;
}

.process-outer {
    margin-top: 10px;
}

.process-item:not(:last-child) {
    margin-bottom: 20px;
}

.process-item .name {
    font-size: 16px;
}

.process-item .name a:hover {
    text-decoration: underline !important;
}

.process-item .date {
    font-size: 13px;
}

.process-item .status {
    font-size: 13px;
}

.process-item .to {
    font-size: 14px;
}

.table-modal-wrapper {
    max-width: 100%;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ebebeb;
    box-shadow: 0 3px 25px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    z-index: 11;
    border: 1px solid #cecece;
}

.table-modal-wrapper .table-modal-top {
    padding: 25px 40px;
    border-bottom: 1px solid #ebebeb;
}

.table-modal-wrapper .table-modal-top .title {
    font-size: 13px;
}

.table-modal-wrapper .table-modal-top .amount {
    margin-top: 15px;
    font-size: 26px;
}

.table-modal-wrapper .table-modal-middle {
    padding: 25px 40px;
    border-bottom: 1px solid #ebebeb;
}

.table-modal-wrapper .table-modal-middle .form--label {
    font-size: 13px;
    margin-bottom: 3px;
    display: inline-block;
}

.table-modal-wrapper .table-modal-middle .form-group {
    margin-bottom: 15px;
}

.table-modal-wrapper .table-modal-middle .form--control {
    border-radius: 6px;
    border-color: #ebebeb !important;
    outline: 0 !important;
    width: 100%;
    padding: 10px;
}

.table-modal-wrapper .table-modal-middle ::-webkit-file-upload-button {
    background-color: #ebebeb;
    border: 0px;
    padding: 5px 8px;
    border-radius: 5px;
}

.table-modal-wrapper .table-modal-bottom {
    padding: 10px 30px;
}

.table-modal-close {
    cursor: pointer;
}

@media (max-width: 575px) {
    .table-modal-wrapper .table-modal-top,
.table-modal-wrapper .table-modal-middle {
        padding: 20px;
    }

    .table-modal-wrapper .table-modal-bottom {
        padding: 10px 20px;
    }
}

.cdropdown-wrapper {
    position: relative;
}

.cdropdown {
    position: absolute;
    right: 0;
    bottom: 100%;
    z-index: 1;
    min-width: max-content;
    max-width: 200px;
    box-shadow: 0 2px 25px rgba(59, 60, 74, 0.1);
    padding: 8px 0;
    border-radius: 6px;
    visibility: hidden;
    transition: 0.3s;
    font-size: 14px;
    opacity: 0;
    background-color: #fff;
}

.cdropdown li {
    font-weight: 500;
    transition: 0.3s;
}

.cdropdown li a {
    display: block;
    color: #3b3c4a;
    padding: 8px 15px;
    transition: 0.3s;
}

.cdropdown li:hover {
    background-color: #eaf4fe;
}

.cdropdown-toggler img {
    width: 24px;
}

.cdropdown-toggler:focus ~ .cdropdown {
    visibility: visible;
    opacity: 1;
}