*,
*::before,
*::after {
    box-sizing: border-box;
}

.account-menu,
.order-card,
.no-orders {
    font-family: inherit;
}

.account-menu {
    background: #fff;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.account-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.account-menu ul li {
    flex: 1;
    min-width: 150px;
}

.account-menu ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-right: 1px solid #eee;
    transition: all 0.3s ease;
}

.account-menu ul li:last-child a {
    border-right: 0;
}

.account-menu ul li a:hover,
.account-menu ul li.active a {
    background: #222;
    color: #fff;
}

.no-orders {
    text-align: center;
    background: #fff;
    padding: 60px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
}

.no-orders i {
    display: block;
    font-size: 55px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.no-orders h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.no-orders p {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 14px;
}

.order-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.page-item .page-link {
    position: relative;
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-item .page-link:hover {
    color: #ea580c;
    background: #ffedd5;
    border-color: #fed7aa;
}

.page-item.active .page-link {
    color: #fff;
    background: #0f172a;
    border-color: #0f172a;
}

.page-item.disabled .page-link {
    color: #94a3b8;
    pointer-events: none;
    background: #f8fafc;
    border-color: #e2e8f0;
}

@media (max-width: 767px) {
    .ordermenu {
        display: none;
    }
    .account-menu ul {
        display: block;
    }
    .account-menu ul li {
        min-width: 100%;
    }
    .account-menu ul li a {
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid #eee;
    }
    .account-menu ul li:last-child a {
        border-bottom: 0;
    }
    .no-orders {
        padding: 45px 15px;
    }
    .no-orders i {
        font-size: 45px;
    }
}

#ordersList {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.order-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.order-header-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 11px;
    border-bottom: 1px solid #f1f5f9;
}

.order-id {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    color: #0f172a;
}

.order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

.delivered-status {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    color: #059669;
}

.delivered-status i {
    font-size: 11px;
    color: #10b981;
}

.pending-status {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
}

.status-dot {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
}

.status-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fbbf24;
    opacity: 0.75;
    animation: orderPing 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-dot-inner {
    position: relative;
    width: 8px;
    height: 8px;
    background: #f59e0b;
}

@keyframes orderPing {
    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.order-items-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}

.order-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 9px;
    color: #ea580c;
    font-size: 17px;
}

.order-items {
    flex: 1;
    min-width: 0;
}

.order-items ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-items li {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 5px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.order-items li:last-child {
    margin-bottom: 0;
}

.item-qty {
    color: #0f172a;
    white-space: nowrap;
}

.order-separator {
    display: block;
    width: 100%;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #f1f5f9;
}

.order-bottom-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 12px;
}

.order-total {
    color: #334155;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 13px;
    background: #0f172a;
    color: #fff !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

.details-btn:hover {
    background: #ea580c;
    color: #fff !important;
}

.details-btn i {
    font-size: 10px;
}

@media (max-width: 767px) {
    .order-card {
        padding: 14px 12px;
        border-radius: 12px;
    }
    .order-header-row {
        gap: 10px;
        padding-bottom: 10px;
    }
    .order-id {
        font-size: 14px;
        line-height: 20px;
    }
    .order-status {
        padding: 6px 9px;
        font-size: 11px;
    }
    .order-items-row {
        gap: 15px;
        padding: 15px 0;
    }
    .order-icon {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .order-items li {
        font-size: 14px;
        line-height: 20px;
    }
    .order-bottom-row {
        padding-top: 11px;
    }
    .order-total {
        font-size: 14px;
        line-height: 20px;
    }
    .details-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .order-card {
        padding: 12px 10px;
    }
    .order-header-row {
        align-items: flex-start;
    }
    .order-id {
        font-size: 13px;
    }
    .order-status {
        padding: 5px 7px;
    }
    .order-items-row {
        gap: 10px;
    }
    .order-items li {
        font-size: 12px;
    }
    .order-total {
        font-size: 13px;
    }
    .details-btn {
        padding: 5px 9px;
        font-size: 11px;
    }
}

.order-pagination-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    padding: 0;
}

.order-pagination-wrapper nav {
    width: auto;
    margin: 0;
    padding: 0;
}

.order-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-pagination-item {
    display: flex;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.order-pagination-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.order-pagination-link:hover {
    color: #ea580c;
    background: #fff7ed;
    border-color: #fed7aa;
    text-decoration: none;
}

.order-pagination-item.active .order-pagination-link,
.order-pagination-link.current {
    color: #ffffff;
    background: #0f172a;
    border-color: #0f172a;
}

.order-pagination-item.active .order-pagination-link:hover,
.order-pagination-link.current:hover {
    color: #ffffff;
    background: #0f172a;
    border-color: #0f172a;
}

.order-pagination-link i {
    font-size: 12px;
    line-height: 1;
}

@media (max-width: 767px) {
    .order-pagination-wrapper {
        margin-top: 20px;
        padding: 0;
    }
    .order-pagination {
        gap: 4px;
        flex-wrap: nowrap;
    }
    .order-pagination-link {
        width: 34px;
        height: 34px;
        min-width: 34px;
        padding: 0 8px;
        font-size: 13px;
    }
    .order-pagination-link i {
        font-size: 11px;
    }
}