.modern-order-box {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin: 12px 0;
    box-shadow: 0 2px 14px 9px rgba(0, 0, 0, 0.08);
    font-family: Arial, sans-serif;
    text-align: center;
}
.modern-order-box h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}
.order-details-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    color: #555;
    font-size: 14px;
}
.order-details-summary span {
    margin: 2px 0;
}
.order-details-summary .order-amount {
    font-weight: bold;
}
.modern-order-box p {
    font-size: 13px;
    color: #555;
    margin: 5px 0;
}
.order-progress {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    position: relative;
}
.order-progress::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    height: 3px;
    background: #f7d9d9;
}
.order-progress .step {
    text-align: center;
    z-index: 1;
    flex: 1;
}
.order-progress .step span {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background: #7d5314;
    color: #888;
    margin-bottom: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.order-progress .step.active span {
    background: #900031;
    color: #fff;
}
.order-progress .step.active:last-child span {
    background: #4caf50; /* Green for the delivered step */
    color: #fff;
}
.order-progress .step p {
    font-size: 12px;
    color: #888;
    margin: 0;
}
.order-details-btn {
    display: block;
    text-align: center;
    background: #fff;
    color: #e91e63;
    border: 2px solid #e91e63;
    padding: 6px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}
