#accountApp {
    min-height: 600px;
}

.account-menu-wrap {
    padding: 24px;
    background-color: black;
    border-radius: 12px;
    height: fit-content;
}

.account-menu-item {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 500;
}


.account-menu-logout {
    margin-top: 32px;
    display: flex;
    width: 100%;
    min-width: 240px;
    height: 48px;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background-color: #97041D;
    transition: all 0.2s;
}

.account-menu-logout:hover {
    background-color: #6e0012;
}

.account-orders-wrap {
    margin-left: 24px;
}

.account-order {
    background-color: black;
    border-radius: 8px;
    padding: 16px;
    width: 640px;
    margin-bottom: 16px;
}

.account-order-price {
    margin-top: 40px;
    color: #97041D;
    font-size: 24px;
    font-weight: 600;
}

.account-order-detail {
    height: 40px;
    width: 144px;
    background-color: #97041D;
    color: white;
    margin-top: auto;
    border: 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.account-order-detail:hover {
    background-color: #6e0012;
}

.account-order-products {
    margin-top: 16px ;
}

.account-cart-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    background-color: black;
    width: 100%;
    border-bottom: 1px solid #737373;
}

.account-cart-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}


.rotated { transform: rotate(90deg); transition: transform 0.3s ease; }
.icon-tabler-chevron-right { transition: transform 0.3s ease; }


.account-order-products {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out, opacity 0.2s ease-out, padding-top 0.2s ease-out;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

.account-order-products.is-open {
    padding-top: 16px;
    max-height: 8000px;
    opacity: 1;
}

@media only screen and (max-width: 1040px) {
    #accountApp {
        width: 94%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .account-orders-wrap {
        width: 100%;
    }
    
    .account-order {
        width: 100%;
    }
}

@media only screen and (max-width: 820px) {
    .account-orders-wrap {
        margin-left: 16px;
    }
    
    .account-menu-logout {
        min-width: 196px;
    }
}

@media only screen and (max-width: 712px) {
    .account-orders-wrap {
        margin-left: 0;
        margin-top: 16px;
    }
    #accountApp {
        flex-direction: column;
        justify-content: start;
    }
}