:root {
    --clr-primary: #1570EF;
    --clr-white: #fff;
    --clr-white2: #f9f9f9;
    --clr-white3: #f3f7ff;
    --clr-black: #01040d;
    --clr-black2: #171717;
    --clr-black3: #344054;
    --clr-gray: #525252;
    --clr-gray1: #737373;
    --clr-gray2: #d4d4d4;
    --clr-gray3: #f5f5f5;
    --clr-gray4: #f4f5f7;
    --clr-green: #01b81a;
    --clr-green-light: rgba(1, 184, 26, 0.12);
    --clr-red: #ef4444;
    --ff: "Inter", sans-serif;
}

.mybazar-login-section .forget-password input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid #d0d5dd !important;
    background: #c52127 !important;
    margin-right: 5px;
    margin-top: -1px;
}

.text-custom-primary,
.text-custom-primary:hover {
    color: #c52127;
    font-weight: bold;
}

.mybazar-login-section .forget-password input[type="checkbox"]:checked+.custom-control-label::before {
    color: #ffffff;
}

.mybazar-login-section .forget-password input[type="checkbox"]:checked {
    accent-color: #3291d4 !important;
}

.indicate-text {
    font-size: 12px;
    color: red;
}

.form-control.error {
    border-color: red;
    padding: 0.375rem 0.75rem;
}

.image-wrapper.error {
    border-color: red;
    padding: 0.375rem 0.75rem;
}

.error-alert {
    font-size: 11px;
    color: red;
}

.error {
    color: red !important;
}

.budget-form .form-control[readonly] {
    background-color: #fff !important;
}

.budget-form ::placeholder {
    font-size: 12px;
}

.avatar {
    border: 1px solid #ffffff;
    box-shadow: 0px 4px 16px 0px #00000026;
    border-radius: 50%;
    color: #e3eaef;
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    position: relative;
    vertical-align: middle;
    line-height: 1.28;
    height: 45px;
    width: 45px;
}

.avatar.avatar-sm {
    font-size: 12px;
    height: 30px;
    width: 30px;
}

.avatar img {
    border-radius: 50%;
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 1;
}

.btn-custom-warning {
    background-color: #fff !important;
    color: #00987f;
    border: 1px solid #fff !important;
}

.btn-custom-warning:hover {
    color: #fff !important;
    background-color: transparent !important;
    border: 1px solid #fff !important;
}

.custom-warning-color {
    color: #c52127;
}

.roles-permissions table td {
    color: black;
}

.img-preview {
    margin-top: 4px;
    height: auto;
    width: 100px;
}

.folders-files tr a {
    font-size: 18px !important;
}

.gradient-row {
    background: linear-gradient(270deg, #dbe4df 0%, #65e4a6 50%, #ffffff 100%);
}

@media print {
    .table-two thead td {
        padding: 0px !important;
    }
}

.order-form-section label,
.permission label,
.role-input-label label {
    /* left: 10px; */
    white-space: nowrap;
}

.table-form-section .responsive-table {
    min-height: unset !important;
}

.table-title-three h5 {
    font-weight: 600 !important;
}

.loss-profit-custom-color1 {
    background-color: rgba(255, 132, 0, 0.15);
}

.loss-profit-custom-color2 {
    background-color: rgba(255, 181, 101, 1);
    font-weight: bold;
}

.production-wrap {
    padding-right: 60px;
}

.form-control.reset-img {
    display: none;
}

.print-wrapper .responsive-table {
    min-height: unset;
}

.print-wrapper .table th,
.print-wrapper .table td {
    white-space: nowrap;
}

.print-wrapper {
    min-height: 700px !important;
}

.table-header h3,
.table-header h4 {
    font-weight: 700;
}

.erp-new-invice .invice-detaisl {
    padding: 20px 0;
}

.commercial-invoice {
    margin-bottom: 30px;
}

.invoice-payment-details {
    margin-top: 40px;
}

.erp-new-invice {
    min-height: 900px !important;
}

/* dropdown font size reduce */
.form-select {
    font-size: 1rem;
}

.product-img {
    height: 100px;
    width: 250px;
    border-radius: 2%;
    overflow: hidden;
    border: 2px dashed #e4e5e7;
}

.form-control .form-control {
    border: 0 !important;
}

.table-user-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: var(--clr-gray4);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.table-user-icon img {
    height: 25px;
}

.ctg-icon img {
    max-height: 40px;
    width: auto;
    margin: 0 auto;
}

/*delete modal*/
.delete-modal {
    text-align: center;
    margin-bottom: 20px;
}

.delete-modal h5 {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 5px;
}

.delete-modal p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.multiple-button-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 24px;
}

