    .chat-header {
        z-index: 100;
        background: #fff;
        border-bottom: 1px solid #ddd;
        padding: 15px;
        background-color: white;
    }

    .mobile-back-btn {
        display: none;
    }






    .pickup-card {
        background: #fff;
        border-radius: 16px;
        padding: 20px;
        margin-top: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
        border-left: 5px solid #198754;
    }

    .pickup-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .pickup-header i {
        color: #198754;
        font-size: 22px;
    }

    .pickup-header h5 {
        margin: 0;
        font-weight: 600;
    }

    .pickup-row {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }

    .pickup-row i {
        color: #198754;
        font-size: 18px;
        margin-top: 5px;
    }

    .pickup-row strong {
        display: block;
        color: #333;
    }

    .pickup-row p {
        margin: 2px 0 0;
        color: #666;
        word-break: break-word;
    }

    .rental-timer-box {
        background: linear-gradient(135deg, #198754, #20c997);
        color: #fff;
        padding: 20px;
        border-radius: 16px;
        text-align: center;
        margin: 15px 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    }

    .timer-header {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .timer-display {
        font-size: 28px;
        font-weight: 700;
        letter-spacing: 2px;
    }






    .chat-dot {
        width: 10px;
        height: 10px;
        background: #28a745;
        border-radius: 50%;
        display: inline-block;
        margin-left: 8px;
    }

    .view-product-btn {
        background: #0d6efd;
        color: #fff;
        padding: 10px 18px;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        transition: .3s;
    }

    .view-product-btn:hover {
        background: #0b5ed7;
        color: #fff;
        transform: translateY(-2px);
    }

    .modified-offer-card {
        max-width: 420px;
        padding: 15px;
        border-radius: 14px;
        background: #f8f9fa;
        border: 1px solid #ddd;
    }

    .msg-wrapper-left {
        display: flex;
        justify-content: flex-start;
        margin: 10px;
    }

    .msg-wrapper-right {
        display: flex;
        justify-content: flex-end;
        margin: 10px;
    }

    .msg-wrapper-right .modified-offer-card {
        background: #71227d;
        color: white;
    }

    .msg-wrapper-left .modified-offer-card {
        background: #ffffff;
    }

    .accept-btn {
        background: #198754;
        color: #fff;
        border: none;
        padding: 10px 18px;
        border-radius: 12px;
        font-weight: 600;
        transition: .3s;
    }

    .accept-btn:hover {
        background: #157347;
        transform: translateY(-2px);
    }

    .reject-btn {
        background: #dc3545;
        color: #fff;
        border: none;
        padding: 10px 18px;
        border-radius: 12px;
        font-weight: 600;
        transition: .3s;
    }

    @media (max-width:768px) {

        .chat-sidebar {

            height: 100vh;
            overflow-y: auto;

        }

        .chat-window {

            height: 100vh;
            display: flex;
            flex-direction: column;

        }

        .chat-body {

            flex: 1;
            overflow-y: auto;

        }

        .chat-input-area {

            position: sticky;
            bottom: 0;
            background: #fff;
            z-index: 20;

        }

    }

    .reject-btn:hover {
        background: #bb2d3b;
        transform: translateY(-2px);
    }

    .chat-user {
        padding: 12px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        transition: .2s;
    }

    .chat-user:hover {
        background: #f8f9fa;
    }

    #chatSearch {
        border-radius: 12px;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .pay-now-btn {

        display: inline-flex;
        align-items: center;
        gap: 10px;

        background: linear-gradient(135deg,
                #71227d,
                #9c27b0);

        color: #fff;
        text-decoration: none;

        padding: 14px 24px;

        border-radius: 14px;

        font-size: 15px;
        font-weight: 600;

        box-shadow:
            0 8px 20px rgba(113, 34, 125, .30);

        transition: .3s ease;

    }

    .request-preview-box {
        display: grid;
        grid-template-columns: 120px 1fr auto;
        gap: 20px;
    }

    .request-preview-image {
        width: 120px;
        height: 120px;
        object-fit: cover;
    }

    .request-preview-content {
        flex: 1;
        min-width: 0;
    }

    .request-preview-title,
    .request-preview-text {
        word-break: break-word;
    }

    .request-preview-buttons {
        min-width: 220px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .request-action-buttons {

        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;

    }

    .view-product-btn {

        background: linear-gradient(135deg,
                #0d6efd,
                #4f8cff);

        color: #fff;
        text-decoration: none;

        padding: 12px 18px;

        border-radius: 12px;

        font-weight: 600;

        display: flex;
        align-items: center;
        gap: 8px;

        transition: .3s ease;

        box-shadow:
            0 6px 15px rgba(13, 110, 253, .25);

    }

    .view-product-btn:hover {

        color: #fff;

        transform: translateY(-2px);

        box-shadow:
            0 10px 20px rgba(13, 110, 253, .35);

    }

    .accepted-status {

        background: #ecfdf3;

        color: #198754;

        border: 1px solid #b7ebc6;

        padding: 12px 18px;

        border-radius: 12px;

        font-weight: 600;

        display: flex;
        align-items: center;
        gap: 8px;

    }

    .pay-now-btn:hover {

        color: #fff;

        transform: translateY(-3px);

        box-shadow:
            0 12px 25px rgba(113, 34, 125, .40);

    }

    .pay-now-btn i {

        font-size: 16px;

    }

    .chat-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border-radius: 15px;
        margin-bottom: 10px;
        transition: .3s;
        color: #222;
        background: #fff;
    }

    .chat-item:hover {
        background: #f6f0f8;
        transform: translateX(4px);
    }

    .chat-avatar {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        background: #71227d;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        flex-shrink: 0;
    }

    .chat-avatar i {
        font-size: 22px;
    }

    .chat-body {
        overflow-y: auto;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE & Edge */
    }



    .chat-body::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    .chat-avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .chat-details {
        flex: 1;
        min-width: 0;
    }

    .chat-name-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 4px;
    }

    .chat-user {}

    .chat-user-name {
        font-size: 16px;
        font-weight: 700;
    }

    .chat-product {
        font-size: 13px;
        color: #71227d;
        font-weight: 600;
        margin-bottom: 3px;
    }

    .chat-preview {
        font-size: 13px;
        color: #777;
    }

    .msg-wrapper-right {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 10px;
    }

    .msg-wrapper-left {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .my-message {
        background: #71227d;
        color: #fff;
        padding: 12px;
        border-radius: 15px 15px 0 15px;
        max-width: 70%;
    }

    .other-message {
        background: #f1f1f1;
        color: #000;
        padding: 12px;
        border-radius: 15px 15px 15px 0;
        max-width: 70%;
    }

    .chat-media {
        max-width: 250px;
        border-radius: 10px;
        cursor: pointer;
    }

    .media-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .9);
        z-index: 9999;
        justify-content: center;
        align-items: center;
    }

    .media-modal img,
    .media-modal video {
        max-width: 90%;
        max-height: 90%;
    }

    .close-media {
        position: absolute;
        top: 20px;
        right: 30px;
        color: white;
        font-size: 35px;
        cursor: pointer;
    }

    .msg-wrapper-left {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .msg-wrapper-right {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 10px;
    }

    .my-message {
        background: #71227d;
        color: white;
        padding: 12px 15px;
        border-radius: 15px;
        max-width: 60%;
    }

    .other-message {
        background: #ececec;
        color: black;
        padding: 12px 15px;
        border-radius: 15px;
        max-width: 60%;
    }

    .msg-time {
        font-size: 11px;
        margin-top: 5px;
        text-align: right;
    }

    .msg-wrapper-right {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 15px;
    }

    .msg-wrapper-left {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 15px;
    }

    .my-message {
        background: #71227d;
        color: white;
        padding: 15px;
        border-radius: 15px;
        max-width: 500px;
    }

    .other-message {
        background: #f3f4f6;
        color: #111;
        padding: 15px;
        border-radius: 15px;
        max-width: 500px;
    }

    .exchange-offer-card {
        background: #fff;
        padding: 20px;
        border-radius: 15px;
        margin: 15px 0;
        box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
    }

    .exchange-products {
        display: flex;
        align-items: start;
        justify-content: start;
        gap: 10px;
        /* pehle 30-40 hoga, ise kam kar diya */
        margin: 10px;
    }

    .exchange-item {
        text-align: center;
        width: 140px;
    }

    .exchange-item img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 10px;
    }

    .exchange-arrow {
        font-size: 20px;
        color: #0d6efd;
    }

    .extra-cash-box {
        margin-top: 15px;
        background: #e8fff1;
        padding: 10px;
        border-radius: 10px;
        font-weight: 600;
        color: #198754;
    }

    .requests-sidebar {
        width: 350px;

    }



    .chat-section {
        flex: 1;
        width: 100%;
        height: 100vh;
        overflow: auto;
    }

    /* Mobile */