@media (max-width: 1150px) {
    .form-box {
        width: 40%;
    }
}

@media (max-width: 1000px) {
    .form-box {
        width: 70%;
    }
}

@media (max-width: 950px) {
    .msgs {
        flex-direction: column;
    }
    .msg-requests {
        width: 100%;
        min-height: 300px;
    }
}

@media (max-width: 680px) {
    .sidebar {
        left: -270px;
    }
    .menu-btn {
        display: block;
    }
    .mainbar {
        margin-left: 10px;
    }
    .sidebar-inner {
        box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.75);
        -webkit-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.75);
    }
}

@media (max-width: 600px) {
    .form-box {
        width: 90%;
    }
}

@media (max-width: 500px) {
    .top-bar {
        font-size: 0.8em;
    }
}

/* CSS for resizing the profile image */
.profile-img {
    width: 150px; /* You can adjust the width as needed */
    height: 150px; /* Keep height proportional or set to a fixed size */
    object-fit: cover; /* Ensures the image covers the area without stretching */
    border-radius: 50%; /* Optional: Makes the image circular */
}

/* Optional: You can also define the profile-head-img class to control the container size */
.profile-head-img {
    width: 150px; /* Same width as the image */
    height: 150px; /* Same height as the image */
    overflow: hidden; /* Ensures that the image doesn't overflow the container */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; /* Optional: Makes the container circular */
    border: 2px solid #ccc; /* Optional: Adds a border around the profile image */
}

.profile-head-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the container without distortion */
    object-position: top; /* Aligns the top of the image */
}
