/* Estilos para a pesquisa */
.habbo-search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.habbo-search-form input {
    width: 50%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.habbo-search-form button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.habbo-search-form button:hover {
    background-color: #005f8a;
}

/* Container do perfil */
.habbo-profile-container {
    margin: 20px auto;
    max-width: 800px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    background-color: #f9f9f9;
}

.habbo-profile-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.habbo-profile-header img {
    width: 150px;
    height: auto;
    border: 2px solid #0073aa;
}

.habbo-profile-header h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.habbo-profile-header p {
    margin: 5px 0;
}

/* Emblemas */
.habbo-badges-container {
    margin-bottom: 20px;
}

.habbo-badges {
    display: grid;
    grid-template-columns: repeat(9, 1fr); /* 9 emblemas por linha */
    grid-template-rows: repeat(6, auto); /* 6 linhas */
    gap: 10px;
    margin-bottom: 10px;
}

.badge-item {
    width: 60px;
    height: 60px;
    border: 2px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    transition: transform 0.3s;
}

.badge-item:hover {
    transform: scale(1.1);
    border-color: #0073aa;
}

.badge-item img {
    max-width: 100%;
    border-radius: 5px;
}

/* Amigos */
.habbo-friends-container {
    margin-bottom: 20px;
}

.habbo-friends {
    display: grid;
    grid-template-columns: repeat(9, 1fr); /* 9 amigos por linha */
    grid-template-rows: repeat(6, auto); /* 6 linhas */
    gap: 10px;
}

.friend-item {
    text-align: center;
}

.friend-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ddd;
    margin-bottom: 5px;
}

/* Grupos */
.habbo-groups-container {
    margin-bottom: 20px;
}

.group-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.group-item img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    border: 2px solid #ddd;
}

.group-item div {
    display: flex;
    flex-direction: column;
}

.group-item p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

/* Paginação */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.pagination-container button {
    padding: 5px 10px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pagination-container button:hover {
    background-color: #005f8a;
}

/* Responsividade */
@media (max-width: 768px) {
    .habbo-profile-header {
        align-items: center;
        text-align: center;
    }

    .habbo-profile-header img {
        width: 100px;
    }

    .habbo-search-form input {
        width: 70%;
    }

    .badge-item, .friend-item img {
        width: 50px;
        height: 50px;
    }

    .group-item img {
        width: 40px;
        height: 40px;
    }
}
