/*
|--------------------------------------------------------------------------
| PROFIL
|--------------------------------------------------------------------------
*/

:root{

    --profil-primary:#0d6efd;
    --profil-primary-hover:#0b5ed7;

    --profil-success:#22c55e;

    --profil-bg:#f5f7fb;

    --profil-card:#ffffff;

    --profil-border:#e6e9ef;

    --profil-text:#222;

    --profil-text-light:#6b7280;

    --profil-shadow:0 10px 30px rgba(0,0,0,.08);

    --profil-radius:18px;

    --profil-transition:.30s ease;

}


/*
|--------------------------------------------------------------------------
| Wrapper
|--------------------------------------------------------------------------
*/

.profil-wrapper{

    max-width:1200px;

    margin:40px auto;

    background:var(--profil-bg);

    padding:30px;

    border-radius:24px;

}


/*
|--------------------------------------------------------------------------
| Form
|--------------------------------------------------------------------------
*/

.profil-wrapper form{

    margin:0;

}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.profil-header{

    position:relative;

    margin-bottom:130px;

}


/*
|--------------------------------------------------------------------------
| Banner
|--------------------------------------------------------------------------
*/

.profil-banner{

    position:relative;

    height:290px;

    border-radius:22px;

    overflow:hidden;

    background:#dfe6ee;

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    box-shadow:var(--profil-shadow);

}


/*
|--------------------------------------------------------------------------
| Banner Overlay
|--------------------------------------------------------------------------
*/

.profil-banner::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to bottom,
        rgba(0,0,0,.15),
        rgba(0,0,0,.45)
    );

}


/*
|--------------------------------------------------------------------------
| Upload Banner
|--------------------------------------------------------------------------
*/

.profil-banner-upload{

    position:absolute;

    right:25px;

    bottom:25px;

    z-index:10;

    cursor:pointer;

}


.profil-banner-upload input{

    display:none;

}


.profil-banner-upload span{

    display:inline-flex;

    align-items:center;

    gap:8px;

    background:#fff;

    color:#111;

    padding:12px 18px;

    border-radius:50px;

    font-size:14px;

    font-weight:600;

    transition:var(--profil-transition);

}


.profil-banner-upload span:hover{

    transform:translateY(-2px);

}


/*
|--------------------------------------------------------------------------
| Avatar Section
|--------------------------------------------------------------------------
*/

.profil-avatar-section{

    position:absolute;

    left:50%;

    bottom:-110px;

    transform:translateX(-50%);

    width:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

}


/*
|--------------------------------------------------------------------------
| Avatar
|--------------------------------------------------------------------------
*/

.profil-avatar{

    position:relative;

    width:170px;

    height:170px;

    border-radius:50%;

    overflow:hidden;

    background:#fff;

    border:7px solid #fff;

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}


/*
|--------------------------------------------------------------------------
| Avatar Image
|--------------------------------------------------------------------------
*/

.profil-avatar img{

    width:100%;

    height:100%;

    object-fit:cover;

}


/*
|--------------------------------------------------------------------------
| Avatar Placeholder
|--------------------------------------------------------------------------
*/

.profil-avatar-placeholder{

    width:100%;

    height:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:70px;

    color:#bbb;

}


/*
|--------------------------------------------------------------------------
| Upload Avatar
|--------------------------------------------------------------------------
*/

.profil-avatar-upload{

    position:absolute;

    right:8px;

    bottom:8px;

    width:44px;

    height:44px;

    border-radius:50%;

    background:var(--profil-primary);

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    color:#fff;

    transition:var(--profil-transition);

}


.profil-avatar-upload:hover{

    background:var(--profil-primary-hover);

    transform:scale(1.08);

}


.profil-avatar-upload input{

    display:none;

}


/*
|--------------------------------------------------------------------------
| Store Header
|--------------------------------------------------------------------------
*/

.profil-store-header{

    margin-top:22px;

    text-align:center;

}


.profil-store-header h2{

    margin:0;

    font-size:34px;

    font-weight:700;

    color:var(--profil-text);

}


.profil-store-header p{

    margin-top:12px;

    max-width:650px;

    color:var(--profil-text-light);

    line-height:1.8;

    font-size:15px;

}


/*
|--------------------------------------------------------------------------
| Success
|--------------------------------------------------------------------------
*/

.profil-success{

    background:#ecfdf3;

    border-left:5px solid var(--profil-success);

    color:#166534;

    padding:18px;

    margin-bottom:25px;

    border-radius:12px;

}
/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
*/

