.chatBackBtn {
    border-radius: 7px !important;
    height: auto !important;
    width: auto !important;
    font-size: 16px !important;
    padding: 5px 25px !important;
    background: #0a78bd !important;
}
.chatBackBtn::before {
    content: "←";
    padding-right: 5px;
    margin-top: -4px;
}
.chatBackBtn:hover {
    background: black !important;
    transition: all 0.4s ease;
}
.actionProduct th, td {
    text-align: left !important;
}
.productName {
    background: linear-gradient(45deg, #0a78bd, #13a4ff);
    color: #ffffff !important;
    font-weight: normal !important;
    border-bottom: 1px solid gray;
}
.productName a {
    color: white !important;
    font-weight: normal !important;
}

/*================================ Seller Dashboard-start ==============================================*/
.buy-chat-left-panel .text-muted {
    padding: 15px !important;
}

.header-sidebar .header-item {
    color: black;
    display: block;
    padding: 3px 10px;
    font-size: 15px;
}

.remove-icon {
    position: absolute;
    top: -5px;
    left: -5px;
    background: red !important;
    width: 23px;
    border-radius: 100px;
    display: flex;
    border: none !important;
    outline: none !important;
    justify-content: center;
    align-items: center;
    color: white !important;
}

#predefined-questions .list-group-item:hover {
    box-shadow: 0 0 5px 0px #8080804f;
    cursor: pointer;
    transition: all 0.3s ease;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.profile-page-tabs .nav-link.active {
    background: #1C75BC !important;
    color: white !important;
    font-weight: normal;
}

.profile-page-tabs .nav-link {
    font-weight: normal;
    border: 1px solid #d3d3d3 !important;
    border-radius: 5px 5px 0 0 !important;
    border-bottom: 0 !important;
    color: black;
}

.profile-page-tabs .nav-tabs {
    gap: 10px;
}

.list-group-item:first-child:hover {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.buy-chat-product-item.active::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    right: -21px;
    z-index: 99;
    border-width: 23px 20px 20px 35px;
    border-color: transparent #f0f0f0 transparent transparent;
}

#predefined-questions .list-group-item {
    border: none;
    border-radius: 0;
    font-size: 14px;
    padding: 5px;
}

.chat-details-main {
    display: flex;
    justify-content: space-between;
    width: 95%;
}

#chatMessages .message.bot .text-success {
    color: #00994d !important;
}

.qty-inner-main {
    display: flex;
    gap: 10px;
    align-items: center;
}

.buyerName {
    color: #0a78bd;
}

.buy-chat-avatar strong {
    color: #0a78bd !important;
}




.Dashboard-container {
    display: flex;
}

.counter-div {
    width: 70%;
}

.counter-inner {
    display: flex;
    gap: 10px;
}

.Dashboard-sidebar {
    width: 240px;
    border-radius: 5px;
    background-color: #ffffff;
    border: 1px solid var(--Stroke-Color, #D5D5D5);
}

button#makePaymentBtn {
    width: 96%;
    margin: auto 2%;
}

/* Slide-in-from-top effect */
@keyframes slideTop {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-from-top {
    animation: slideTop 0.4s ease-out;
}


/*.buy-chat-left-panel .text-muted {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    height: 250px;*/
/*    justify-content: center;*/
/*}*/

.buy-chat-left-panel .chat-product-box {
    padding: 8px 10px !important;
    background: #80808017;
    margin-bottom: 10px;
    border-bottom: 1px solid #0776bd36 !important;
    position: relative;
    border-radius: 0 !important;
    margin-bottom: 6px !important;
}

.chat-inner {
    margin-bottom: 10px !important;
}

.buy-chat-left-panel .chat-product-box img {
    margin-right: 0.75rem !important;
}

.chat-product-box h6 {
    color: black !important;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 0 !important;
}

.buy-chat-left-panel .chat-product-box small.text-muted {
    padding: 0 !important;
    font-size: 0.75rem;
    color: black !important;
}

.user-admin-sidebar .Dashboard-menu-section img {
    margin-right: 12px;
}

.welcome-section {
    padding: 8px;
}

table tr th,
td {
    padding: 15px 10px;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
}

.underline-name {
    z-index: 2;
    position: relative;
    background: white;
    padding: 10px;
}

.user-main {
    display: flex;
    gap: 25px;
}

.main-content {
    display: block;
    width: 80%;
}

.Dashboard-main-content {
    margin-left: 0;
}

.Admin-Dashboard-main {
    margin-left: 0;
}

.Dashboard-user-avatar img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    margin-right: 10px;
    border: 1px solid #d3d3d3;
    border-radius: 100px;
    box-shadow: 0px 2.7px 27.03px 0px rgba(69, 69, 80, 0.1);
}

.Sell-Step-1-btn-secondary {
    color: black;
}

.Dashboard-user-info {
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.Dashboard-user-avatar {
    color: white;
}

.Dashboard-user-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    word-break: break-word;
    margin: 0px 0px 2px 0px;
}

