.profile-page{
    margin-top: 112px;
    min-height: 500px;
    padding-top: 80px;
    padding-bottom: 96px;
    .wrapper-profile,
    .menu-profile{margin-left: 72px; width: 374px;}
    .wrapper-profile{
        border: 1px solid #DFDFDF;
        padding-top: 20px;
        padding-bottom: 15px;
        .img-profile{
            .cover{
                position: relative;
                width: 161px;
                height: 161px;
                border-radius: 50%;
                margin: 0 auto;
                overflow: hidden;
                img{
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    bottom: 0;
                    right: 0;
                    object-fit: cover;
                }
            }
            .custom-file-input{cursor: pointer;}
            .custom-file-input:lang(en) ~ .custom-file-label::after{display: none;}
            .custom-file-input:focus ~ .custom-file-label{box-shadow: none;}
            .edit-pic{
                margin-top: 8.7px;
                .custom-file-label{
                    font-family: "Pridi",sans-serif;
                    font-weight: 300;
                    font-size: 16px;
                    cursor: pointer;
                    border: none;
                    text-align: center;
                    text-decoration: underline;
                }
            }
        }
        .text-name{
            text-align: center;
            margin-top: 8.3px;
            font-family: "DMSans", sans-serif;
            font-weight: bold;
            font-size: 35px;
            padding-bottom: 14.7px;
            line-height: 1em;
        }
        .b-rank{
            border-top: 1px solid #DFDFDF;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 14px;
            .icon-rank{margin-right: 20px;}
            .name-rank{
                font-family: "Pridi" ,sans-serif;
                font-weight: 300;
                font-size: 21px;
                text-align: center;
                line-height: 1.6em;
                strong{
                    font-family: "Mitr" ,sans-serif;
                    font-weight: 500;
                    font-size: 30px;
                }
            }
        }
    }
    .menu-profile{
        .item-list{margin-top: 33px;}
        li{
            width: 100%;
            background-color: #f8f7f5;
            transition: all 200ms;
            & + li{border-top: 1px solid #E2E2E2;}
            &.active{
                .link{font-weight: 500;}
            }
            &.active,
            &:hover{
                background-color: $color-danger;
                .link{
                    color: $color-light;
                    .img-icon{background-color: $color-light;}
                }
            }
        }
        .text{margin-left: 60px;}
        .link{
            font-family: "Pridi" , sans-serif;
            font-weight: 300;
            font-size: 25px;
            color: $color-darkgray;
            display: flex;
            align-items: center;
            padding: 17px 24px;
            transition: all 200ms;
            .img-icon{
                width: 58px;
                height: 58px;
                border-radius: 50%;
                background-color: $color-none;
                display: flex;
                align-items: center;
                justify-content: center;
                float: left;
                transition: all 200ms;
            }
        }
    }
    .h-title{
        font-weight: 500;
        font-size: 36px;
        padding-bottom: 45px;
        margin: 0;
    }
    .profile-detail{
        .desc{
            font-family: "Pridi" , sans-serif;
            font-weight: 300;
            font-size: 25px;
            line-height: 1.3em;
            margin-top: 23px;
            .title{
                font-weight: 500;
            }
            .title-edit{margin-bottom: 13px;}
        }
        .year{
            font-family: "DMSans" , sans-serif;
            font-weight: 500;
            font-size: 20px;
            margin-top: 30px;
            margin-bottom: 45px;
        }
        .card{
            margin-top: 0;
            border: 1px solid #BABABA;
            .favorite{left: 38%;}
            .body{
                border-left: 1px solid #BABABA;
                .desc{
                    font-family: "Mitr", sans-serif;
                    font-weight: 400;
                    margin-top: 0;
                    padding-top: 5px;
                    line-height: 1.4em;
                    &.text-limit{max-height: calc(1.4em * 2); -webkit-line-clamp: 2; white-space: unset;}
                    &.text-date{
                        margin-top: 55px;
                        font-size: 30px;
                        font-weight: 300;
                        color: $color-darkgray;
                    }
                }
                .detail{
                    strong{
                        font-family: "Mitr", sans-serif;
                        font-weight: 300;
                        font-size: 30px;
                    }
                }
                .dropdown{
                    .detail{cursor: pointer;}
                }
            }
        }
        .wrapper-date-trip{
            width: 131px;
            height: 131px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #707070;
            border-radius: 20px;
            line-height: 1.6em;
            .text{
                font-family: "Pridi", sans-serif;
                font-size: 21px;
                font-weight: 300;
            }
            strong{font-size: 30px; font-weight: 500;}
        }
    }
    .action{
        margin-top: 23px;
        &.-edit{
            width: 100%;
            display: flex;
            justify-content: space-between;
        }
    }
    .btn-profile{
        font-family: "Pridi", sans-serif;
        font-weight: 300;
        font-size: 21px;
        border: 1px solid #707070;
        min-width: 288px;
    }
    .form-default{
        .select2-container--default .select2-selection--single{border-radius: 5px;}
        .select2-container--default .select2-selection--single .select2-selection__rendered{color: #b2b2b2; line-height: 54px; font-size: 21px;}
        .form-control{
            padding: 10px 40px 10px 25px;
            height: 54px;
            &::placeholder{color: #b2b2b2; font-size: 21px;}
        }
        textarea{height: auto !important;}
        .select2-container .select2-selection--single{height: 54px;}
    }

    .nav-my-trip{
        li{
            width: calc(100% / 3);
            border-bottom: 1px solid #DFDFDF;
            position: relative;
            &:before{
                content: '';
                position: absolute;
                height: 6px;
                background-color: #c45741;
                bottom: 0;
                left: 0;
                right: 0;
                transform: scaleX(0);
                transition: all 400ms;
            }
            &.active,
            &:hover{
                &:before{transform: scaleX(1);}
            }
            &:nth-child(1){
                &:before{width: 75%;}
            }
            &:nth-child(2){
                &:before{width: 60%; left: 72px;}
                .link{text-align: center;}
            }
            &:nth-child(3){
                &:before{width: 53%; left: 165px;}
                .link{text-align: right;}
            }
        }
        .link{
            font-family: "Pridi", sans-serif;
            font-weight: 300;
            font-size: 23px;
            color: $color-darkgray;
            padding: 8.5px;
            padding-bottom: 16px;
        }
    }
    .dropdown-menu{
        transform: translate(-180px, 10px) !important;
        border: none;
        box-shadow: 0 3px 6px 0 rgba($color: #000000, $alpha: 0.1);
        padding: 7px;
        min-width: 180px;
        img{width: 28px;}

    }
}
.line{
    width: 100%;
    height: 1px;
    border-top: 1px solid #DFDFDF;
    margin: 34px 0;
}
.select2-container--open .select2-dropdown--below{border: 1px solid #DEDEDF; border-radius: 20px; overflow: hidden; top: 8px;}
.select2-results__option{background-color: $color-light;}