.home_box { background: var(--bg-color); border-radius: 20px; width: 100%; max-width: 450px; max-height: 900px; display: flex; height: 100vh; flex-direction: column; box-shadow: 0 8px 16px var(--shadow-color); } .friends-list { flex: 1; background-color: var(--bg-color); margin-top: 1px; overflow-y: auto; } .friend-item { display: flex; align-items: center; justify-content: space-between; padding: 14px; border-bottom: 1px solid var(--shadow-color); cursor: pointer; transition: background-color 0.3s ease; } .friend-item:hover { background-color: var(--friend-item-hover); } .friend-item .left { display: flex; align-items: center; } .friend-item img { width: 45px; height: 45px; border-radius: 50%; margin-right: 15px; } .friend-item .details { display: flex; flex-direction: column; } .friend-item .details p { margin: 2px 0; color: var(--text-color); } .friend-item .details .name { font-weight: bold; font-size: 16px; } .friend-item .details .last-message { font-size: 14px; color: var(--menu-text-color); } .friend-item .right { display: flex; align-items: center; justify-content: center; margin-left: auto; } .status { width: 12px; height: 12px; border-radius: 50%; } .status.online { background-color: var(--status-online); } .status.offline { background-color: var(--status-offline); } .bottom-nav { display: flex; justify-content: space-around; align-items: center; background-color: var(--menu-bg); padding: 15px; box-shadow: 0 -4px 8px var(--shadow-color); position: relative; } .bottom-nav .slider { position: absolute; width: 60px; height: 60px; background-color: var(--bg-slider-color); border-radius: 50%; top: 50%; transform: translateY(-50%); z-index: 0; transition: all 0.3s ease; } .bottom-nav button { background: transparent; border: none; cursor: pointer; z-index: 1; position: relative; } .bottom-nav img { width: 30px; height: 30px; filter: var(--icon-color); }