.Dashboard-user-details p {
    font-size: 14px;
    color: #6c757d;
    margin: 0px;
}

.Dashboard-menu-section {
    padding: 8px 0px;
}

.Dashboard-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: black;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.Dashboard-menu-item:hover {
    background-color: #f8f9fa;
    color: #212529;
    text-decoration: none;
}

.Dashboard-menu-section .active {
    background-color: #e3f2fd;
    color: #1976d2;
    border-right: 3px solid #1976d2;
}

.Dashboard-menu-icon {
    width: 18px;
    margin-right: 12px;
    font-size: 16px;
    text-align: center;
}

.Dashboard-dropdown-arrow {
    margin-left: auto;
    font-size: 12px;
    /* transition: transform 0.2s ease; */
}

.Dashboard-dropdown-toggle {
    display: none;
}

.Dashboard-submenu {
    background-color: #ffffff;
    padding: 0px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.Dashboard-dropdown-toggle:checked+.Dashboard-menu-item .Dashboard-dropdown-arrow {
    transform: rotate(180deg);
}

.Dashboard-dropdown-toggle:checked~.Dashboard-submenu {
    max-height: 300px;
}

.Dashboard-submenu-item {
    display: block;
    padding: 10px 20px 10px 50px;
    color: black;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.Dashboard-submenu-item:hover {
    background-color: #f8f9fa;
    color: #212529;
    text-decoration: none;
}

.Dashboard-account-setting {
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
    padding-top: 8px;
}

.Dashboard-sign-out {
    color: black !important;
}

.Dashboard-sign-out:hover {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

.Dashboard-content-area {
    padding: 30px;
}

.Dashboard-stats-row {
    margin-bottom: 40px;
}

.Dashboard-stat-card {
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 120px;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
}

.Dashboard-stat-icon {
    font-size: 32px;
    margin-bottom: 8px;
    color: #4a90e2;
}

.Dashboard-stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin: 0px 0px 4px 0px;
}

.Dashboard-stat-label {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
    margin: 0px;
}

.Dashboard-selling-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.Dashboard-selling-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 30px;
}

.Dashboard-add-product-btn {
    background-color: #1C75BC;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 85px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.Dashboard-add-product-btn:hover {
    background-color: #0056b3;
    color: #ffffff;
    text-decoration: none;
}

.dashboard-1-container {
    padding: 12px;
    /* background-color: #f8f9fa; */
    min-height: 100vh;
}

.dashboard-1-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.dashboard-1-header {
    padding: 16px 16px 12px 16px;
    border-bottom: 1px solid #e9ecef;
}

.dashboard-1-title {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.dashboard-1-dropdown {
    font-size: 12px;
    color: #6c757d;
    border: none;
    background: none;
    padding: 4px 8px;
}

/* Responsive typography */

/* ===== RESPONSIVE BAR CHART STYLES ===== */
.dashboard-1-chart-container {
    padding: 16px;
    height: 250px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}


/* Y-axis styling */
.dashboard-1-y-axis {
    position: absolute;
    left: 16px;
    top: 16px;
    bottom: 16px;
    width: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.dashboard-1-y-label {
    font-size: 10px;
    color: #6c757d;
    text-align: right;
    line-height: 1;
}

/* Grid lines */
.dashboard-1-grid-lines {
    position: absolute;
    left: 56px;
    right: 16px;
    top: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard-1-grid-line {
    height: 1px;
    background-color: #e9ecef;
    width: 100%;
}

/* Bar chart area */
.dashboard-1-bars-container {
    position: absolute;
    left: 56px;
    right: 16px;
    bottom: 16px;
    height: calc(100% - 32px);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 8px;
}


/* Individual bars */
.dashboard-1-bar {
    flex: 1;
    max-width: 40px;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dashboard-1-bar:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Bar heights (percentages of container) */
.dashboard-1-bar-1 {
    height: 45%;
    background-color: #0d6efd;
}

.dashboard-1-bar-2 {
    height: 65%;
    background-color: #198754;
}

.dashboard-1-bar-3 {
    height: 100%;
    background-color: #dc3545;
}

.dashboard-1-bar-4 {
    height: 85%;
    background-color: #ffc107;
}

.dashboard-1-bar-5 {
    height: 55%;
    background-color: #d63384;
}

/* X-axis labels */
.dashboard-1-x-labels {
    position: absolute;
    left: 56px;
    right: 16px;
    bottom: 0;
    height: 16px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.dashboard-1-x-label {
    font-size: 10px;
    color: #6c757d;
    text-align: center;
    flex: 1;
}

/* Activities section */
.dashboard-1-activities-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f8f9fa;
}

.dashboard-1-activities-item:last-child {
    border-bottom: none;
}

.dashboard-1-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-right: 8px;
    flex-shrink: 0;
}

.dashboard-1-icon-green {
    background-color: #8FEB92B0;
}

.dashboard-1-icon-blue {
    background-color: #5E86E359;
}

.dashboard-1-icon-yellow {
    background-color: #FED84C;
    color: #212529;
}

.dashboard-1-icon-purple {
    background-color: #5E86E359;
}

.dashboard-1-icon-red {
    background-color: #DB1B1B5C;
}

.dashboard-1-activity-text {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
    margin: 0;
}

.dashboard-1-link {
    color: #0d6efd;
    text-decoration: none;
}

.dashboard-1-link:hover {
    text-decoration: underline;
}

/*================================ Dashboard-end ==============================================*/


/*================================ Start My Profile Css ==============================================*/
.Account-Setting-container {
    max-width: 1000px;
    /*margin: 40px auto;*/
    /*padding: 20px;*/
}

.account-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    padding: 2px;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    object-position: top center;
}

.Account-Setting-form-group {
    margin-bottom: 16px;
}

.Account-Setting-label {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    /* dark gray */
    margin-bottom: 6px;
}

.Account-Setting-input:focus {
    border: 1px solid rgba(28, 117, 188, 1);
}

.alert-success {
    color: white;
    background: var(--Color-green, rgb(58 151 0)) !important;
    padding: 10px;
}

.Account-Setting-input {
    width: 100%;
    padding: 6px 14px;
    font-size: 14px;
    color: black;
    background-color: #ffffff;
    border: 1px solid rgb(199 199 199);
    border-radius: 3px;
}

.Account-Setting-container h4 {
    font-size: 22px;
}

.Account-Setting-sectionTitle {
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    margin: 25px 0 10px 0;
}

.Account-Setting-sectionTitle::before,
.Account-Setting-sectionTitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #ccc;
}

.Account-Setting-sectionTitle::before {
    left: 0;
}

.Account-Setting-sectionTitle::after {
    right: 0;
}

.Account-Setting-btn-primary {
    background-color: #1C75BC;
    color: #fff;
    border: none;
    padding: 8px 30px;
    border-radius: 5px;
}

.Account-Setting-btn-secondary {
    background-color: #e2e2e2;
    color: #000;
    border: none;
    padding: 8px 30px;
    border-radius: 5px;
}

.Account-Setting-button-group {
    margin-top: 10px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}


/*================================ End  My Profile Css ==============================================*/






/* -------------- Start Media Query ----------------------------*/
@media (max-width: 991px) {
    .Account-Setting-button-group {
        justify-content: center;
    }

    .user-main {
        flex-wrap: wrap;
    }

    .main-content {
        width: 100% !important;
        padding: 0;
    }

    .Admin-Dashboard-main {
        margin-left: 0 !important;
        padding: 0 !important;
    }

    .user-main {
        gap: 0;
    }
    .buy-chat-main-content {
    flex-wrap: wrap;
}
.buy-chat-main-content {
    flex-direction: column-reverse;
}
.buy-chat-left-panel {
    width: 100%;
}
.buy-chat-right-panel {
    width: 100%;
}
.user-message-icon-div {
    margin: 0;
}
.table thead th {
    text-wrap: nowrap;
}
form.searchForm .row {
    gap: 10px;
}
}

@media (max-width:575px) {
    .sidebar-toggle {
        margin: 0;
    }
    td.action-icons {
    display: flex;
}
.product-view-container {
    padding: 0 !important;
    flex-wrap: wrap;
}
.product-gallery {
    width: 100% !important;
}
.product-info {
    width: 100% !important;
}
.adminProductViewBack {
    padding: 0 !important;
    margin-bottom: 10px !important;
}

    .Dashboard-main-content {
        padding: 0;
    }

    .Dashboard-stat-card {
        padding: 10px;
        margin-bottom: 10px;
        height: auto;
        flex-wrap: wrap;
    }

    .welcome-section {
        padding: 10px !important;
    }

    .Account-Setting-container {
        margin: 0;
        padding: 10px;
    }
    .sellerChat {
    margin: 0 !important;
}
.user-message-icon-div {
    gap: 20px;
    flex-wrap: wrap;
    padding: 15px !important;
}
.buy-chat-close-btn {
    top: -8px;
    right: -8px;
    font-size: 20px;
    width: 25px;
    height: 25px;
}
.price-section {
        width: 100%;
        padding: 0 !important;
    }
.chat-main-div {
    margin: 0 !important;
}
.buy-chat-dialog-tabs2 {
    align-items: center;
}
.buy-chat-arrow {
    width: 80px;
    margin-top: -19px;
}
.buy-chat-dialog-tabs {
    align-items: center;
}
.price-section input#offer {
    width: 110px !important;
}
.buy-chat-main-container {
        gap: 10px;
       margin: 10px 0;
    }
.Sell-Step-1-steps-wrapper {
    overflow: scroll;
}   
.Sell-Step-1-step {
    flex: 0 0 70%;
}
.form-filed-main {
    flex-wrap: wrap;
}
    
    
    
}


@media (max-width:375px){
    .buy-chat-dialog-tab {
    padding: 3px 8px;
    font-size: 15px;
}
.price-section {
    flex-wrap: wrap;
}
.Sell-Step-1-step {
        flex: 0 0 90% !important;
    }
}