.profil-content{

    display:flex;

    flex-direction:column;

    gap:30px;

}


/*
|--------------------------------------------------------------------------
| Cards
|--------------------------------------------------------------------------
*/

.profil-card{

    background:var(--profil-card);

    border-radius:22px;

    padding:35px;

    border:1px solid var(--profil-border);

    box-shadow:var(--profil-shadow);

    transition:var(--profil-transition);

}

.profil-card:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 50px rgba(0,0,0,.08);

}


/*
|--------------------------------------------------------------------------
| Card Header
|--------------------------------------------------------------------------
*/

.profil-card-header{

    margin-bottom:35px;

    padding-bottom:20px;

    border-bottom:1px solid var(--profil-border);

}

.profil-card-header h3{

    margin:0;

    font-size:24px;

    font-weight:700;

    color:var(--profil-text);

}

.profil-card-header p{

    margin-top:10px;

    color:var(--profil-text-light);

    font-size:15px;

    line-height:1.7;

}


/*
|--------------------------------------------------------------------------
| Grid
|--------------------------------------------------------------------------
*/

.profil-grid{

    display:grid;

    gap:25px;

    margin-bottom:25px;

}

.profil-grid:last-child{

    margin-bottom:0;

}

.profil-grid-2{

    grid-template-columns:repeat(2,1fr);

}


/*
|--------------------------------------------------------------------------
| Fields
|--------------------------------------------------------------------------
*/

.profil-field{

    display:flex;

    flex-direction:column;

}

.profil-field label{

    margin-bottom:10px;

    font-size:14px;

    font-weight:600;

    color:var(--profil-text);

}


/*
|--------------------------------------------------------------------------
| Inputs
|--------------------------------------------------------------------------
*/

.profil-field input,
.profil-field textarea{

    width:100%;

    padding:15px 18px;

    border-radius:14px;

    border:1px solid var(--profil-border);

    background:#fff;

    font-size:15px;

    transition:var(--profil-transition);

    box-sizing:border-box;

    outline:none;

    color:var(--profil-text);

}

.profil-field textarea{

    min-height:150px;

    resize:vertical;

    line-height:1.7;

}


/*
|--------------------------------------------------------------------------
| Focus
|--------------------------------------------------------------------------
*/

.profil-field input:focus,
.profil-field textarea:focus{

    border-color:var(--profil-primary);

    box-shadow:0 0 0 4px rgba(13,110,253,.12);

}


/*
|--------------------------------------------------------------------------
| Placeholder
|--------------------------------------------------------------------------
*/

.profil-field input::placeholder,
.profil-field textarea::placeholder{

    color:#9ca3af;

}


/*
|--------------------------------------------------------------------------
| Disabled
|--------------------------------------------------------------------------
*/

.profil-field input:disabled,
.profil-field textarea:disabled{

    background:#f3f4f6;

    cursor:not-allowed;

}


/*
|--------------------------------------------------------------------------
| Upload Cards
|--------------------------------------------------------------------------
*/

.profil-upload-card{

    border:2px dashed #d8dee8;

    border-radius:18px;

    padding:25px;

    text-align:center;

    transition:var(--profil-transition);

    background:#fbfcfe;

}

.profil-upload-card:hover{

    border-color:var(--profil-primary);

    background:#f8fbff;

}


/*
|--------------------------------------------------------------------------
| Upload Titles
|--------------------------------------------------------------------------
*/

.profil-upload-title{

    font-size:17px;

    font-weight:700;

    margin-bottom:18px;

    color:var(--profil-text);

}


/*
|--------------------------------------------------------------------------
| Upload Preview
|--------------------------------------------------------------------------
*/

.profil-upload-preview{

    width:130px;

    height:130px;

    border-radius:50%;

    overflow:hidden;

    margin:auto;

    background:#eef2f7;

    display:flex;

    align-items:center;

    justify-content:center;

    border:4px solid #fff;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.profil-upload-preview img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.profil-upload-placeholder{

    font-size:54px;

    color:#b8c1cc;

}


/*
|--------------------------------------------------------------------------
| Banner Preview
|--------------------------------------------------------------------------
*/

.profil-banner-preview{

    height:170px;

    border-radius:16px;

    overflow:hidden;

    background:#eef2f7;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:18px;

}

.profil-banner-preview img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.profil-banner-placeholder{

    color:#94a3b8;

    font-size:15px;

}


/*
|--------------------------------------------------------------------------
| Upload Button
|--------------------------------------------------------------------------
*/

