.tab{
    min-width: 400px;
    height: auto;
    width: 600px;
}
.tab .tab-header{
    width: 100%;
    max-height: 36px;
    flex-direction: row;
}
.tab .tab-header div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    font-size: 12px;
    padding: 16px;
    margin: 8px;
}
.tab .tab-header div.active{
    border-bottom: 2px solid var(--primary-color);
    box-sizing: border-box;
}
.tab .tab-content{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.tab .tab-content > div{
    display: none;
}

.tab .tab-content div.active{
    display: flex;
}


@media screen and (max-width: 768px) {
    .tab-header{
        display: none;
    }
    #tab-xin-content{
        display: flex;
    }
    #tab-eds-content, #tab-qr-content, #tab-idp-content{
        display: none;
    }
    .tab{
        width: 100%;
        min-width: unset;
    }
}