main {
    position: relative;
    height: 100%;
    width: 100%;
    grid-column: 1 / span 12;
    display: flex;
    flex-direction: column;
}

.main-section {
    display: flex;
    width: 100%;
    justify-content: center;
}

.order-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 15px;
}

.order-container-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-btn-wrapper {
    display: flex;
    gap: 10px;
}

.header-input-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    color: gray;
}

.header-input-wrapper label {
    color: gray;
}

.header-input-wrapper input {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #00000027;
    height: 30px;
}

.order-container-heading h1 {
    font-size: 25px;
    color: dimgray;
}

.order-box-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.order-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 10px;
    color: dimgray;
    border-radius: 20px;
    box-shadow: 0px 0px 5px #00000027;
}

.order-box-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: gray;
}

.order-box-header h2 {
    font-size: 20px;
    color: dimgray;
}

.order-items-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    box-shadow: 0px 0px 5px #00000027;
    padding: 15px;
}

.order-item .img-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-item .img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.order-item-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: gray;
}

.order-item-details .pname {
    color: dimgray;
    font-weight: bold;
}

.pricing-details {
    display: flex;
    gap: 10px;
}

.order-box-more-details {
    width: 100%;
    max-height: 0px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.order-box-more-details.active {
    max-height: 100%;
}

.order-box-more-details h3 {
    font-size: 20px;
    color: dimgray;
}

.more-details-row {
    display: flex;
    align-items: center;
    color: gray;
    font-size: 16px;
}

.more-details-row:last-child {
    padding: 15px 0;
    font-size: 18px;
    font-weight: bold;
    border-top: 1px solid #00000014;
}

.more-details-row .label {
    width: 150px;
    color: dimgray;
}

.order-box-bottom {
    border-top: 1px solid #00000027;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 15px 0;
}

.view-details-btn {
    padding: 10px 15px;
    border-radius: 10px;
    background-color: red;
    color: white;
    border: none;
    font-size: 16px;
}

.order-box-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid;

}

.status-badge.pending {
    color: orange;
    border-color: orange;
}

.status-badge.delivered {
    color: green;
    border-color: green;
}

.status-badge.cancelled {
    color: red;
    border-color: red;
}

.status-badge.returned {
    color: gray;
    border-color: gray;
}

.status-badge.general {
    color: skyblue;
    border-color: skyblue;
}

.order-total {
    font-size: 20px;
    color: dimgray;
    font-weight: bold;
}

/* #################################################################################*/
/*@TABLETS:
/* #################################################################################*/
@media screen and (min-width: 599px) and (max-width: 1029px) {}

/* #################################################################################*/
/*@PC:
/* #################################################################################*/
@media screen and (min-width: 1030px) {
    .order-container {
        width: 80%;
    }

    .order-container-heading h1 {
        font-size: 52px;
    }

    .order-box-bottom {
        align-items: center;
    }

    .order-box-bottom-content {
        flex-direction: row;
        align-items: center;
    }
}