.woogeolocation-track-order-page-no-order-found {
    font-size: 16px;
    color: #333;
    display: block;
    text-align: center;
    padding: 10px;
}

.woogeolocation-track-order-page-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(
        180deg,
        rgba(30, 30, 30, 0.72) 0%,
        rgba(30, 30, 30, 0.22) 70%,
        rgba(30, 30, 30, 0.00) 100%
    );
    transition: background 0.3s, box-shadow 0.3s;
    z-index: 10;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    min-height: 58px;
}

.woogeolocation-track-order-page-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10), 0 1.5px 2px rgba(0,0,0,0.06);
}

.woogeolocation-track-order-page-header-sticky .woogeolocation-track-order-page-header-store-name {
    color: #222;
}

.woogeolocation-track-order-page-header-sticky .woogeolocation-track-order-page-header-order-time-items {
    color: #7e7e7e;
}

.woogeolocation-track-order-page-header-left,
.woogeolocation-track-order-page-header-center,
.woogeolocation-track-order-page-header-right {
    display: flex;
    align-items: center;
}

.woogeolocation-track-order-page-header-close-btn,
.woogeolocation-track-order-page-header-menu-btn {
    cursor: pointer;
    height: 38px;
    width: 38px;
    font-size: 18px;
    display: flex;
    color: #333;
    background: #f2f2f2;
    border-radius: 50%;
    transition: background 0.2s;
    align-items: center;
    justify-content: center;
}

.woogeolocation-track-order-page-header-close-btn:hover,
.woogeolocation-track-order-page-header-menu-btn:hover {
    background: #e0e0e0;
}

.woogeolocation-track-order-page-header-store-info {
    text-align: center;
}

.woogeolocation-track-order-page-store-name-wrapper {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.woogeolocation-track-order-page-header-store-name {
    font-size: 17px;
    font-weight: bold;
    line-height: normal;
    color: #fff;
}

.wooglocation-active-order-popup-open-icon i {
    font-size: 11px;
}

.woogeolocation-track-order-page-header-order-time-items {
    display: flex;
    gap: 5px;
    font-size: 13px;
    color: #fbfbfb;
    justify-content: center;
}

.woogeolocation-track-order-page-header-order-time-count-separator i {
    font-size: 5px;
    line-height: 1;
}

.woogeolocation-track-order-map-container.woogeolocation-track-order-map-fullscreen {
    height: 100vh;
    max-height: 100vh;
    transition: height 0.4s cubic-bezier(.4,0,.2,1), max-height 0.4s cubic-bezier(.4,0,.2,1);
}

.woogeolocation-track-order-details-card-container.woogeo-dragging {
    transition: none;
    will-change: transform;
    pointer-events: none;
}

.woogeolocation-track-order-map-container {
    position: relative;
    width: 100%;
    height: 60vh;
    max-height: 60vh;
    transition: max-height 0.4s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#woogeolocation-track-order-map {
    width: 100%;
    height: 100%;
    min-height: 260px;
}

.woogeolocation-track-order-details-card-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    padding: 0 18px 18px;
}

.woogeolocation-track-order-details-card {
    pointer-events: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow:
        0 24px 48px 0 rgba(34,34,34,0.18),
        0 10px 32px 0 rgba(34,34,34,0.23),
        0 2px 8px 0 rgba(0,0,0,0.11);
    max-width: 420px;
    width: 100%;
    padding: 0 18px 10px 18px;
    margin: 0 auto;
    animation: woogeo-order-details-bounce-in 0.7s cubic-bezier(.28,1.25,.6,1.02);
    transition: box-shadow 0.24s;
    font-family: inherit;
}

@keyframes woogeo-order-details-bounce-in {
    0% { transform: translateY(90px) scale(0.95); opacity: 0.4; }
    60% { transform: translateY(-15px) scale(1.04); opacity: 1; }
    80% { transform: translateY(7px) scale(1.01);}
    100% { transform: translateY(0) scale(1);}
}

