.wrapper-profile .back-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-80%);
  transition: 0.5s ease;
}

.wrapper-profile .back-button i{
  font-size: 24px;
  color: var(--primary);
  transition: 0.5s ease;
}

.wrapper-profile .back-button:hover {
  background: var(--primary);
}

.wrapper-profile .back-button:hover i{
  color: #fff;
}

.wrapper-profile .content .title h1{
  color: var(--primary) !important;
}



#profile {
    padding-top: 103px;
    padding-bottom: 100px;
}

#profile .left_top {
    position: absolute;
    top: 103px;
    left: 0;
    width: 100px;
}

#profile .right_top {
    position: absolute;
    top: 103px;
    right: 0;
    width: 100px;
}

#profile .left_btm {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
}

#profile .content .title {
    margin-top: 30px;
    text-align: center;
    padding: 0 185px;
}

#profile .content .title h1 {
    color: var(--primary);
    font-size: 4rem;
    border-bottom: 1px solid #000000;
    padding-bottom: 30px;
    font-family: firabold;
}

#profile .content .title p {
    font-size: 1.2rem;
    color: #58595b;
    margin-top: 15px;
    font-family: firaregular;
}

#profile .content .user {
    padding: 0 200px;
}

#profile .content .user .items {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    align-items: end;
    position: relative;
}

/* #profile .content .user .items::after {
    content: "";
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: #000;
    width: 1px;
    height: 100%;
    position: absolute;
} */

#profile .content .user .ic_triangle {
    display: block;
    margin: 0 auto;
}

#profile .content .user .left {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0; 
    align-items: center;
    border-right: 1px solid black;
    padding-top: 15px;
    padding-bottom: 15px;
}

#profile .content .user .left img {
    background: #e6e7e8;
    border-radius: 50%;
    max-width: 100px;
    margin-bottom: 10px;
    aspect-ratio: 1/1;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#profile .content .user .left p {
    margin: 0;
    color: #58595b;
    font-size: 1rem;
    font-family: firabold;
    /* margin-top: 5px; */
}

#profile .content .user .right {
    display: flex;
    align-items: end;
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 24px;
}

#profile .content .user .right>div {
    text-align: center;
}

/* #profile .content .user .right>div:last-child {
    margin-right: 0;
    transition: .2s ease-in-out
} */

#profile .content .user .right>div.gray {
    filter: grayscale(1);
}

#profile .content .user .right .wrapper-certificate:hover,
#profile .content .user .right .wrapper-my-discussion:hover{
    transform: scale(1.1);
    cursor: pointer;
}

#profile .content .user .right>div .ctn {
    position: relative;
    margin-bottom: 8px;
}

#profile .content .user .right>div .ctn .number {
    position: absolute;
    top: 15px;
    right: 0;
    background: #fbbb07;
    color: #58595b;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    font-family: firaregular;
}

#profile .content .user .right>div img {
    width: 70px;
    transition: .3s;
}

#profile .content .user .right .wrapper-certificate,
#profile .content .user .right .wrapper-my-discussion{
    transition: .3s;
    cursor: pointer;
}

#profile .content .user .right .discussion-img {
    height: 88px;
    width: auto;
    transition: .3s;
}

#profile .content .user .right>div p {
    color: #58595b;
    font-size: 1rem;
    font-family: firaregular;
    margin-top: 5px;
}

#profile .content .list h2 {
    color: #000;
    font-size: 1.5rem;
    font-family: firabold;
    text-align: center;
    margin-top: 30px;
}

#profile .content .list .ctn {
    padding: 0 185px;
    margin-top: 50px;
}

#profile .content .my-discussion-view .list .ctn {
    padding: 0 185px;
    margin-top: 30px;
}

#profile .content .list .ctn .card {
    border: none;
    background: #165697;
    border-radius: 30px;
    margin-bottom: 15px;
}

#profile .content .list .ctn .card .card-header:not(.collapsed) {
    background: #fbbb07;
}

#profile .content .list .ctn .card .card-header {
    background: #f1f2f2;
    border-bottom: unset;
    border-radius: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#profile .content .list .ctn .card .card-header .left {
    display: flex;
    align-items: center;
}

#profile .content .list .ctn .card .card-header .left .circle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid #6d6e71;
    line-height: 35px;
    margin: 0 15px;
    justify-content: center;
    align-items: center;
    display: flex;
}

