/* -----------Account----------- */
.account-container{
    margin: 0 0 0 0;
    width: 100%;
    height: 100%;
    position: relative;
    background-color: whitesmoke;
}
.account-body{
    text-align: center;
    display: flex;
    justify-content: center;    
    flex-wrap: wrap;
    padding: 0 5px 0 5px;
    display: flex;
    width: 100%;  
}
/* ===================EDIT PROFILE==================== */

.edit-profile{
    margin-top: 20px;
    animation: edit-profile 0.2s linear;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1111;
}
.edit-profile-body{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 10px;
    background-color: white;
    width: 350px;
    border-radius: 10px;
    border: 1px solid orangered;
}
.edit-profile-body img{
    width: 70%;
    height: 65%;
    border-radius: 50%;
    border: 1px solid orangered;
}
.close-edit-profile{
    position: absolute;
}
.edit-profile input{
    margin: 10px;
    border-radius: 5px;
    border: none;
    width: 83%;
    height: 30px;
    padding: 5px;
    /* box-shadow: 2px 2px 5px rgba(242, 109, 0, 0.5); */
    
}
.edit-profile input:focus{
    outline: none;
}
.update-address{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    
}
.update-address textarea{
    width: 83%;
    height: 50px;
    resize: none;
    border: none;
    border-radius: 5px;
    margin: 10px;
    padding: 5px;
    /* box-shadow: 2px 2px 5px rgba(242, 109, 0, 0.5); */
}
.update-address textarea:focus{
    outline: none;
}

