.floating-profile-card {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1100;
    width: 250px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    pointer-events: none;
    will-change: transform, opacity;
}

.floating-profile-card.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-profile-card .card {
    border-radius: 15px;
    border: none;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.floating-profile-card .profile-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 5px;
}

    .floating-profile-card .profile-image-container img {
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

        .floating-profile-card .profile-image-container img:hover {
            transform: scale(1.05);
        }

.floating-profile-card .btn {
    transition: all 0.2s ease;
}

    .floating-profile-card .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.floating-profile-card .badge {
    font-size: 0.8em;
    padding: 0.4em 0.8em;
}

/* Responsive Design */
@media (max-width: 991px) {
    .floating-profile-card {
        width: 230px;
        right: 15px;
    }
}

@media (max-width: 767px) {
    .floating-profile-card {
        width: 210px;
        right: 10px;
        top: 65px;
    }

        .floating-profile-card .profile-image-container img {
            width: 100px;
            height: 100px;
        }
}

@media (max-width: 480px) {
    .floating-profile-card {
        width: 190px;
        right: 5px;
    }

        .floating-profile-card .btn {
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
        }
}