#profile .content .list .ctn .card .card-header .left .circle>div {
    /* background: #165697; */
    background: var(--primary);
    border-radius: 50%;
    width: 15px;
    height: 15px;
}

#profile .content .list .ctn .card .card-header .left .outer-circle {
    border: 1px solid #6d6e71;
    border-radius: 50%;
    margin: 0 15px;
    width: 40px;
    height: 40px;
    line-height: 35px;
    text-align: center;
}

#profile .content .list .ctn .card .card-header .left .badge-finish {
    border: 1px solid #6d6e71;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 35px;
    text-align: center;
    background: #f1f2f2;
    margin: 0 15px;
}

#profile .content .list .ctn .card .card-header .left .badge-finish img {
    width: 20px;
}

#profile .content .list .ctn .card .card-header .left .outer-circle img {
    width: 20px;
}

#profile .content .list .ctn .card .card-header .left .outer-circle .circle {
    background: #165697;
    border-radius: 50%;
    width: 50%;
    height: 50%;
}

#profile .content .list .ctn .card .card-header h5 {
    color: #58595b;
    font-size: 1.2rem;
}

#profile .content .list .ctn .card .card-header:not(.collapsed) h5 {
    color: #fff;
    font-family: firaregular;
}

#profile .content .list .ctn .card .card-header .icons {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    /* background: var(--primary); */
    background: var(--primary);
    cursor: pointer;
}

#profile .content .list .ctn .card .card-header .icons i {
    color: #fff;
}

#profile .content .list .ctn .card .card-body.items .item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

#profile .content .list .ctn .card .card-body.items .item .progress_wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

#profile .content .list .ctn .card .card-body.items .item .progress_wrap .title-prog {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#profile .content .list .ctn .card .card-body.items .item .progress_wrap .title-prog p {
    color: #fff;
    font-size: 1rem;
    font-family: firaregular;
    margin-bottom: 0;
}
#profile .content .list .ctn .card .card-body.items .item .progress_wrap .title-prog p a:hover{
    font-weight: 700;
    text-decoration: underline;
}

#profile .content .list .ctn .card .card-body.items .item .progress_wrap .title-prog p.number {
    color: #fbbb07;
    font-size: 0.8rem;
}

#profile .content .list .ctn .card .card-body.items .item .progress_wrap .progbar {
    display: flex;
    align-items: center;
}

#profile .content .list .ctn .card .card-body.items .item .progress_wrap .progbar .bar {
    width: 5%;
    height: 50px;
    background: #ffffff;
    border-radius: 5px;
    margin-right: 5px;
}

#profile .content .list .ctn .card .card-body.items .item .progress_wrap .progbar .bar.blue {
    background: #4285f5;
}

#profile .content .list .ctn .card .card-body.items .item .progress_wrap .progbar .bar:last-child {
    margin-right: 0;
}

#profile .content .list .ctn .card .card-body.items .item .progress_wrap .assessment-prog {
    gap: 25px;
    max-width: 100%;
    height: auto;
}

#profile .content .list .ctn .card .card-body.items .item .progress_wrap .assessment-prog .assessment-badge {
    border-radius: 12px;
    font-size: 13px;
    font-family: sans-serif;
    font-weight: 500;
    height: 40px;
    max-width: 35%;
}

#profile .content .list .ctn .card .card-body.items .item .progress_wrap .assessment-prog .assessment-badge strong {
    height: 100%;
    width: 30%;
    line-height: 40px;
    text-align: center;
    border-radius: 12px;
}

#profile .content .user .left button {
  background: var(--primary);
}

/* ↓ Medium screen: stack vertically */
@media (max-width: 768px) {
  #profile .content .list .ctn .card .card-body.items .item .progress_wrap .assessment-prog {
    gap: 15px;
  }

  #profile .content .list .ctn .card .card-body.items .item .progress_wrap .assessment-prog .assessment-badge {
    font-size: 12px;
    height: 35px;
    max-width: 60%;
  }

  #profile .content .list .ctn .card .card-body.items .item .progress_wrap .assessment-prog .assessment-badge strong {
    line-height: 35px;
  }
}

