#newOrderRequestPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.popup-content {
    text-align: center;
}
.popup-header img {
    width: 50px;
    height: 50px;
}
.popup-body p {
    font-size: 16px;
    margin: 10px 0;
}
.popup-body button {
    background: #f68b1f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.order-completed-button-container .order-completed-btn {
    background-color: #4CAF50;
    height: 50px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 16px;
    border-radius: 40px;
    text-transform: capitalize;
}

.swipe-to-complete-order-btn-container, .swipe-to-pickup-order-button-container {
    width: 100%;
    box-sizing: border-box;
}

#swipe-complete-order-btn-background, #swipe-pickup-order-btn-background {
    position: relative;
    background-color: #4CAF50;
    width: 100%;
    height: 50px;
    border-radius: 40px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#swipe-complete-order-btn-slider, #swipe-pickup-order-btn-slider {
    transition: left 0.3s ease;
    position: absolute;
    left: -10px;
    background-color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    z-index: 2;
}

.swipe-complete-order-btn-text, .swipe-pickup-order-btn-text {
    color: white;
    font-size: 20px;
    position: absolute;
    width: 100%;
    text-align: center;
    user-select: none;
    pointer-events: none;
    z-index: 1;
}

.deliveryman-swipe-right-arrow {
    font-size: 32px;
    color: #4CAF50;
}

/* Ensuring that the swipe text fades out as the slider moves over it */
.swipe-button-slide-text.faded {
    opacity: 0;
}

.deliveryman-otp-verify-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.deliveryman-verify-otp-title {
    font-size: 15px;
    font-weight: bold;
    color: #111;
    margin-bottom: 10px;
}

.deliveryman-verify-otp-text {
    margin-bottom: 10px;
}

.deliveryman-otp-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
    position: relative; /* Added to position the close button relative to this container */
}

.otp-verify-popup-close-btn {
    position: absolute;
    top: 0px;
    right: 10px; 
    cursor: pointer;
    font-size: 24px;
}

.deliveryman-otp-modal-content .deliveryman-otp-confirm-btn {
    margin-top: 10px;
    border-radius: 5px;
    width: 100%;
    background-color: #ef7822;
    color: #fff;
}

.order-details-vendor-store-info,
.order-details-user-info {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.vendor-details-title, .user-details-title {
    font-size: 15px;
    color: #959595;
    margin-bottom: 10px;
}

.vendor-store-logo-name-address-call, .user-profile-address-info {
    display: flex;
    gap: 10px;
}

.vendor-store-logo img, .user-profile-logo img {
    height: 50px;
    width: 50px;
    max-width: 50px;
    border-radius: 50%;
}

.vendor-store-initial {
    height: 50px;
    width: 50px;
    max-width: 50px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.vendor-store-name, .order-details-user-full-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.vendor-store-address, .order-details-user-address {
    color: #959595;
}

.vendor-call-button>a, .user-call-button>a {
    color: #ef7822;
    font-size: 15px;
}

.order-details-call-icon {
    margin-right: 5px;
    font-size: 14px;
}

.items-count-payment-method{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
}

.order-items-count {
    color: #111;
    font-weight: bold;
}

.order-details-item-count {
    color: #ef7822;
    margin-right: 5px;
}

.order-payment-method {
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #ef7822;
}

.order-details-product-image img {
    width: 65px;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
}

.order-details-product-name {
    color: #111;
    font-weight: bold;
}

.order-details-product-meta-data {
    margin-top: 5px;
}

.order-details-product-meta-key {
    color: #111;
    margin-right: 5px;
    font-weight: bold;
}

.order-details-product-meta-value {
    color: #757575;
}

.order-items-details {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.product-name-meta-data-quantity {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.order-details-quantity-text {
    color: #111;
}

.order-details-product-quantity {
    color: #ef7822;
}

.additional-notes-container {
    border-bottom: 1px solid #ddd;
    padding: 10px 0 15px;
}

.additional-notes-text {
    font-size: 15px;
    margin-bottom: 10px;
    color: #111;
    font-weight: bold;
}

.order-details-additional-notes {
    padding: 10px;
    border: 1px dashed #c7c7c7;
    border-radius: 8px;
}

.current-order-status-container {
    margin: 35px 0;
}

.current-order-status {
    border: 2px dashed #111;
    color: #111;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.deliveryman-online-offline-status-switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}

.deliveryman-online-offline-status-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.online-offline-status-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #8c9aae;
  transition: .4s;
}

.online-offline-status-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .online-offline-status-slider {
  background-color: #2ab934;
}

input:focus + .online-offline-status-slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .online-offline-status-slider:before {
  transform: translateX(26px);
}

/* Rounded sliders */
.online-offline-status-slider.round {
  border-radius: 34px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.online-offline-status-slider.round:before {
  border-radius: 50%;
}

.woogeolocation-deliveryman-tip-container {
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(140, 152, 164, 0.075);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 0.0625rem solid #f4f4f4;
}

.deliveryman-custom-tip-input {
    cursor: text;
    height: 36px !important;
}

#custom-tip-buttons-container {
    display: flex;
    gap: 10px;
    padding: 0px 12px 12px;
}

#custom-tip-buttons-container .button {
    width: 50%;
    min-height: 38px;
    box-shadow: 0 1px 16px rgba(0,0,0,.05);
    background-color: #fff;
    color: #e46d47;
    border: 1px solid #e9e9eb;
    border-radius: 8px;
}

.woogeolocation-deliveryman-tip-content {
    display: flex;
    gap: 10px;
    padding: 12px;
}

.woogeolocation-deliveryman-auto-tip {
    display: flex;
    gap: 10px;
}

.woogeolocation-deliveryman-custom-tip {
    width: 100%;
}

#custom-tip-buttons-container #apply-custom-tip {
    color: #fff;
    background-color: #e46d47;
}

.woogeolocation-deliveryman-tip-content .button {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 16px rgba(0,0,0,.05);
    border: 1px solid #e9e9eb;
    height: 36px;
    min-height: 36px;
    width: 72px;
    padding: 0;
    text-transform: capitalize;
}

.woogeolocation-deliveryman-auto-tip .selected {
    background-color: #fff1e7;
    font-weight: 600;
    border: 2px solid #e46d47;
}

.woogeolocation-deliveryman-auto-tip .selected:hover {
    background-color: #fff1e7;
}

.woogeolocation-deliveryman-auto-tip .amount {
    color: #e46d47;
}

.woogeolocation-deliveryman-auto-tip .selected .amount {
    color: #e46d47;
}

.woogeolocation-deliveryman-tip-content .deliveryman-auto-tip-button .deliveryman-tip-close {
    margin-left: 5px;
    background-color: #e46d47;
    height: 15px;
    width: 15px;
    line-height: 14px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
}

/* Optional: Hide the close icon until the tip is selected */
.woogeolocation-deliveryman-tip-content .deliveryman-auto-tip-button:not(.selected) .deliveryman-tip-close {
    display: none;
}

.woogeolocation-deliveryman-title-image-container {
    display: flex;
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    justify-content: space-between;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #f5fbff;
}

.woogeolocation-deliveryman-title-description {
    flex: 0 0 80%;
}

.woogeolocation-deliveryman-image-container {
    flex: 1;
}

.woogeolocation-deliveryman-tip-title {
    font-size: 14px;
    color: #111;
    font-weight: 600;
    margin-bottom: 5px;
}

.woogeolocation-deliveryman-tip-description {
    font-size: 12px;
    line-height: 1.4;
    color: #333;
}

.deliveryman-profile-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.deliveryman-name-profile-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.deliveryman-name-online-offline-container {
    flex-grow: 1;
}

.deliveryman-name {
    font-size: 24px;
    color: #333;
    margin-bottom: 8px;
}

.deliveryman-orders-count-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 20px;
}

.order-count-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-count-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-basis: calc(50% - 10px);
    text-align: center;
    font-size: 16px;
    color: #333;
    margin: 5px;
}

