.w150{
    font-weight: 600;
}
.w100{
    width: 80px;
}
.ppurdet{
    width: 120px;
}
.pstate{
    font-weight: 600;
}
.adate{
    margin-top: 20px;
    font-size: 10px;
}
.order-id{
    font-weight: 600;
}
.cate{
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 5px;
}
.archivecontainer{
    padding: 0 15px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    margin-bottom: 30px;

}
.archivebox{
    padding: 30px 15px;
    border-radius: 30px ;
    background-color: rgba(255, 255, 255, 0.345);
}
.archiveboxx{
    background-color: #f5f5f5;
    border-radius: 30px ;
    padding: 40px 15px 100px 15px;
    position: relative;
}
.ar{
    height: calc(100vh - 515px);
    height: calc(100svh - 460px);
    display: flex;
    justify-content: center;
    align-items: center ;
}
.pnoarchive{
    padding: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    -moz-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);  
    outline: 1px solid transparent;
}
#noarchive{
     display: none;
     justify-content: center;
     align-items: center;
     height: calc(100vh - 515px);
     height: calc(100svh - 460px);
 }
 #archivesinfo{
    display: flex;
    justify-content: flex-end;
 }
 .archivesminiinfo{
    position: relative;
    margin-bottom: 90px;

}

 .acount{
    min-width: 50px;
    min-height: 50px;
    border: none;
    border-radius: 50%;
    background-color: #ffffff;
    -moz-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);  
    outline: 1px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
 }
 .rearchivecontainer{
    position: absolute;
    top: 5px;
    left: -45px;
 }
 .rearchive{
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background-color: #ffffff;
    -moz-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);  
    outline: 1px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
 }
 .rearchive.ani{
    animation: spin 1s linear infinite;
 }
 @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
.rearchive img{
    height: 17px;
}
#rearchivefilter{
    display: none;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 50%;
    background-color: #ffffffa4;
    position: absolute;
    top: 0;
    z-index: 2;
}
.pacount{
    min-width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    background-color: #d8c490;
    -moz-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);  
    outline: 1px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -30px;
    left: -30px;
}
.racount{
    min-width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    background-color: #579e54;
    -moz-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);  
    outline: 1px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -50px;
    left: 15px;
}

 #archives{
    display: none;
    flex-direction: column-reverse;
}

.archive{
    width: 100%;
    padding: 50px 5px 50px 15px;
    background-color: #ffffff;
    border-radius: 10px;
    -moz-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);  
    outline: 1px solid transparent;
    cursor:zoom-in;
    margin-bottom: 30px;
    position: relative;
}
.archivecount{
    position: absolute;
    top: 15px;
    right: 15px;
    min-width: 50px;
    min-height: 50px;
    border: none;
    border-radius: 50%;
    background-color: #ffffff;
    -moz-box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1); 
    box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1); 
    outline: 1px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}
.archive-header{
    display: flex;
}
.order-id{
    margin-right: 30px;
}
.archive-header.open{
    max-height: 34px;
    margin-bottom: 40px;
}
.archive-purchases{
    max-height: 0;
    overflow: hidden;
    padding-right: 20px;
}
.archive-purchases.open{
    max-height: 500px;
    overflow-y: auto;
}

.purchase{
    width: 100%;
    padding: 30px 15px 15px 15px;
    background-color: #ffffff;
    border-radius: 10px;
    -moz-box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1); 
    box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1); 
    outline: 1px solid transparent;
    cursor: pointer;
    margin: 0 0 40px 5px;
}
.purchase:first-child{
    margin-top: 10px;
}
.purchasemini{
    display: flex;
    justify-content: space-between;
}
.mobpurchasedetails{
    background-color: #ffffff;
    border-radius: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease, padding 1s ease;
    padding: 0 30px;
    margin-top: 30px;
}
.mobpurchasedetails.open{
    -moz-box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1); 
    box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1);  
    outline: 1px solid transparent;
    max-height: 180px;
    padding: 30px 15px;
    transition: max-height 3s ease, padding 0.3s ease;
}
.purdet{
    margin-bottom: 30px;
    display: flex;
}
.purdet:last-child{
    margin-bottom: 0;
}
.purchase2{
    margin-left: 20px ;
}
.purchase21{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.purchase22{
    display: flex;
}
.hb{
    display: flex;
    width: 2px;
    height: 50px;
}
.state{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 50px;
}
.statecontainer{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    margin-top: 5px;
}
.statecontainer img{
    height: 10px;
    margin-right: 5px;
}



@media (max-width : 549px){
    .ppurdet{
        width: 80px;
    }
    .mobpurchasedetails.open{
        padding: 30px 15px;
    }
    .w150{
         width: 100px;
    }
    .cate{
        width: 140px;
    }
    .w100{
        width: 70px;
    }
    .state{
        margin-left: 10px;
    }
    .archive-purchases{
        padding-right: 10px;
    }
    .purchase{
        padding: 30px 10px 15px 10px;
    }
    .purchase2{
        margin-left: 0;
    }
    .archivecount{
        position: absolute;
        top: 10px;
        right: 10px;
        min-width: 30px;
        min-height: 30px;
    }
}

@media (max-width : 400px){
    .purchase p{
        font-size: 11px;
    }
    .purp{
        font-size: 10px;
    }
    .ppurdet{
        width: 70px;
    }
    .mobpurchasedetails.open{
        padding: 30px 15px;
    }
    .w150{
         width: 100px;
    }
    .cate{
        width: 140px;
    }
    .w100{
        width: 70px;
    }
    .state{
        margin-left: 10px;
    }
    .archive-purchases{
        padding-right: 10px;
    }
    .purchase{
        padding: 30px 10px 15px 10px;
    }
    .purchase2{
        margin-left: 0;
    }
}

@media (max-width : 1023px){
    .purchasedetails{
        display: none;
    }
}

@media (min-width : 1024px){
    .w150{
        width: 150px;
    }
    .w100{
        width: 100px;
    }
    .purchase{
        padding-bottom: 30px;
    }
    .purchase1{
        display: flex;
    }
    .mobpurchasedetails{
        display: none;
    }
    .purchasedetails{
        background-color: #ffffff;
        border-radius: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 1s ease, padding 1s ease;
        padding: 0 30px;
        margin-left: 40px;
    }
    .purchasedetails.open{
        -moz-box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1); 
        box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.1);  
        outline: 1px solid transparent;
        min-width: 500px;
        max-height: 180px;
        padding: 30px 15px;
        transition: max-height 3s ease, padding 0.3s ease;
    }
}

@media (min-width : 1200px){
    .purchasecontainer{
        padding: 0 50px;
    }
    .archivebox{
        padding: 50px;
        border-radius: 30px ;
        background-color: rgba(255, 255, 255, 0.345);
    }
    .archiveboxx{
        padding: 50px;
    }
    #noarchive{
        min-height: calc(100vh - 430px);
        min-height: calc(100dvh - 430px);
    }
    .archive{
        padding: 50px 5px 50px 25px;
    }
}