.woogeolocation-track-order-on-time-row {
    display: flex;
    gap: 6px;
    padding: 8px 0 5px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background: linear-gradient(90deg, #f5faf5 60%, #f5fafd 100%);
    margin: 0 -18px;
    padding-left: 18px;
    padding-right: 18px;
    border-bottom: 1px solid #f2f2f2;
    align-items: center;
}

.woogeolocation-track-order-on-time-icon {
    width: 24px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woogeolocation-track-order-on-time-icon svg {
    width: 24px;
    height: 28px;
}

.woogeolocation-on-time-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #23b26d;
    font-weight: 600;
    line-height: normal;
}

.woogeolocation-track-order-on-time-detail {
    font-size: 13px;
    color: #72777a;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
}

.woogeolocation-track-order-on-time-detail .fa-chevron-right {
    font-size: 13px;
    color: #b5b5b5;
    margin-left: 2px;
}

.woogeolocation-track-order-status-row {
    padding: 12px 0 0;
    position: relative;
}

.woogeolocation-track-order-status-details {
    flex: 1 1 auto;
}

.woogeolocation-track-order-status-title {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-bottom: 7px;
    line-height: 1.25;
}

/* Path visualization */
.woogeolocation-track-order-status-meta-path {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 4px;
}

.woogeolocation-track-order-path-points {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5px;
    margin-right: 2px;
}

.woogeolocation-track-order-path-dot {
    width: 7px;
    height: 7px;
    background: #23b26d;
    border-radius: 50%;
    margin: 1px 0;
    display: block;
}

.woogeolocation-track-order-path-dot:last-child {
    background: #b5b5b5;
}

.woogeolocation-track-order-path-line {
    width: 2px;
    height: 23px;
    background: #e2e2e2;
    margin: 1px 0;
    display: block;
}

.woogeolocation-track-order-path-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.woogeolocation-track-order-store-name {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.woogeolocation-track-order-user-address-wrapper {
    color: #444;
    font-size: 13.5px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
}

.woogeolocation-track-order-user-address-wrapper .fa-location-arrow {
    color: #23b26d;
    font-size: 13px;
    margin-right: 4px;
}

.woogeolocation-track-order-user-address {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woogeolocation-track-order-status-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px;
    right: 0;
}

.woogeolocation-track-order-timer-main {
    background: #23b26d;
    color: #fff;
    border-radius: 13px;
    min-width: 54px;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 2px 12px rgba(34,193,94,0.08);
}

.woogeolocation-track-order-timer-count {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0px;
}

.woogeolocation-track-order-timer-mins {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    margin-top: -2px;
    line-height: 1;
}

.woogeolocation-track-order-add-instruction-row {
    display: flex;
    align-items: center;
    color: #72777a;
    gap: 9px;
    padding: 10px 0 0;
    cursor: pointer;
    border-top: 1px solid #f2f2f2;
    margin-top: 8px;
    transition: color 0.2s;
    justify-content: space-between;
}

.woogeolocation-track-order-add-instruction-row:hover {
    color: #23b26d;
}

.woogeolocation-track-order-add-instruction {
    display: flex;
    align-items: center;
    gap: 5px;
}

.woogeolocation-track-order-add-instruction-row .fa-plus-circle {
    font-size: 18px;
    color: #5a5a5a;
}

.woogeolocation-track-order-call-deliveryman {
    display: flex;
    align-items: center;
}

.woogeolocation-track-order-deliveryman-profile-image {
    height: 35px;
    width: 35px;
    background: #f2f2f2;
    border-radius: 50%;
}

.woogeolocation-track-order-deliveryman-call-icon {
    cursor: pointer;
    height: 35px;
    width: 35px;
    display: flex;
    background: #ffeee4;
    border-radius: 50%;
    transition: background 0.2s;
    align-items: center;
    justify-content: center;
    margin-left: -13px;
}

.woogeolocation-track-order-deliveryman-call-icon i {
    color: #ff6613;
    font-size: 18px;
}

.woogeolocation-floating-track-order-icon {
    position: fixed;
    bottom: 34px;
    right: 28px;
    z-index: 9999;
    background: #fff;
    border-radius: 50%;
    box-shadow:
        0 6px 20px rgba(34, 193, 94, 0.14),
        0 2px 8px rgba(0,0,0,0.10);
    width: 56px;
    height: 56px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(60px) translateX(60px) scale(0.95);
    pointer-events: none;
    transition:
        opacity 0.22s cubic-bezier(.61,1.39,.58,1),
        transform 0.22s cubic-bezier(.61,1.39,.58,1),
        box-shadow 0.2s;
}
.woogeolocation-floating-track-order-icon.show-floating-icon {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
    pointer-events: auto;
}

.woogeolocation-floating-track-order-icon-wrapper {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    overflow: hidden;
    pointer-events: none;
}

.woogeolocation-floating-track-order-tooltip {
    position: absolute;
    bottom: 66px;
    left: 50%;
    transform: translateX(-50%);
    background: #232323;
    color: #fff;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 18px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
    z-index: 10000;
    display: block;
    transition: opacity 0.18s cubic-bezier(.68,-0.55,.27,1.55);
}

.woogeolocation-floating-track-order-tooltip.visible {
    opacity: 1;
    pointer-events: auto;
    animation: woogeolocation-tooltip-pop-in 0.28s cubic-bezier(.4,0,.2,1) both;
}

@keyframes woogeolocation-tooltip-pop-in {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.95);}
    100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1);}
}