.chart-css {
    width: 100% !important;
    max-height: 320px !important;
}

.rounded-image .table-img {
    width: 40px;
    height: 40px;
}

.width-10 {
    width: 10px;
}

.add-feature-btn {
    min-height: 30px;
    padding: 4px 20px;
    background: #c52127 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 5px;
}

.remove-list {
    position: relative;
}

.remove-list .remove-one {
    background: transparent !important;
    /* background: linear-gradient(90deg, #C52127 0%, #C52127 100%) !important; */
    color: #fff !important;
    height: 50px;
    width: 50px;
    border: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.remove-list .remove-one i {
    color: #ff3030;
}

.feature-add-wrp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.feature-add-wrp .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.button-container {
    border: 1px solid #ccc;
    width: 100%;
    height: 45px;
    border-radius: 5px;
    display: inline-block;
}

.top-btn-custom {
    text-decoration: none;
    border: none;
}

.top-btn-custom:hover,
.top-btn-custom:active {
    color: #007bff;
    text-decoration: underline;
    border: none;
    text-underline-offset: 18px;
}

.top-btn-custom.active {
    text-decoration: underline;
    color: #007bff;
    font-weight: bold;
    border: none;
    text-underline-offset: 18px;
}

.card {
    border: 0;
    box-shadow: 0px 4px 24px 0px #e4c3c30d;
    border-radius: 8px;
}

.table th {
    border-bottom: 1px solid #d8d8d8;
    background: #f9f8f8;
    border: 0;
    font-size: 16px;
    font-weight: 600;
    padding: 12px;
}

.delete-selected {
    cursor: pointer;
}

.custom-primary {
    color: #c52127;
}

.table-hidden-checkbox {
    display: none;
}

/* Style the custom checkbox */
.table-custom-checkbox {
    display: inline-block;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    padding-left: 35px;
    line-height: 24px;
}

/* Create the custom checkmark */
.table-custom-checkmark {
    position: absolute;
    top: -9px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    transition:
        background-color 0.3s,
        border-color 0.3s;
}

/* Style the checkmark when checked */
.table-hidden-checkbox:checked+.table-custom-checkmark {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
}

/* Add the tick mark inside the checkbox */
.table-custom-checkbox .custom-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the tick mark when the checkbox is checked */
.table-custom-checkbox .table-hidden-checkbox:checked+.custom-checkmark:after {
    display: block;
}

/* Style the tick mark */
.table-custom-checkbox .custom-checkmark:after {
    left: 8px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Customize the label text color and size */
.table-custom-checkbox {
    color: #333;
    font-family: Arial, sans-serif;
}

.badge-accent {
    background: var(--clr-primary);
}

.options-field {
    display: none;
}

.upload-preview {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.dropdown-menu-scroll {
    max-height: 400px;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-li {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-check {
    color: #00ae1c;
    font-weight: 400;
    font-size: 16px;
}

#datePicker {
    position: absolute;
    top: 50px;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.select-batch {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.select-batch:hover {
    background-color: #c5212712;
}

.point-setup {
    border-bottom: 1px solid rgba(230, 230, 230, 1);
    width: 100%;
    padding-bottom: 10px;
}

.point-setup label {
    font-weight: 600;
    font-size: 18px;
    line-height: 30px;
    color: #121535;
    padding: 0;
}

.coustomer .form-check {
    display: flex;
    align-items: center;
}

.coustomer .form-check input {
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    color: #121535;
    margin-right: 10px;
}

input[type="file"].file-input-change {
    padding: 0;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    height: 44px;
    background: #fff;
}

input[type="file"].file-input-change::file-selector-button {
    padding: 10px 20px;
    margin: 0;
    border: none;
    border-right: 1px solid #d0d5db;
    background: #f0f2f5;
    color: #344054;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    height: 100%;
}

.table-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.email-container{
    justify-content: center;
    background-color: #ffffff;
    padding: 0 5%
}

.email-header{
    text-align: center;
    background-color: green;
    padding: 10px;
}

.hyper-link:hover {
    color: #1c881c;
}

.email-btn{
    border: 1px solid orange;
    padding: 10px;
    border-radius: 5px;
    background-color: orange;
    color: white;
    text-decoration: none;
    display: grid;
    justify-content: center;
    margin: 0 15rem;
    text-align: center;
}

.email-btn:hover{
    border: 1px solid #2ec618;
    background-color: #22b31d;
    color: #f4f4f4;
}

.email-hr{
    border: 1px solid #bbbbbb;
    width: 100%
}

.copyright{
    color: #248c48;
    font-size: 11px;
    text-align: center;
}

.fs-11 { font-size: 11px; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }

.min-h-0 { min-height: 0; }

.info-label-w110 { min-width: 110px; color: #6b7280; }
.info-label-w100 { min-width: 100px; color: #6b7280; }

.border-line { border-left: 1px solid #e5e7eb; }

.hr-light { border-color: #e5e7eb; }

.text-green-custom { color: #22c55e; }
.text-amber { color: #f59e0b; }

.badge-base {
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
}
.badge-green {
    background-color: #22c55e;
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
}
.badge-gray {
    background-color: #e5e7eb;
    color: #374151;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}
.badge-blue-light {
    background-color: #dbeafe;
    color: #2563eb;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}
.badge-green-light {
    background-color: #d1fae5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.avatar-circle-sm {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 12px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}
.avatar-circle-md {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}
.avatar-circle-lg {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.chat-bubble-received {
    background: #f3f4f6;
    padding: 10px 14px;
    border-radius: 8px;
    border-top-left-radius: 2px;
    max-width: 100%;
    font-size: 13px;
}
.chat-bubble-sent {
    background: #3b82f6;
    padding: 10px 14px;
    border-radius: 8px;
    border-top-right-radius: 2px;
    max-width: 80%;
    font-size: 13px;
    color: #fff;
}
.chat-bubble-sent-mt {
    background: #3b82f6;
    padding: 10px 14px;
    border-radius: 8px;
    border-top-right-radius: 2px;
    border-top-left-radius: 8px;
    max-width: 80%;
    font-size: 13px;
    color: #fff;
    margin-top: 4px;
}
#conversation-messages {
    max-height: 400px;
    overflow-y: auto;
}

.chat-voice-btn {
    background-color: #1570EE1A;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.chat-voice-btn.recording {
    background-color: #dc3545;
}
.chat-voice-btn.recording svg path {
    fill: #fff;
}
.chat-voice-btn svg {
    height: 23px;
    width: 23px;
}
.voice-recording-indicator {
    padding: 4px 10px;
    background: #fee;
    border-radius: 20px;
    display: inline-flex;
    flex-shrink: 0;
}
.recording-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dc3545;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.recording-timer {
    font-size: 13px;
    color: #dc3545;
    font-weight: 600;
}

.chat-audio-player {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 20px;
}
.chat-play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #3b82f6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 13px;
    padding: 0;
}
.chat-play-btn:hover {
    opacity: 0.85;
}
.chat-audio-duration {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}
.opposite-attachment .chat-audio-duration {
    color: #ccc;
}

/* ===== Voice Message Bubbles (WhatsApp-style) ===== */
.chat-voice-message {
    max-width: 280px;
    border-radius: 16px;
    padding: 8px 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: inline-block;
    margin-bottom: 10px;
}

.chat-voice-sent {
    background: #e3fce8;
    border-bottom-right-radius: 4px;
}

.chat-voice-received {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-bottom-left-radius: 4px;
}

.chat-voice-message .chat-audio-player {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.chat-voice-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
}

.w-bar {
    width: 3px;
    border-radius: 2px;
    background: #1a1a1a;
    transform-origin: bottom;
    transition: background 0.2s;
}

.chat-waveform .w-bar:nth-child(1) { height: 12px; }
.chat-waveform .w-bar:nth-child(2) { height: 18px; }
.chat-waveform .w-bar:nth-child(3) { height: 8px; }
.chat-waveform .w-bar:nth-child(4) { height: 16px; }
.chat-waveform .w-bar:nth-child(5) { height: 10px; }

.chat-waveform.playing .w-bar {
    background: #3b82f6;
    animation: wave 0.8s ease-in-out infinite;
}

.chat-waveform:not(.playing) .w-bar {
    animation: none;
}

.chat-waveform.playing .w-bar:nth-child(1) { animation-delay: 0s; }
.chat-waveform.playing .w-bar:nth-child(2) { animation-delay: 0.15s; }
.chat-waveform.playing .w-bar:nth-child(3) { animation-delay: 0.3s; }
.chat-waveform.playing .w-bar:nth-child(4) { animation-delay: 0.45s; }
.chat-waveform.playing .w-bar:nth-child(5) { animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.chat-audio-elapsed {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.chat-audio-sep {
    font-size: 12px;
    color: #999;
    margin: 0 1px;
}

.chat-audio-total {
    font-size: 12px;
    color: #999;
}

.chat-progress {
    width: 100%;
    height: 3px;
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.chat-progress-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.chat-voice-message .chat-play-btn {
    width: 40px;
    height: 40px;
    font-size: 15px;
    flex-shrink: 0;
}

.chat-voice-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.chat-voice-message .chat-audio-duration {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.chat-voice-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px;
}

.chat-voice-time {
    font-size: 12px;
    color: #000;
}

.chat-voice-status {
    font-size: 11px;
    color: #53bdeb;
    margin-left: 2px;
}

.chat-voice-received .chat-voice-time {
    color: #404040;
}

.voice-text {
    font-size: 13px;
    margin: 6px 0 2px;
    color: #1a1a1a;
    line-height: 1.4;
    word-break: break-word;
}

.avatar-80 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.avatar-60 {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.object-cover { object-fit: cover; }

.w-1-nowrap { width: 1%; white-space: nowrap; }

.mt-20 { margin-top: 20px; }
.pt-20 { padding-top: 20px; }

.step-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: #fff;
}
.step-dot-active {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #3b82f6;
    background: #fff;
}
.step-dot-completed {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-dot-cancelled {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-line {
    width: 2px;
    height: 45px;
    background: #e5e7eb;
}
.step-line-dynamic {
    width: 2px;
    height: 45px;
}
.step-line-completed {
    width: 2px;
    height: 45px;
    background: #22c55e;
}

.step-col { min-width: 20px; }

.display-none { display: none; }

.min-w-0 { min-width: 0; }
.h-4 { height: 4px; }

.text-white-fs11 { color: #fff; font-size: 11px; }
.text-white { color: #fff; }
.text-gray-step { color: #6b7280; }
.text-blue-step { color: #3b82f6; }

.avatar-50-round {
    width: 50px;
    height: 50px;
    min-width: 50px;
    object-fit: cover;
}

.badge-pending { background-color: #f59e0b; }
.badge-accepted { background-color: #0284c7; }
.badge-in_progress { background-color: #2563eb; }
.badge-started { background-color: #6b7280; }
.badge-provider_completed { background-color: #22c55e; }
.badge-client_completed { background-color: #22c55e; }
.badge-cancelled { background-color: #ef4444; }
.badge-refunded { background-color: #6b7280; }

.bg-client-initials { background-color: #0891b2; }
.bg-provider-initials { background-color: #2563eb; }
.login-social {
    display: inline-block;
    border: 1px solid #999999 !important;
    background-color: transparent !important;
    border-radius: 4px !important;
    padding: 10px !important;
    color: #121535 !important;
    font-size: 14px !important;
    font-weight: 500;
    text-decoration: none;
}

.login-social img {
    height: 24px;
    width: 24px;
    margin-right: 10px;
    border-radius: 20px;
    vertical-align: middle;
}

.login-social:hover {
    color: #121535 !important;
}

