body{
    background:#edf2f7;
    font-family:Arial,sans-serif;
}

.fb-wrapper{
    max-width:1000px;
    margin:20px auto;
    background:white;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 4px 20px rgba(0,0,0,0.08);
}

.fb-cover{
    height:320px;
    background:url('https://picsum.photos/1400/500') center/cover;
    position:relative;
}

.fb-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.2);
}

.fb-profile-header{
    display:flex;
    align-items:end;
    gap:25px;
    padding:0 30px 25px;
    margin-top:-80px;
    position:relative;
    z-index:2;
}

.fb-avatar{
    width:170px;
    height:170px;
    border-radius:50%;
    border:6px solid white;
    object-fit:cover;
    background:white;
}

.fb-user-details h1{
    margin:0;
    font-size:34px;
    color:white;
    text-shadow:0 2px 10px rgba(0,0,0,0.4);
}

.fb-user-details p{
    color:#f3f3f3;
    margin-top:8px;
}

.fb-buttons{
    margin-top:15px;
}

.fb-buttons button{
    padding:12px 22px;
    border:none;
    border-radius:10px;
    margin-right:10px;
    font-weight:bold;
    cursor:pointer;
}

.follow-btn{
    background:#1877f2;
    color:white;
}

.message-btn{
    background:white;
}

.fb-menu{
    display:flex;
    gap:25px;
    padding:18px 30px;
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
    font-weight:bold;
    overflow:auto;
}

.fb-post-create{
    display:flex;
    align-items:center;
    gap:15px;
    padding:20px 30px;
}

.small-avatar{
    width:50px;
    height:50px;
    border-radius:50%;
}

.fb-post-create input{
    width:100%;
    border:none;
    background:#f0f2f5;
    padding:16px;
    border-radius:40px;
    outline:none;
}

.fb-post-card{
    margin:0 30px 30px;
    background:white;
    border:1px solid #eee;
    border-radius:18px;
    overflow:hidden;
}

.fb-post-top{
    display:flex;
    align-items:center;
    gap:12px;
    padding:18px;
}

.fb-post-content{
    padding:0 18px 18px;
    font-size:16px;
}

.fb-post-image{
    width:100%;
    max-height:500px;
    object-fit:cover;
}

.fb-actions{
    display:flex;
    justify-content:space-around;
    padding:18px;
    border-top:1px solid #eee;
}

.fb-actions button{
    border:none;
    background:none;
    font-weight:bold;
    cursor:pointer;
}

.fb-login-msg{
    text-align:center;
    padding:40px;
    font-size:22px;
}

@media(max-width:768px){

    .fb-profile-header{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .fb-avatar{
        width:140px;
        height:140px;
    }

    .fb-user-details h1{
        font-size:28px;
    }

    .fb-menu{
        gap:18px;
    }

    .fb-post-card{
        margin:15px;
    }

    .fb-post-create{
        padding:15px;
    }
}