.woogeolocation-tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -9px;
    width: 8px;
    height: 3px;
    overflow: hidden;
}
.woogeolocation-tooltip-arrow::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 0;
    width: 8px;
    height: 8px;
    background: #232323;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Floating icon image animation */
.woogeolocation-floating-track-order-icon-content {
    position: absolute;
    top: 50%;
    left: -32px;
    transform: translateY(-50%);
    opacity: 0;
    width: 32px; height: 32px;
}
.woogeolocation-floating-track-order-icon.show-floating-icon .woogeolocation-floating-track-order-icon-content {
    animation: woogeolocation-float-horizontal-full 1.6s linear infinite;
}
@keyframes woogeolocation-float-horizontal-full {
    0%   { left: -32px; opacity: 0; }
    10%  { opacity: 1; }
    20%  { left: 0px; opacity: 1; }
    80%  { left: 24px; opacity: 1; }
    90%  { left: 56px; opacity: 0; }
    100% { left: 56px; opacity: 0; }
}

.woogeolocation-active-order-ids-popup-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background: rgba(0,0,0,0.29);
}
.woogeolocation-active-order-ids-popup-content {
    position: fixed;
    left: 0; right: 0;
    bottom: -100vh;
    background: #fff;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.14);
    padding: 20px 18px;
    max-width: 420px;
    margin: 0 auto;
    min-height: 140px;
    transition: bottom 0.20s cubic-bezier(.77,0,.18,1);
}

.woogeolocation-active-order-ids-popup-modal.show .woogeolocation-active-order-ids-popup-content {
    bottom: 0;
}

.woogeolocation-active-order-ids-popup-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    color: #232323;
}
#woogeolocation-active-order-ids-popup-close-btn {
    position: absolute;
    top: 10px;
    right: 8px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.woogeolocation-active-order-ids-list {
    display: flex; flex-direction: column; gap: 12px;
    margin-top: 10px;
    max-height: 320px; overflow-y: auto;
}
.woogeolocation-active-order-id-item {
    display: flex;
    align-items:center;
    gap: 5px;
    background: #f7f7f7;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}
.woogeolocation-active-order-id-item.selected {
    background: #23b26d13;
}
.woogeolocation-active-order-id-details {
    flex: 1;
}
.woogeolocation-active-order-id-status {
    color: #23b26d;
    font-weight: 600;
    letter-spacing: 0.05rem;
}
.woogeolocation-active-order-id-date-time {
    font-size: 13px; color: #888;
}

.woogeolocation-active-order-id-label-status {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: normal;
}
.woogeolocation-active-order-id-label {
    color: #232323; font-weight: 500;
}

.woogeolocation-active-order-id-separator {
    color: #888;
}

.woogeolocation-active-order-id-separator i {
    font-size: 11px;
}

.woogeo-user-tooltip {
    color: #286efc;
    padding: 4px 14px;
    font-size: 12px;
}
.woogeo-store-tooltip {
    color: #23b26d;
    padding: 4px 12px;
    font-size: 12px;
}

#woogeolocation-track-order-map .gm-style-iw-chr {
    display: none;
}

#woogeolocation-track-order-map .gm-style-iw {
    padding: 0;
}

#woogeolocation-track-order-map .gm-style-iw-d {
    padding: 0;
    overflow: hidden !important;
}

#woogeolocation-track-order-map .gm-style .gm-style-iw-tc {
    width: 17px;
}

#woogeolocation-track-order-map .gm-style .gm-style-iw-tc::after {
    width: 17px;
}

#woogeolocation-track-order-map .gm-style .gm-style-iw-c {
    box-shadow: 0 8px 32px rgba(34, 34, 34, 0.22), 0 1.5px 4px rgba(34, 34, 34, 0.11), 0 0.5px 1px rgba(0,0,0,0.07);
}

.woogeolocation-order-completed-bg {
    background: center center no-repeat;
    background-size: cover;
    min-height: 350px;
    position: relative;
}

.woogeolocation-order-completed-card-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    padding: 0 18px 18px;
}

.woogeolocation-order-completed-card {
    pointer-events: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow:
        0 24px 48px 0 rgba(34,34,34,0.18),
        0 10px 32px 0 rgba(34,34,34,0.23),
        0 2px 8px 0 rgba(0,0,0,0.11);
    max-width: 420px;
    width: 100%;
    padding: 18px 22px 16px;
    margin: 0 auto;
    font-family: inherit;
    animation: woogeo-completed-bounce-in 0.7s cubic-bezier(.28,1.25,.6,1.02);
    transition: box-shadow 0.24s;
}