.profil-upload-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 24px;

    background:var(--profil-primary);

    color:#fff;

    border-radius:40px;

    cursor:pointer;

    font-weight:600;

    transition:var(--profil-transition);

}

.profil-upload-button:hover{

    background:var(--profil-primary-hover);

    transform:translateY(-2px);

}

.profil-upload-button input{

    display:none;

}
/*
|--------------------------------------------------------------------------
| Actions
|--------------------------------------------------------------------------
*/

.profil-actions{

    margin-top:40px;

    display:flex;

    justify-content:flex-end;

}


/*
|--------------------------------------------------------------------------
| Save Button
|--------------------------------------------------------------------------
*/

.profil-save-button{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    padding:18px 40px;

    border:none;
    border-radius:999px;

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

    color:#fff;
    font-size:17px;
    font-weight:700;

    cursor:pointer;

    box-shadow:0 12px 28px rgba(37,99,235,.28);

    transition:.30s ease;

}

.profil-save-button:hover{

    transform:translateY(-3px);

    box-shadow:0 18px 40px rgba(37,99,235,.40);

    background:linear-gradient(135deg,#1d4ed8,#1e40af);

}

.profil-save-button:active{

    transform:scale(.98);

}

.profil-save-button .dashicons{

    width:20px;
    height:20px;
    font-size:20px;

}

.profil-save-button:hover{

    transform:translateY(-3px);

    box-shadow:0 20px 45px rgba(37,99,235,.35);

}

.profil-save-button:active{

    transform:scale(.98);

}

.profil-save-button .dashicons{

    font-size:18px;

}


/*
|--------------------------------------------------------------------------
| Upload Animation
|--------------------------------------------------------------------------
*/

.profil-upload-card:hover .profil-upload-preview{

    transform:scale(1.04);

}

.profil-upload-preview{

    transition:.35s;

}

.profil-banner-preview{

    transition:.35s;

}

.profil-upload-card:hover .profil-banner-preview{

    transform:scale(1.02);

}


/*
|--------------------------------------------------------------------------
| Inputs Hover
|--------------------------------------------------------------------------
*/

.profil-field input:hover,
.profil-field textarea:hover{

    border-color:#b8c1cc;

}


/*
|--------------------------------------------------------------------------
| Smooth Transition
|--------------------------------------------------------------------------
*/

.profil-card,
.profil-field input,
.profil-field textarea,
.profil-upload-card,
.profil-banner,
.profil-avatar{

    transition:all .30s ease;

}


/*
|--------------------------------------------------------------------------
| Scroll Animation
|--------------------------------------------------------------------------
*/

.profil-card{

    animation:profilFade .55s ease;

}

@keyframes profilFade{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width:991px){

    .profil-wrapper{

        padding:20px;

    }

    .profil-grid-2{

        grid-template-columns:1fr;

    }

    .profil-card{

        padding:25px;

    }

    .profil-banner{

        height:220px;

    }

    .profil-avatar{

        width:140px;

        height:140px;

    }

    .profil-store-header h2{

        font-size:28px;

    }

}


/*
|--------------------------------------------------------------------------
| Mobile Small
|--------------------------------------------------------------------------
*/

@media (max-width:768px){

    .profil-header{

        margin-bottom:110px;

    }

    .profil-banner{

        height:180px;

        border-radius:18px;

    }

    .profil-avatar{

        width:120px;

        height:120px;

        border-width:5px;

    }

    .profil-store-header{

        padding:0 20px;

    }

    .profil-store-header h2{

        font-size:24px;

    }

    .profil-store-header p{

        font-size:14px;

    }

    .profil-banner-upload{

        right:15px;

        bottom:15px;

    }

    .profil-banner-upload span{

        padding:10px 15px;

        font-size:13px;

    }

    .profil-actions{

        justify-content:center;

    }

    .profil-save-button{

        width:100%;

        justify-content:center;

    }

}


/*
|--------------------------------------------------------------------------
| Extra Small
|--------------------------------------------------------------------------
*/

@media (max-width:480px){

    .profil-wrapper{

        padding:15px;

    }

    .profil-card{

        padding:20px;

    }

    .profil-banner{

        height:160px;

    }

    .profil-avatar{

        width:100px;

        height:100px;

    }

    .profil-upload-preview{

        width:100px;

        height:100px;

    }

    .profil-banner-preview{

        height:140px;

    }

}
/*
|--------------------------------------------------------------------------
| Custom Scrollbar
|--------------------------------------------------------------------------
*/

.profil-wrapper ::-webkit-scrollbar{

    width:10px;

}

.profil-wrapper ::-webkit-scrollbar-track{

    background:#edf2f7;

    border-radius:20px;

}

.profil-wrapper ::-webkit-scrollbar-thumb{

    background:#c5ccd8;

    border-radius:20px;

}

.profil-wrapper ::-webkit-scrollbar-thumb:hover{

    background:#94a3b8;

}


/*
|--------------------------------------------------------------------------
| Selection
|--------------------------------------------------------------------------
*/

.profil-wrapper ::selection{

    background:#2563eb;

    color:#fff;

}


/*
|--------------------------------------------------------------------------
| Upload Button Animation
|--------------------------------------------------------------------------
*/

.profil-upload-button{

    position:relative;

    overflow:hidden;

}

.profil-upload-button::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:100%;

    height:100%;

    background:rgba(255,255,255,.18);

    transform:skewX(-25deg);

    transition:.6s;

}

