/*
 * FoodiePress - Order Tracker Styles (Improved)
 * Modern order tracking modal without colored status backgrounds
 */

:root {
    --fp-tracker-accent: #e4002b;
    --fp-tracker-accent-hover: #c40812;
    --fp-tracker-bg: #ffffff;
    --fp-tracker-text: #222222;
    --fp-tracker-secondary: #6c757d;
    --fp-tracker-border: #e0e0e0;
    --fp-tracker-success: #10b981;
    --fp-tracker-warning: #f59e0b;
    --fp-tracker-pending: #6366f1;
}

/* Custom Scrollbar - Red Theme */
.fp-order-modal-scroll::-webkit-scrollbar {
    width: 8px;
}

.fp-order-modal-scroll::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.fp-order-modal-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--fp-tracker-accent) 0%, var(--fp-tracker-accent-hover) 100%);
    border-radius: 10px;
}

.fp-order-modal-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--fp-tracker-accent-hover);
}

/* Firefox */
.fp-order-modal-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--fp-tracker-accent) #f5f5f5;
}

/* Overlay with fade-in animation */
.fp-order-tracker-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10003;
    background-color: rgba(0, 0, 0, 0);
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background-color 0.3s ease;
    justify-content: center;
    align-items: flex-end;
    animation: fpFadeIn 0.3s ease;
}

.fp-order-tracker-overlay.open {
    display: flex;
    background-color: rgba(9, 12, 15, 0.7);
}

@keyframes fpFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modal with slide-up animation */
.fp-order-tracker-modal {
    background-color: var(--fp-tracker-bg);
    width: 100%;
    max-width: 100vw;
    height: 85vh;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
}

.fp-order-tracker-modal.is-visible {
    transform: translateY(0);
    animation: fpSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes fpSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0.8;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fp-order-tracker-modal.is-dragging {
    transition: none;
}

/* Drag Handle */
.fp-order-modal-drag-handle {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background-color: #d0d0d0;
    border-radius: 3px;
    z-index: 15;
    cursor: grab;
    transition: background-color 0.2s ease;
}

.fp-order-modal-drag-handle:hover {
    background-color: #b0b0b0;
}

/* Close Button */
.fp-order-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 15;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    font-size: 1.8rem;
    color: #fff;
    transition: all 0.2s ease;
    line-height: 1;
}

.fp-order-modal-close:hover {
    background-color: rgba(228, 0, 43, 0.9);
    transform: rotate(90deg);
}

/* Scroll Area */
.fp-order-modal-scroll {
    flex-grow: 1;
    overflow-y: auto;
    padding: 40px 24px 24px;
}

/* Tracker Header with fade-in animation */
.fp-tracker-header {
    text-align: center;
    padding: 24px 0;
    border-bottom: 2px solid var(--fp-tracker-border);
    margin-bottom: 24px;
    animation: fpFadeInDown 0.5s ease;
}

@keyframes fpFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fp-tracker-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--fp-tracker-text);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fp-tracker-subtitle {
    font-size: 0.95rem;
    color: var(--fp-tracker-secondary);
    margin: 0;
    font-weight: 500;
}

/* Orders List with stagger animation */
.fp-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Order Card - Clickable with animations */
.fp-order-card {
    background: white;
    border: 2px solid var(--fp-tracker-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fpSlideInLeft 0.5s ease;
    animation-fill-mode: both;
}

.fp-order-card:nth-child(1) { animation-delay: 0.1s; }
.fp-order-card:nth-child(2) { animation-delay: 0.2s; }
.fp-order-card:nth-child(3) { animation-delay: 0.3s; }
.fp-order-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fpSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fp-order-card:hover {
    border-color: var(--fp-tracker-accent);
    box-shadow: 0 8px 24px rgba(228, 0, 43, 0.15);
    transform: translateY(-4px) scale(1.01);
}

.fp-order-card:active {
    transform: translateY(-2px) scale(0.99);
}

.fp-order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background: linear-gradient(to bottom, #fafafa, #ffffff);
    border-bottom: 1px solid var(--fp-tracker-border);
}

.fp-order-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fp-order-number-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fp-order-label {
    font-size: 0.9rem;
    color: var(--fp-tracker-secondary);
    font-weight: 600;
}

.fp-order-number {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--fp-tracker-text);
}

.fp-order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
}

.fp-status-icon {
    font-size: 1.1rem;
}

.fp-status-text {
    font-size: 0.9rem;
}

.fp-order-time {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(228, 0, 43, 0.08), rgba(228, 0, 43, 0.12));
    padding: 10px 14px;
    border-radius: 12px;
}

.fp-time-icon {
    font-size: 1.3rem;
    animation: fpTick 1s ease-in-out infinite;
}

@keyframes fpTick {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.fp-time-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fp-order-time .fp-time-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--fp-tracker-accent);
    line-height: 1;
}

.fp-order-time .fp-time-label {
    font-size: 0.75rem;
    color: var(--fp-tracker-secondary);
    line-height: 1;
    font-weight: 600;
}

.fp-order-card-body {
    padding: 18px;
}

