/* custom icon badge is added in php file if user is logged in*/
#user-account-icon,
#user-account-icon-mobile{
    cursor: pointer;
}

#user-account-icon.logged-in:before,
#user-account-icon-mobile.logged-in:before {
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    color: #fff;
    background-color: #1ccd46;
    text-align: center;
    font-weight: 500;
    line-height: 15px;
    position: absolute;
    right: -6px;
    bottom: 22px;
    content: '✓';
    z-index: 99;
    font-size: 10px;
}

.custom-sidebar-header{
    display: block;
    width: 100%;
    background-color: #EAE6DA;
    border-bottom: #E0DDD9 1px solid;
    box-sizing: border-box;
    padding: 15px;
}

img.close-sidebar-btn{
    display: inline;
    float: right;
    width: 20px;
    max-width: 20px;
    height: 20px;
    max-height: 20px;
    cursor: pointer;
}

img.user-profile-icon{
    display: inline;
    float: left;
    width: 20px;
    max-width: 20px;
    height: 20px;
    max-height: 20px;
}

h2.custom-sidebar-heading{
    display: inline;
    font-size: 14px;
    line-height: 20px;
    margin: 2px 0px 2px 10px;
}

.custom-my-account-overlay {
    background-color: transparent;
    transform: scale(0);
    transition: background-color 0.4s, transform 0s 0.4s;
}

.custom-my-account-overlay.open {
    transform: scale(1);
    overflow: hidden;
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    transition: background-color 0.4s, transform 0s;
    text-align: left;
}

.custom-my-account{
    position: fixed;
    z-index: 9999;
    left: auto;
    right: 0;
    top: 0px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    font-size: 14px;
    min-height: 200px;
    width: 350px;
    max-width: 100%;
    transition: .3s;
    background-color: #F3EFE3;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
    border-style: none;
    border-color: initial;
    border-radius: 0;
    margin-top: 0; 
    padding: 0px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
    font-family: "Montserrat", Sans-serif !important;
}

.custom-my-account.open{
    opacity: 1;
    transform: translateX(0);
}

.woo-login-sidebar{
    display: block;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding: 30px 15px;
}

#woo-user-name,
#woo-user-pass{
    display: block;
    width: 100%;
    border-radius: 3px;
    border: 2px #E0DDD9 solid;
    margin-bottom:20px;
    font-size: 14px;
}

#woo-user-name.error,
#woo-user-pass.error{
    border: 2px #dd360c solid;
}

#woo-user-login-btn{
    display: block;
    width: 100%;
    background-color: #5C5C53;
    border: 2px #5C5C53 solid;
    border-radius: 5px;
    color: #FFFEF9;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
}
#woo-user-login-btn:hover {
  border: 2px #9b9b8b solid;
  background-color: #9b9b8b;
}

#woo-user-register-btn{
    display: block;
    width: 100%;
    border: 2px #5C5C53 solid;
    background-color: transparent;
    border-radius: 5px;
    color: #5C5C53;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
}
#woo-user-register-btn:hover {
  border: 2px #9b9b8b solid;
  color: #9b9b8b;
}

p.woo-user-label{
    display: block;
    width: 100%;
    text-align: left;
    margin-top: 20px;
    font-weight: 600;
    font-size: 14px;
}

.user-profile-btn,
.user-orders-btn{
    display: block;
    width: 100%;
    border: 2px #9b9b8b solid;
    background-color: transparent;
    border-radius: 5px;
    color: #9b9b8b;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
    margin-top: 20px;
}
.user-logout-btn{
    display: block;
    width: 100%;
    background-color: #5C5C53;
    border: 2px #5C5C53 solid;
    border-radius: 5px;
    color: #FFFEF9;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s;
    margin-top: 20px;
}
.user-logout-btn:hover{
    color: #FFFEF9;
}