@keyframes woogeo-completed-bounce-in {
    0% { transform: translateY(90px) scale(0.95); opacity: 0.4; }
    60% { transform: translateY(-15px) scale(1.04); opacity: 1; }
    80% { transform: translateY(7px) scale(1.01);}
    100% { transform: translateY(0) scale(1);}
}

.woogeolocation-order-completed-title-row {
    text-align: center;
    margin-bottom: 10px;
}

.woogeolocation-order-completed-title {
    font-size: 22px;
    font-weight: 700;
    color: #ff6613;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 6px #ffe5d6;
}

.woogeolocation-order-completed-description {
    color: #72777a;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}

.woogeolocation-order-survey-row {
    margin-top: 8px;
    margin-bottom: 4px;
    text-align: center;
}

.woogeolocation-order-delivered-by-name {
    font-size: 15.7px;
    color: #232325;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-top: 6px;
}

.woogeolocation-order-not-delivered-help-row {
    display: flex;
    align-items: center;
    color: #72777a;
    gap: 9px;
    padding: 10px 0 0;
    font-size: 15px;
    cursor: pointer;
    border-top: 1px solid #f2f2f2;
    margin-top: 10px;
    transition: color 0.2s;
    justify-content: space-between;
    min-height: 46px;
}

.woogeolocation-order-not-delivered-help-text {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.woogeolocation-order-not-delivered-call-icon {
    cursor: pointer;
    height: 38px;
    width: 38px;
    display: flex;
    background: #ffeee4;
    border-radius: 50%;
    transition: background 0.2s;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    box-shadow: 0 1.5px 5px rgba(255, 102, 19, 0.09);
}

.woogeolocation-order-not-delivered-call-icon:hover {
    background: #ffd3bb;
}

.woogeolocation-order-not-delivered-call-icon i {
    color: #ff6613;
    font-size: 18.5px;
}

/* Modal Overlay and Content */
.woogeolocation-order-instruction-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.18);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: 'Inter', Arial, sans-serif;
}

.woogeolocation-order-instruction-popup-header {
  padding: 18px 15px 15px;
  text-align: left;
  position: relative;
}

.woogeolocation-order-instruction-popup-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #363546;
  line-height: 1.22;
}

.woogeolocation-order-instruction-popup-subtitle {
  font-size: 1rem;
  color: #949494;
  font-weight: 500;
}

.woogeolocation-order-instruction-popup-body {
  padding: 0 15px;
  flex: 1 1 auto;
  overflow-y: auto;
}

.woogeolocation-order-instruction-popup-footer {
  padding: 18px 15px 24px 15px;
  background: #fff;
  position: sticky;
  bottom: 0;
  z-index: 2;
}

.woogeolocation-order-instruction-popup-content {
  background: #fff;
  width: 100vw;
  max-width: 470px;
  box-shadow: 0 4px 30px rgba(80,85,112,0.18);
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0; /* We'll pad children instead */
  overflow: hidden; /* Clip at corners */
}

.woogeolocation-order-instruction-close-btn {
    position: absolute;
    top: 10px;
    right: 0;
    cursor: pointer;
}

.woogeolocation-order-voice-instruction-popup-row {
    border-bottom: 1px solid #ededed;
    border-top: 1px solid #ededed;
    padding: 15px 0;
}

.woogeolocation-order-instruction-voice-directions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #46464d;
  cursor: pointer;
  font-size: 1rem;
}

.woogeolocation-order-instruction-voice-directions i:first-child {
  color: #ff7d27;
  font-size: 1.25em;
}

.woogeolocation-order-instruction-right-arrow {
  margin-left: auto;
  color: #b1b1bc;
}

.woogeolocation-order-instruction-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.woogeolocation-order-instruction-icon-container {
  min-width: 29px;
  text-align: center;
  font-size: 1.25em;
  color: #9090b0;
  opacity: 0.88;
}

.woogeolocation-order-instruction-option-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.woogeolocation-order-instruction-option-title {
  font-size: 1rem;
  font-weight: 600;
  color: #38384b;
}

.woogeolocation-order-instruction-option-desc {
  font-size: 0.9rem;
  color: #9697a2;
  font-weight: 500;
  margin-top: 0.5px;
}

/* Switch */
.woogeolocation-order-instruction-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.woogeolocation-order-instruction-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.woogeolocation-order-instruction-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #e1e1e5;
  border-radius: 22px;
  transition: background 0.2s;
}