.delivered-orders-count, .active-orders-count, .new-order-requests-count {
    font-size: 24px;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 5px;
}

.delivered-orders-count-text, .active-orders-count-text, .new-order-requests-text, .deliveryman-logout-text {
    font-size: 14px;
    color: #7f8c8d;
}

.order-request-title {
    font-size: 16px;
    color: #111;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Styles for order request card */
.order-request-card, .deliveryman-active-order-content {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-request-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.active-order-number {
    color: #111;
    font-weight: bold;
}

.store-info-payment-method-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.active-order-number-payment-mode {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.active-order-payment-mode {
    display: flex;
    align-items: center;
}

.active-order-payment-circle {
    color: red;
    font-size: 8px;
    margin-right: 4px;
}

.store-info-container, .active-order-vendor-info {
    display: flex;
    gap: 10px;
    align-items: center;
}

.store-logo img, .active-order-vendor-logo img {
    height: 50px;
    width: 50px;
    max-width: 50px;
    border-radius: 10px;
}

.store-initial, .active-order-store-initial {
    height: 50px;
    width: 50px;
    max-width: 50px;
    border-radius: 10px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.store-name-address {
    display: flex;
    flex-direction: column;
}

.store-name, .active-order-vendor-store-name {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.store-address, .active-order-vendor-store-address {
    font-size: 13px;
    color: #555;
}

.active-order-button-container {
    margin-top: 20px;
}

.active-order-button-container .active-order-btn-view-details {
    background-color: #fff;
    border: 1px solid #333;
    text-transform: capitalize;
    font-size: 15px;
    color: #333;
    min-height: 38px;
    border-radius: 8px;
}

.payment-method {
    background-color: #ef7822;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    align-self: center;
}

.order-details {
    text-align: center;
    margin-bottom: 10px;
}

.order-details .order-items {
    font-size: 14px;
    color: #111;
    font-weight: 600;
}

.order-details .order-time {
    font-size: 14px;
    color: #ef7822;
    font-weight: 600;
}

.order-details-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.order-details-buttons .reject-order-button, .order-details-buttons .accept-order-button {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.order-details-buttons .reject-order-button {
    background-color: #fff;
    border: 1px solid #333;
    text-transform: capitalize;
    font-size: 15px;
    color: #333;
    width: 50%;
}

.order-details-buttons .accept-order-button {
    background-color: #ef7822;
    text-transform: capitalize;
    font-size: 15px;
    color: #fff;
    width: 50%;
}

/* Mobile */
@media (max-width: 768px) {
    
#swipe-complete-order-btn-background, #swipe-pickup-order-btn-background {
    height: 45px;
}

.swipe-complete-order-btn-text, .swipe-pickup-order-btn-text {
    font-size: 16px;
}

#swipe-complete-order-btn-slider, #swipe-pickup-order-btn-slider {
    height: 55px;
    width: 55px;
}

.order-completed-button-container .order-completed-btn {
    height: 45px;
}

}