
/*------------------------------------------------------------
	User Dashboard
------------------------------------------------------------*/
/* header info */
.user-header-info {
    height: 200px;
    border-radius: 10px;
    display: grid;
}
.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 10px;
}
.ubi-d {
    padding: 20px 30px 0px;
    height: 100%;
    min-height: max-content;
    gap: 30px;
}

/* tab style */
.ubi-tb {
    padding: 0px 30px;
}
.tab-buttons {
    font-size: .95rem;
    font-weight: 400;
    gap: 30px;
}
.tab-btn-user-header {
    background: none;
    border-bottom: solid 1px #00000000;
    cursor: pointer;
}
.tab-btn-user-header.active {
    color: #50C4ED;
    border-bottom: solid 1px #50C4ED;
}

/* section style */
.user-secrions {
    gap: 20px;
}
.user-panel-sid {
    width: 20%;
    height: fit-content;
    padding: 5px 0px;
    border-radius: 10px;
}
.user-panel-section {
    width: 80%;
}
.panel-section.active {
  display: block;
}
.menu-list li {
    align-content: center;
    padding: 5px 10px;
}
.hidden {
  display: none;
}
.menu-link {
    color: #444444;
    height: 100%;
    width: 100%;
    display: flex;
    gap: 10px;
    align-content: center;
    height: 40px;
    align-items: center;
    padding: 5px 10px;
    border-radius: 8px;
}
.menu-link.active {
    color: #50C4ED;
}
#change-avatar-btn{
    background: #50C4ED;
    color: #fff;
    transition: 0.3s;
}
#change-avatar-btn:hover{
    background: #387ADF;
    transition: 0.3s;
}

.account-section {
    display: flex;
    padding: 20px;
    border-radius: 10px;
}
.a-c-usr-pn {
    display: flex;
    align-items: center;
    gap: 20px;
}
.a-c-usr-pn h2, .a-c-ust-edit h2 {
    margin-bottom: 0;
}
.a-c-ust-edit {
    display: grid;
    width: 100%;
}
#user-profile-form {
    display: flex;
    flex-direction: column;
}
.urprs-fm-ed {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
}
.user-name {
    font-size: 1.5rem;
}






.floating-label {
    position: relative;
}
.floating-label input {
    width: 100%;
    padding: 10px 10px 10px 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}
.floating-label label {
    position: absolute;
    pointer-events: none;
    right: 10px;
    top: 12px;
    transition: 0.2s ease all;
    color: #aaa;
    background: white;
    padding: 0 4px;
}
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
    top: -10px;
    right: 8px;
    font-size: 12px;
    color: #333;
}
.btn-save {
    background: #fff;
    color: #333;
    transition: 0.3s ease !important;
}
.btn-save:hover {
    background: #50C4ED;
    color: #fff;
    transition: 0.3s ease !important;
}





@media (max-width: 480px) {

  

    /* ------------------- user profile -------------------- */
    .user-index.w1280 {
        width: 100%;
    }
    .user-header-info {
        height: fit-content;
    }
    .user-avatar {
        width: 60px;
        height: 60px;
    }
    .user-header-info {
        overflow-x: hidden;
    }
    .user-name {
        font-size: 1rem;
    }
    .ubi-d {
        padding: 20px 20px 0px;
        height: fit-content;
        gap: 15px;
    }
    .ubi-tb {
        padding: 0 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .tab-btn-ov {
        width: max-content;
    }
    .tab-buttons {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        min-width: max-content;
    }
    .tab-btn-user-header {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .usif-tl.dg h2 {
        font-size: 1rem;
    }
    .tab-buttons::-webkit-scrollbar {
        display: none;
    }
    .tab-btn-user-header {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 8px 12px;
    }
    .user-panel-sid, .user-panel-section {
        width: 100%;
    }
    .user-panel-sid .user-sidebar {
        margin-top: 0;
    }
    .user-secrions.d-flex.sns20 {
        flex-direction: column;
    }
    .user-sidebar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .menu-list {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        gap: 12px;
        padding: 0 8px;
    }
    .menu-list li {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .menu-list::-webkit-scrollbar {
        display: none;
    }
    .urprs-fm-ed {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    .btn-save {
        width: 100% !important;
    }

}