.fp-order-items-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fp-preview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.fp-item-qty {
    font-weight: 700;
    color: var(--fp-tracker-accent);
    min-width: 32px;
    background: rgba(228, 0, 43, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
}

.fp-item-name {
    color: var(--fp-tracker-text);
    font-weight: 500;
}

.fp-more-items {
    font-size: 0.85rem;
    color: var(--fp-tracker-secondary);
    font-style: italic;
    margin-left: 40px;
    font-weight: 600;
}

.fp-order-card-footer {
    padding: 14px 18px;
    background: #fafafa;
    border-top: 1px solid var(--fp-tracker-border);
}

.fp-view-details-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--fp-tracker-accent);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.fp-view-details-btn:hover {
    color: var(--fp-tracker-accent-hover);
}

.fp-view-details-btn svg {
    transition: transform 0.3s ease;
}

.fp-view-details-btn:hover svg {
    transform: translateX(6px);
}

/* Status Header - NO COLORED BACKGROUND */
.fp-order-status-header {
    text-align: center;
    padding: 24px 0 32px;
    animation: fpZoomIn 0.5s ease;
}

@keyframes fpZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Status Icon - Simple gray background */
.fp-status-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    animation: fpRotateIn 0.6s ease;
    border: 3px solid #e2e8f0;
}

@keyframes fpRotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

.fp-status-icon svg {
    width: 45px;
    height: 45px;
}

.fp-order-status-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--fp-tracker-text);
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.fp-order-number {
    font-size: 1rem;
    color: var(--fp-tracker-secondary);
    margin: 0;
    font-weight: 600;
}

/* Time Section with pulse animation */
.fp-order-time-section {
    display: flex;
    justify-content: center;
    padding: 28px 0;
    animation: fpFadeIn 0.6s ease 0.2s both;
}

.fp-time-circle {
    position: relative;
    width: 180px;
    height: 180px;
}

.fp-time-progress {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.fp-time-bg {
    fill: none;
    stroke: var(--fp-tracker-border);
    stroke-width: 10;
}

.fp-time-fill {
    fill: none;
    stroke: var(--fp-tracker-accent);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.fp-time-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.fp-time-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--fp-tracker-accent);
    line-height: 1.2;
}

.fp-time-label {
    display: block;
    font-size: 0.9rem;
    color: var(--fp-tracker-secondary);
    margin-top: 6px;
    font-weight: 600;
}

/* Progress Steps - Center aligned icons */
.fp-order-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 28px 0;
    margin: 28px 0;
    position: relative;
}

.fp-order-progress::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(to right, var(--fp-tracker-border), var(--fp-tracker-border));
    z-index: 0;
    border-radius: 2px;
}

.fp-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    animation: fpFadeInUp 0.5s ease both;
}

.fp-progress-step:nth-child(1) { animation-delay: 0.1s; }
.fp-progress-step:nth-child(2) { animation-delay: 0.2s; }
.fp-progress-step:nth-child(3) { animation-delay: 0.3s; }
.fp-progress-step:nth-child(4) { animation-delay: 0.4s; }

@keyframes fpFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fp-step-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--fp-tracker-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fp-progress-step.active .fp-step-icon {
    background: linear-gradient(135deg, var(--fp-tracker-accent), var(--fp-tracker-accent-hover));
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(228, 0, 43, 0.3);
}

.fp-progress-step.current .fp-step-icon {
    animation: fpBounce 1s ease-in-out infinite;
}

@keyframes fpBounce {
    0%, 100% {
        transform: scale(1.15) translateY(0);
    }
    50% {
        transform: scale(1.15) translateY(-6px);
    }
}

.fp-step-label {
    font-size: 0.8rem;
    color: var(--fp-tracker-secondary);
    text-align: center;
    font-weight: 600;
}

.fp-progress-step.active .fp-step-label {
    color: var(--fp-tracker-text);
    font-weight: 700;
}

/* Section Titles */
.fp-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fp-tracker-text);
    margin: 28px 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Order Details Section */
.fp-order-details-section {
    background: linear-gradient(to bottom, #fafafa, #f5f5f5);
    border-radius: 16px;
    padding: 22px;
    margin: 28px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: fpFadeIn 0.5s ease 0.3s both;
}

.fp-order-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fp-order-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    align-items: center;
    background-color: white;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.fp-order-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.fp-item-image {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.fp-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-item-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fp-item-name {
    font-weight: 700;
    color: var(--fp-tracker-text);
    font-size: 1rem;
}

.fp-item-quantity {
    font-size: 0.9rem;
    color: var(--fp-tracker-secondary);
    font-weight: 600;
}

.fp-item-price {
    font-weight: 800;
    color: var(--fp-tracker-accent);
    font-size: 1.1rem;
}

.fp-order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 0;
    margin-top: 18px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.fp-total-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fp-tracker-text);
    text-transform: uppercase;
}

.fp-total-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--fp-tracker-accent);
}

/* Delivery Info */
.fp-delivery-info {
    background: linear-gradient(135deg, rgba(228, 0, 43, 0.05), rgba(228, 0, 43, 0.08));
    border: 2px solid rgba(228, 0, 43, 0.15);
    border-radius: 14px;
    padding: 22px;
    margin: 28px 0;
    animation: fpFadeIn 0.5s ease 0.4s both;
}

