/* =====================================
   VYONIKA TRACK ORDER PAGE
===================================== */

.vy-track-wrapper {
    max-width: 1000px;
    margin: 10px auto;
    padding: 0 10px;
}

/* =====================================
   BACK BUTTON
===================================== */

.vy-back-btn {
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
    text-decoration: none;
    color: #1f6b3b;
    font-size: 14px;
}

/* =====================================
   STATUS MESSAGE
===================================== */

.vy-status-message {
    text-align: center;
    margin-bottom: 30px;
}

.vy-status-message h2 {
    font-size: 28px;
    color: #1f6b3b;
    margin-bottom: 10px;
}

.vy-status-message p {
    font-size: 15px;
    color: #444;
}

/* =====================================
   GREEN SUMMARY CARD
===================================== */

.vy-green-order {
    background: #1f6b3b;
    color: #fff;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.vy-green-order h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #fff;
}

.vy-green-order p {
    margin: 4px 0;
    color: #e6f6ec;
}

.vy-arrival {
    color: #f4d03f;
    font-weight: 600;
}

/* STATUS BADGE */

.vy-status-badge {
    background: #f4d03f;
    color: #000;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
}

/* =====================================
   TIMELINE
===================================== */

.vy-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 50px 0;
}

/* Grey base line */
.vy-timeline::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 5%;
    width: 90%;
    height: 4px;
    background: #e0e0e0;
    z-index: 1;
    border-radius: 10px;
}

/* Green progress fill */
.vy-timeline::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 5%;
    height: 4px;
    background: #1f6b3b;
    z-index: 2;
    border-radius: 10px;
    width: 0;
    animation: progressFill 1s ease forwards;
}

@keyframes progressFill {
    100% {
        width: calc((100% - 10%) * var(--progress));
    }
}

.vy-step {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 3;
}

.vy-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d9d9d9;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.vy-step.active .vy-dot {
    background: #1f6b3b;
}

.vy-step span {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #444;
}

/* =====================================
   ORDER BOX
===================================== */

.vy-box {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.vy-box h4 {
    margin-bottom: 15px;
}

/* ITEMS */

.vy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.vy-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vy-left img {
    width: 70px;
    border-radius: 10px;
}

.vy-left strong {
    font-size: 15px;
}

.vy-price {
    font-weight: 600;
}

/* TOTAL ROWS */

.vy-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.vy-row:last-child {
    font-weight: bold;
    font-size: 18px;
}

/* =====================================
   BOTTOM ACTION BUTTONS
===================================== */

.vy-bottom-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.vy-cancel-btn {
    background: #f8d7da;
    color: #a94442;
    padding: 14px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    flex: 1;
    font-weight: 600;
    transition: 0.3s ease;
}

.vy-cancel-btn:hover {
    opacity: 0.85;
}

.vy-help-btn {
    background: #25D366;
    color: #fff;
    padding: 14px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    flex: 1;
    font-weight: 600;
    transition: 0.3s ease;
}

.vy-help-btn:hover {
    opacity: 0.85;
}

/* =====================================
   TRACK FORM
===================================== */

.vy-track-form {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.vy-track-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.vy-track-form button {
    background: black;
    color: #fff;
    padding: 12px 15px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    margin-top: 20px;
}

/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 768px) {

    .vy-green-order {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .vy-timeline {
        flex-direction: column;
        gap: 25px;
    }

    .vy-timeline::before,
    .vy-timeline::after {
        display: none;
    }

    .vy-step {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .vy-dot {
        margin: 0;
    }

    .vy-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .vy-bottom-actions {
        flex-direction: column;
    }
}