/*
==========================================================

PremiumZone

Version :
0.0.0

File :
assets/css/profile/profile.css

Description :
PremiumZone Profile Style

==========================================================
*/

/* ==========================================================
   PROFILE
========================================================== */

.pz-profile{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    padding:20px;

    gap:18px;

    overflow-y:auto;

}

/* ==========================================================
   HEADER
========================================================== */

.pz-profile-header{

    display:flex;

    align-items:center;

    gap:16px;

}

/* ==========================================================
   AVATAR
========================================================== */

.pz-profile-avatar{

    width:72px;

    height:72px;

    border:1px solid var(--pz-border);

    border-radius:50%;

    overflow:hidden;

    flex-shrink:0;

    background:#111;

}

.pz-profile-avatar img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}

/* ==========================================================
   INFO
========================================================== */

.pz-profile-info{

    flex:1;

    display:flex;

    flex-direction:column;

    gap:6px;

}

.pz-profile-name{

    font-size:20px;

    font-weight:bold;

}

.pz-profile-email{

    color:var(--pz-text-soft);

    font-size:13px;

    word-break:break-word;

}

.pz-profile-id{

    color:var(--pz-text-soft);

    font-size:11px;

}

/* ==========================================================
   SECTION
========================================================== */

.pz-profile-section{

    display:flex;

    flex-direction:column;

    gap:12px;

    padding:16px;

    border:1px solid var(--pz-border);

    background:rgba(255,255,255,.02);

}

.pz-profile-section-title{

    font-size:14px;

    font-weight:bold;

    letter-spacing:1px;

}

/* ==========================================================
   FORM
========================================================== */

.pz-profile-form{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.pz-profile-label{

    font-size:12px;

    color:var(--pz-text-soft);

}

.pz-profile-input{

    width:100%;

    height:42px;

    padding:0 12px;

    background:#000;

    color:#fff;

    border:1px solid var(--pz-border);

    font:inherit;

    outline:none;

}

.pz-profile-input:focus{

    border-color:#888;

}

/* ==========================================================
   ACCOUNT LIST
========================================================== */

.pz-profile-account{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:12px;

    padding:12px;

    border:1px solid #333;

}

.pz-profile-account-name{

    flex:1;

    word-break:break-word;

}

.pz-profile-account-primary{

    font-size:11px;

    color:#7cff7c;

}

/* ==========================================================
   BUTTON
========================================================== */

.pz-profile-button{

    height:42px;

    border:1px solid var(--pz-border);

    background:transparent;

    color:#fff;

    cursor:pointer;

    font:inherit;

    transition:background .2s;

}

.pz-profile-button:hover{

    background:var(--pz-hover);

}

.pz-profile-button:active{

    transform:scale(.98);

}

/* ==========================================================
   LOGOUT
========================================================== */

.pz-profile-logout{

    margin-top:auto;

}

/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:480px){

    .pz-profile{

        padding:16px;

    }

    .pz-profile-header{

        align-items:flex-start;

    }

    .pz-profile-avatar{

        width:64px;

        height:64px;

    }

    .pz-profile-name{

        font-size:18px;

    }

}