/* Order Status Bar - iOS Style Bottom Bar */
.order-status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    padding: 12px 16px 20px 16px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-status-bar.show {
    transform: translateY(0);
}

body.dark-mode .order-status-bar {
    background: rgba(28, 28, 30, 0.95);
    border-top-color: rgba(255, 255, 255, 0.1);
}

.status-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
    gap: 16px;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-id {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-primary, #0a2e5a);
}

body.dark-mode .order-id {
    color: #5AC8FA;
}

.order-status {
    font-size: 13px;
    color: #8e8e93;
    font-weight: 500;
    text-transform: capitalize;
}

body.dark-mode .order-status {
    color: #98989d;
}

.status-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.status-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, #5AC8FA, #4AB8EA);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(90, 200, 250, 0.3);
}

.status-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(90, 200, 250, 0.4);
}

.status-btn:active {
    transform: translateY(0);
}

.status-btn:last-child {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.status-btn:last-child:hover {
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

/* Red Dot Notification Badge */
.red-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    background: #ff3b30;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse-dot 2s infinite;
}

body.dark-mode .red-dot {
    border-color: rgba(28, 28, 30, 0.95);
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .order-status-bar {
        padding-bottom: 24px;
    }

    .status-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .order-id {
        font-size: 15px;
    }

    .order-status {
        font-size: 12px;
    }
}

/* Safe area for iOS devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .order-status-bar {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}