* {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.edit__container {
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.edit {
    width: 100%;
    height: auto;
    background-color: #FAFAFA;
    border-radius: 16px;
}

.edit__profileMain {
    position: relative;
    width: 100%;
    height: auto;
}

.edit__profileMain__title {
    margin: 20px;
    font-family: "RobotoFlex", sans-serif;
    font-size: 18px;
    color: #333333;
}

.profileMain__background {
    width: 100%;
    height: auto;
    margin-top: 20px;
    position: relative;
}

.profileMain__background__image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.background__btnUpdate {
    width: auto;
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    background-color: rgba(50, 50, 50, 0.06);
    padding: 5px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.background__btnUpdate:hover {
    background-color: rgba(250, 250, 250, 0.2);
}

.background__btnUpdate a {
    color: white;
    font-size: 16px;
    margin: 5px;
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: "RobotoFlex", sans-serif;
    cursor: pointer;
}

.btnUpdate__image {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.profileMain__avatar {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    background-color: #FAFAFA;
    border-radius: 16px;
    margin-top: -15px;
    position: relative;
}

.profileMain__avatar__image {
    cursor: pointer;
    position: absolute;
}

.profileMain__avatar__camera {
    width: 185px;
    height: auto;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    margin-top: -37px;
    position: absolute;
    z-index: 15;
    background-color: #FAFAFA;
    left: 63%;
    box-shadow: 0 0 1px 0.01px rgba(0, 0, 0, 0.2);
    opacity: 0;
    cursor: pointer;
}

.profileMain__avatar__camera a {
    padding: 10px 35px;
    margin: 5px;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
}

.profileMain__avatar__camera a:hover {
    background-color: rgba(50, 50, 50, 0.03);
    border-radius: 8px;
}

.profileMain__avatar:hover .profileMain__avatar__camera {
    opacity: 1;
}

.profileMain__avatar:hover .profileMain__avatar__camera,
.profileMain__avatar__camera:hover {
    opacity: 1;
}

.profileMain__avatar__camera img {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin-top: -80px;
    border-radius: 50%;
    filter: blur(2px);
}

.profileMain__avatar img {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin-top: -80px;
    border-radius: 50%;
    border: 4.8px solid #FAFAFA;
}

.profileMain__firstlastname {
    width: 100%;
    height: auto;
    background-color: #FAFAFA;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
}

.fullname {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    margin-top: 30px;
    margin-left: 20px;
    margin-right: 20px;
}

.profileMain__firstlastname p {
    font-size: 18px;
    margin: 0;
    font-family: "RobotoFlex", sans-serif;
    color: #4D4D4D;
}

.profileMain__firstlastname a {
    margin: 0;
    color: royalblue;
    text-decoration: none;
    font-size: 16px;
    font-family: "Cuprum-Regular", sans-serif;
    cursor: pointer;
}

.profileMain__firstlastname a:hover {
    text-decoration: underline;
}

.fullname__edit {
    margin: 5px 20px;
    display: none;
}

.fullname__edit form {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
}

.group__firstlastname {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 45%;
    height: auto;
    gap: 3px;
}

.edit__label {
    margin: 0px;
    font-size: 14.5px;
    font-family: "RobotoFlex", sans-serif;
    color: #4D4D4D;
}

.label__nickname {
    font-size: 13px;
}

.edit__input {
    width: 100%;
    height: 35px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: rgba(50, 50, 50, 0.03);
    padding: 10px;
    font-size: 14.5px;
    outline: none;
    font-family: "RobotoFlex", sans-serif;
    color: #3d3d3d;
}

.edit__input__nickname {
    width: 100%;
    height: 35px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: rgba(50, 50, 50, 0.03);
    padding: 10px;
    font-size: 14.5px;
    outline: none;
    font-family: "RobotoFlex", sans-serif;
    color: #3d3d3d;
}

.edit__input:focus {
    border: 1px solid royalblue;
    outline: none;
}

.wrapper__EditFullnameBtn {
    width: 100%;
    height: auto;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wrapper__EditFullnameBtn button:not(:disabled) {
    margin-top: 5px;
    padding: 8px;
    border-radius: 10px;
    background-color: royalblue;
    color: white;
    font-family: "RobotoFlex", sans-serif;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.wrapper__EditFullnameBtn button:disabled {
    background-color: rgba(150, 150, 150, 0.1);
    margin-top: 5px;
    padding: 8px;
    border-radius: 10px;
    color: royalblue;
    font-family: "RobotoFlex", sans-serif;
    font-size: 14.5px;
    border: none;
    cursor: not-allowed;
}

.EditFullnameMassage {
    display: none;
    align-items: center;
    gap: 3px;
}

.EditFullnameMassage img {
    width: 18px;
    height: 18px;
}

.EditFullnameMassage p {
    font-size: 16px;
}

.username__editContainer {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px auto;
}

#username__errors {
    font-size: 15px;
    color: red;
    font-family: "Cuprum-Regular", sans-serif;
}

#FirstNameError {
    font-size: 15px;
    color: red;
    font-family: "Cuprum-Regular", sans-serif;
    opacity: 1;
}

#LastNameError {
    font-size: 15px;
    color: red;
    font-family: "Cuprum-Regular", sans-serif;
    opacity: 1;
}

.wrapper__usernameEdit {
    width: 100%;
    height: auto;
    border-top: 1px solid #ccc;
    margin-top: 15px;
}

.form__usernameEdit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 5px;
}

.form__usernameEdit p {
    font-size: 17px;
    color: #666666;
    font-family: "Cuprum-Regular", sans-serif;
}

.form__usernameEdit label {
    font-size: 17px;
    color: #666666;
    font-family: "Cuprum-Regular", sans-serif;
}

.form__usernameEdit a {
    font-size: 16px;
    color: royalblue;
    font-family: "Cuprum-Regular", sans-serif;
    cursor: pointer;
}

.group__usernameEdit {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background-color: #FAFAFA;
}

.group__usernameEdit__active {
    border: 1px solid royalblue;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
}

.group__usernameEdit__blur {
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
}

.group__usernameEdit p {
    font-size: 17px;
    color: #666666;
    font-family: "Cuprum-Regular", sans-serif;
}

.group__usernameEdit input {
    font-size: 16px;
    color: #4D4D4D;
    font-family: "Cuprum-Medium", sans-serif;
    width: 100px;
    border: none;
    pointer-events: none;
    background-color: #FAFAFA;
}

.group__usernameEdit input:focus {
    border: none;
    outline: none;
    cursor: pointer;
    pointer-events: stroke !important;
    cursor: text;
    background-color: #FAFAFA;
}

.input__usernameEdit__active {
    font-size: 16px;
    color: #4D4D4D;
    font-family: "Cuprum-Medium", sans-serif;
    width: 84px;
    border: none;
    pointer-events: stroke !important;
}

.usernameEdit__inf {
    margin: 0px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    display: none;
}

.usernameEdit__inf p {
    font-family: "RobotoFlex", sans-serif;
    font-size: 16px;
    color: #4D4D4D;
}

.usernameEdit__inf p span {
    font-family: "Cuprum-Medium", sans-serif;
    font-size: 17px;
    color: #4D4D4D;
}

.usernameEdit__inf button {
    margin: 15px;
    padding: 8px;
    border-radius: 10px;
    background-color: rgba(150, 150, 150, 0.1);
    color: royalblue;
    font-family: "RobotoFlex", sans-serif;
    font-size: 14.5px;
    border: none;
    cursor: pointer;
}

.usernameEdit__inf button:disabled {
    background-color: rgba(150, 150, 150, 0.1);
    cursor: not-allowed;
}

@font-face {
    font-family: "RobotoFlex";
    src: url("/fonts/RobotoFlex.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BalsamqSans";
    src: url("/fonts/BalsamiqSans-Regular.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat-Bold";
    src: url("/fonts/Montserrat-Bold.ttf") format("truetype");

    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat-Regular";
    src: url("/fonts/Montserrat-Regular.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Cuprum-Regular";
    src: url("/fonts/cuprum/Cuprum-Regular.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Cuprum-Medium";
    src: url("/fonts/cuprum/Cuprum-Medium.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "RobotoFlex";
    src: url("/fonts/RobotoFlex.ttf") format("truetype");

    font-weight: normal;
    font-style: normal;
}

@media(min-width:325px) and (max-width:426px) {

    .profileMain__avatar img {
        width: 115px;
        height: 115px;
        top: 22px;
    }
}

@media(min-width:0px) and (max-width:325px) {

    .edit__profileMain__title {
        font-size: 13px;
        margin: 13px;
    }

    .profileMain__background {
        margin: 0;
    }

    .profileMain__avatar img {
        width: 90px;
        height: 90px;
        top: 37px;
        border: 3px solid #fafafa;
    }

    .background__btnUpdate {
        padding: 5px 5px;
        margin: 8px;
    }

    .background__btnUpdate a {
        font-size: 10px;
        margin: 0px;
    }

    .background__btnUpdate a img {
        width: 13px;
        height: 13px;
    }

    .fullname {
        height: auto;
        margin: 10px 10px 0px 10px;
    }

    .profileMain__firstlastname p {
        font-size: 13px;
    }

    .profileMain__firstlastname a {
        font-size: 13px;
    }

    .form__usernameEdit label {
        display: none;
    }

    .mobile__usernameEdit__label {
        display: block !important;
        margin: 10px 0px 0px 10px;
    }

    .mobile__usernameEdit__label label {
        font-size: 13px;
        color: #666666;
        font-family: "Cuprum-Regular", sans-serif;
    }

    .form__usernameEdit{
        margin: 0;
        margin-bottom: 15px;
        padding: 10px 0px 0px 10px;
    }

    .form__usernameEdit__btn{
        width: 70px;
        text-align: center;
    }

    .group__usernameEdit{
        padding: 0px;
    }

    .group__usernameEdit input{
        font-size: 13px;
        outline: none;
    }

    .group__usernameEdit__active{
        border: none;
    }

    .usernameEdit__inf p{
        font-size: 13px;
    }

    .usernameEdit__inf p span{
        font-size: 13px;
    }
    
    .usernameEdit__inf button{
        font-size: 13px;
    }

    .fullname__edit{
        margin: 8px;
    }

    .fullname__edit form{
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .group__firstlastname{
        width: 100%;
    }

    .group__firstlastname label{
        font-size: 13px
    }

    .group__firstlastname input{
        font-size: 13px;
    }

    .wrapper__EditFullnameBtn button{
        font-size: 13px !important;
    }
}

@media(min-width:326px) and (max-width:376px) {

    .edit__profileMain__title {
        font-size: 14px;
        margin: 13px;
    }

    .profileMain__background {
        margin: 0;
    }

    .profileMain__avatar img {
        width: 100px;
        height: 100px;
        top: 33px;
        border: 3px solid #fafafa;
    }

    .background__btnUpdate {
        padding: 5px 5px;
        margin: 8px;
    }

    .background__btnUpdate a {
        font-size: 12px;
        margin: 0px;
    }

    .background__btnUpdate a img {
        width: 14px;
        height: 14px;
    }

    .fullname {
        height: auto;
        margin: 10px 10px 0px 10px;
    }

    .profileMain__firstlastname p {
        font-size: 13px;
    }

    .profileMain__firstlastname a {
        font-size: 13px;
    }

    .form__usernameEdit label {
        display: none;
    }

    .mobile__usernameEdit__label {
        display: block !important;
        margin: 10px 0px 0px 10px;
    }

    .mobile__usernameEdit__label label {
        font-size: 13px;
        color: #666666;
        font-family: "Cuprum-Regular", sans-serif;
    }

    .form__usernameEdit {
        margin: 0;
        margin-bottom: 15px;
        padding: 10px 0px 0px 10px;
    }

    .form__usernameEdit__btn {
        width: 70px;
        text-align: center;
    }

    .group__usernameEdit {
        padding: 0px;
    }

    .group__usernameEdit input {
        font-size: 13px;
        outline: none;
    }

    .group__usernameEdit__active {
        border: none;
    }

    .usernameEdit__inf p {
        font-size: 13px;
    }

    .usernameEdit__inf p span {
        font-size: 13px;
    }

    .usernameEdit__inf button {
        font-size: 13px;
    }

    .fullname__edit {
        margin: 8px;
    }

    .fullname__edit form {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .group__firstlastname {
        width: 100%;
    }

    .group__firstlastname label {
        font-size: 13px
    }

    .group__firstlastname input {
        font-size: 13px;
    }

    .wrapper__EditFullnameBtn button {
        font-size: 13px !important;
    }
}

@media(min-width:376px) and (max-width:426px) {

    .edit__profileMain__title {
        font-size: 15px;
        margin: 13px;
    }

    .profileMain__background {
        margin: 0;
    }

    .profileMain__avatar img {
        width: 110px;
        height: 110px;
        top: 27px;
        border: 3.5px solid #fafafa;
    }

    .background__btnUpdate {
        padding: 6px 6px;
        margin: 10px;
    }

    .background__btnUpdate a {
        font-size: 13px;
        margin: 0px;
    }

    .background__btnUpdate a img {
        width: 15px;
        height: 15px;
    }

    .fullname {
        height: auto;
        margin: 10px 10px 0px 10px;
    }

    .profileMain__firstlastname p {
        font-size: 14px;
    }

    .profileMain__firstlastname a {
        font-size: 14px;
    }

    .form__usernameEdit label {
        display: none;
    }

    .mobile__usernameEdit__label {
        display: block !important;
        margin: 10px 0px 0px 10px;
    }

    .mobile__usernameEdit__label label {
        font-size: 14px;
        color: #666666;
        font-family: "Cuprum-Regular", sans-serif;
    }

    .form__usernameEdit {
        margin: 0;
        margin-bottom: 15px;
        padding: 10px 0px 0px 10px;
    }

    .form__usernameEdit__btn {
        width: 70px;
        text-align: center;
    }

    .group__usernameEdit {
        padding: 0px;
    }

    .group__usernameEdit input {
        font-size: 14px;
        outline: none;
    }

    .group__usernameEdit__active {
        border: none;
    }

    .usernameEdit__inf p {
        font-size: 14px;
    }

    .usernameEdit__inf p span {
        font-size: 14px;
    }

    .usernameEdit__inf button {
        font-size: 14px;
    }

    .fullname__edit {
        margin: 8px;
    }

    .fullname__edit form {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .group__firstlastname {
        width: 100%;
    }

    .group__firstlastname label {
        font-size: 14px
    }

    .group__firstlastname input {
        font-size: 14px;
    }

    .wrapper__EditFullnameBtn button {
        font-size: 14px !important;
    }
}

@media(min-width:426px) and (max-width:768px) {

    .edit__profileMain__title {
        font-size: 16px;
        margin: 15px;
    }

    .profileMain__background {
        margin: 0;
    }

    .profileMain__avatar img {
        width: 135px;
        height: 135px;
        top: 15px;
        border: 4px solid #fafafa;
    }

    .background__btnUpdate {
        padding: 8px 8px;
        margin: 15px;
    }

    .background__btnUpdate a {
        font-size: 14px;
        margin: 0px;
    }

    .background__btnUpdate a img {
        width: 17px;
        height: 17px;
    }

    .fullname {
        height: auto;
        margin: 15px 15px 0px 15px;
    }

    .profileMain__firstlastname p {
        font-size: 14px;
    }

    .profileMain__firstlastname a {
        font-size: 14px;
    }

    .form__usernameEdit a{
        margin-right: 15px;
        text-align: right;
    }

    .form__usernameEdit label {
        display: none;
    }

    .mobile__usernameEdit__label {
        display: block !important;
        margin: 15px 0px 0px 15px;
    }

    .mobile__usernameEdit__label label {
        font-size: 14px;
        color: #666666;
        font-family: "Cuprum-Regular", sans-serif;
    }

    .form__usernameEdit {
        margin: 0;
        margin-bottom: 15px;
        padding: 15px 0px 0px 15px;
    }

    .form__usernameEdit__btn {
        width: 70px;
        text-align: center;
    }

    .group__usernameEdit {
        padding: 0px;
    }

    .group__usernameEdit input {
        font-size: 14px;
        outline: none;
    }

    .group__usernameEdit__active {
        border: none;
    }

    .usernameEdit__inf p {
        font-size: 14px;
    }

    .usernameEdit__inf p span {
        font-size: 14px;
    }

    .usernameEdit__inf button {
        font-size: 14px;
    }

    .fullname__edit {
        margin: 15px;
    }


    .group__firstlastname {
        width: 47%;
    }

    .group__firstlastname label {
        font-size: 14px
    }

    .group__firstlastname input {
        font-size: 14px;
    }

    .wrapper__EditFullnameBtn button {
        font-size: 14px !important;
    }
}