@media (max-width: 576px) {
  #profile .content .list .ctn .card .card-body.items .item .progress_wrap .assessment-prog {
    gap: 10px;
  }

  #profile .content .list .ctn .card .card-body.items .item .progress_wrap .assessment-prog .assessment-badge {
    font-size: 12px;
    height: 30px;
    max-width: 100%;
  }

  #profile .content .list .ctn .card .card-body.items .item .progress_wrap .assessment-prog .assessment-badge strong {
    line-height: 30px;
  }
}

#profile .content .list .ctn .card .card-body.items .item img.left {
    width: 75px;
    margin-right: 15px;
}

#profile .content .list .ctn .card .card-body.items .item img.right {
    width: 100px;
    margin-left: 15px;
    cursor: pointer;
}

#profile .content .list .ctn .card .card-body.items .item img.right.gray {
    filter: grayscale(1);
}

#profile .content .btn-wrap {
    text-align: center;
    margin-top: 30px;
}

#profile .content .btn-wrap .btn-logout {
    /* background: var(--primary); */
    background: var(--primary);
    color: #fff;
    font-family: firaregular;
    border-radius: 15px;
    padding: 5px 20px;
}

.modal-profile .modal-content {
    background: unset;
    border: none;
    padding: 0;
}

.modal-profile .modal-body img {
    width: 100%;
}

.modal-profile .modal-body .share {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.modal-profile .modal-body .share p {
    color: #fbbb07;
    margin-right: 15px;
}

.modal-profile .modal-body .share .btn-download {
    background: var(--primary);
    color: #fff;
    font-family: firaregular;
    border-radius: 15px;
    padding: 5px 20px;
    margin-right: 15px;
}

.modal-profile .modal-body .share>div {
    display: flex;
    gap: 15px;
    align-items: center;
}

.modal-profile .modal-body .share>div span {
    color: #fff;
}

.modal-profile .modal-body .share>div a {
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: inline-block;
    line-height: 30px;
    text-align: center;
    padding: 2px;
}

.modal-profile .modal-body .share>div a.facebook {
    background: #1677f0;
}

.modal-profile .modal-body .share>div a.twitter {
    background: #1d99ee;
}

.modal-profile .modal-body .share>div a.linkedin {
    background: #2967b0;
}

.modal-profile .modal-body .share>div a i {
    font-size: 1rem;
    color: #fff;
}

#profile.forget_password form {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 50px;
}

#profile.forget_password form .form-control {
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 10px;
    background-color: #efeff0;
    height: 50px;
}

#profile.forget_password form .error {
    display: block;
    color: #ff0000;
}

#profile.forget_password form .btn {
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 10px;
    background-color: var(--primary);
    padding: 10px 30px;
}

@media (orientation: portrait) {
    #profile {
        padding-top: 65px;
        padding-bottom: 0;
    }

    #profile .content .title {
        padding: 0;
        margin-top: 15px;
    }

    #profile .content .title p {
        font-size: 1rem;
    }

    #profile .content .title h1 {
        font-size: 2rem;
        padding-bottom: 15px;
    }

    #profile .left_top {
        display: none;
    }

    #profile .left_top {
        display: none;
    }

    #profile .right_top {
        display: none;
    }

    #profile .content .user {
        padding: 0 15px;
    }

    #profile .content .user .items::after {
        content: unset;
    }

    #profile .content .user .right {
        justify-content: center;
    }

    #profile .content .user .right>div img {
        width: 50px;
    }

    #profile .content .user .right>div .ctn .number {
        top: 5px;
    }

    #profile .content .user .right>div:last-child {
        margin-right: 0;
    }

    #profile .content .list h2 {
        margin-top: 30px;
    }

    #profile .content .list .ctn {
        padding: 0;
        margin-top: 30px;
    }

    #profile .content .list .ctn .card .card-header h5 {
        font-size: 1rem;
    }

    #profile .content .list .ctn .card .card-body.items .item img.left {
        width: 50px;
    }

    #profile .content .list .ctn .card .card-body.items .item img.right {
        width: 50px;
    }

    #profile .content .list .ctn .card .card-body.items .item .progress_wrap .title-prog p {
        font-size: 0.8rem;
    }

    #profile .left_btm {
        display: none;
    }

    .modal-profile .modal-body .share {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: unset;
        align-items: center;
    }
}