/* Estilo para a imagem de perfil */
        .profile-picture {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 20px;
        }

        /* Estilo para a tabela de itens */
        .item-table img {
            max-width: 100px;
            height: auto;
        }

        /* Ajustes para o modal de detalhes */
        #detailModal .modal-body img {
            max-width: 80%; /* Smaller image in popup */
            max-height: 300px; /* Constrain height */
            height: auto;
            margin-bottom: 15px;
            border-radius: 8px; /* Rounded corners for popup image */
        }
        #detailModal .modal-body p {
            margin-bottom: 8px; /* Smaller margin for paragraphs */
            font-size: 1.05em; /* Slightly larger base font for details */
        }
        #detailModal .modal-body strong {
            font-size: 1.1em; /* Slightly larger font for labels */
            color: #333;
        }


        .favorite-icon-profile {
            font-size: 1.2em; /* Made smaller */
            cursor: pointer;
            color: #ccc; /* Default empty star color */
            transition: color 0.2s ease-in-out;
            margin-top: 10px; /* Space below the button */
            display: inline-block; /* To allow margin-top and centering */
            vertical-align: middle; /* Align with text */
        }
        .favorite-icon-profile.favorited {
            color: #ffc107; /* Gold for favorited star */
        }
        .favorite-label {
            vertical-align: middle; /* Align with icon */
            margin-left: 5px; /* Space between icon and label */
            font-size: 1em; /* Adjust font size as needed */
            color: #555; /* A subtle color */
        }
        /* Favorite Users List Styling */
        .favorite-users-list .list-group-item {
            display: flex;
            flex-direction: column; /* Stack image and text */
            align-items: center;
            padding: 10px 5px;
            margin-bottom: 5px;
            border-radius: 8px;
            background-color: #f8f9fa; /* Light grey background */
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            text-align: center;
        }
        .favorite-users-list .list-group-item img {
            width: 60px; /* Larger portrait size */
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 8px; /* Space between image and username */
            border: 2px solid #007bff; /* Small border for emphasis */
        }
        .favorite-users-list .list-group-item .username {
            font-weight: bold;
            color: #007bff;
            font-size: 0.9em; /* Smaller font for username */
            word-wrap: break-word; /* Allow long usernames to wrap */
            max-width: 100%; /* Ensure text stays within card */
        }

        /* Card styles for collection/wishlist */
        .item-card {
            border: none;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
            cursor: pointer;
            height: 100%; /* Ensure cards in a row have equal height */
        }
        .item-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        }
        .item-card .card-img-top {
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            height: 120px; /* Adjusted height for image */
            object-fit: cover; /* Cover the area, cropping if necessary */
        }
        .item-card .card-body {
            padding: 15px;
            text-align: center;
        }
        .item-card .card-title {
            font-size: 1.1em;
            font-weight: bold;
            margin-bottom: 5px;
            color: #333;
        }
        .item-card .card-text {
            font-size: 0.9em;
            color: #666;
        }
        .item-card a {
            text-decoration: none; /* Remove underline from card links */
            color: inherit; /* Inherit text color */
        }
         /* Responsive adjustments for item cards on mobile */
        @media (max-width: 767.98px) { /* Bootstrap's default for small devices */
            .item-card .card-img-top {
                height: 100px; /* Smaller height for mobile */
            }
            .item-card .card-body {
                padding: 10px; /* Reduce padding for mobile cards */
            }
            .item-card .card-title {
                font-size: 1em; /* Slightly smaller font for titles */
            }
            .item-card .card-text {
                font-size: 0.8em; /* Smaller font for text */
            }
             .favorite-users-list .list-group-item img {
                width: 50px;
                height: 50px;
            }
            .favorite-users-list .list-group-item .username {
                font-size: 0.8em;
            }
        }