@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Inter', sans-serif;
    background-color: #f4f6f9;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    min-height: 100vh;
}

.container{
    width: 100%;
    max-width: 1100px;
}

/* USER CARD */

.user{
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.user img{
    height: 75px;
    width: 75px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.user-info h3{
    font-weight: 600;
    margin-bottom: 6px;
    color: #1f2937;
}

.user-status{
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.user-status i{
    margin-right: 6px;
}

/* STATUS COLORS */

.online{
    color: #16a34a;
}

.offline{
    color: #6b7280;
}

/* CONTENT SECTION */

.content{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.content p{
    flex: 1 1 48%;
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}

/* OFFLINE MESSAGE */

.msg{
    display: none;
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.msg h2{
    color: #dc2626;
    margin-bottom: 10px;
}

.msg p{
    color: #4b5563;
    font-size: 15px;
}

/* RESPONSIVE DESIGN */

@media(max-width: 768px){

    body{
        padding: 20px 15px;
    }

    .content p{
        flex: 1 1 100%;
    }

    .user{
        flex-direction: column;
        text-align: center;
    }

    .user img{
        margin-bottom: 15px;
        margin-right: 0;
    }

}
