@use "sass:map";
@use "helpers";

.conteudo-conta{
    .box-trocas{
        display: block;
        width: 100%;

        .item-troca{
            display: flex;
            width: 100%;
            padding: 15px;
            align-items:center;
            justify-content: flex-start;
            border: solid 1px transparent;
            @include helpers.transicao(0.4s ease-in-out);

            @media(max-width:575px){
                margin-bottom: 30px;
                flex-direction: column;
                justify-content: center;
                border-color: map.get(helpers.$palletMinhaConta, borders);
            }

            .t-dados{
                display: flex;
                width: calc(100% - 110px);
                padding-right: 15px;
                align-items: center;
                justify-content: flex-start;

                @media(max-width:575px){
                    width: 100%;
                    padding-right: 0px;
                    margin-bottom: 15px;
                    flex-direction: column;
                    justify-content: center;
                }

                .t-imagem{
                    display: block;
                    width: 100%;
                    max-width: 62px;

                    @media(max-width:575px){
                        margin-bottom: 15px;
                    }
                }

                .t-informacoes{
                    display: flex;
                    width: calc(100% - 62px);
                    padding-left: 15px;
                    flex-wrap: wrap;
                    align-items: center;
                    justify-content: flex-start;

                    @media(max-width:575px){
                        width: 100%;
                        padding-left: 0px;
                        flex-direction: column;
                        justify-content: center;
                    }

                    .t-item{
                        display: block;
                        margin-right: 30px;
                        margin-bottom: 5px;

                        @media(max-width:1300px){
                            margin-right: 15px;
                        }
                        
                        @media(max-width:575px){
                            margin-right: 0px;
                        }

                        p{
                            display: block;
                            margin: 0px;
                            color: map.get(helpers.$palletMinhaConta, textDark);
                            font: normal 15px helpers.$fontRegular;
                            
                            @media(max-width:575px){
                                text-align: center;
                            }

                            &:first-of-type{
                                margin-bottom: 5px;
                                color: map.get(helpers.$palletMinhaConta, textMedium);
                                font: normal 14px helpers.$fontMedium;
                            }
                        }
                    }

                    .status{
                        display: block;
                        padding: 5px 10px;
                        color: map.get(helpers.$palletMinhaConta, textMedium);
                        font: normal 14px helpers.$fontRegular;
                        text-align: center;
                        border-radius: map.get(helpers.$palletMinhaConta, borderRadius);
                        border: solid 1px map.get(helpers.$palletMinhaConta, borders);
                        background-color: map.get(helpers.$palletMinhaConta, medium);
                    }
                }
            }

            .t-acoes{
                display: flex;
                width: 100%;
                max-width: 110px;
                align-items: center;
                justify-content: flex-end;

                @media(max-width:575px){
                    justify-content: center;
                }
            }

            &:hover,&:focus{
                border-color: map.get(helpers.$palletMinhaConta, borders);
            }
        }
    }
}

/*.titulo-conteudo{
    &:before{
        background-position: -112px -455px;
    }
}

.informacoes{
    display: block;
    width: 100%;
    height: auto;
    padding: 10px;
    background-color: $light;
    border: solid 1px $borders;
    
    .texto{
        display: block;
        margin-top: 10px;
        margin-bottom: 30px;
        color: $textoDark;
        font-size: 12px;
        font-family: $fontRegular;
        text-align: center;
    }
    
    table{
        color: $textoDark;
        font-size: 12px;
        font-family: $fontRegular;
    }

    .columnEdit{
        text-align: center;
    }
    
    .btn-view-troca{
        display: inline-block;
        background-image: url(../img/sprite.png);
        transition: all 0.4s;
        background-color: transparent;
        background-position: -7px -53px;
        height: 20px;
        width: 20px;
        margin-bottom: -7px;
    }
    
    .mensagem{
        display: none;
        margin: 15px 0px;
        color: $textoDark;
        font-size: 15px;
        font-family: $fontRegular;
        text-align: center;
        text-transform: uppercase;
    }
    
    .dados{
        display: block;
        width: 100%;
        height: auto;
        max-width: 450px;
        margin: 0 auto;
        margin-bottom: 30px;
        
        li{
            padding: 10px;
            border-bottom: solid 1px $borders;
            font-size: 0px;
                      
            p{
                display: block;
                margin: 0px;
                width: 100%;
                color: $textoDark;
                font-size: 13px;
                font-family: $fontRegular;
                vertical-align: middle;
                
                @media(min-width:767px){
                    display: inline-block;
                }
                
                &:first-of-type{
                    @media(min-width:767px){
                        width: 40%;
                    }
                }
                &:last-of-type{
                    color: $textoMedium;
                    font-size: 14px;
                    
                    @media(min-width:767px){
                        width: 60%;
                    }
                }
            }
        }
    }
    
    .acoes{
        display: block;
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom:30px;
        
        li{
            display: inline-block;
            width:100%;
            height: auto;
            max-width: 210px;
            margin: 10px;
            vertical-align: top;
            
            a{
                display: block;
                outline: 0px;
                padding: 10px;
                color: $textoDark;
                font-size: 12px;
                font-family: $fontRegular;
                border: solid 1px $dark;
                @include transicao(0.3s ease-in-out);
                
                &:hover{
                    color: $textoLight;
                    border-color: $success;
                    background-color: $success;
                }
            }
        }
    }
}*/