.profil-upload-button:hover::before{

    left:130%;

}


/*
|--------------------------------------------------------------------------
| Banner Animation
|--------------------------------------------------------------------------
*/

.profil-banner{

    transition:transform .45s ease;

}

.profil-banner:hover{

    transform:scale(1.01);

}


/*
|--------------------------------------------------------------------------
| Avatar Animation
|--------------------------------------------------------------------------
*/

.profil-avatar{

    transition:all .35s ease;

}

.profil-avatar:hover{

    transform:translateY(-4px) scale(1.03);

}


/*
|--------------------------------------------------------------------------
| Card Icon
|--------------------------------------------------------------------------
*/

.profil-card-header h3{

    display:flex;

    align-items:center;

    gap:10px;

}


/*
|--------------------------------------------------------------------------
| Better Inputs
|--------------------------------------------------------------------------
*/

.profil-field input,
.profil-field textarea{

    font-family:inherit;

}

.profil-field input:focus,
.profil-field textarea:focus{

    background:#fff;

}


/*
|--------------------------------------------------------------------------
| Placeholder Animation
|--------------------------------------------------------------------------
*/

.profil-field input::placeholder,
.profil-field textarea::placeholder{

    transition:.3s;

}

.profil-field input:focus::placeholder,
.profil-field textarea:focus::placeholder{

    opacity:.45;

}


/*
|--------------------------------------------------------------------------
| Upload Placeholder
|--------------------------------------------------------------------------
*/

.profil-upload-placeholder,
.profil-banner-placeholder{

    transition:.3s;

}

.profil-upload-card:hover .profil-upload-placeholder{

    transform:scale(1.08);

}


/*
|--------------------------------------------------------------------------
| Button Transition
|--------------------------------------------------------------------------
*/

.profil-save-button,
.profil-upload-button{

    transition:all .30s ease;

}


/*
|--------------------------------------------------------------------------
| Card Border Accent
|--------------------------------------------------------------------------
*/

.profil-card{

    position:relative;

    overflow:hidden;

}

.profil-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:5px;

    height:100%;

    background:linear-gradient(
        to bottom,
        var(--profil-primary),
        #4f8cff
    );

    opacity:0;

    transition:.35s;

}

.profil-card:hover::before{

    opacity:1;

}


/*
|--------------------------------------------------------------------------
| Image Preview Shadow
|--------------------------------------------------------------------------
*/

.profil-upload-preview img,
.profil-banner-preview img{

    transition:.4s;

}

.profil-upload-card:hover img{

    transform:scale(1.05);

}


/*
|--------------------------------------------------------------------------
| Responsive Improvements
|--------------------------------------------------------------------------
*/

@media(max-width:991px){

    .profil-banner-upload{

        left:50%;

        right:auto;

        transform:translateX(-50%);

    }

}

@media(max-width:768px){

    .profil-card-header{

        text-align:center;

    }

    .profil-card-header h3{

        justify-content:center;

    }

    .profil-upload-card{

        padding:20px;

    }

    .profil-upload-button{

        width:100%;

    }

}

@media(max-width:480px){

    .profil-card{

        border-radius:18px;

    }

    .profil-banner{

        border-radius:14px;

    }

}

.profil-upload-preview img,
.profil-banner-preview img{

    width:100%;
    height:100%;
    object-fit:cover;

    transition:.30s;

}

.profil-upload-preview img:hover,
.profil-banner-preview img:hover{

    transform:scale(1.03);

}

/*
|--------------------------------------------------------------------------
| End
|--------------------------------------------------------------------------
*/