﻿.mb-wrapper {
    width: 100%;
    font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

.mb-head {
    background-color: #0095da;
    width: 100%;
    padding: 24px 80px;
    color: #ffffff;
}

    .mb-head h2 {
        font-size: 32px;
        font-weight: 500;
        margin: 0;
    }

    .mb-head p {
        font-size: 15px;
        font-weight: 400;
        margin: 4px 0 0;
        opacity: 0.9;
    }

.mb-tabbar {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.mb-tab-btn {
    flex: 1;
    padding: 14px 0;
    border: none;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    color: #6b7280;
    border-bottom: 3px solid transparent;
}

    .mb-tab-btn h4 {
        margin: 0;
        font-size: 15px;
        font-weight: 500;
    }

    .mb-tab-btn p {
        margin: 0;
        font-size: 12px;
    }

.mb-tab-active {
    color: #0095da;
    border-bottom: 3px solid #0095da;
    background-color: #eaf6fd;
}

.mb-list {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mb-empty {
    text-align: center;
    color: #9ca3af;
    padding: 40px 0;
}

.mb-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.mb-card-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
}

.mb-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mb-id {
    background-color: #0095da;
    color: #ffffff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
}

.mb-status {
    background-color: #e6f9ee;
    color: #16a34a;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.mb-route {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.mb-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

    .mb-time img {
        width: 14px;
        height: 14px;
        margin-left: 2.5px;
    }

.mb-seats {
    font-size: 13px;
    color: #6b7280;
    margin-left: 2.5px;
}

.mb-card-mid {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    min-width: 180px;
    flex-direction: column;
    align-self: center;
}

.date {
    display: flex;
    align-items: center;
    gap: 5px
}

    .date img {
        width: 17px;
        height: 17px;
    }

.mb-bustype {
    color: #6b7280;
}

.mb-card-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mb-price {
    font-size: 16px;
    font-weight: 700;
    color: #0095da;
}

.mb-download {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #0066B3;
    color: #ffffff;
    border: none;
    padding: 6px 22px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    width: 130px;
    height: 34px;
}

    .mb-download:hover {
        background-color: #005291;
        transition: 0.3s ease;
    }

.mb-cancel {
    background-color: #ffffff;
    color: #dc2626;
    border: 1px solid #dc2626;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    width: 130px;
    height: 34px;
    align-items: center;
}

    .mb-cancel:hover {
        background-color: #dc2626;
        color: white;
        transition-duration: 0.35s;
    }


.mb-status-confirmed {
    background-color: #e6f9ee;
    color: #16a34a;
}

.mb-status-completed-grey {
    background-color: #f3f4f6;
    color: #6b7280;
}

.mb-status-completed-red {
    background-color: #fee2e2;
    color: #dc2626;
}

.mb-status-refund {
    background-color: #e6f9ee;
    color: #16a34a;
}

.mb-refund-amount {
    font-size: 13px;
    color: #16a34a;
    font-weight: 500;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .mb-head {
        padding: 20px 24px;
    }

        .mb-head h2 {
            font-size: 24px;
        }

    .mb-list {
        padding: 16px 20px;
    }

    .mb-card {
        flex-direction: column;
        align-items: stretch;
    }

    .mb-card-mid {
        align-items: flex-start;
    }

    .mb-download,
    .mb-cancel {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mb-tab-btn h4 {
        font-size: 13px;
    }

    .mb-tab-btn p {
        font-size: 11px;
    }
}
