
.side-panel {
    width: 400px;
    background-color: #c0e5f7;
    border-right: 1px solid #ddd;
    height: 100vh;
    position: relative;
    border-right: 7px solid black; 
    top: 0;
    left: 0;
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    
}

.header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.app-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.user-profile .user-image {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav li {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

nav img {
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

.footer-section {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #eee;
    padding: 10px 20px;
    border-top: 1px solid #ddd;
}

.xp-system {
    margin-top: 10px;
    font-size: 14px;
}

.level, .xp {
    margin: 5px 0;
}

.xp-bar {
    width: 100%;
    background-color: #e0e0e0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid black; 

}

.xp-fill {
    height: 100%;
    background-color: #4CAF50;  /* Change to your preferred color */
    width: 0%;  /* It starts empty and fills up with user's progress */
}

.xp-button {
    margin-top: 10px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;  /* You can choose your preferred color */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.xp-button:hover {
    background-color: #45a049;
}


.xp-button {
    margin-top: 10px;
    padding: 5px 15px;
    border: none;
    background-color: #2E8B57; /* Green Color */
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.xp-button:hover {
    background-color: #1E4D32; /* Darker Green on Hover */
}

.contacts {
    flex: 1;
    padding: 10px;
    border-right: 1px solid #ccc;
}

.contact {
    padding: 10px;
    cursor: pointer;
}

.contact:hover {
    background-color: #eaeaea;
}

.chat-window {
    flex: 2;
    padding: 10px;
}


.messages {
    height: 300px;
    border: 1px solid #ccc;
    margin: 10px 0;
    padding: 10px;
    overflow-y: scroll;
}


.contacts .contact {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s;
}

.contacts .contact:hover {
    background-color: #e9e9e9;
}

.chat-window {
    background-color: #fff;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.chat-window input[type="text"] {
    width: 80%;
    padding: 5px;
}

.chat-window button {
    width: 18%;
    padding: 5px 10px;
    margin-left: 2%;
}

.messaging-panel {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    width: 300px;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
    cursor: move;
    
    /* New styles for floating appearance */
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 400px;
    z-index: 2000;
}


.chat-header {
    cursor: move; /* indicates to the user that this section is draggable */
}
.logout-button{
    display: block;
    padding: 10px 15px;
    background-color: #ff3700;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 10px; /* adjust as needed */
    border-radius: 8px;
}

.message-button {
    display: block;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 10px; /* adjust as needed */
    border-radius: 8px;
}

.message-button:hover {
    background-color: #555;
}

.side-panel.closed {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.hamburger {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
}

.hidden {
    display: none;
}





/* Style for the button */
.custom-button {
    background-color: #3498db; /* Button background color */
    color: #ffffff; /* Button text color */
    padding: 7px 14px; /* Button padding */
    border: none; /* Remove the default button border */
    border-radius: 5px; /* Add rounded corners to the button */
    cursor: pointer; /* Add a pointer cursor on hover */
    width: 50%;
    position:absolute;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;

    bottom: 10px;
}

/* Style for the button on hover */
.custom-button:hover {
    background-color: #2980b9; /* Button background color on hover */
}