.fp-info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 14px 0;
}

.fp-info-icon {
    font-size: 1.3rem;
    line-height: 1.5;
}

.fp-info-text {
    flex: 1;
    color: var(--fp-tracker-text);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Cancellation Notice */
.fp-cancellation-notice {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid #ef4444;
    border-radius: 14px;
    padding: 22px;
    margin: 28px 0;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    animation: fpShake 0.5s ease;
}

@keyframes fpShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.fp-notice-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.fp-notice-content {
    flex: 1;
}

.fp-notice-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #991b1b;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.fp-notice-text {
    font-size: 1rem;
    color: #7f1d1d;
    margin: 0;
    line-height: 1.6;
    font-weight: 600;
}

/* Minimized Bar with slide-in animation */
.fp-order-tracker-minimized {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    background: linear-gradient(135deg, var(--fp-tracker-accent) 0%, var(--fp-tracker-accent-hover) 100%);
    color: white;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0));
    animation: fpSlideInUp 0.5s ease;
}

@keyframes fpSlideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.fp-order-tracker-minimized:hover {
    transform: translateY(-4px);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
}

.fp-mini-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fp-mini-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.fp-mini-pulse {
    position: absolute;
    inset: -6px;
    border: 3px solid white;
    border-radius: 50%;
    animation: fpMiniPulse 2s infinite;
}

@keyframes fpMiniPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.fp-mini-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fp-mini-title {
    font-weight: 800;
    font-size: 1rem;
}

.fp-mini-status,
.fp-mini-time {
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 600;
}

.fp-mini-expand {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.2s ease;
}

.fp-mini-expand:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}

/* Order Details View */
.fp-order-details-view {
    background-color: var(--fp-tracker-bg);
    width: 100%;
    max-width: 100vw;
    height: 85vh;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    animation: fpSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fp-back-to-list {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fp-back-to-list:hover {
    background: rgba(228, 0, 43, 0.9);
    transform: translateX(-4px);
}

.fp-back-to-list svg {
    width: 20px;
    height: 20px;
}

/* Loading with spinner */
.fp-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 24px;
    font-size: 1.1rem;
    color: var(--fp-tracker-secondary);
    font-weight: 600;
}

.fp-loading::before {
    content: '';
    width: 50px;
    height: 50px;
    border: 4px solid var(--fp-tracker-border);
    border-top-color: var(--fp-tracker-accent);
    border-radius: 50%;
    animation: fpSpin 0.8s linear infinite;
    margin-bottom: 20px;
}

@keyframes fpSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Error State */
.fp-error {
    padding: 28px;
    text-align: center;
    color: #ef4444;
    font-weight: 700;
    font-size: 1.1rem;
}

/* No Orders State */
.fp-no-orders {
    text-align: center;
    padding: 80px 28px;
    animation: fpFadeIn 0.5s ease;
}

.fp-no-orders-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.4;
    animation: fpFloat 3s ease-in-out infinite;
}

@keyframes fpFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fp-no-orders h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--fp-tracker-text);
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.fp-no-orders p {
    font-size: 1rem;
    color: var(--fp-tracker-secondary);
    margin: 0;
    font-weight: 500;
}

/* Body scroll lock */
.fp-body-noscroll {
    overflow: hidden;
}

/* Mobile specific */
@media (max-width: 767px) {
    .fp-order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    
    .fp-order-time {
        width: 100%;
        justify-content: space-between;
    }
    
    .fp-progress-step {
        gap: 8px;
    }
    
    .fp-step-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    
    .fp-step-label {
        font-size: 0.7rem;
    }
}

/* Desktop */
@media (min-width: 768px) {
    .fp-order-tracker-overlay {
        align-items: center;
        padding: 40px;
    }
    
    .fp-order-modal-drag-handle {
        display: none;
    }
    
    .fp-order-tracker-modal {
        width: 100%;
        max-width: 680px;
        height: auto;
        max-height: 90vh;
        border-radius: 20px;
        transform: scale(0.9);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .fp-order-tracker-modal.is-visible {
        transform: scale(1);
        opacity: 1;
    }
    
    .fp-order-modal-close {
        background-color: #e8e9ea;
        color: #707070;
    }
    
    .fp-order-modal-close:hover {
        background-color: var(--fp-tracker-accent);
        color: white;
    }
    
    .fp-order-details-view {
        width: 100%;
        max-width: 680px;
        height: auto;
        max-height: 90vh;
        border-radius: 20px;
        margin: auto;
    }
    
    .fp-back-to-list {
        background-color: #e8e9ea;
        color: #707070;
    }
    
    .fp-back-to-list:hover {
        background-color: var(--fp-tracker-accent);
        color: white;
    }
    
    .fp-order-tracker-minimized {
        left: auto;
        right: 28px;
        bottom: 28px;
        width: 360px;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .fp-order-date {
    font-size: 0.82rem;
    color: var(--fp-tracker-secondary);
    margin: 4px 0 0 0;
    font-weight: 500;
    opacity: 0.85;
    }
}