.name-profile{
    display: flex;
    justify-content: center;
}
.name-profile input{
    width: 40%;
    margin: 5px;
}
.button-edit-profile-body{
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}
.button-edit-profile-body button{
    margin: 10px;
    width: 35%;
    height: 30px;
    border: none;
    background-color: orangered;
    color: white;
    border-radius: 8px;
}
.button-edit-profile-body button:hover{
    opacity: 0.8;
}
.button-edit-profile-body button:active{
    border: none;
    outline: none;
    opacity: 0.5;
}
.button-edit-profile-body button:focus{
    outline: none;
}
@keyframes edit-profile {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
/* ===================PROFILE================== */
.buyer-profile-body{
    border-radius: 10px;    
    width: 450px;
    margin: 10px 10px;
}

.title-profile{
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 10px 10px;    
    border-radius: 10px 10px 10px 10px;
    background-color: white;
    /* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); */
    position: relative;
    color: white;
}
.curved-background__curved {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    
    /* Background color */
    background-color: orangered;

    /* You can use gradient background color such as */
    /* background: linear-gradient(rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%); */

    /* Curved corners */
    border-bottom-left-radius: 80% 40%;
    border-bottom-right-radius: 80% 40%;

    /* Size */
    height: 95%;
    width: 100%;
}


.title-profile img{
    width: 25%;
    height: 20%;
    border: 2px solid white;
    border-radius: 50%;
    
    z-index: 1;
}

.profile-balance{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.my-balance{
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.my-balance h5,h4{
    padding: 0;
    margin: 0;
}

.title-transaction{
    width: 100%;
    text-align: center;
}
.profile-data{
    position: relative;
    width: 230px;

    display: flex;
    justify-content: center;
    text-align: center;
    align-items: start;
    flex-direction: column;
    padding: 10px;
    margin: 0;
}
.profile-data h3{
    padding: 0;
    margin: 0;
}
.profile-description{
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px 15px;
    border-radius: 10px 10px 10px 10px;
    background-color: white;
    /* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); */
    margin-top: 12px;
}
.profile-description a{
    width: 54px;
    height: 54px;
    display: flex;    
    flex-direction: column;
    margin: 10px 15px 30px 15px;
    text-decoration: none;
}
.profile-description a:hover{
    opacity: 0.8;
    text-decoration: none;
}
.profile-description a:active{
    opacity: 0.5;
    text-decoration: none;
}
.profile-description a:focus{
    text-decoration: none;
}
.profile-description i{
    font-size: 35px;
    color: purple;
    margin-bottom: 5px;
}
.profile-description p{
    padding: 0;
    margin: 0;
    color: black;
    font-size:12px ;
}
.logout-button{
    width: 120px;
    height: 30px;
    border: none;
    border-radius: 5px;
    background-color: orangered;
    /* box-shadow: 3px 3px 5px rgba(153, 108, 73, 0.5); */
    color: white;
    margin: 10px auto;
}
.logout-button:hover{
    opacity: 0.8;
}
.logout-button:active{
    opacity: 0.5;
}
.logout-button:focus{
    outline: none;
    border: none;
}

/* ===========TRANSACTION LIST=========== */
.buyer-transaction-body{
    width: 450px;
    background-color: white;
    margin: 10px 0 0 0;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    /* box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); */
}
.buyer-transaction-body a{
    text-decoration: none;
    color: black;
}
.buyer-transaction-body a:hover{
    text-decoration: none;
    color: black;    
}
.buyer-transaction-body a:active{
    text-decoration: none;
    color: black;    
}

.transaction-card-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;    
}
.transaction-card{
    margin: 10px 0;
    width: 95%;
    height: 200px;
    background-color: white;
    position: relative;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}
.transaction-card hr{
    margin: 0;
    padding: 0 2px;
    border-color: white;

}
.trans-card-header{
    width: 100%;
    height: 20%;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}
.trans-head-left{
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.trans-logo{
    color: orangered;
    margin: 0;
    padding: 0;
}
.trans-left-desc h4{
    font-size: 13px;
    margin: 0 5px;
    padding: 0;
}
.trans-left-desc h5{
    font-size: 10px;
    margin: 0 5px;
    padding: 0;
}

.trans-card-body{
    width: 100%;
    height: 60% ;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.trans-body-desc{
    width: 100%;
    padding: 10px;
    display: flex;
}
.trans-body-desc img{
    width: 60px;
    height: 55px;
}
.trans-body-product-desc{
    padding: 0 0 0 10px;
    text-align: start;
}
.trans-body-product-desc p{
    font-size: 15px;
    font-weight: bold;
}
.trans-body-desc h4{
    margin: 0;
    padding: 0;
}
.trans-body-desc h5{
    margin: 0;
    padding: 0;
}

.trans-total-item-info{
    width: 100%;
    display: flex;
    justify-content: start;
    padding: 0 10px;
}

.trans-card-footer{
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}
.trans-footer-left{
    display: inline-block;
}
.trans-footer-left h4{
    margin: 0;
    padding: 0;
}
.trans-footer-left h5{
    margin: 0;
    padding: 0;
    font-size: 10px;
}
.transaction-history-button{
    width: 80px;
    height: 28px;
    border: none;
    border-radius: 5px;
    background-color: orangered;
    /* box-shadow: 3px 3px 5px rgba(153, 108, 73, 0.5); */
    color: white;
}
.transaction-history-button:hover{
    opacity: 0.8;
}
.transaction-history-button:active{
    opacity: 0.5;
}
.transaction-history-button:focus{
    outline: none;
    border: none;
}
.menu-button-transaction-history i{
    color: orangered;
}

/* ==================TRANSACTION DETAIL=================== */
@media (min-width: 1025px) {
    .h-custom {
    height: 100vh !important;
    }
}

.number-input input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.number-input input[type=number]::-webkit-inner-spin-button,
.number-input input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.number-input button {
    /* -webkit-appearance: none; */
    background-color: transparent;
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.number-input button:before,
.number-input button:after {
    display: inline-block;
    position: absolute;
    content: '';
    height: 2px;
    transform: translate(-50%, -50%);
}

.number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
    text-align: center;
}

.number-input.number-input {
    border: 1px solid #ced4da;
    width: 10rem;
    border-radius: .25rem;
}

.number-input.number-input button {
    width: 2.6rem;
    height: .7rem;
}

.number-input.number-input button.minus {
    padding-left: 10px;
}

.number-input.number-input button:before,
.number-input.number-input button:after {
    width: .7rem;
    background-color: #495057;
}

.number-input.number-input input[type=number] {
    max-width: 4rem;
    padding: .5rem;
    border: 1px solid #ced4da;
    border-width: 0 1px;
    font-size: 1rem;
    height: 2rem;
    color: #495057;
}

@media not all and (min-resolution:.001dpcm) {
@supports (-webkit-appearance: none) and (stroke-color:transparent) {

.number-input.def-number-input.safari_only button:before,
    .number-input.def-number-input.safari_only button:after {
        margin-top: -.3rem;
    }
    }
}

.shopping-cart .def-number-input.number-input {
    border: none;
}

.shopping-cart .def-number-input.number-input input[type=number] {
    max-width: 2rem;
    border: none;
}

.shopping-cart .def-number-input.number-input input[type=number].black-text,
.shopping-cart .def-number-input.number-input input.btn.btn-link[type=number],
.shopping-cart .def-number-input.number-input input.md-toast-close-button[type=number]:hover,
.shopping-cart .def-number-input.number-input input.md-toast-close-button[type=number]:focus {
    color: #212529 !important;
}

.shopping-cart .def-number-input.number-input button {
    width: 1rem;
}

.shopping-cart .def-number-input.number-input button:before,
.shopping-cart .def-number-input.number-input button:after {
    width: .5rem;
}

.shopping-cart .def-number-input.number-input button.minus:before,
.shopping-cart .def-number-input.number-input button.minus:after {
    background-color: #9e9e9e;
}

.shopping-cart .def-number-input.number-input button.plus:before,
.shopping-cart .def-number-input.number-input button.plus:after {
    background-color: #4285f4;
}

.order-body-account{
    width: 450px;
    height: auto;
    padding-bottom: 70px;
}
.order-page-body{
    display: inline-block;
    width: 80%;
    height: auto;
}

.order-detail-desc-prod{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0 10px;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    height: auto;
}

/* Desktop styles */
@media only screen and (min-width: 992px) {
    /* Add desktop-specific styles here */
    .buyer-transaction-body{
        width: 100%;
        background-color: white;
        margin: 10px 0 0 0;
        display: inline-block;
        text-align: center;
        border-radius: 10px;
        /* box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); */
    }
   
}

/* Tablet styles */
@media only screen and (min-width: 768px) and (max-width: 1100px) {

}

/* Mobile styles */
@media only screen and (max-width: 767px) {
    .buyer-profile-body{
        border-radius: 10px;    
        width: 99%;
        margin: 10px 0;
    }
    .profile-description a{
        width: 15%;
        height: 45px;
        display: flex;    
        flex-direction: column;
        margin: 10px 15px 30px 15px;
        text-decoration: none;
    }
    .buyer-transaction-body{
        width: 99%;
        background-color: white;
        margin: 10px 0;
        display: inline-block;
        text-align: center;
        border-radius: 10px;
        /* box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); */
    }
    .order-page-body{
        width: 99%;
        height: auto;
    }
}