main{
    width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-left: 100px;
    gap: 50px;
    margin-bottom: 100px;
    max-width: 100vw;
    margin-top: 0 !important;
}
h1{
    text-align: left !important;
    width: 100%;
    font-size: 30px;
    font-weight: 800 !important;
    margin-bottom: 0 !important;
}
main svg{
      width: 17px;
    height: 17px;
}
.cards{
    display: flex;
    flex-direction: row;
    gap: 33px;
    position: relative;

    max-width: 100%;

}
.footercontainer{
    margin-top: 100px !important;
}

.cardd{
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.2);
    border-radius: 17px;   
    width: 380px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px 33px;
    align-items: start;
    max-width: 100%;
}
.preview{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}
.cardd h2, .cardd h3{
    font-size: 22px !important;
    font-weight: 600;
}
.cardd > span, .cardd > a{
  font-size: 16px;
  font-weight: 600;
  color: var(--primary) ;
  position: relative;
  text-align: left;
  width: fit-content;
  text-decoration: none;
}

.cardd > * {
    margin: 0;
}
.cardd a svg{
    width: 15px;
    height: 15px;
}

.cardd > span:after{
    content: "";
    position: absolute;
    height: 100%;
    right: -25px;
    top: 0;
    aspect-ratio: 1 / 1;
    border-radius: 100px;
    background-color: var(--primary);
    transform: scale(0.67);
}
.cardd span.nonew{
    color: black 
}
.cardd span.nonew:after{
    display: none;
}
.msgpreview, .postpreview{
    width: 100%;
    min-height: 39px;
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.2);
    border-radius: 100px;
    display: flex;
    flex-direction: row;
    padding: 6px;
    align-items: center;
    cursor: pointer;
}
.msgpreview{
    justify-content: start;
}
.msgpreview img{
    height: 26px;
    aspect-ratio: 1 / 1;
    margin-right: 6px;
}
.msgpreview span{ 
    font-size: 14px;
}
.postpreview{
    padding: 0 12px;
    border-radius: 10px;
    justify-content: space-between;
}
.postpreview span{
    font-size: 14px;
}
button{
    display: flex;
    align-items: center;

}
.cardd button, .mainbtn{
    font-size: 14px;
    font-weight: 450 !important;
    min-width: 170px;
    min-height: 39px;
    height: fit-content;
    width: fit-content;
    padding: 0 15px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin-top: 10px !important;
    border: none
}
.cardd button svg{
    margin-left: 10px;
}
button.black{
    color: white;
    background-color: black;
    border: none !important
}
button.black svg{
    fill: white;
}
button.primary{
    background-color: var(--primary);
    color: white;
    fill: white;
    border: none !important
}
button.primary a{
    color: white !important
}

button.red{
    background-color: white;
    color: #FF0000;
    border: 3px solid #FF0000;
}

h3{
    font-size: 22px;
    font-weight: 500;
}
.cardd p{
    font-size: 16px;
    margin: 0;
    color: rgba(0,0,0,0.67);
    text-align: left;
}
.svgcont{
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background-color: rgba(217, 217, 217, 0.49);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.svgcont svg{
    width: 100% !important;
    height: 100% !important;
    fill: black;
}
.cardd:has(.svgcont) button{
    margin: auto auto 0 0  !important;
}
.cardd:hover .svgcont{
    background-color: rgba(58, 157, 97, 0.15);
}
.cardd:hover .svgcont svg {
    fill: var(--primary);
}
.bordertop{
    padding-top: 50px;
}
.bordertop:last-child:before{
    content: "";
    position: absolute;
    top: 0;
    left: -50vw;
    width: 150vw;
    border-top: 1px solid rgba(217, 217, 217, 1);
}
.cardd > a svg {
    fill: var(--primary);;
    margin-left: 5px;
}
@media (max-width: 700px) {
    main{
        padding-left: 0;
        padding: 0 5vw;
        align-items: center;
    }
    .cards{
        flex-direction: column;
    
    }
    
}
.cardd *{
    font-size: 14px !important;
}
main > h2{
    font-size: 22px !important;
    font-weight: 700;
}
.cardd button a{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.cardd button a:has(svg){
    justify-content: space-between;
}


.go_back{
    margin: 0 !important;
}
.go_back h1{
    font-size: 18px !important;
}
textarea, input, .inp{
    font-size: 13px !important;
    font-family: Inter !important;
}
.manufacturers{
    margin-left: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
@media (max-width: 700px) {

    textarea, input, .inp{
        font-size: 4vw !important;
    }

    .go_back{
        margin: 0 !important;
    }
    main svg{
        width: 4vw !important;
        height: 4vw !important;
    }
    .cardd *{
        font-size: 3.5vw !important;
    }
    button{
        min-height: 0 !important;
        min-width: 0 !important;
        padding: 2vw 5vw !important;
        width: fit-content;
        align-self: start;
    }
    .link-danger{
        padding: 0 !important;
    }
    .cardd{
        width: 100%;
    }
    main{
        padding-top: 14vw !important;
        padding-bottom: 10vw !important;
        gap: 11vw
    }
    h1, .go_back h1{
        font-size: 6.8vw !important;
        margin-bottom: 1vw;
    }
    .cardd{
        padding: 8vw;
        gap: 4vw;
        border-radius: 4vw;
        width: 100%;
    }
    .cards{
        width: 100%;
        gap: 11vw
    }
    .cardd h2, .cardd h3{
        font-weight: 700;
        font-size: 5vw !important;
    }
    .cardd span:after{
        right: -6vw
    }
    .cardd span{
        font-size: 3.8vw !important;
    }
    .msgpreview:nth-child(3), .postpreview:last-child:nth-child(3) {
        display: none
    }
    .preview{
        gap: 4vw
    }
    button svg{
        margin-left: 6vw !important;
    }
    .msgpreview, .postpreview {
        padding: 3vw !important;
        min-height: 9vw;
        border-radius: 1.5vw;
    }
    .msgpreview img{
        height: 7vw;
    }
    
    .cardd button, .mainbtn{
        font-size: 4vw;
        padding: 0 3vw !important;
        margin-top: 2vw !important;
        height: 10vw;
        border-radius: 1.5vw !important;
        min-width: 45vw !important;
    }
    .cardd button a{
        font-size: 4vw !important;

    }
    .cards.bordertop:last-child{
        padding-top: 11vw;
    }
    .svgcont{
        width: 10vw;
        height: 10vw;
        padding: 2.7vw;
        border-radius: 3vw;
    }
    .svgcont svg{
        width: 100%;
    }
    .cardd h3{
        font-size: 5vw !important;
        font-weight: 700;
    }
    .cardd p{
        font-size: 3.4vw !important;
        line-height: 4vw;
        font-weight: 600;
        font-variation-settings: "wght" 500 !important;
    }
    .cardd:has(>p){
        gap: 3vw !important
    }
        

}
.cardd:has(#myrfqspreview) > span{
    color: black

}
.cardd:has(#myrfqspreview) > span:after{
    display: none
}

@media (min-width: 700px) {
    
    html:has(.sidebar) .footerhome{
        margin-left: 290px
    }
    html:has(.sidebar) .go_back{
        margin-top: 0 
    }
}

a{
    display: flex;
    flex-direction: row;
    align-items: center;
}
#delete-account-btn{
    padding-left: 0 !important;
}