.woogeolocation-order-instruction-switch input:checked + .woogeolocation-order-instruction-slider {
  background-color: #23b26d;
}

.woogeolocation-order-instruction-slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 3px;
  bottom: 2.5px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 5px rgba(90,90,120,0.09);
}

.woogeolocation-order-instruction-switch input:checked + .woogeolocation-order-instruction-slider:before {
  transform: translateX(17px);
}

/* Save button */
.woogeolocation-order-instruction-popup-footer .button {
  width: 100%;
  padding: 15px 0;
  background: #ececf1;
  color: #9b9ba5;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  letter-spacing: .02em;
  transition: background .18s, color .18s;
  cursor: not-allowed;
}

.woogeolocation-order-instruction-save-btn.enabled,
.woogeolocation-order-instruction-save-btn:enabled {
  background: #23b26d;
  color: #fff;
  cursor: pointer;
}

.woogeolocation-order-voice-instruction-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.18);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: 'Inter', Arial, sans-serif;
}

.woogeolocation-order-voice-instruction-popup-content {
    background: #fff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    max-width: 470px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
    position: relative;
    animation: woogeo-voice-popup-in .18s cubic-bezier(.4,0,.2,1);
    text-align: center;
    min-height: 20vh;
}

@keyframes woogeo-voice-popup-in {
  from { transform: translateY(100%);}
  to   { transform: translateY(0);}
}

.woogeolocation-order-voice-instruction-popup-close-btn {
    position: absolute;
    top: 10px;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}
.woogeolocation-order-voice-instruction-popup-close-btn-icon {
  display: block;
}

.woogeolocation-order-voice-instruction-popup-title {
    font-size: 1rem;
    font-weight: 600;
    color: #24242c;
    margin-bottom: 15px;
}
.woogeolocation-order-voice-instruction-recording-title {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #23b26d;
}

.woogeolocation-order-voice-recoding-playback-wrapper {
  margin-top: 10px;
  margin-bottom: 10px;
}

.woogeolcoation-start-stop-recoding-buttons-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.woogeolocation-order-start-voice-recording-btn:active,
.woogeolocation-order-stop-voice-recording-btn:active {
  transform: scale(0.96);
}

.woogeolocation-order-start-voice-recording-btn {
    height: 50px;
    width: 50px;
    background: #E43F5A;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woogeolocation-order-start-voice-recording-btn i {
  font-size: 30px;
  color: #fff;
}
.woogeolocation-order-stop-voice-recording-btn i {
  font-size: 48px;
  color: #6a5acd;
}

/* Pulse animation for stop button while recording */
.woogeolocation-order-stop-voice-recording-btn.pulse {
  position: relative;
  z-index: 1;
}
.woogeolocation-order-stop-voice-recording-btn.pulse::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;  /* Make slightly bigger than button/icon */
  height: 70px;
  border-radius: 50%;
  background: rgba(106, 90, 205, 0.15); /* Soft purple, match your stop color */
  animation: woogeo-pulse 1s infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes woogeo-pulse {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1;}
  70%  { transform: translate(-50%, -50%) scale(1.45); opacity: 0.3;}
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0;}
}

.woogeolocation-order-confirm-voice-recording-btn-container {
  margin-top: 10px;
}
.woogeolocation-order-confirm-voice-recording-btn-container .button {
  display: none;
  width: 100%;
  padding: 11px 0;
  background: #23b26d;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  font-size: 1.04rem;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(35,178,109,0.07);
  transition: background .15s;
}
.woogeolocation-order-confirm-voice-recording-btn:active {
  background: #189356;
}

.woogeolocation-order-recorded-audio-playback-remove-btn,
.woogeolocation-order-voice-recording-playback-remove-btn {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.woogeolocation-order-recorded-audio-playback-remove-btn audio,
.woogeolocation-order-voice-recording-playback-remove-btn audio{
    height: 35px;
    width: 100%;
}

@media (max-width: 600px) {
    .woogeolocation-track-order-page-header {
        padding: 10px 8px;
        min-height: 52px;
    }
    .woogeolocation-track-order-status-title {
        font-size: 17px;
    }
    .woogeolocation-track-order-timer-main {
        min-width: 44px;
        min-height: 44px;
        font-size: 15px;
    }
    .woogeolocation-track-order-timer-count {
        font-size: 20px;
    }
    .woogeolocation-track-order-timer-mins {
        font-size: 11px;
    }
    
    .woogeolocation-order-instruction-popup-content {
        max-width: 100vw;
    }
    
    .woogeolocation-order-voice-instruction-popup-content {
        max-width: 100vw;
    }
}
